Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

build(web): 重建竖屏带、配置骨架与下拉宽度修复后的前端产物

longmeidao26deb2cb97c3
diff --git a/web/dist/peach-app.configuration-page-l4Eg4VIa.js b/web/dist/peach-app.configuration-page-9ebGwo83.js
similarity index 79%
rename from web/dist/peach-app.configuration-page-l4Eg4VIa.js
rename to web/dist/peach-app.configuration-page-9ebGwo83.js
index d9f63a112..4e698e279 100644
--- a/web/dist/peach-app.configuration-page-l4Eg4VIa.js
+++ b/web/dist/peach-app.configuration-page-9ebGwo83.js
@@ -1,31 +1,31 @@
(function() {
try {
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f00205d8-f5b4-4ca9-9bd6-5d6f4411db04", e._sentryDebugIdIdentifier = "sentry-dbid-f00205d8-f5b4-4ca9-9bd6-5d6f4411db04");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5865305-a202-45a5-a33e-22d8bd46d722", e._sentryDebugIdIdentifier = "sentry-dbid-a5865305-a202-45a5-a33e-22d8bd46d722");
} catch {}
})();
-import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as e, $3a442827418ebe87$export$eb2fcfdbd7ba97d4 as t, $542a13ca2fa5b484$export$5b6b19405a83ff9d as n, $72abaeab4d80592f$export$78efe591171d7d45 as r, $bd263d78e9bf3c56$export$f5c9f3c2c4054eec as i, $ea3928288112382f$export$439d29a4e110a164 as a, $f2ff30fde7b014be$export$3ddf2d174ce01153 as o, $fe21c36db05242bb$export$a98f0dcb43a68a25 as s, $fe21c36db05242bb$export$d7b12c4107be0d61 as c, ACCENT_CHOICES as l, ApiError as u, Button as d, ButtonLink as f, CLOUD_LOCATIONS as p, CLOUD_PROXY_HELP as m, CONFIGURATION_KEY as h, CONFIGURATION_URL as g, CREDENTIAL_STATE as _, Checkbox as v, Chip as y, Disclosure as b, EmptyState as x, ErrorText as S, ExternalLink as C, FEED_SCHEDULE_KEY as w, FOLLOW_CREDENTIALS_KEY as T, FOLLOW_INITIAL_RANGE_OPTIONS as E, FOLLOW_SCHEDULE_KEY as ee, Fact as D, FactList as O, FieldLabel as k, Footer as A, Help as j, HintText as te, Input as M, LIBRARY_FOLDER_HELP as ne, LIBRARY_PROCESSING_KEY as re, Label as ie, LinkButton as ae, LoadingDots as oe, M6 as se, MEDIA_PROCESSING_KEY as ce, MEDIA_PROCESSING_URL as le, MEDIA_SOURCE_ICONS as ue, MENU_POPOVER_SURFACE as de, Note as N, PICK_FOLDER_URL as fe, POLICY_COLUMNS as pe, POLICY_COVER_NOTE as me, POLICY_MATRIX as he, POLICY_SUMMARY as ge, PathLine as _e, PillTabList as ve, Progress as ye, Rows as P, SEGMENT as be, SEGMENTED_TRACK as xe, SETTINGS_KEY as Se, SETTINGS_URL as Ce, Section as F, SectionSkeleton as we, SegmentedRadioGroup as Te, Select as Ee, Select$1 as I, SelectItem as L, SettingsCard as De, SettingsRow as R, SiteLabel as Oe, SourceLabel as z, SourceMark as B, Stack as V, StatusLabel as H, Switch as U, THUMBNAIL_JOBS_KEY as ke, TextField as Ae, TextFieldContext as je, __toESM as Me, apiGet as W, apiSend as G, appSettingsStore as Ne, boundedPreference as Pe, busyProps as K, cardClass as Fe, cn as Ie, confirmModal as Le, credentialDone as Re, cx as ze, errorMessage as q, fetchConfiguration as Be, fetchCredentials as Ve, fetchFeedSchedule as He, fetchFollowSchedule as Ue, fetchMediaProcessing as We, fetchSettings as Ge, fetchThumbnailJobs as Ke, fmtSize as qe, momentText as Je, overlayHost as Ye, peachHistory$1 as Xe, previewLibraryColor as Ze, providerIcon as Qe, queryClient as J, randomId as $e, rememberMediaShape as et, rememberSectionHeight as tt, rememberedSectionHeight as nt, require_jsx_runtime as rt, require_react as it, saveCredential as at, schedulePollInterval as ot, settingsPath as st, shellNavigate as ct, sortCx as lt, sourceDefaultCost as ut, useAction as Y, useLibraryTints as dt, useMutation as ft, useQuery as X, useRunSchedule as pt, useSaveFollowSchedule as mt, useSaveSettings as ht, useSaveThumbnailMode as gt } from "./peach-app.js";
-import { CodeBlock as _t } from "./peach-app.code-block-CuHUqiH3.js";
-import { FolderField as vt, FolderFieldLine as yt, FolderRow as bt, MEDIA_SOURCES as xt, MediaReadPolicy as St, MediaReadPolicyHelp as Ct, SourceSelect as wt, isCloudSource as Tt, sourceMark as Et, useFolderRows as Dt } from "./peach-app.folder-rows-C5-6TcQS.js";
-import { ConnectionStatus as Ot } from "./peach-app.connection-status-BP0ylxDH.js";
-import { SourceIcon as kt } from "./peach-app.source-view-Bk_L5GHG.js";
+import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as e, $3a442827418ebe87$export$eb2fcfdbd7ba97d4 as t, $542a13ca2fa5b484$export$5b6b19405a83ff9d as n, $72abaeab4d80592f$export$78efe591171d7d45 as r, $bd263d78e9bf3c56$export$f5c9f3c2c4054eec as i, $ea3928288112382f$export$439d29a4e110a164 as a, $f2ff30fde7b014be$export$3ddf2d174ce01153 as o, $fe21c36db05242bb$export$a98f0dcb43a68a25 as s, $fe21c36db05242bb$export$d7b12c4107be0d61 as c, ACCENT_CHOICES as l, ApiError as u, Button as d, ButtonLink as f, CLOUD_LOCATIONS as p, CLOUD_PROXY_HELP as m, CONFIGURATION_KEY as h, CONFIGURATION_URL as g, CREDENTIAL_STATE as _, Checkbox as v, Chip as y, Disclosure as b, ENTRY_LINKS_HELP as x, ENTRY_LINKS_HINT as S, EmptyState as ee, ErrorText as C, ExternalLink as w, FEED_SCHEDULE_KEY as T, FOLLOW_CREDENTIALS_KEY as E, FOLLOW_INITIAL_RANGE_OPTIONS as te, FOLLOW_SCHEDULE_KEY as ne, Fact as D, FactList as O, FieldLabel as k, Footer as A, Help as j, HintText as re, Input as M, LIBRARY_FOLDER_HELP as ie, LIBRARY_PROCESSING_KEY as ae, Label as oe, LinkButton as se, LoadingDots as ce, M6 as le, MEDIA_PROCESSING_KEY as ue, MEDIA_PROCESSING_URL as de, MEDIA_SOURCE_ICONS as fe, MENU_POPOVER_SURFACE as pe, Note as N, PICK_FOLDER_URL as me, POLICY_COLUMNS as he, POLICY_COVER_NOTE as ge, POLICY_MATRIX as _e, POLICY_SUMMARY as ve, PathLine as ye, PillTabList as be, Progress as xe, Rows as P, SEGMENT as Se, SEGMENTED_TRACK as Ce, SETTINGS_KEY as we, SETTINGS_URL as Te, Section as F, SectionSkeleton as Ee, SegmentedRadioGroup as De, Select as Oe, Select$1 as I, SelectItem as L, SettingsCard as ke, SettingsRow as R, SiteLabel as Ae, SourceLabel as z, SourceMark as B, Stack as V, StatusLabel as H, Switch as U, THUMBNAIL_JOBS_KEY as je, TextField as Me, TextFieldContext as Ne, __toESM as Pe, apiGet as W, apiSend as G, appSettingsStore as Fe, boundedPreference as Ie, busyProps as K, cardClass as Le, cn as Re, confirmModal as ze, credentialDone as Be, cx as Ve, errorMessage as q, fetchConfiguration as He, fetchCredentials as Ue, fetchFeedSchedule as We, fetchFollowSchedule as Ge, fetchMediaProcessing as Ke, fetchSettings as qe, fetchThumbnailJobs as Je, fmtSize as Ye, momentText as Xe, overlayHost as Ze, peachHistory$1 as Qe, previewLibraryColor as $e, providerIcon as et, queryClient as J, randomId as tt, rememberMediaShape as nt, rememberSectionHeight as rt, rememberedSectionHeight as it, require_jsx_runtime as at, require_react as ot, saveCredential as st, schedulePollInterval as ct, settingsPath as lt, shellNavigate as ut, sortCx as dt, sourceDefaultCost as ft, useAction as Y, useLibraryTints as pt, useMutation as mt, useQuery as X, useRememberedBody as ht, useRunSchedule as gt, useSaveFollowSchedule as _t, useSaveSettings as vt, useSaveThumbnailMode as yt } from "./peach-app.js";
+import { CodeBlock as bt } from "./peach-app.code-block-CuHUqiH3.js";
+import { FolderField as xt, FolderFieldLine as St, FolderRow as Ct, MEDIA_SOURCES as wt, MediaReadPolicy as Tt, MediaReadPolicyHelp as Et, SourceSelect as Dt, isCloudSource as Ot, sourceMark as kt, useFolderRows as At } from "./peach-app.folder-rows-C5-6TcQS.js";
+import { ConnectionStatus as jt } from "./peach-app.connection-status-BP0ylxDH.js";
+import { SourceIcon as Mt } from "./peach-app.source-view-Bk_L5GHG.js";
//#region src/react/settings/configuration-panel.ts
-var Z = /* @__PURE__ */ Me(it(), 1), At = "flex flex-col gap-6";
+var Z = /* @__PURE__ */ Pe(ot(), 1), Nt = "flex flex-col gap-6";
function Q(e) {
return e ? {
- className: e.active ? `${At} ui-board-group-active` : At,
+ className: e.active ? `${Nt} ui-board-group-active` : Nt,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: At };
+ } : { className: Nt };
}
//#endregion
//#region src/react/settings/userscript-probe.ts
-function jt() {
+function Pt() {
let e = (0, Z.useRef)(null), [t, n] = (0, Z.useState)(0), [r, i] = (0, Z.useState)("checking");
return (0, Z.useEffect)(() => {
- let t = $e(), n = !1, r = () => e.current?.contentWindow?.postMessage({
+ let t = tt(), n = !1, r = () => e.current?.contentWindow?.postMessage({
type: "peach-userscript:probe",
nonce: t
}, window.location.origin), a = (r) => {
@@ -52,14 +52,14 @@ function jt() {
}
//#endregion
//#region src/react/settings/userscript-status.tsx
-var $ = rt();
-function Mt(e, t) {
+var $ = at();
+function Ft(e, t) {
let n = e.split(".").map(Number), r = t.split(".").map(Number);
for (let e = 0; e < 3; e++) if (n[e] !== r[e]) return n[e] > r[e];
return !0;
}
-function Nt({ enabled: e, release: t }) {
- let { frame: n, attempt: r, status: i, retry: a } = jt(), o = typeof i == "object", s = o && !Mt(i.version, t.minimum_version), c = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || !i.paired ? "warning" : "success", l = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : i.paired ? "已连接" : "待配对";
+function It({ enabled: e, release: t }) {
+ let { frame: n, attempt: r, status: i, retry: a } = Pt(), o = typeof i == "object", s = o && !Ft(i.version, t.minimum_version), c = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || !i.paired ? "warning" : "success", l = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : i.paired ? "已连接" : "待配对";
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)("iframe", {
ref: n,
title: "Peach 用户脚本检测",
@@ -68,7 +68,7 @@ function Nt({ enabled: e, release: t }) {
}, r), /* @__PURE__ */ (0, $.jsxs)("div", {
"aria-live": "polite",
"data-userscript-status": "",
- className: Fe({
+ className: Le({
variant: "raised",
bordered: "line",
className: "flex flex-col gap-3"
@@ -79,7 +79,7 @@ function Nt({ enabled: e, release: t }) {
children: [/* @__PURE__ */ (0, $.jsx)("span", {
className: "text-body-medium text-text-primary",
children: "Peach 用户脚本"
- }), /* @__PURE__ */ (0, $.jsx)(Ot, {
+ }), /* @__PURE__ */ (0, $.jsx)(jt, {
tone: c,
children: l
})]
@@ -104,7 +104,7 @@ function Nt({ enabled: e, release: t }) {
}),
/* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [i === "missing" || s ? /* @__PURE__ */ (0, $.jsx)(C, {
+ children: [i === "missing" || s ? /* @__PURE__ */ (0, $.jsx)(w, {
href: t.install_url,
children: s ? "更新用户脚本" : "安装 Peach 用户脚本"
}) : null, /* @__PURE__ */ (0, $.jsx)(d, {
@@ -120,107 +120,115 @@ function Nt({ enabled: e, release: t }) {
}
//#endregion
//#region src/react/settings/jav-browser-settings.tsx
-var Pt = "/api/configuration/jav-browser";
-function Ft({ receipt: e, refreshKey: t }) {
+var Lt = "/api/configuration/jav-browser";
+function Rt({ receipt: e, refreshKey: t }) {
let n = X({
queryKey: ["jav-browser-settings", t],
- queryFn: ({ signal: e }) => W(Pt, e),
+ queryFn: ({ signal: e }) => W(Lt, e),
refetchOnMount: "always",
refetchOnWindowFocus: "always"
});
- return n.error && !n.data ? /* @__PURE__ */ (0, $.jsx)(S, { children: q(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, $.jsx)(we, {
+ return n.error && !n.data ? /* @__PURE__ */ (0, $.jsx)(C, { children: q(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, $.jsx)(Ee, {
title: "浏览器添加 JAV",
label: "正在读取浏览器添加设置",
- height: 100
- }) : n.data ? /* @__PURE__ */ (0, $.jsx)(It, {
+ body: "javBrowser",
+ actions: /* @__PURE__ */ (0, $.jsx)(d, {
+ type: "button",
+ disabled: !0,
+ children: "启用并生成令牌"
+ })
+ }) : n.data ? /* @__PURE__ */ (0, $.jsx)(zt, {
initial: n.data,
receipt: e
}) : null;
}
-function It({ initial: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.provider), [o, s] = (0, Z.useState)(""), c = Y();
+function zt({ initial: e, receipt: t }) {
+ let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.provider), [o, s] = (0, Z.useState)(""), c = Y(), l = ht("javBrowser", [e]);
(0, Z.useEffect)(() => {
r(e), a((t) => e.providers.some((e) => e.key === t) ? t : e.provider), e.enabled || s("");
}, [e]);
- let l = (e) => {
- c.run(e, (t) => G(Pt, {
+ let u = (e) => {
+ c.run(e, (t) => G(Lt, {
action: e,
provider: i
}, "POST", t), (n) => {
let { token: i = "", ...o } = n;
r(o), a(o.provider), s(i), t(e === "disable" ? "已关闭浏览器添加" : "已生成专用令牌");
});
- }, u = n.providers.some((e) => e.key === i && e.configured && e.target);
+ }, f = n.providers.some((e) => e.key === i && e.configured && e.target);
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "浏览器添加 JAV",
- children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [
- /* @__PURE__ */ (0, $.jsx)(Nt, {
- enabled: n.enabled,
- release: n.userscript
- }),
- /* @__PURE__ */ (0, $.jsxs)("div", {
- className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, $.jsx)(k, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, $.jsx)(I, {
- "aria-label": "浏览器添加的下载渠道",
- selectedKey: i || null,
- placeholder: "暂无可用渠道",
- onSelectionChange: (e) => {
- e !== null && a(String(e));
- },
- isDisabled: !n.providers.length || !!c.busy,
- children: n.providers.map((e) => /* @__PURE__ */ (0, $.jsx)(L, {
- id: e.key,
- textValue: e.label,
- children: /* @__PURE__ */ (0, $.jsx)(z, {
- source: e.key,
- label: e.label
- })
- }, e.key))
- })]
- }),
- u ? null : /* @__PURE__ */ (0, $.jsx)(j, { children: "请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。" }),
- n.problems?.map((e) => /* @__PURE__ */ (0, $.jsx)(j, { children: e }, e)),
- n.enabled && n.active_provider && !n.providers.some((e) => e.key === n.active_provider) ? /* @__PURE__ */ (0, $.jsx)(j, { children: "已启用的下载渠道不可用,请选择渠道并更新令牌。" }) : null,
- /* @__PURE__ */ (0, $.jsx)(M, {
- label: "Peach 地址",
- value: window.location.origin,
- isReadOnly: !0,
- autoComplete: "off"
- }),
- o ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
+ children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [/* @__PURE__ */ (0, $.jsxs)("div", {
+ ref: l,
+ className: "flex min-w-0 flex-col gap-4",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(It, {
+ enabled: n.enabled,
+ release: n.userscript
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-1",
+ children: [/* @__PURE__ */ (0, $.jsx)(k, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, $.jsx)(I, {
+ "aria-label": "浏览器添加的下载渠道",
+ selectedKey: i || null,
+ placeholder: "暂无可用渠道",
+ onSelectionChange: (e) => {
+ e !== null && a(String(e));
+ },
+ isDisabled: !n.providers.length || !!c.busy,
+ children: n.providers.map((e) => /* @__PURE__ */ (0, $.jsx)(L, {
+ id: e.key,
+ textValue: e.label,
+ children: /* @__PURE__ */ (0, $.jsx)(z, {
+ source: e.key,
+ label: e.label
+ })
+ }, e.key))
+ })]
+ }),
+ f ? null : /* @__PURE__ */ (0, $.jsx)(j, { children: "请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。" }),
+ n.problems?.map((e) => /* @__PURE__ */ (0, $.jsx)(j, { children: e }, e)),
+ n.enabled && n.active_provider && !n.providers.some((e) => e.key === n.active_provider) ? /* @__PURE__ */ (0, $.jsx)(j, { children: "已启用的下载渠道不可用,请选择渠道并更新令牌。" }) : null,
/* @__PURE__ */ (0, $.jsx)(M, {
- label: "浏览器添加专用令牌",
- type: "password",
- value: o,
+ label: "Peach 地址",
+ value: window.location.origin,
isReadOnly: !0,
- autoComplete: "new-password"
+ autoComplete: "off"
}),
- /* @__PURE__ */ (0, $.jsx)("div", { children: /* @__PURE__ */ (0, $.jsx)(d, {
- variant: "secondary",
- type: "button",
- onClick: () => {
- c.run("copy", async () => navigator.clipboard.writeText(JSON.stringify({
- peach_pairing: 1,
- base: window.location.origin,
- token: o
- })), () => t("已复制配对信息"));
- },
- ...K(c.busy === "copy"),
- children: "复制配对信息"
- }) }),
- /* @__PURE__ */ (0, $.jsx)(j, { children: "在用户脚本设置的「Peach 地址」中粘贴配对信息,即可填好地址与令牌。" })
- ] }) : null,
- c.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: c.error }) : null
- ] }), /* @__PURE__ */ (0, $.jsxs)(A, { children: [n.enabled ? /* @__PURE__ */ (0, $.jsx)(d, {
+ o ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
+ /* @__PURE__ */ (0, $.jsx)(M, {
+ label: "浏览器添加专用令牌",
+ type: "password",
+ value: o,
+ isReadOnly: !0,
+ autoComplete: "new-password"
+ }),
+ /* @__PURE__ */ (0, $.jsx)("div", { children: /* @__PURE__ */ (0, $.jsx)(d, {
+ variant: "secondary",
+ type: "button",
+ onClick: () => {
+ c.run("copy", async () => navigator.clipboard.writeText(JSON.stringify({
+ peach_pairing: 1,
+ base: window.location.origin,
+ token: o
+ })), () => t("已复制配对信息"));
+ },
+ ...K(c.busy === "copy"),
+ children: "复制配对信息"
+ }) }),
+ /* @__PURE__ */ (0, $.jsx)(j, { children: "在用户脚本设置的「Peach 地址」中粘贴配对信息,即可填好地址与令牌。" })
+ ] }) : null
+ ]
+ }), c.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: c.error }) : null] }), /* @__PURE__ */ (0, $.jsxs)(A, { children: [n.enabled ? /* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
type: "button",
disabled: !!c.busy,
- onClick: () => l("disable"),
+ onClick: () => u("disable"),
children: "关闭浏览器添加"
}) : null, /* @__PURE__ */ (0, $.jsx)(d, {
type: "button",
- disabled: !n.available || !u || !!c.busy,
- onClick: () => l(n.enabled ? "rotate" : "enable"),
+ disabled: !n.available || !f || !!c.busy,
+ onClick: () => u(n.enabled ? "rotate" : "enable"),
...K(c.busy === "enable" || c.busy === "rotate"),
children: n.enabled ? "更新渠道与令牌" : "启用并生成令牌"
})] })]
@@ -228,17 +236,17 @@ function It({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var Lt = "/api/configuration/downloads", Rt = "/api/configuration/downloads/check", zt = "/api/configuration/downloads/folder", Bt = "/api/configuration/downloads/pikpak/login", Vt = "/api/configuration/downloads/pikpak/logout", Ht = "/api/configuration/downloads/pikpak/browser-login", Ut = 2e3, Wt = Qe("pikpak");
-function Gt({ initial: e, receipt: t, panel: n }) {
+var Bt = "/api/configuration/downloads", Vt = "/api/configuration/downloads/check", Ht = "/api/configuration/downloads/folder", Ut = "/api/configuration/downloads/pikpak/login", Wt = "/api/configuration/downloads/pikpak/logout", Gt = "/api/configuration/downloads/pikpak/browser-login", Kt = 2e3, qt = et("pikpak");
+function Jt({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, $.jsx)("div", {
...Q(n),
- children: /* @__PURE__ */ (0, $.jsx)(Kt, {
+ children: /* @__PURE__ */ (0, $.jsx)(Yt, {
initial: e,
receipt: t
})
});
}
-function Kt({ initial: e, receipt: t }) {
+function Yt({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)("");
(0, Z.useEffect)(() => {
r((t) => ({
@@ -249,20 +257,20 @@ function Kt({ initial: e, receipt: t }) {
}, [e.media_sources, e.pikpak_roots]);
let o = n.media_sources ?? [], s = o.includes("pikpak"), c = o.some((e) => p.includes(e)), l = s && (n.pikpak.logged_in || !!i.trim());
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
- c ? /* @__PURE__ */ (0, $.jsx)(qt, {
+ c ? /* @__PURE__ */ (0, $.jsx)(Xt, {
state: n,
settle: r,
receipt: t,
pikpakAccount: l
}) : null,
- s ? /* @__PURE__ */ (0, $.jsx)(Xt, {
+ s ? /* @__PURE__ */ (0, $.jsx)($t, {
state: n,
settle: r,
receipt: t,
username: i,
setUsername: a
}) : null,
- /* @__PURE__ */ (0, $.jsx)(Ft, {
+ /* @__PURE__ */ (0, $.jsx)(Rt, {
receipt: t,
refreshKey: JSON.stringify([
n.media_sources,
@@ -273,14 +281,14 @@ function Kt({ initial: e, receipt: t }) {
})
] });
}
-function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, Z.useState)(e.config), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(String(e.config.wait_hours)), [u, f] = (0, Z.useState)(null), [p, m] = (0, Z.useState)(""), [h, g] = (0, Z.useState)(Jt), [_, v] = (0, Z.useState)(""), [y, b] = (0, Z.useState)(!1), x = Y(), C = e.media_sources ?? [], w = C.includes("115"), T = C.includes("pikpak"), E = (e) => i.targets[e] ?? "", ee = (e, t) => a({
+function Xt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, Z.useState)(e.config), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(String(e.config.wait_hours)), [u, f] = (0, Z.useState)(null), [p, m] = (0, Z.useState)(""), [h, g] = (0, Z.useState)(Zt), [_, v] = (0, Z.useState)(""), [y, b] = (0, Z.useState)(!1), x = Y(), S = e.media_sources ?? [], ee = S.includes("115"), w = S.includes("pikpak"), T = (e) => i.targets[e] ?? "", E = (e, t) => a({
...i,
targets: {
...i.targets,
[e]: t
}
- }), D = w && !(!h.target || h.target.exists || E("115") !== h.target.path), O = (e, t, n = "") => {
+ }), te = ee && !(!h.target || h.target.exists || T("115") !== h.target.path), ne = (e, t, n = "") => {
let r = t.target ? e.suggested_target : null, i = !!(r && n && r.path === n), o = t.root ? e.suggested_pikpak_root : "";
a((n) => ({
...n,
@@ -303,27 +311,27 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- x.run("auto", (e) => W(Rt, e), (e) => O(e, t), (e) => v(q(e)));
+ x.run("auto", (e) => W(Vt, e), (e) => ne(e, t), (e) => v(q(e)));
}, []), /* @__PURE__ */ (0, $.jsxs)(F, {
title: "云下载",
onSubmit: (e) => {
- if (e.preventDefault(), D) {
+ if (e.preventDefault(), te) {
b(!0);
return;
}
- let u = !E("115").trim(), d = {
+ let u = !T("115").trim(), d = {
...i,
wait_hours: c,
token: o,
pikpak_account: r
};
- x.run("save", (e) => G(Lt, d, "POST", e), (e) => {
+ x.run("save", (e) => G(Bt, d, "POST", e), (e) => {
let { report: r, ...i } = e;
- t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? O(r, {
+ t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? ne(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (f(null), m(""), g(Jt), b(!1), v("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (f(null), m(""), g(Zt), b(!1), v("")), n("已保存配置");
}, (e) => v(q(e)));
},
children: [
@@ -351,7 +359,7 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- w ? /* @__PURE__ */ (0, $.jsx)(M, {
+ ee ? /* @__PURE__ */ (0, $.jsx)(M, {
label: /* @__PURE__ */ (0, $.jsx)(z, {
source: "115",
label: "115 目标目录"
@@ -360,13 +368,13 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
autoComplete: "off",
maxLength: 300,
validationBehavior: "aria",
- isInvalid: D,
- hint: D ? y ? "先新建这个目录,或填写已有目录。" : "这个目录不存在。" : "应位于自动入库的云端路径前缀内。",
- value: E("115"),
+ isInvalid: te,
+ hint: te ? y ? "先新建这个目录,或填写已有目录。" : "这个目录不存在。" : "应位于自动入库的云端路径前缀内。",
+ value: T("115"),
isDisabled: !e.available,
- onChange: (e) => ee("115", e)
+ onChange: (e) => E("115", e)
}) : null,
- T ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(M, {
+ w ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(M, {
label: /* @__PURE__ */ (0, $.jsx)(z, {
source: "pikpak",
label: "PikPak 目标目录"
@@ -375,9 +383,9 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
autoComplete: "off",
maxLength: 300,
hint: "目录要已经存在。",
- value: E("pikpak"),
+ value: T("pikpak"),
isDisabled: !e.available,
- onChange: (e) => ee("pikpak", e)
+ onChange: (e) => E("pikpak", e)
}), /* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex flex-col gap-1",
children: [/* @__PURE__ */ (0, $.jsx)(k, { children: /* @__PURE__ */ (0, $.jsx)(z, {
@@ -411,9 +419,9 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
] }),
x.busy === "auto" ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(oe, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, $.jsx)(ce, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, $.jsx)(Yt, {
+ u ? /* @__PURE__ */ (0, $.jsx)(Qt, {
report: u,
detected: p,
suggested: h,
@@ -425,7 +433,7 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- x.run("folder", (e) => G(zt, t, "POST", e), (t) => {
+ x.run("folder", (e) => G(Ht, t, "POST", e), (t) => {
f(t), g((t) => ({
...t,
target: {
@@ -439,7 +447,7 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}) : null,
_ || x.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: _ || x.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: _ || x.error })
}) : null,
/* @__PURE__ */ (0, $.jsxs)(A, {
status: e.available ? void 0 : "云下载只在允许修改数据库的设备上可用。",
@@ -448,16 +456,16 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onClick: () => {
let e = {
address: !i.clouddrive_address.trim(),
- target: !E("115").trim(),
+ target: !T("115").trim(),
root: !i.pikpak_root
}, t = {
clouddrive_address: i.clouddrive_address,
token: o,
- target: E("115"),
+ target: T("115"),
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- x.run("check", (e) => G(Rt, t, "POST", e), (t) => O(t, e), (e) => v(q(e)));
+ x.run("check", (e) => G(Vt, t, "POST", e), (t) => ne(t, e), (e) => v(q(e)));
},
disabled: !e.available,
...K(x.busy === "check"),
@@ -472,12 +480,12 @@ function qt({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var Jt = {
+var Zt = {
target: null,
root: "",
saved: !1
};
-function Yt({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function Qt({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target, o = !!(t || a || n.root || e.permissions.length || e.folder || e.quota);
return !o && !e.problems.length ? null : /* @__PURE__ */ (0, $.jsxs)(V, {
divided: !0,
@@ -536,50 +544,50 @@ function Yt({ report: e, detected: t, suggested: n, create: r, creating: i }) {
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, $.jsx)(S, { children: e }, e))]
+ ] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, $.jsx)(C, { children: e }, e))]
});
}
-function Xt({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+function $t({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
let [a, o] = (0, Z.useState)(""), [s, c] = (0, Z.useState)(!1), [l, u] = (0, Z.useState)(""), [f, p] = (0, Z.useState)(""), [m, h] = (0, Z.useState)(""), g = Y(), _ = e.pikpak, y = e.pikpak_browser, b = y.state === "waiting";
(0, Z.useEffect)(() => {
if (!b) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await W(Ht, e.signal);
+ let r = await W(Gt, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && h(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
p(q(t));
}
- r = setTimeout(i, Ut);
+ r = setTimeout(i, Kt);
};
- return r = setTimeout(i, Ut), () => {
+ return r = setTimeout(i, Kt), () => {
e.abort(), clearTimeout(r);
};
}, [b]);
let x = () => {
- h(""), g.run("browser", (e) => G(Ht, {}, "POST", e), (e) => {
+ h(""), g.run("browser", (e) => G(Gt, {}, "POST", e), (e) => {
t(e), p("");
}, (e) => p(q(e)));
- }, w = () => {
- g.run("cancel", (e) => G(`${Ht}/cancel`, {}, "POST", e), (e) => {
+ }, S = () => {
+ g.run("cancel", (e) => G(`${Gt}/cancel`, {}, "POST", e), (e) => {
t(e), p(""), h(e.pikpak_browser.message);
}, (e) => p(q(e)));
- }, T = (e) => {
+ }, ee = (e) => {
if (e.preventDefault(), _.logged_in) return;
let i = {
username: r,
password: a,
remember: s
};
- g.run("login", (e) => G(Bt, i, "POST", e), (e) => {
+ g.run("login", (e) => G(Ut, i, "POST", e), (e) => {
t(e.settings), p(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => p(q(e)));
- }, E = () => {
- g.run("logout", (e) => G(Vt, {}, "POST", e), (e) => {
+ }, T = () => {
+ g.run("logout", (e) => G(Wt, {}, "POST", e), (e) => {
t(e), p(""), n("已登出 PikPak");
}, (e) => p(q(e)));
- }, ee = /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
+ }, E = /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
/* @__PURE__ */ (0, $.jsx)(M, {
label: "账号",
placeholder: "邮箱或手机号",
@@ -609,27 +617,27 @@ function Xt({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, $.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, $.jsx)(C, {
+ children: /* @__PURE__ */ (0, $.jsx)(w, {
href: l,
children: "打开 PikPak 验证页"
})
}),
children: "在浏览器里完成验证后,回到这里再点一次「登录」。"
}) : null
- ] }), k = /* @__PURE__ */ (0, $.jsx)(d, {
+ ] }), te = /* @__PURE__ */ (0, $.jsx)(d, {
type: "submit",
variant: "primary",
disabled: !e.available || b,
...K(g.busy === "login"),
children: "登录"
- }), te = y.state === "timeout" || y.state === "failed";
+ }), ne = y.state === "timeout" || y.state === "failed";
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, $.jsx)(Wt, {}),
- onSubmit: T,
+ icon: /* @__PURE__ */ (0, $.jsx)(qt, {}),
+ onSubmit: ee,
aside: /* @__PURE__ */ (0, $.jsx)(H, {
- tone: _.logged_in ? "success" : b ? "progress" : te ? "error" : "neutral",
- children: _.logged_in ? "已登录" : b ? "等待登录" : te ? "登录未完成" : "待登录"
+ tone: _.logged_in ? "success" : b ? "progress" : ne ? "error" : "neutral",
+ children: _.logged_in ? "已登录" : b ? "等待登录" : ne ? "登录未完成" : "待登录"
}),
children: [
_.logged_in ? /* @__PURE__ */ (0, $.jsxs)(O, { children: [/* @__PURE__ */ (0, $.jsx)(D, {
@@ -641,26 +649,26 @@ function Xt({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}) : /* @__PURE__ */ (0, $.jsx)(D, {
term: "密码",
children: _.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : /* @__PURE__ */ (0, $.jsxs)(V, { children: [m ? te ? /* @__PURE__ */ (0, $.jsx)(S, { children: m }) : /* @__PURE__ */ (0, $.jsx)(j, {
+ })] }) : /* @__PURE__ */ (0, $.jsxs)(V, { children: [m ? ne ? /* @__PURE__ */ (0, $.jsx)(C, { children: m }) : /* @__PURE__ */ (0, $.jsx)(j, {
role: "status",
children: m
- }) : null, ee] }),
+ }) : null, E] }),
f || g.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: f || g.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: f || g.error })
}) : null,
/* @__PURE__ */ (0, $.jsx)(A, {
- status: !_.logged_in && b ? /* @__PURE__ */ (0, $.jsx)(oe, { label: y.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ status: !_.logged_in && b ? /* @__PURE__ */ (0, $.jsx)(ce, { label: y.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: _.logged_in ? /* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
- onClick: E,
+ onClick: T,
disabled: !e.available,
...K(g.busy === "logout"),
children: "登出"
}) : /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [y.available ? b ? /* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
type: "button",
- onClick: w,
+ onClick: S,
...K(g.busy === "cancel"),
children: "取消"
}) : /* @__PURE__ */ (0, $.jsx)(d, {
@@ -670,14 +678,14 @@ function Xt({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
disabled: !e.available,
...K(g.busy === "browser"),
children: "用浏览器登录"
- }) : null, k] })
+ }) : null, te] })
})
]
});
}
//#endregion
//#region src/react/settings/library-sharing-settings.tsx
-function Zt({ initial: e, receipt: t }) {
+function en({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(null), [o, s] = (0, Z.useState)(!1), [c, l] = (0, Z.useState)(!1), u = (0, Z.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), f = Y(), p = (e) => void f.run("save", (t) => G("/api/configuration/library-sharing", {
enabled: e,
schema: n.schema,
@@ -720,7 +728,7 @@ function Zt({ initial: e, receipt: t }) {
tone: n.last_attempt.attempted ? "error" : "warning",
children: n.last_attempt.attempted ? "上传失败" : "待重新准备"
})
- }), /* @__PURE__ */ (0, $.jsx)(S, { children: n.last_attempt.attempted ? "馆藏与口味上传失败,本周不再发送。" : "馆藏与口味上传未完成,将自动重新准备。" })]
+ }), /* @__PURE__ */ (0, $.jsx)(C, { children: n.last_attempt.attempted ? "馆藏与口味上传失败,本周不再发送。" : "馆藏与口味上传未完成,将自动重新准备。" })]
}) : null,
n.enabled && n.last_attempt?.status === "waiting-data" ? /* @__PURE__ */ (0, $.jsxs)(V, {
divided: !0,
@@ -754,7 +762,7 @@ function Zt({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, $.jsx)(b, {
summary: "上传数据预览",
defaultOpen: !0,
- children: /* @__PURE__ */ (0, $.jsx)(_t, {
+ children: /* @__PURE__ */ (0, $.jsx)(bt, {
code: u,
language: "json",
label: "馆藏与口味上传预览",
@@ -776,7 +784,7 @@ function Zt({ initial: e, receipt: t }) {
}) : null,
f.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: f.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: f.error })
}) : null,
/* @__PURE__ */ (0, $.jsxs)(A, { children: [
o && !n.enabled ? /* @__PURE__ */ (0, $.jsx)(d, {
@@ -808,7 +816,7 @@ function Zt({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/remote-reporting-settings.tsx
-function Qt({ value: e, onChange: t, busy: n = !1 }) {
+function tn({ value: e, onChange: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(P, { children: /* @__PURE__ */ (0, $.jsx)(R, {
label: "发送版本统计与错误诊断(推荐)",
description: "上传版本、系统信息、故障类型、代码位置与发生次数。",
@@ -830,9 +838,9 @@ function Qt({ value: e, onChange: t, busy: n = !1 }) {
})
})] });
}
-function $t({ initial: e, receipt: t }) {
+function nn({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), i = Y();
- return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(Qt, {
+ return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(tn, {
value: n,
busy: i.busy === "save",
onChange: (e) => {
@@ -845,69 +853,69 @@ function $t({ initial: e, receipt: t }) {
}
}), i.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: i.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: i.error })
}) : null] });
}
//#endregion
//#region src/react/settings/storage-settings.tsx
-var en = "/api/configuration/storage", tn = 1500, nn = 864e5, rn = (e) => e instanceof u && e.body?.errors?.target || q(e);
-function an(e) {
+var rn = "/api/configuration/storage", an = 1500, on = 864e5, sn = (e) => e instanceof u && e.body?.errors?.target || q(e);
+function cn(e) {
if (e.free_bytes === null || e.total_bytes === null) return "未取得";
- let t = `${qe(e.free_bytes)} 可用,共 ${qe(e.total_bytes)}`;
+ let t = `${Ye(e.free_bytes)} 可用,共 ${Ye(e.total_bytes)}`;
return e.system_drive ? `${t}(系统盘)` : t;
}
-function on({ initial: e, receipt: t }) {
+function ln({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(""), o = Y(), s = n.job.state !== "idle", c = (0, Z.useRef)(s);
(0, Z.useEffect)(() => {
if (!s) return;
let e = new AbortController(), t = setTimeout(() => {
- W(en, e.signal).then(r, () => {
+ W(rn, e.signal).then(r, () => {
e.signal.aborted || r((e) => ({ ...e }));
});
- }, tn);
+ }, an);
return () => {
e.abort(), clearTimeout(t);
};
}, [n]), (0, Z.useEffect)(() => {
s ? c.current = !0 : c.current && (c.current = !1, n.job.error || t(n.job.message || "已统计占用空间"));
}, [s]);
- let l = () => void o.run("measure", (e) => G(`${en}/measure`, {}, "POST", e), r), u = (e) => void Le({
+ let l = () => void o.run("measure", (e) => G(`${rn}/measure`, {}, "POST", e), r), u = (e) => void ze({
title: `清理${e.label}`,
- body: `将删除 ${qe(e.reclaimable)} 的${e.label},${e.description}。`,
+ body: `将删除 ${Ye(e.reclaimable)} 的${e.label},${e.description}。`,
confirmLabel: `清理${e.label}`,
danger: e.key === "backups",
- onConfirm: async () => r(await G(`${en}/clean`, { category: e.key }))
+ onConfirm: async () => r(await G(`${rn}/clean`, { category: e.key }))
}), f = () => void o.run("relocate", async (e) => {
- let t = (await G(fe, { initial: n.data_root }, "POST", e)).path;
+ let t = (await G(me, { initial: n.data_root }, "POST", e)).path;
if (!t) return;
- let r = n.usage ? qe(n.usage.total_bytes) : "";
- await Le({
+ let r = n.usage ? Ye(n.usage.total_bytes) : "";
+ await ze({
title: "迁移数据目录",
body: `将 ${r} 数据从 ${n.data_root} 移到 ${t}。迁移期间 Peach 会退出,完成后自动重新打开;原位置的数据在新位置核对无误后删除。`,
confirmLabel: "迁移数据目录",
onConfirm: async () => {
try {
- a((await G(`${en}/relocate`, { target: t })).message);
+ a((await G(`${rn}/relocate`, { target: t })).message);
} catch (e) {
- throw Error(rn(e));
+ throw Error(sn(e));
}
}
});
- }, () => void 0), p = n.usage, m = n.relocation.last, h = m && (m.state === "error" || (m.notes?.length ?? 0) > 0 || Date.now() - m.finished_at * 1e3 < nn), g = i || (n.job.state === "measuring" ? "正在统计占用空间…" : n.job.state === "cleaning" ? "正在清理…" : p ? `共 ${qe(p.total_bytes)},${p.total_files.toLocaleString()} 个文件` : ""), _ = s || !!i;
+ }, () => void 0), p = n.usage, m = n.relocation.last, h = m && (m.state === "error" || (m.notes?.length ?? 0) > 0 || Date.now() - m.finished_at * 1e3 < on), g = i || (n.job.state === "measuring" ? "正在统计占用空间…" : n.job.state === "cleaning" ? "正在清理…" : p ? `共 ${Ye(p.total_bytes)},${p.total_files.toLocaleString()} 个文件` : ""), _ = s || !!i;
return /* @__PURE__ */ (0, $.jsxs)(F, {
id: "storageSettings",
title: "存储空间",
children: [
/* @__PURE__ */ (0, $.jsxs)(O, { children: [/* @__PURE__ */ (0, $.jsx)(D, {
term: "数据目录",
- children: /* @__PURE__ */ (0, $.jsx)(_e, {
+ children: /* @__PURE__ */ (0, $.jsx)(ye, {
path: n.data_root,
className: "text-body-regular text-text-primary",
onRevealed: t
})
}), /* @__PURE__ */ (0, $.jsx)(D, {
term: "所在磁盘",
- children: an(n)
+ children: cn(n)
})] }),
p ? /* @__PURE__ */ (0, $.jsx)(P, { children: p.categories.map((e) => /* @__PURE__ */ (0, $.jsx)(R, {
label: e.label,
@@ -916,7 +924,7 @@ function on({ initial: e, receipt: t }) {
className: "flex shrink-0 items-center gap-3",
children: [/* @__PURE__ */ (0, $.jsx)("span", {
className: "text-body-regular text-text-secondary tabular-nums",
- children: qe(e.bytes)
+ children: Ye(e.bytes)
}), e.cleanable && e.reclaimable > 0 ? (() => {
let t = n.job.state === "cleaning" && n.job.category === e.key;
return /* @__PURE__ */ (0, $.jsxs)(d, {
@@ -924,7 +932,7 @@ function on({ initial: e, receipt: t }) {
disabled: _ && !t,
...K(t),
onClick: () => u(e),
- children: ["清理 ", qe(e.reclaimable)]
+ children: ["清理 ", Ye(e.reclaimable)]
});
})() : null]
})
@@ -936,9 +944,9 @@ function on({ initial: e, receipt: t }) {
divided: !0,
children: [
n.relocation.available ? null : /* @__PURE__ */ (0, $.jsx)(j, { children: n.relocation.message }),
- n.job.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: n.job.message }) : null,
- o.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: o.error }) : null,
- h && m ? m.state === "error" ? /* @__PURE__ */ (0, $.jsx)(S, { children: m.message }) : /* @__PURE__ */ (0, $.jsx)(j, { children: [m.message, ...m.notes ?? []].join(";") }) : null
+ n.job.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: n.job.message }) : null,
+ o.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: o.error }) : null,
+ h && m ? m.state === "error" ? /* @__PURE__ */ (0, $.jsx)(C, { children: m.message }) : /* @__PURE__ */ (0, $.jsx)(j, { children: [m.message, ...m.notes ?? []].join(";") }) : null
]
}) : null,
/* @__PURE__ */ (0, $.jsxs)(A, {
@@ -964,51 +972,51 @@ function on({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var sn = [
+var un = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function cn({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function dn({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, $.jsxs)("div", {
...Q(r),
children: [
- e.storage ? /* @__PURE__ */ (0, $.jsx)(on, {
+ e.storage ? /* @__PURE__ */ (0, $.jsx)(ln, {
initial: e.storage,
receipt: t
}) : null,
e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, $.jsxs)(F, {
id: "librarySharing",
title: "数据上传",
- children: [e.remote_reporting ? /* @__PURE__ */ (0, $.jsx)($t, {
+ children: [e.remote_reporting ? /* @__PURE__ */ (0, $.jsx)(nn, {
initial: e.remote_reporting,
receipt: t
}) : null, e.library_sharing ? /* @__PURE__ */ (0, $.jsx)("div", {
className: "border-t border-separator-border",
- children: /* @__PURE__ */ (0, $.jsx)(Zt, {
+ children: /* @__PURE__ */ (0, $.jsx)(en, {
initial: e.library_sharing,
receipt: t
})
}) : null]
}) : null,
- /* @__PURE__ */ (0, $.jsx)(dn, { facts: e.facts }),
- /* @__PURE__ */ (0, $.jsx)(ln, {
+ /* @__PURE__ */ (0, $.jsx)(mn, { facts: e.facts }),
+ /* @__PURE__ */ (0, $.jsx)(fn, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, $.jsx)(fn, {
+ e.uninstall ? /* @__PURE__ */ (0, $.jsx)(hn, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function ln({ receipt: e, reopenTutorial: t }) {
+function fn({ receipt: e, reopenTutorial: t }) {
let n = Y();
return /* @__PURE__ */ (0, $.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, $.jsxs)(De, { children: [/* @__PURE__ */ (0, $.jsx)(P, { children: /* @__PURE__ */ (0, $.jsx)(R, {
+ children: /* @__PURE__ */ (0, $.jsxs)(ke, { children: [/* @__PURE__ */ (0, $.jsx)(P, { children: /* @__PURE__ */ (0, $.jsx)(R, {
label: "安装教程",
children: /* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
@@ -1016,10 +1024,10 @@ function ln({ receipt: e, reopenTutorial: t }) {
...K(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(S, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(C, { children: n.error }) }) : null] })
});
}
-function un({ initial: e, receipt: t }) {
+function pn({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.mode), [i, a] = (0, Z.useState)(e.interval_hours), o = Y(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => G("/api/configuration/automatic-updates", {
mode: n,
@@ -1060,7 +1068,7 @@ function un({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: sn.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
+ children: un.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e,
children: t
}, e))
@@ -1069,7 +1077,7 @@ function un({ initial: e, receipt: t }) {
] }),
o.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: o.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: o.error })
}) : null,
/* @__PURE__ */ (0, $.jsx)(A, { children: /* @__PURE__ */ (0, $.jsx)(d, {
type: "submit",
@@ -1080,20 +1088,20 @@ function un({ initial: e, receipt: t }) {
]
});
}
-function dn({ facts: e }) {
+function mn({ facts: e }) {
return /* @__PURE__ */ (0, $.jsx)(F, {
title: "运行信息",
children: /* @__PURE__ */ (0, $.jsx)(O, { children: e.map((e) => /* @__PURE__ */ (0, $.jsxs)(D, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, $.jsx)(C, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, $.jsx)(w, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function fn({ uninstall: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(!1), [i, a] = (0, Z.useState)(""), o = () => void Le({
+function hn({ uninstall: e, receipt: t }) {
+ let [n, r] = (0, Z.useState)(!1), [i, a] = (0, Z.useState)(""), o = () => void ze({
title: "卸载 Peach",
danger: !0,
body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",
@@ -1125,7 +1133,7 @@ function fn({ uninstall: e, receipt: t }) {
divided: !0,
children: /* @__PURE__ */ (0, $.jsx)(b, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, $.jsx)(_e, {
+ children: c.map((e) => /* @__PURE__ */ (0, $.jsx)(ye, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
@@ -1149,30 +1157,30 @@ function fn({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var pn = /* @__PURE__ */ new Set([
+var gn = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), mn = [
+]), _n = [
65,
75,
90
-], hn = 120;
-function gn({ initial: e, initialJob: t }) {
+], vn = 120;
+function yn({ initial: e, initialJob: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), f = pn.has(i.state);
+ }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), f = gn.has(i.state);
(0, Z.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
let p = async () => {
let e = await G("/api/configuration/update-restart", {});
u.current && a(e);
- }, m = () => void Le({
+ }, m = () => void ze({
title: "更新已准备好",
body: `Peach ${i.version || ""} 将在重启后安装。`,
confirmLabel: "立即重启",
@@ -1182,7 +1190,7 @@ function gn({ initial: e, initialJob: t }) {
(0, Z.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, m());
}, [i.state]), (0, Z.useEffect)(() => {
- let e = new AbortController(), t = pn.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = gn.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await W("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -1195,9 +1203,9 @@ function gn({ initial: e, initialJob: t }) {
let n = await W("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= hn && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= vn && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < hn && (n = setTimeout(c, t));
+ !e.signal.aborted && o < vn && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -1249,19 +1257,19 @@ function gn({ initial: e, initialJob: t }) {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, $.jsx)(S, { children: _ || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, $.jsx)(j, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, $.jsx)(C, { children: _ || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, $.jsx)(j, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, $.jsx)(S, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, $.jsx)(C, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, $.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, $.jsx)(ye, {
+ /* @__PURE__ */ (0, $.jsx)(xe, {
label: "更新准备进度",
value: i.progress,
- stops: mn
+ stops: _n
}),
/* @__PURE__ */ (0, $.jsxs)(j, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, $.jsx)(j, { children: v })
@@ -1270,7 +1278,7 @@ function gn({ initial: e, initialJob: t }) {
]
}),
/* @__PURE__ */ (0, $.jsxs)(A, {
- status: /* @__PURE__ */ (0, $.jsx)(C, {
+ status: /* @__PURE__ */ (0, $.jsx)(w, {
href: n.release_url,
children: "查看发布页"
}),
@@ -1300,26 +1308,26 @@ function gn({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function _n({ data: e, receipt: t, panel: n }) {
+function bn({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, $.jsxs)("div", {
...Q(n),
children: [
- e.updates ? /* @__PURE__ */ (0, $.jsx)(gn, {
+ e.updates ? /* @__PURE__ */ (0, $.jsx)(yn, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, $.jsx)(un, {
+ e.automatic_updates ? /* @__PURE__ */ (0, $.jsx)(pn, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.startup ? /* @__PURE__ */ (0, $.jsx)(vn, {
+ e.startup ? /* @__PURE__ */ (0, $.jsx)(xn, {
startup: e.startup,
receipt: t
}) : null
]
});
}
-function vn({ startup: e, receipt: t }) {
+function xn({ startup: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.enabled), [i, a] = (0, Z.useState)(e.silent), [o, s] = (0, Z.useState)(e.desktop), c = Y(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "开机自启",
@@ -1363,7 +1371,7 @@ function vn({ startup: e, receipt: t }) {
] }),
e.message || c.error ? /* @__PURE__ */ (0, $.jsxs)(V, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, $.jsx)(j, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, $.jsx)(j, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: c.error }) : null]
}) : null,
/* @__PURE__ */ (0, $.jsx)(A, { children: /* @__PURE__ */ (0, $.jsx)(d, {
type: "submit",
@@ -1376,7 +1384,7 @@ function vn({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var yn = 8e3, bn = [
+var Sn = 8e3, Cn = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -1395,18 +1403,18 @@ var yn = 8e3, bn = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], xn = [
+], wn = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Sn() {
+function Tn() {
return /* @__PURE__ */ (0, $.jsx)("div", {
className: "@container flex flex-col gap-3",
children: /* @__PURE__ */ (0, $.jsxs)(b, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, $.jsxs)(j, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, $.jsx)(C, {
+ /* @__PURE__ */ (0, $.jsxs)(j, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, $.jsx)(w, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
@@ -1415,14 +1423,14 @@ function Sn() {
/* @__PURE__ */ (0, $.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: bn.map((e) => /* @__PURE__ */ (0, $.jsxs)("li", {
+ children: Cn.map((e) => /* @__PURE__ */ (0, $.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, $.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, $.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: xn.map(([t, n]) => /* @__PURE__ */ (0, $.jsxs)("div", {
+ children: wn.map(([t, n]) => /* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, $.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -1443,7 +1451,7 @@ function Sn() {
/* @__PURE__ */ (0, $.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, $.jsx)(j, { children: /* @__PURE__ */ (0, $.jsx)(C, {
+ /* @__PURE__ */ (0, $.jsx)(j, { children: /* @__PURE__ */ (0, $.jsx)(w, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -1453,15 +1461,15 @@ function Sn() {
}
//#endregion
//#region src/react/settings/cloud-proxy-settings.tsx
-var Cn = "/api/configuration/cloud-proxies", wn = [
+var En = "/api/configuration/cloud-proxies", Dn = [
["direct", "直连"],
["system", "跟随系统"],
["http", "HTTP 代理"],
["socks5", "SOCKS5 代理"]
];
-function Tn({ receipt: e }) {
+function On({ receipt: e }) {
let [t, n] = (0, Z.useState)(null), [r, i] = (0, Z.useState)(!0), a = (0, Z.useRef)(/* @__PURE__ */ new Set()), o = (0, Z.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, Z.useState)(!1), l = (0, Z.useRef)(() => void 0), u = Y(), f = () => {
- o.current.size || u.run("refresh", (e) => W(Cn, e), (e) => {
+ o.current.size || u.run("refresh", (e) => W(En, e), (e) => {
a.current.clear(), n(e), i(!1);
}, (e) => {
i(!1), u.setError(e instanceof Error ? e.message : "无法读取网盘代理");
@@ -1476,7 +1484,7 @@ function Tn({ receipt: e }) {
}, []);
let p = (0, Z.useRef)(null);
return (0, Z.useLayoutEffect)(() => {
- !r && p.current && tt("cloud-proxy", p.current.offsetHeight);
+ !r && p.current && rt("cloud-proxy", p.current.offsetHeight);
}, [r, t]), /* @__PURE__ */ (0, $.jsxs)(F, {
title: "CloudDrive 代理",
children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [/* @__PURE__ */ (0, $.jsx)(j, { children: m }), /* @__PURE__ */ (0, $.jsxs)("div", {
@@ -1489,7 +1497,7 @@ function Tn({ receipt: e }) {
"aria-label": "正在读取网盘代理",
children: /* @__PURE__ */ (0, $.jsx)("div", {
className: "h-(--remembered-h) w-full rounded-2lg bg-background-tertiary-default",
- style: { "--remembered-h": `${nt("cloud-proxy", 96)}px` }
+ style: { "--remembered-h": `${it("cloud-proxy", 96)}px` }
})
}) : null,
u.error ? /* @__PURE__ */ (0, $.jsxs)(N, {
@@ -1498,14 +1506,14 @@ function Tn({ receipt: e }) {
children: [
u.error,
" ",
- /* @__PURE__ */ (0, $.jsx)(ae, {
+ /* @__PURE__ */ (0, $.jsx)(se, {
href: "/settings/downloads",
size: "small",
children: "下载设置"
})
]
}) : null,
- t?.configured === !1 ? /* @__PURE__ */ (0, $.jsxs)(j, { children: ["填写 CloudDrive2 地址和 API 令牌后,在这里设置各网盘账号的代理。 ", /* @__PURE__ */ (0, $.jsx)(ae, {
+ t?.configured === !1 ? /* @__PURE__ */ (0, $.jsxs)(j, { children: ["填写 CloudDrive2 地址和 API 令牌后,在这里设置各网盘账号的代理。 ", /* @__PURE__ */ (0, $.jsx)(se, {
href: "/settings/downloads",
size: "small",
children: "下载设置"
@@ -1514,10 +1522,10 @@ function Tn({ receipt: e }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, $.jsx)(k, { children: /* @__PURE__ */ (0, $.jsxs)("span", {
className: "inline-flex items-center gap-2",
- children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Et(e.location) }), e.name]
+ children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: kt(e.location) }), e.name]
}) }), /* @__PURE__ */ (0, $.jsx)(j, { children: "尚未匹配 CloudDrive 账号" })]
}, e.root)),
- t?.accounts.map((t) => /* @__PURE__ */ (0, $.jsx)(En, {
+ t?.accounts.map((t) => /* @__PURE__ */ (0, $.jsx)(kn, {
initial: t,
receipt: e,
onDirty: () => a.current.add(t.id),
@@ -1541,7 +1549,7 @@ function Tn({ receipt: e }) {
}) })]
});
}
-function En({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
+function kn({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
let [a, o] = (0, Z.useState)(e), [s, c] = (0, Z.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = Y(), f = (e, t) => {
o((n) => ({
...n,
@@ -1551,7 +1559,7 @@ function En({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
return /* @__PURE__ */ (0, $.jsxs)("form", {
"aria-label": `${l} 代理`,
onSubmit: (e) => {
- e.preventDefault(), i(!0), u.run("save", (e) => G(Cn, {
+ e.preventDefault(), i(!0), u.run("save", (e) => G(En, {
id: a.id,
revision: a.revision,
...s.includes("api") ? { api: a.api } : {},
@@ -1564,20 +1572,20 @@ function En({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
children: [
/* @__PURE__ */ (0, $.jsx)(k, { children: /* @__PURE__ */ (0, $.jsxs)("span", {
className: "inline-flex items-center gap-2",
- children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Et(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]
+ children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: kt(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]
}) }),
/* @__PURE__ */ (0, $.jsxs)(j, { children: [
a.name,
" · ",
a.path
] }),
- /* @__PURE__ */ (0, $.jsx)(Dn, {
+ /* @__PURE__ */ (0, $.jsx)(An, {
label: "数据代理",
value: a.data,
disabled: !a.writable || !!u.busy,
onChange: (e) => f("data", e)
}),
- /* @__PURE__ */ (0, $.jsx)(Dn, {
+ /* @__PURE__ */ (0, $.jsx)(An, {
label: "API 代理",
value: a.api,
disabled: !a.writable || !!u.busy,
@@ -1601,7 +1609,7 @@ function En({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
]
});
}
-function Dn({ label: e, value: t, disabled: n, onChange: r }) {
+function An({ label: e, value: t, disabled: n, onChange: r }) {
let i = t.mode === "http" || t.mode === "socks5";
return /* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
@@ -1620,7 +1628,7 @@ function Dn({ label: e, value: t, disabled: n, onChange: r }) {
children: [t.mode === "unknown" ? /* @__PURE__ */ (0, $.jsx)(L, {
id: "unknown",
children: "无法识别的代理类型"
- }) : null, wn.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
+ }) : null, Dn.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e,
children: t
}, e))]
@@ -1689,7 +1697,7 @@ function Dn({ label: e, value: t, disabled: n, onChange: r }) {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var On = [
+var jn = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -1733,13 +1741,13 @@ var On = [
["star", "收藏"],
["tags", "主题"]
];
-function kn(e) {
- let t = e === "local" ? "" : ue[e];
+function Mn(e) {
+ let t = e === "local" ? "" : fe[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var An = "auto";
-function jn({ value: t, label: r, kind: i = "local", onChange: a }) {
- let l = (0, Z.useRef)(null), [u, f] = (0, Z.useState)(!1), [p, m] = (0, Z.useState)(t), [h, g] = kn(i);
+var Nn = "auto";
+function Pn({ value: t, label: r, kind: i = "local", onChange: a }) {
+ let l = (0, Z.useRef)(null), [u, f] = (0, Z.useState)(!1), [p, m] = (0, Z.useState)(t), [h, g] = Mn(i);
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(d, {
ref: l,
variant: "secondary",
@@ -1753,7 +1761,7 @@ function jn({ value: t, label: r, kind: i = "local", onChange: a }) {
children: /* @__PURE__ */ (0, $.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: t || h }), ((e) => e && On.find(([t]) => t === e)?.[1] || g)(t)]
+ children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: t || h }), ((e) => e && jn.find(([t]) => t === e)?.[1] || g)(t)]
})
}), /* @__PURE__ */ (0, $.jsx)(n, {
triggerRef: l,
@@ -1761,7 +1769,7 @@ function jn({ value: t, label: r, kind: i = "local", onChange: a }) {
onOpenChange: f,
placement: "bottom start",
offset: 4,
- className: de,
+ className: pe,
children: /* @__PURE__ */ (0, $.jsxs)(o, {
"aria-label": `${r}可选图标`,
className: "flex w-72 flex-col gap-3 outline-none",
@@ -1773,15 +1781,15 @@ function jn({ value: t, label: r, kind: i = "local", onChange: a }) {
}),
/* @__PURE__ */ (0, $.jsx)(s, {
"aria-label": "可选图标",
- value: p || An,
- onChange: (e) => m(e === An ? "" : e),
+ value: p || Nn,
+ onChange: (e) => m(e === Nn ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: On.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(c, {
- value: e || An,
+ children: jn.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(c, {
+ value: e || Nn,
"aria-label": e ? t : g,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
children: /* @__PURE__ */ (0, $.jsx)(B, { mark: e || h })
- }, e || An))
+ }, e || Nn))
}),
/* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -1803,19 +1811,19 @@ function jn({ value: t, label: r, kind: i = "local", onChange: a }) {
}
//#endregion
//#region src/react/settings/library-policy-settings.tsx
-var Mn = [
+var Fn = [
["probe", "读取视频信息"],
["metadata", "联网补资料"],
["cover", "联网补封面"],
["people", "联网补人物图片"],
["preview", "生成九宫格预览"]
-], Nn = [
+], In = [
"probe",
"metadata",
"cover",
"people",
"preview"
-], Pn = [
+], Ln = [
[
"auto",
"自动补全",
@@ -1832,11 +1840,11 @@ var Mn = [
"逐项选择要做的步骤"
]
];
-function Fn() {
+function Rn() {
return /* @__PURE__ */ (0, $.jsxs)("div", {
"data-policy-legend": "",
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, $.jsx)(j, { children: ge }), /* @__PURE__ */ (0, $.jsxs)(b, {
+ children: [/* @__PURE__ */ (0, $.jsx)(j, { children: ve }), /* @__PURE__ */ (0, $.jsxs)(b, {
summary: "三种处理方式对比",
children: [/* @__PURE__ */ (0, $.jsxs)("table", {
"data-policy-matrix": "",
@@ -1844,10 +1852,10 @@ function Fn() {
children: [/* @__PURE__ */ (0, $.jsx)("thead", { children: /* @__PURE__ */ (0, $.jsxs)("tr", { children: [/* @__PURE__ */ (0, $.jsx)("th", {
scope: "col",
children: /* @__PURE__ */ (0, $.jsx)(a, { children: "步骤" })
- }), pe.map((e) => /* @__PURE__ */ (0, $.jsx)("th", {
+ }), he.map((e) => /* @__PURE__ */ (0, $.jsx)("th", {
scope: "col",
children: e
- }, e))] }) }), /* @__PURE__ */ (0, $.jsx)("tbody", { children: he.map(([e, ...t]) => /* @__PURE__ */ (0, $.jsxs)("tr", { children: [/* @__PURE__ */ (0, $.jsx)("th", {
+ }, e))] }) }), /* @__PURE__ */ (0, $.jsx)("tbody", { children: _e.map(([e, ...t]) => /* @__PURE__ */ (0, $.jsxs)("tr", { children: [/* @__PURE__ */ (0, $.jsx)("th", {
scope: "row",
children: e
}), t.map((e, t) => /* @__PURE__ */ (0, $.jsx)("td", {
@@ -1859,23 +1867,23 @@ function Fn() {
"aria-label": "不做",
children: "—"
}) : e
- }, pe[t]))] }, e)) })]
- }), /* @__PURE__ */ (0, $.jsx)(j, { children: me })]
+ }, he[t]))] }, e)) })]
+ }), /* @__PURE__ */ (0, $.jsx)(j, { children: ge })]
})]
});
}
-function In({ name: e, value: t, onChange: n }) {
- return /* @__PURE__ */ (0, $.jsx)(Ee, {
+function zn({ name: e, value: t, onChange: n }) {
+ return /* @__PURE__ */ (0, $.jsx)(Oe, {
className: "w-full",
"aria-label": `${e} 处理方式`,
selectedKey: t,
prefix: "处理方式",
renderValue: /* @__PURE__ */ (0, $.jsx)("span", {
className: "truncate",
- children: Pn.find(([e]) => e === t)?.[1]
+ children: Ln.find(([e]) => e === t)?.[1]
}),
onSelectionChange: (e) => n(String(e)),
- children: Pn.map(([e, t, n]) => /* @__PURE__ */ (0, $.jsx)(L, {
+ children: Ln.map(([e, t, n]) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e,
textValue: t,
children: /* @__PURE__ */ (0, $.jsxs)("span", {
@@ -1888,15 +1896,15 @@ function In({ name: e, value: t, onChange: n }) {
}, e))
});
}
-function Ln({ name: e, value: t, onChange: n }) {
+function Bn({ name: e, value: t, onChange: n }) {
return /* @__PURE__ */ (0, $.jsx)(b, {
defaultOpen: !0,
- summary: `${e} 的处理步骤(${t.length}/${Mn.length})`,
+ summary: `${e} 的处理步骤(${t.length}/${Fn.length})`,
children: /* @__PURE__ */ (0, $.jsx)("div", {
className: "flex flex-wrap gap-x-6 gap-y-2",
role: "group",
"aria-label": `${e} 处理步骤`,
- children: Mn.map(([e, r]) => /* @__PURE__ */ (0, $.jsx)(v, {
+ children: Fn.map(([e, r]) => /* @__PURE__ */ (0, $.jsx)(v, {
isSelected: t.includes(e),
onChange: (r) => n(r ? [...t, e] : t.filter((t) => t !== e)),
children: r
@@ -1904,9 +1912,9 @@ function Ln({ name: e, value: t, onChange: n }) {
})
});
}
-function Rn({ id: e, name: t, value: i, onChange: a }) {
+function Vn({ id: e, name: t, value: i, onChange: a }) {
let s = (0, Z.useRef)(null), [c, u] = (0, Z.useState)(!1), d = l.find(([e]) => e === i)?.[1] || "无颜色", f = (t) => {
- a(t), Ze(e, t), u(!1);
+ a(t), $e(e, t), u(!1);
};
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsxs)("button", {
ref: s,
@@ -1936,7 +1944,7 @@ function Rn({ id: e, name: t, value: i, onChange: a }) {
/* @__PURE__ */ (0, $.jsx)("span", { children: d })
]
}), /* @__PURE__ */ (0, $.jsx)(r, {
- getContainer: () => Ye(s.current),
+ getContainer: () => Ze(s.current),
children: /* @__PURE__ */ (0, $.jsx)(n, {
triggerRef: s,
isOpen: c,
@@ -1944,7 +1952,7 @@ function Rn({ id: e, name: t, value: i, onChange: a }) {
placement: "bottom start",
offset: 8,
containerPadding: 12,
- className: de,
+ className: pe,
children: /* @__PURE__ */ (0, $.jsxs)(o, {
"aria-label": `${t || "未命名媒体库"} 来源色`,
className: "outline-none",
@@ -1987,8 +1995,8 @@ function Rn({ id: e, name: t, value: i, onChange: a }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var zn = "/api/configuration/push-discovery", Bn = "/api/configuration/push-discovery/secret";
-function Vn({ initial: e, receipt: t }) {
+var Hn = "/api/configuration/push-discovery", Un = "/api/configuration/push-discovery/secret";
+function Wn({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.prefixes), [o, s] = (0, Z.useState)(""), c = Y(), l = n.media_roots, [u, f] = (0, Z.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
@@ -2002,9 +2010,9 @@ function Vn({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => G(zn, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(q(e)));
+ c.run("save", (e) => G(Hn, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(q(e)));
}, g = () => {
- c.run("secret", (e) => G(Bn, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(q(e)));
+ c.run("secret", (e) => G(Un, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(q(e)));
}, _ = `已入库 ${u.queue.ingested} 个文件` + (u.queue.failed ? `,${u.queue.failed} 个入库失败` : "") + (u.queue.pending ? `,队列里还有 ${u.queue.pending} 条` : ""), v = u.local_running ? `正在监视 ${u.local_roots.join("、")}` : u.local_message || "没有运行";
return /* @__PURE__ */ (0, $.jsxs)(F, {
id: "pushDiscovery",
@@ -2079,7 +2087,7 @@ function Vn({ initial: e, receipt: t }) {
className: "flex flex-col gap-3",
children: /* @__PURE__ */ (0, $.jsxs)(b, {
summary: "查看配置",
- children: [/* @__PURE__ */ (0, $.jsx)(_t, {
+ children: [/* @__PURE__ */ (0, $.jsx)(bt, {
code: u.config_toml,
language: "toml",
label: "CloudDrive2 配置",
@@ -2112,7 +2120,7 @@ function Vn({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, $.jsx)(Ee, {
+ /* @__PURE__ */ (0, $.jsx)(Oe, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
prefix: "对应目录",
selectedKey: e.root,
@@ -2127,7 +2135,7 @@ function Vn({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, $.jsx)(d, {
variant: "danger",
iconOnly: !0,
- leadingIcon: se,
+ leadingIcon: le,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -2147,7 +2155,7 @@ function Vn({ initial: e, receipt: t }) {
}) : null,
o || c.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: o || c.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: o || c.error })
}) : null,
/* @__PURE__ */ (0, $.jsxs)(A, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
@@ -2166,18 +2174,18 @@ function Vn({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Hn = (e) => xt.find(([t]) => t === e)?.[1] ?? e, Un = (e) => e.library_icon || kn(e.location)[0], Wn = async (e) => (await G(fe, { initial: e })).path, Gn = (e) => ({
+var Gn = (e) => wt.find(([t]) => t === e)?.[1] ?? e, Kn = (e) => e.library_icon || Mn(e.location)[0], qn = async (e) => (await G(me, { initial: e })).path, Jn = (e) => ({
library_id: e.library_id,
library: e.library,
library_icon: e.library_icon,
library_color: e.library_color,
library_policy: e.library_policy,
library_stages: e.library_stages
-}), Kn = (e) => e.library_stages ? Nn.filter((t) => e.library_stages.split(",").includes(t)) : [], qn = (e = "") => ({
+}), Yn = (e) => e.library_stages ? In.filter((t) => e.library_stages.split(",").includes(t)) : [], Xn = (e = "") => ({
path: e,
location: "local",
root: "",
- library_id: $e(),
+ library_id: tt(),
library: "",
library_icon: "",
library_color: "",
@@ -2185,8 +2193,8 @@ var Hn = (e) => xt.find(([t]) => t === e)?.[1] ?? e, Un = (e) => e.library_icon
library_stages: "",
cost: "free"
});
-function Jn(e) {
- let t = e.media_sources?.filter((e) => xt.some(([t]) => t === e.location));
+function Zn(e) {
+ let t = e.media_sources?.filter((e) => wt.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
@@ -2197,18 +2205,18 @@ function Jn(e) {
library_policy: e.library_policy || "auto",
library_stages: e.library_stages || "",
root_id: e.root_id,
- library_id: e.library_id || $e(),
- cost: e.cost ?? ut(e.location)
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => qn(e));
+ library_id: e.library_id || tt(),
+ cost: e.cost ?? ft(e.location)
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => Xn(e));
}
-var Yn = (e) => !(e instanceof u) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Xn({ data: e, receipt: t, panel: n }) {
- let r = !!e.media_sources?.some((e) => Tt(e.location));
+var Qn = (e) => !(e instanceof u) || e.status !== 400 ? null : e.body?.errors ?? null;
+function $n({ data: e, receipt: t, panel: n }) {
+ let r = !!e.media_sources?.some((e) => Ot(e.location));
(0, Z.useEffect)(() => {
if (!e.editable) return;
let t = /* @__PURE__ */ new Map();
- for (let n of Jn(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
- et({
+ for (let n of Zn(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
+ nt({
folders: [...t.values()],
cloud: r,
discovery: !!e.push_discovery
@@ -2216,11 +2224,11 @@ function Xn({ data: e, receipt: t, panel: n }) {
}, [e, r]);
let i = (0, Z.useRef)(null);
return (0, Z.useLayoutEffect)(() => {
- i.current && tt("push-discovery", i.current.offsetHeight);
+ i.current && rt("push-discovery", i.current.offsetHeight);
}), /* @__PURE__ */ (0, $.jsxs)("div", {
...Q(n),
children: [
- e.editable ? /* @__PURE__ */ (0, $.jsx)(Zn, {
+ e.editable ? /* @__PURE__ */ (0, $.jsx)(er, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, $.jsx)(N, {
@@ -2228,11 +2236,11 @@ function Xn({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, $.jsx)($n, { data: e }),
- r ? /* @__PURE__ */ (0, $.jsx)(Tn, { receipt: t }) : null,
+ e.editable ? null : /* @__PURE__ */ (0, $.jsx)(nr, { data: e }),
+ r ? /* @__PURE__ */ (0, $.jsx)(On, { receipt: t }) : null,
e.push_discovery ? /* @__PURE__ */ (0, $.jsx)("div", {
ref: i,
- children: /* @__PURE__ */ (0, $.jsx)(Vn, {
+ children: /* @__PURE__ */ (0, $.jsx)(Wn, {
initial: e.push_discovery,
receipt: t
})
@@ -2240,31 +2248,31 @@ function Xn({ data: e, receipt: t, panel: n }) {
]
});
}
-function Zn({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = Dt({
- initial: () => Jn(e),
- blank: () => qn(),
- pickFolder: Wn,
+function er({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = At({
+ initial: () => Zn(e),
+ blank: () => Xn(),
+ pickFolder: qn,
describe: q
- }), [f, p] = (0, Z.useState)(!1), [m, h] = (0, Z.useState)(!1), [_, y] = (0, Z.useState)(""), [b, x] = (0, Z.useState)(null), S = (0, Z.useRef)(e.revision), w = Y();
- dt();
- let T = (e, t) => {
+ }), [f, p] = (0, Z.useState)(!1), [m, h] = (0, Z.useState)(!1), [_, y] = (0, Z.useState)(""), [b, x] = (0, Z.useState)(null), S = (0, Z.useRef)(e.revision), ee = Y();
+ pt();
+ let C = (e, t) => {
n.forEach((i, a) => {
i.library_id === n[e].library_id && r(a, t);
});
- }, E = [...n.reduce((e, t) => e.has(t.library_id) ? e : e.set(t.library_id, t), /* @__PURE__ */ new Map()).values()], [ee, D] = (0, Z.useState)(null);
+ }, T = [...n.reduce((e, t) => e.has(t.library_id) ? e : e.set(t.library_id, t), /* @__PURE__ */ new Map()).values()], [E, te] = (0, Z.useState)(null);
(0, Z.useEffect)(() => {
- if (!ee) return;
- let e = document.querySelector(`[data-library-key="${CSS.escape(ee)}"] [data-library-head] input`);
- e?.scrollIntoView({ block: "center" }), e?.focus(), D(null);
- }, [ee]);
- let O = (e, t) => {
+ if (!E) return;
+ let e = document.querySelector(`[data-library-key="${CSS.escape(E)}"] [data-library-head] input`);
+ e?.scrollIntoView({ block: "center" }), e?.focus(), te(null);
+ }, [E]);
+ let ne = (e, t) => {
let i = n.find((e) => e.library_id === t);
if (i) {
- r(e, Gn(i));
+ r(e, Jn(i));
return;
}
- let a = $e();
+ let a = tt();
r(e, {
library_id: a,
library: "",
@@ -2272,21 +2280,21 @@ function Zn({ data: e, receipt: t }) {
library_color: "",
library_policy: "auto",
library_stages: ""
- }), D(a);
+ }), te(a);
};
(0, Z.useEffect)(() => {
if (!b) return;
- let e = setTimeout(() => location.assign(b.url), yn);
+ let e = setTimeout(() => location.assign(b.url), Sn);
return () => clearTimeout(e);
}, [b]);
- let k = (r) => {
+ let D = (r) => {
r.preventDefault();
let i = n.findIndex((e) => !e.cost);
if (i >= 0) {
h(!0);
let e = r.currentTarget;
requestAnimationFrame(() => e.querySelector(`[data-media-read-policy="${i}"] button`)?.focus());
- } else y(""), w.run("save", (t) => G(g, {
+ } else y(""), ee.run("save", (t) => G(g, {
revision: S.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -2295,7 +2303,7 @@ function Zn({ data: e, receipt: t }) {
}, "POST", t), (e) => {
S.current = e.revision, s([]), t("已保存配置"), x(e);
}, (e) => {
- let t = Yn(e);
+ let t = Qn(e);
s(t?.media_dirs ?? []), (!t || t.port) && y(t?.port || q(e));
});
};
@@ -2306,7 +2314,7 @@ function Zn({ data: e, receipt: t }) {
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, $.jsx)(ae, {
+ /* @__PURE__ */ (0, $.jsx)(se, {
href: b.url,
size: "small",
children: "进入馆藏"
@@ -2315,17 +2323,17 @@ function Zn({ data: e, receipt: t }) {
]
}) })
});
- let te = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), re = n.some((e) => Tt(e.location)), ie = re ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ let O = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), k = n.some((e) => Ot(e.location)), re = k ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "媒体库与目录",
- onSubmit: k,
+ onSubmit: D,
children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [
- /* @__PURE__ */ (0, $.jsx)(Fn, {}),
+ /* @__PURE__ */ (0, $.jsx)(Rn, {}),
/* @__PURE__ */ (0, $.jsx)("div", {
role: "group",
"aria-label": "媒体库与目录",
className: "flex flex-col gap-4",
- children: E.map((e) => {
+ children: T.map((e) => {
let t = n.findIndex((t) => t.library_id === e.library_id), s = n.map((e, t) => ({
row: e,
index: t
@@ -2333,7 +2341,7 @@ function Zn({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, $.jsxs)("div", {
"data-library-block": "",
"data-library-key": e.library_id,
- className: Fe({
+ className: Le({
variant: "raised",
padding: "none",
className: "flex flex-col p-2"
@@ -2343,11 +2351,11 @@ function Zn({ data: e, receipt: t }) {
/* @__PURE__ */ (0, $.jsxs)("div", {
"data-library-head": "",
children: [
- /* @__PURE__ */ (0, $.jsx)(jn, {
+ /* @__PURE__ */ (0, $.jsx)(Pn, {
label: `${p} 图标`,
value: e.library_icon,
kind: e.location,
- onChange: (e) => T(t, { library_icon: e })
+ onChange: (e) => C(t, { library_icon: e })
}),
/* @__PURE__ */ (0, $.jsx)(M, {
className: "w-full",
@@ -2355,34 +2363,34 @@ function Zn({ data: e, receipt: t }) {
maxLength: 80,
placeholder: "媒体库名称",
value: e.library,
- onChange: (e) => T(t, { library: e })
+ onChange: (e) => C(t, { library: e })
}),
- /* @__PURE__ */ (0, $.jsx)(Rn, {
+ /* @__PURE__ */ (0, $.jsx)(Vn, {
id: e.library_id,
name: e.library,
value: e.library_color,
- onChange: (e) => T(t, { library_color: e })
+ onChange: (e) => C(t, { library_color: e })
}),
- /* @__PURE__ */ (0, $.jsx)(In, {
+ /* @__PURE__ */ (0, $.jsx)(zn, {
name: p,
value: f,
- onChange: (n) => T(t, {
+ onChange: (n) => C(t, {
library_policy: n,
- library_stages: n === "custom" ? e.library_stages || Nn.join(",") : ""
+ library_stages: n === "custom" ? e.library_stages || In.join(",") : ""
})
})
]
}),
- f === "custom" ? /* @__PURE__ */ (0, $.jsx)(Ln, {
+ f === "custom" ? /* @__PURE__ */ (0, $.jsx)(Bn, {
name: p,
- value: Kn(e),
- onChange: (e) => T(t, { library_stages: Nn.filter((t) => e.includes(t)).join(",") })
+ value: Yn(e),
+ onChange: (e) => C(t, { library_stages: In.filter((t) => e.includes(t)).join(",") })
}) : null,
/* @__PURE__ */ (0, $.jsxs)("div", {
"data-library-folders": "",
role: "group",
"aria-label": `${p} 的文件夹`,
- children: [s.map(({ row: t, index: i }) => /* @__PURE__ */ (0, $.jsx)(bt, {
+ children: [s.map(({ row: t, index: i }) => /* @__PURE__ */ (0, $.jsx)(Ct, {
label: `媒体目录 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -2391,9 +2399,9 @@ function Zn({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: te(t) ? /* @__PURE__ */ (0, $.jsx)(Qn, { online: te(t)?.online }) : null,
- children: /* @__PURE__ */ (0, $.jsxs)(yt, { children: [
- /* @__PURE__ */ (0, $.jsx)(wt, {
+ status: O(t) ? /* @__PURE__ */ (0, $.jsx)(tr, { online: O(t)?.online }) : null,
+ children: /* @__PURE__ */ (0, $.jsxs)(St, { children: [
+ /* @__PURE__ */ (0, $.jsx)(Dt, {
index: i,
value: t.location,
onChange: (e) => r(i, {
@@ -2401,13 +2409,13 @@ function Zn({ data: e, receipt: t }) {
cost: e === "local" ? "free" : ""
})
}),
- /* @__PURE__ */ (0, $.jsx)(St, {
+ /* @__PURE__ */ (0, $.jsx)(Tt, {
index: i,
cost: t.cost,
onChange: (e) => r(i, { cost: e }),
error: m && !t.cost ? "请选择媒体读取策略" : void 0
}),
- t.root_id && !te(t) ? /* @__PURE__ */ (0, $.jsx)(vt, {
+ t.root_id && !O(t) ? /* @__PURE__ */ (0, $.jsx)(xt, {
label: "变更方式",
className: "w-full @lg:w-auto @lg:flex-1",
children: /* @__PURE__ */ (0, $.jsxs)(I, {
@@ -2431,7 +2439,7 @@ function Zn({ data: e, receipt: t }) {
})]
})
}) : null,
- E.length > 1 ? /* @__PURE__ */ (0, $.jsx)(vt, {
+ T.length > 1 ? /* @__PURE__ */ (0, $.jsx)(xt, {
label: "移到媒体库",
className: "w-full @lg:w-48",
children: /* @__PURE__ */ (0, $.jsxs)(I, {
@@ -2440,20 +2448,20 @@ function Zn({ data: e, receipt: t }) {
selectedKey: t.library_id,
renderValue: /* @__PURE__ */ (0, $.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Un(e) }), /* @__PURE__ */ (0, $.jsx)("span", {
+ children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Kn(e) }), /* @__PURE__ */ (0, $.jsx)("span", {
className: "truncate",
children: p
})]
}),
onSelectionChange: (e) => {
- e && O(i, String(e));
+ e && ne(i, String(e));
},
- children: [E.map((e) => /* @__PURE__ */ (0, $.jsx)(L, {
+ children: [T.map((e) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e.library_id,
textValue: e.library || "未命名媒体库",
children: /* @__PURE__ */ (0, $.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Un(e) }), /* @__PURE__ */ (0, $.jsx)("span", {
+ children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Kn(e) }), /* @__PURE__ */ (0, $.jsx)("span", {
className: "truncate",
children: e.library || "未命名媒体库"
})]
@@ -2476,7 +2484,7 @@ function Zn({ data: e, receipt: t }) {
"aria-label": `给 ${p} 添加文件夹`,
onClick: () => {
i(), r(n.length, {
- ...Gn(e),
+ ...Jn(e),
location: e.location,
cost: e.cost
});
@@ -2495,13 +2503,13 @@ function Zn({ data: e, receipt: t }) {
onClick: i,
children: "添加媒体库"
}),
- /* @__PURE__ */ (0, $.jsx)(j, { children: ne }),
- re ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(Ct, {}), /* @__PURE__ */ (0, $.jsx)(Sn, {})] }) : null,
- ie.map((e) => /* @__PURE__ */ (0, $.jsxs)(j, { children: [
+ /* @__PURE__ */ (0, $.jsx)(j, { children: ie }),
+ k ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(Et, {}), /* @__PURE__ */ (0, $.jsx)(Tn, {})] }) : null,
+ re.map((e) => /* @__PURE__ */ (0, $.jsxs)(j, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, $.jsxs)(C, {
+ /* @__PURE__ */ (0, $.jsxs)(w, {
href: e.download_url,
children: ["下载 ", e.name]
})
@@ -2520,31 +2528,31 @@ function Zn({ data: e, receipt: t }) {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, $.jsx)(d, {
type: "submit",
- ...K(w.busy === "save"),
+ ...K(ee.busy === "save"),
children: "保存配置"
})
})]
});
}
-function Qn({ online: e }) {
- return /* @__PURE__ */ (0, $.jsx)(Ot, { online: e });
+function tr({ online: e }) {
+ return /* @__PURE__ */ (0, $.jsx)(jt, { online: e });
}
-function $n({ data: e }) {
+function nr({ data: e }) {
let t = e.media_sources, n = Y();
return t ? /* @__PURE__ */ (0, $.jsxs)(F, {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, $.jsx)(O, { children: t.map((e, t) => /* @__PURE__ */ (0, $.jsxs)(D, {
- term: /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: Et(e.location) }), Hn(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, $.jsx)(Qn, { online: e.online })]
+ term: /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(B, { mark: kt(e.location) }), Gn(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, $.jsx)(tr, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: n.error })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: n.error })
}) : null,
/* @__PURE__ */ (0, $.jsx)(A, { children: /* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => Be(e), (e) => J.setQueryData(h, e)),
+ onClick: () => void n.run("refresh", (e) => He(e), (e) => J.setQueryData(h, e)),
...K(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -2553,17 +2561,17 @@ function $n({ data: e }) {
}
//#endregion
//#region src/react/settings/service-preferences.tsx
-var er = [
+var rr = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function tr({ epoch: e = 0, disabled: t = !1 }) {
+function ir({ epoch: e = 0, disabled: t = !1 }) {
let n = X({
- queryKey: ke,
- queryFn: ({ signal: e }) => Ke(e),
+ queryKey: je,
+ queryFn: ({ signal: e }) => Je(e),
refetchOnMount: "always"
- }), r = gt(), i = r.reset;
+ }), r = yt(), i = r.reset;
(0, Z.useEffect)(() => {
i();
}, [e, i]);
@@ -2581,7 +2589,7 @@ function tr({ epoch: e = 0, disabled: t = !1 }) {
onSelectionChange: (e) => {
e !== null && r.mutate(String(e));
},
- children: er.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
+ children: rr.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e,
children: t
}, e))
@@ -2597,23 +2605,23 @@ function tr({ epoch: e = 0, disabled: t = !1 }) {
}) : null,
o ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: q(o) })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: q(o) })
}) : null
] });
}
-function nr({ receipt: e }) {
- let t = Ne();
+function ar({ receipt: e }) {
+ let t = Fe();
(0, Z.useSyncExternalStore)(t.subscribe, t.version);
let n = X({
- queryKey: Se,
- queryFn: ({ signal: e }) => Ge(e),
+ queryKey: we,
+ queryFn: ({ signal: e }) => qe(e),
refetchOnMount: "always"
- }), r = ht(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ }), r = vt(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "关注采集",
children: [/* @__PURE__ */ (0, $.jsxs)(P, { children: [
- /* @__PURE__ */ (0, $.jsx)(rr, {}),
- /* @__PURE__ */ (0, $.jsx)(ir, {}),
+ /* @__PURE__ */ (0, $.jsx)(or, {}),
+ /* @__PURE__ */ (0, $.jsx)(sr, {}),
/* @__PURE__ */ (0, $.jsx)(R, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, $.jsx)("div", {
@@ -2627,7 +2635,7 @@ function nr({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: E.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
+ children: te.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e,
children: t
}, e))
@@ -2644,17 +2652,17 @@ function nr({ receipt: e }) {
})
] }), a ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: q(a) })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: q(a) })
}) : null]
});
}
-function rr() {
+function or() {
let e = X({
- queryKey: ee,
- queryFn: ({ signal: e }) => Ue(e),
+ queryKey: ne,
+ queryFn: ({ signal: e }) => Ge(e),
refetchOnMount: "always",
- refetchInterval: (e) => ot(e.state.data)
- }), t = mt(), n = e.data, r = (0, Z.useRef)(Pe(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, Z.useState)("60"), [o, s] = (0, Z.useState)(!1);
+ refetchInterval: (e) => ct(e.state.data)
+ }), t = _t(), n = e.data, r = (0, Z.useRef)(Ie(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, Z.useState)("60"), [o, s] = (0, Z.useState)(!1);
(0, Z.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -2667,7 +2675,7 @@ function rr() {
label: "自动检查更新",
children: /* @__PURE__ */ (0, $.jsxs)("div", {
id: "followScheduleSetting",
- className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
+ className: "flex min-h-9 min-w-0 flex-wrap items-center justify-end gap-2",
children: [/* @__PURE__ */ (0, $.jsx)(U, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
@@ -2701,51 +2709,59 @@ function rr() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(S, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ o ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(C, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
t.isPending || n?.running ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(j, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- /* @__PURE__ */ (0, $.jsx)(ar, {
+ /* @__PURE__ */ (0, $.jsx)(cr, {
kind: "follow",
status: n,
title: "上次自动检查失败"
}),
- u ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(S, { children: q(u) }) }) : null
+ u ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(C, { children: q(u) }) }) : null
] });
}
-function ir() {
+function sr() {
let e = X({
- queryKey: w,
- queryFn: ({ signal: e }) => He(e),
+ queryKey: T,
+ queryFn: ({ signal: e }) => We(e),
refetchOnMount: "always",
- refetchInterval: (e) => ot(e.state.data)
- }).data;
- if (!e) return null;
- let t = e.interval_minutes, n = t % 60 ? `每 ${t} 分钟` : `每 ${t / 60} 小时`;
+ refetchInterval: (e) => ct(e.state.data)
+ }), t = e.data;
+ if (!t) return e.isPending ? /* @__PURE__ */ (0, $.jsx)(R, {
+ label: "订阅源拉取",
+ children: /* @__PURE__ */ (0, $.jsx)("span", {
+ "data-skeleton": !0,
+ "aria-busy": "true",
+ "aria-label": "正在读取订阅源拉取间隔",
+ className: "block h-4 w-16 rounded-2lg bg-background-tertiary-default"
+ })
+ }) : null;
+ let n = t.interval_minutes, r = n % 60 ? `每 ${n} 分钟` : `每 ${n / 60} 小时`;
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
/* @__PURE__ */ (0, $.jsx)(R, {
label: "订阅源拉取",
children: /* @__PURE__ */ (0, $.jsx)("span", {
id: "feedScheduleSetting",
- children: e.available ? e.enabled ? n : "已关闭" : "只在写入端可用"
+ children: t.available ? t.enabled ? r : "已关闭" : "只在写入端可用"
})
}),
- e.running ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(j, {
+ t.running ? /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)(j, {
role: "status",
children: "正在拉取订阅源…"
}) }) : null,
- /* @__PURE__ */ (0, $.jsx)(ar, {
+ /* @__PURE__ */ (0, $.jsx)(cr, {
kind: "feed",
- status: e,
+ status: t,
title: "上次自动拉取失败"
})
] });
}
-function ar({ kind: e, status: t, title: n }) {
- let r = pt(e);
+function cr({ kind: e, status: t, title: n }) {
+ let r = gt(e);
if (!t?.enabled || t.running || !t.last_error) return null;
- let i = t.consecutive_failures ?? 0, a = Je(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [
+ let i = t.consecutive_failures ?? 0, a = Xe(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [
t.last_error,
o,
r.error ? `没有重试:${q(r.error)}` : ""
@@ -2766,10 +2782,10 @@ function ar({ kind: e, status: t, title: n }) {
}
//#endregion
//#region src/react/settings/media-processing-settings.tsx
-function or({ receipt: e }) {
+function lr({ receipt: e }) {
let t = X({
- queryKey: ce,
- queryFn: ({ signal: e }) => We(e)
+ queryKey: ue,
+ queryFn: ({ signal: e }) => Ke(e)
}), n = Y(), r = n.error || (t.error ? q(t.error) : ""), i = !t.data || t.isFetching || !!n.busy;
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "视频预览",
@@ -2781,12 +2797,12 @@ function or({ receipt: e }) {
"aria-label": "生成视频预览",
isSelected: !!t.data && !t.data.metadata_only,
isDisabled: i,
- onChange: (t) => void n.run("save", (e) => G(le, { metadata_only: !t }, "POST", e), (t) => {
- J.setQueryData(ce, t), J.invalidateQueries({ queryKey: ke }), J.invalidateQueries({ queryKey: re }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
+ onChange: (t) => void n.run("save", (e) => G(de, { metadata_only: !t }, "POST", e), (t) => {
+ J.setQueryData(ue, t), J.invalidateQueries({ queryKey: je }), J.invalidateQueries({ queryKey: ae }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
})
})
}) }),
- /* @__PURE__ */ (0, $.jsx)(tr, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
+ /* @__PURE__ */ (0, $.jsx)(ir, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
/* @__PURE__ */ (0, $.jsx)(P, { children: /* @__PURE__ */ (0, $.jsx)(R, {
label: "抽帧解码方式",
description: "用于生成封面、九宫格和时间轴。",
@@ -2797,8 +2813,8 @@ function or({ receipt: e }) {
selectedKey: t.data?.preview_acceleration || "auto",
isDisabled: i,
onSelectionChange: (t) => {
- t !== null && n.run("preview_acceleration", (e) => G(le, { preview_acceleration: String(t) }, "POST", e), (t) => {
- J.setQueryData(ce, t), e("已保存抽帧解码方式");
+ t !== null && n.run("preview_acceleration", (e) => G(de, { preview_acceleration: String(t) }, "POST", e), (t) => {
+ J.setQueryData(ue, t), e("已保存抽帧解码方式");
});
},
children: [/* @__PURE__ */ (0, $.jsx)(L, {
@@ -2820,15 +2836,15 @@ function or({ receipt: e }) {
}) : null,
r ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: r })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: r })
}) : null
]
});
}
-function sr({ receipt: e }) {
+function ur({ receipt: e }) {
let t = X({
- queryKey: ce,
- queryFn: ({ signal: e }) => We(e)
+ queryKey: ue,
+ queryFn: ({ signal: e }) => Ke(e)
}), n = Y(), r = n.error || (t.error ? q(t.error) : "");
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "视频播放",
@@ -2843,8 +2859,8 @@ function sr({ receipt: e }) {
selectedKey: t.data?.playback_acceleration || "auto",
isDisabled: !t.data || t.isFetching || !!n.busy,
onSelectionChange: (t) => {
- t !== null && n.run("playback_acceleration", (e) => G(le, { playback_acceleration: String(t) }, "POST", e), (t) => {
- J.setQueryData(ce, t), e("已保存转码方式");
+ t !== null && n.run("playback_acceleration", (e) => G(de, { playback_acceleration: String(t) }, "POST", e), (t) => {
+ J.setQueryData(ue, t), e("已保存转码方式");
});
},
children: [/* @__PURE__ */ (0, $.jsx)(L, {
@@ -2866,14 +2882,14 @@ function sr({ receipt: e }) {
}) : null,
r ? /* @__PURE__ */ (0, $.jsx)(V, {
divided: !0,
- children: /* @__PURE__ */ (0, $.jsx)(S, { children: r })
+ children: /* @__PURE__ */ (0, $.jsx)(C, { children: r })
}) : null
]
});
}
//#endregion
//#region src/react/boardui/components/base/textarea/textarea.tsx
-var cr = lt({
+var dr = dt({
field: [
"relative flex w-full flex-col",
"rounded-2lg",
@@ -2900,9 +2916,9 @@ var cr = lt({
},
footer: "flex w-full items-start justify-between gap-3",
count: "ms-auto shrink-0 pt-px text-caption-1-medium text-text-tertiary tabular-nums"
-}), lr = 20;
-function ur({ size: e, rows: n = 3, autoResize: r = !1, maxRows: a, resize: o = "vertical", fieldClassName: s, className: c, ref: l, groupRef: u, onInput: d, ...f }) {
- let p = (0, Z.useContext)(je), m = e ?? p.size ?? "medium", h = (0, Z.useRef)(null), g = (e) => {
+}), fr = 20;
+function pr({ size: e, rows: n = 3, autoResize: r = !1, maxRows: a, resize: o = "vertical", fieldClassName: s, className: c, ref: l, groupRef: u, onInput: d, ...f }) {
+ let p = (0, Z.useContext)(Ne), m = e ?? p.size ?? "medium", h = (0, Z.useRef)(null), g = (e) => {
h.current = e, typeof l == "function" ? l(e) : l && (l.current = e);
}, _ = () => {
let e = h.current;
@@ -2911,14 +2927,14 @@ function ur({ size: e, rows: n = 3, autoResize: r = !1, maxRows: a, resize: o =
e.style.height = "", e.style.maxHeight = "", e.style.overflowY = "";
return;
}
- let t = parseFloat(window.getComputedStyle(e).lineHeight) || lr, i = a ? a * t : Infinity;
+ let t = parseFloat(window.getComputedStyle(e).lineHeight) || fr, i = a ? a * t : Infinity;
e.style.height = "0px";
let o = Math.max(e.scrollHeight, n * t);
e.style.height = `${Math.min(o, i)}px`, e.style.maxHeight = a ? `${i}px` : "", e.style.overflowY = o > i ? "auto" : "hidden";
};
return (0, Z.useLayoutEffect)(_), /* @__PURE__ */ (0, $.jsx)(t, {
ref: u,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => ze(cr.field, cr.fieldSize[m], 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", p.fieldClassName, s),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Ve(dr.field, dr.fieldSize[m], 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", p.fieldClassName, s),
children: /* @__PURE__ */ (0, $.jsx)(i, {
ref: g,
rows: n,
@@ -2926,14 +2942,14 @@ function ur({ size: e, rows: n = 3, autoResize: r = !1, maxRows: a, resize: o =
onInput: (e) => {
_(), d?.(e);
},
- className: ze(cr.textarea, cr.resize[r ? "none" : o], p.inputClassName, c)
+ className: Ve(dr.textarea, dr.resize[r ? "none" : o], p.inputClassName, c)
})
});
}
-ur.displayName = "TextareaBase";
-function dr({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize: a, maxRows: o, resize: s, maxLength: c, showCount: l = !1, fieldClassName: u, ref: d, groupRef: f, className: p, value: m, defaultValue: h, onChange: g, ..._ }) {
+pr.displayName = "TextareaBase";
+function mr({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize: a, maxRows: o, resize: s, maxLength: c, showCount: l = !1, fieldClassName: u, ref: d, groupRef: f, className: p, value: m, defaultValue: h, onChange: g, ..._ }) {
let [v, y] = (0, Z.useState)(() => (h ?? "").length), b = m === void 0 ? v : m.length;
- return /* @__PURE__ */ (0, $.jsx)(Ae, {
+ return /* @__PURE__ */ (0, $.jsx)(Me, {
..._,
value: m,
defaultValue: h,
@@ -2943,13 +2959,13 @@ function dr({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize
className: p,
"aria-label": _["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: p, isInvalid: m }) => /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
- e && /* @__PURE__ */ (0, $.jsx)(ie, {
+ e && /* @__PURE__ */ (0, $.jsx)(oe, {
isRequired: p,
isInvalid: m,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, $.jsx)(ur, {
+ /* @__PURE__ */ (0, $.jsx)(pr, {
ref: d,
groupRef: f,
placeholder: r,
@@ -2961,37 +2977,37 @@ function dr({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize
fieldClassName: u
}),
(t || l) && /* @__PURE__ */ (0, $.jsxs)("div", {
- className: cr.footer,
- children: [t && /* @__PURE__ */ (0, $.jsx)(te, {
+ className: dr.footer,
+ children: [t && /* @__PURE__ */ (0, $.jsx)(re, {
isInvalid: m,
children: t
}), l && /* @__PURE__ */ (0, $.jsx)("span", {
- className: ze(cr.count, m && "text-text-error-primary"),
+ className: Ve(dr.count, m && "text-text-error-primary"),
children: c ? `${b}/${c}` : b
})]
})
] })
});
}
-dr.displayName = "Textarea";
+mr.displayName = "Textarea";
//#endregion
//#region src/react/settings/code-pattern-settings.tsx
-var fr = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
-function pr({ receipt: e }) {
+var hr = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
+function gr({ receipt: e }) {
let t = X({
- queryKey: Se,
- queryFn: ({ signal: e }) => Ge(e)
+ queryKey: we,
+ queryFn: ({ signal: e }) => qe(e)
}), [n, r] = (0, Z.useState)(null), i = Y(), a = n ?? (t.data?.codePatterns ?? []).join("\n"), o = i.error || (t.error ? q(t.error) : "");
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "番号识别规则",
onSubmit: (t) => {
t.preventDefault();
let n = a.split("\n").map((e) => e.trim()).filter(Boolean);
- i.run("save", (e) => G(Ce, { codePatterns: n }, "POST", e), (t) => {
- J.setQueryData(Se, t), r(null), e("已保存配置");
+ i.run("save", (e) => G(Te, { codePatterns: n }, "POST", e), (t) => {
+ J.setQueryData(we, t), r(null), e("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [/* @__PURE__ */ (0, $.jsx)(j, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, $.jsx)(dr, {
+ children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [/* @__PURE__ */ (0, $.jsx)(j, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, $.jsx)(mr, {
id: "codePatternSetting",
"aria-label": "番号识别规则",
rows: 3,
@@ -2999,7 +3015,7 @@ function pr({ receipt: e }) {
maxRows: 12,
spellCheck: "false",
autoComplete: "off",
- placeholder: fr,
+ placeholder: hr,
value: a,
isDisabled: !t.data,
isInvalid: !!o,
@@ -3014,7 +3030,7 @@ function pr({ receipt: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function mr({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+function _r({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
return /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(M, {
id: "access-password",
type: "password",
@@ -3045,12 +3061,12 @@ function mr({ label: e, password: t, confirmation: n, onPassword: r, onConfirmat
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var hr = {
+var vr = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function gr({ initial: e, receipt: t }) {
+function yr({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(""), [f, p] = (0, Z.useState)(!1), [m, h] = (0, Z.useState)({}), g = (0, Z.useRef)(null), _ = Y(), y = (e) => {
e.preventDefault();
let d = {};
@@ -3067,7 +3083,7 @@ function gr({ initial: e, receipt: t }) {
let t = e instanceof u ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? h(n) : _.setError(q(e));
});
- }, b = hr[n.mode], x = n.mode !== "locked";
+ }, b = vr[n.mode], x = n.mode !== "locked";
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "访问密码",
onSubmit: y,
@@ -3098,7 +3114,7 @@ function gr({ initial: e, receipt: t }) {
isInvalid: !!m.current_password,
hint: m.current_password
}) : null,
- x ? /* @__PURE__ */ (0, $.jsx)(mr, {
+ x ? /* @__PURE__ */ (0, $.jsx)(_r, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -3114,7 +3130,7 @@ function gr({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- _.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: _.error }) : null
+ _.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: _.error }) : null
] })
}), x ? /* @__PURE__ */ (0, $.jsx)(A, { children: /* @__PURE__ */ (0, $.jsx)(d, {
type: "submit",
@@ -3125,18 +3141,18 @@ function gr({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function _r({ data: e, receipt: t }) {
+function br({ data: e, receipt: t }) {
let [n, r] = (0, Z.useState)(String(e.port)), [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(null), c = Y();
return (0, Z.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), yn);
+ let e = setTimeout(() => location.assign(o.url), Sn);
return () => clearTimeout(e);
}, [o]), o ? /* @__PURE__ */ (0, $.jsx)(F, {
title: "本机访问端口",
children: /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsxs)(N, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, $.jsx)(ae, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, $.jsx)(se, {
href: o.url,
size: "small",
children: "进入馆藏"
@@ -3183,24 +3199,24 @@ function _r({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var vr = 2e3, yr = [["quick", "临时链接"], ["named", "命名隧道"]], br = {
+var xr = 2e3, Sr = [["quick", "临时链接"], ["named", "命名隧道"]], Cr = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function xr({ revision: e, initial: t, receipt: n }) {
+function wr({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, Z.useState)(t), [a, o] = (0, Z.useState)(e), [s, l] = (0, Z.useState)(t.mode), [f, p] = (0, Z.useState)(t.hostname), [m, g] = (0, Z.useState)(""), [_, v] = (0, Z.useState)({}), y = Y(), b = r.state === "starting" || r.state === "running", x = r.named_available && s === "named";
(0, Z.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- Be(e.signal).then((t) => {
+ He(e.signal).then((t) => {
!e.signal.aborted && t.tunnel && (J.setQueryData(h, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, vr);
+ }, xr);
return () => {
e.abort(), window.clearInterval(t);
};
}, [r.state]);
- let w = (e, t, n) => {
+ let S = (e, t, n) => {
v({}), y.run(e, (e) => G("/api/configuration/tunnel", {
revision: a,
enabled: t,
@@ -3218,26 +3234,26 @@ function xr({ revision: e, initial: t, receipt: n }) {
id: "tunnel",
title: "Cloudflare 公网入口",
onSubmit: (e) => {
- e.preventDefault(), w("save", b, () => n("已保存配置"));
+ e.preventDefault(), S("save", b, () => n("已保存配置"));
},
aside: /* @__PURE__ */ (0, $.jsx)(H, {
tone: r.error ? "error" : b ? "progress" : "neutral",
children: r.error ? "连接失败" : r.state === "running" ? "运行中" : r.state === "starting" ? "连接中" : "已停止"
}),
children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [
- r.named_available ? /* @__PURE__ */ (0, $.jsx)(Te, {
+ r.named_available ? /* @__PURE__ */ (0, $.jsx)(De, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: b,
onChange: (e) => l(e),
- className: xe,
- children: yr.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(c, {
+ className: Ce,
+ children: Sr.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(c, {
value: e,
- className: be,
+ className: Se,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, $.jsx)(j, { children: br[x ? "named" : "quick"] }),
+ /* @__PURE__ */ (0, $.jsx)(j, { children: Cr[x ? "named" : "quick"] }),
x ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(M, {
id: "tunnel-hostname",
label: "公开主机名",
@@ -3269,7 +3285,7 @@ function xr({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, $.jsx)(C, {
+ children: /* @__PURE__ */ (0, $.jsx)(w, {
href: r.url,
children: r.url
})
@@ -3279,13 +3295,13 @@ function xr({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: r.error }) : null,
- y.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: y.error }) : null
+ r.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: r.error }) : null,
+ y.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: y.error }) : null
] }), /* @__PURE__ */ (0, $.jsxs)(A, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, $.jsx)(d, {
variant: r.named_available ? "secondary" : "primary",
- onClick: () => w("toggle", !b, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
+ onClick: () => S("toggle", !b, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
...K(y.busy === "toggle"),
children: b ? "停止公网入口" : "启动公网入口"
}), r.named_available ? /* @__PURE__ */ (0, $.jsx)(d, {
@@ -3298,28 +3314,28 @@ function xr({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Sr = [
+var Tr = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Cr({ data: e, receipt: t, panel: n }) {
+function Er({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, $.jsxs)("div", {
...Q(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, $.jsx)(_r, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, $.jsx)(br, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, $.jsx)(wr, {
+ e.peach_proxy ? /* @__PURE__ */ (0, $.jsx)(Dr, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, $.jsx)(gr, {
+ e.access ? /* @__PURE__ */ (0, $.jsx)(yr, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, $.jsx)(xr, {
+ e.tunnel ? /* @__PURE__ */ (0, $.jsx)(wr, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -3327,7 +3343,7 @@ function Cr({ data: e, receipt: t, panel: n }) {
]
});
}
-function wr({ initial: e, receipt: t }) {
+function Dr({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.mode), [o, s] = (0, Z.useState)(""), c = Y();
return /* @__PURE__ */ (0, $.jsxs)(F, {
id: "peachProxy",
@@ -3349,7 +3365,7 @@ function wr({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Sr.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
+ children: Tr.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(L, {
id: e,
children: t
}, e))
@@ -3372,7 +3388,7 @@ function wr({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: c.error }) : null
]
}) : null,
/* @__PURE__ */ (0, $.jsx)(A, { children: /* @__PURE__ */ (0, $.jsx)(d, {
@@ -3385,12 +3401,12 @@ function wr({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Tr = "将清除这个来源在本机和共享副本中的登录凭据。", Er = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
-function Dr(e, t) {
+var Or = "将清除这个来源在本机和共享副本中的登录凭据。", kr = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
+function Ar(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Or({ row: e }) {
- if (Re(e)) return /* @__PURE__ */ (0, $.jsx)(y, {
+function jr({ row: e }) {
+ if (Be(e)) return /* @__PURE__ */ (0, $.jsx)(y, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -3402,12 +3418,12 @@ function Or({ row: e }) {
children: _[e.requirement] || ""
});
}
-function kr({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, Z.useState)({}), [a, o] = (0, Z.useState)(""), s = Re(e), c = ft({
- mutationFn: (t) => at(e.provider, t),
+function Mr({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, Z.useState)({}), [a, o] = (0, Z.useState)(""), s = Be(e), c = mt({
+ mutationFn: (t) => st(e.provider, t),
onSuccess: (e, t) => {
e.note ? o(e.note) : (o(""), i({}), J.invalidateQueries({
- queryKey: T,
+ queryKey: E,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据"));
},
@@ -3419,7 +3435,7 @@ function kr({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, $.jsxs)(j, { children: [e.why, e.where ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [" ", /* @__PURE__ */ (0, $.jsx)(C, {
+ /* @__PURE__ */ (0, $.jsxs)(j, { children: [e.why, e.where ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [" ", /* @__PURE__ */ (0, $.jsx)(w, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
@@ -3429,7 +3445,7 @@ function kr({ row: e, readOnly: t, toast: n }) {
children: (e.needs || []).map((n) => /* @__PURE__ */ (0, $.jsx)(M, {
type: "password",
label: n,
- placeholder: Dr(e, n),
+ placeholder: Ar(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -3447,9 +3463,9 @@ function kr({ row: e, readOnly: t, toast: n }) {
variant: "danger",
disabled: t,
...K(c.isPending),
- onClick: () => void Le({
+ onClick: () => void ze({
title: "清除来源凭据",
- body: Tr,
+ body: Or,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -3463,11 +3479,11 @@ function kr({ row: e, readOnly: t, toast: n }) {
children: "保存配置"
})]
}),
- a ? /* @__PURE__ */ (0, $.jsx)(S, { children: a }) : null,
+ a ? /* @__PURE__ */ (0, $.jsx)(C, { children: a }) : null,
(e.shared_fields || []).length ? /* @__PURE__ */ (0, $.jsx)(j, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,
e.path ? /* @__PURE__ */ (0, $.jsx)(b, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, $.jsx)(_e, {
+ children: /* @__PURE__ */ (0, $.jsx)(ye, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -3476,19 +3492,19 @@ function kr({ row: e, readOnly: t, toast: n }) {
]
});
}
-function Ar({ row: e, readOnly: t, toast: n }) {
+function Nr({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, $.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, $.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, $.jsx)(kt, { provider: e.provider })
+ children: /* @__PURE__ */ (0, $.jsx)(Mt, { provider: e.provider })
}),
/* @__PURE__ */ (0, $.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, $.jsx)(Or, { row: e }),
+ /* @__PURE__ */ (0, $.jsx)(jr, { row: e }),
e.missing.map((e) => /* @__PURE__ */ (0, $.jsx)(y, {
variant: "caption",
color: "rose",
@@ -3504,9 +3520,9 @@ function Ar({ row: e, readOnly: t, toast: n }) {
children: [
r,
/* @__PURE__ */ (0, $.jsx)(b, {
- summary: Re(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !Re(e),
- children: /* @__PURE__ */ (0, $.jsx)(kr, {
+ summary: Be(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !Be(e),
+ children: /* @__PURE__ */ (0, $.jsx)(Mr, {
row: e,
readOnly: t,
toast: n
@@ -3515,23 +3531,23 @@ function Ar({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "error",
title: "凭据文件权限过宽",
- children: Er
+ children: kr
}) : null
]
});
}
-function jr({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
- let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !Re(e));
- if (!i.length) return /* @__PURE__ */ (0, $.jsx)(x, {
+function Pr({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
+ let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !Be(e)), o = ht("credentials", [e]);
+ if (!i.length) return /* @__PURE__ */ (0, $.jsx)(ee, {
size: "compact",
- icon: Ie,
+ icon: Re,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
- let o = a.length ? /* @__PURE__ */ (0, $.jsx)("span", {
+ let s = a.length ? /* @__PURE__ */ (0, $.jsx)("span", {
className: "text-body-2-regular text-text-error-primary",
children: `${a.length} 个待配置`
- }) : null, s = /* @__PURE__ */ (0, $.jsx)($.Fragment, { children: [
+ }) : null, c = /* @__PURE__ */ (0, $.jsx)($.Fragment, { children: [
{
title: "可配置凭据",
rows: i.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")
@@ -3551,12 +3567,12 @@ function jr({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, $.jsx)("div", {
- className: Fe({
+ className: Le({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, $.jsx)(Ar, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, $.jsx)(Nr, {
row: e,
readOnly: t,
toast: n
@@ -3565,10 +3581,14 @@ function jr({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
}, e.title)) });
return r ? /* @__PURE__ */ (0, $.jsx)(F, {
title: "来源凭据",
- aside: o || void 0,
- children: /* @__PURE__ */ (0, $.jsx)(V, { children: s })
+ aside: s || void 0,
+ children: /* @__PURE__ */ (0, $.jsx)(V, { children: /* @__PURE__ */ (0, $.jsx)("div", {
+ ref: o,
+ className: "flex flex-col gap-4",
+ children: c
+ }) })
}) : /* @__PURE__ */ (0, $.jsxs)("div", {
- className: Fe({
+ className: Le({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -3577,16 +3597,13 @@ function jr({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
children: [/* @__PURE__ */ (0, $.jsx)("h3", {
className: "mr-auto text-title-2-medium text-text-primary",
children: "来源凭据"
- }), o]
- }), s]
+ }), s]
+ }), c]
});
}
//#endregion
-//#region src/configuration-copy.ts
-var Mr = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Nr = "只填域名,留空用默认地址";
-//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Pr({ initial: e, receipt: t }) {
+function Fr({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.sites), i = Y(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -3601,10 +3618,10 @@ function Pr({ initial: e, receipt: t }) {
});
},
children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [
- /* @__PURE__ */ (0, $.jsx)(j, { children: Mr }),
+ /* @__PURE__ */ (0, $.jsx)(j, { children: x }),
n.map((e) => /* @__PURE__ */ (0, $.jsx)(M, {
id: `entry-link-${e.key}`,
- label: /* @__PURE__ */ (0, $.jsx)(Oe, {
+ label: /* @__PURE__ */ (0, $.jsx)(Ae, {
site: e.key,
label: `${e.label} 地址`
}),
@@ -3614,9 +3631,9 @@ function Pr({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: Nr
+ hint: S
}, e.key)),
- i.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: i.error }) : null
+ i.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: i.error }) : null
] }), /* @__PURE__ */ (0, $.jsx)(A, { children: /* @__PURE__ */ (0, $.jsx)(d, {
type: "submit",
...K(i.busy === "save"),
@@ -3626,32 +3643,42 @@ function Pr({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var Fr = "/api/configuration/indexers";
-function Ir({ receipt: e }) {
+var Ir = "/api/configuration/indexers";
+function Lr({ receipt: e }) {
let t = X({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(Fr, e),
+ queryFn: ({ signal: e }) => W(Ir, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: q(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, $.jsx)(we, {
+ return t.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: q(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, $.jsx)(Ee, {
title: "资源搜索",
label: "正在读取资源搜索设置",
- height: 68
- }) : t.data ? /* @__PURE__ */ (0, $.jsx)(zr, {
+ body: "indexers",
+ actions: /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(d, {
+ variant: "secondary",
+ type: "button",
+ disabled: !0,
+ children: "添加索引器"
+ }), /* @__PURE__ */ (0, $.jsx)(d, {
+ type: "button",
+ disabled: !0,
+ children: "保存配置"
+ })] })
+ }) : t.data ? /* @__PURE__ */ (0, $.jsx)(Br, {
initial: t.data,
receipt: e
}) : null;
}
-function Lr(e) {
+function Rr(e) {
try {
return new globalThis.URL(e).host;
} catch {
return e;
}
}
-function Rr({ row: e, index: t }) {
+function zr({ row: e, index: t }) {
let n = [
- e.url ? Lr(e.url) : "未填地址",
+ e.url ? Rr(e.url) : "未填地址",
e.enabled ? "已启用" : "已停用",
e.api_key_set && !e.clear_api_key ? "已保存 API key" : e.api_key ? "API key 待保存" : "没有 API key"
];
@@ -3666,35 +3693,36 @@ function Rr({ row: e, index: t }) {
})]
});
}
-function zr({ initial: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(e.indexers), i = Y(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Br({ initial: e, receipt: t }) {
+ let [n, r] = (0, Z.useState)(e.indexers), i = Y(), a = ht("indexers", [e]), o = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
return /* @__PURE__ */ (0, $.jsxs)(F, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => G(Fr, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => G(Ir, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [
- /* @__PURE__ */ (0, $.jsx)(b, {
+ children: [/* @__PURE__ */ (0, $.jsxs)(V, { children: [/* @__PURE__ */ (0, $.jsxs)("div", {
+ ref: a,
+ className: "flex min-w-0 flex-col gap-4",
+ children: [/* @__PURE__ */ (0, $.jsx)(b, {
summary: "索引器连接帮助",
children: /* @__PURE__ */ (0, $.jsxs)(j, { children: [
"填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。",
" ",
- /* @__PURE__ */ (0, $.jsx)(C, {
+ /* @__PURE__ */ (0, $.jsx)(w, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/RESOURCE_SEARCH.md",
children: "详细配置说明"
})
] })
- }),
- n.map((e, t) => /* @__PURE__ */ (0, $.jsx)("div", {
+ }), n.map((e, t) => /* @__PURE__ */ (0, $.jsx)("div", {
className: "min-w-0 border-t border-separator-border pt-2",
children: /* @__PURE__ */ (0, $.jsx)(b, {
defaultOpen: !e.url,
- summary: /* @__PURE__ */ (0, $.jsx)(Rr, {
+ summary: /* @__PURE__ */ (0, $.jsx)(zr, {
row: e,
index: t
}),
@@ -3707,7 +3735,7 @@ function zr({ initial: e, receipt: t }) {
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
- onChange: (t) => a(e.key, { name: t })
+ onChange: (t) => o(e.key, { name: t })
}),
/* @__PURE__ */ (0, $.jsx)(M, {
label: "Torznab 地址",
@@ -3717,7 +3745,7 @@ function zr({ initial: e, receipt: t }) {
autoComplete: "off",
placeholder: "索引器提供的 API 地址",
isDisabled: !!i.busy,
- onChange: (t) => a(e.key, { url: t })
+ onChange: (t) => o(e.key, { url: t })
}),
/* @__PURE__ */ (0, $.jsx)(M, {
label: "API key",
@@ -3727,7 +3755,7 @@ function zr({ initial: e, receipt: t }) {
value: e.api_key || "",
placeholder: e.api_key_set ? "已保存,留空不改" : void 0,
isDisabled: !!i.busy,
- onChange: (t) => a(e.key, { api_key: t })
+ onChange: (t) => o(e.key, { api_key: t })
}),
/* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
@@ -3735,13 +3763,13 @@ function zr({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, $.jsx)(v, {
isSelected: e.enabled,
isDisabled: !!i.busy,
- onChange: (t) => a(e.key, { enabled: t }),
+ onChange: (t) => o(e.key, { enabled: t }),
children: "启用"
}),
e.api_key_set ? /* @__PURE__ */ (0, $.jsx)(v, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
- onChange: (t) => a(e.key, { clear_api_key: t }),
+ onChange: (t) => o(e.key, { clear_api_key: t }),
children: "清除已保存的 API key"
}) : null,
/* @__PURE__ */ (0, $.jsx)(d, {
@@ -3758,14 +3786,13 @@ function zr({ initial: e, receipt: t }) {
]
})
})
- }, e.key)),
- i.error ? /* @__PURE__ */ (0, $.jsx)(S, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, $.jsxs)(A, { children: [/* @__PURE__ */ (0, $.jsx)(d, {
+ }, e.key))]
+ }), i.error ? /* @__PURE__ */ (0, $.jsx)(C, { children: i.error }) : null] }), /* @__PURE__ */ (0, $.jsxs)(A, { children: [/* @__PURE__ */ (0, $.jsx)(d, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
onClick: () => r([...n, {
- key: $e(),
+ key: tt(),
name: "",
url: "",
enabled: !0,
@@ -3781,10 +3808,10 @@ function zr({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function Br({ data: e, receipt: t, panel: n }) {
+function Vr({ data: e, receipt: t, panel: n }) {
let r = X({
- queryKey: T,
- queryFn: ({ signal: e }) => Ve(e),
+ queryKey: E,
+ queryFn: ({ signal: e }) => Ue(e),
enabled: n?.active !== !1,
refetchOnMount: "always"
});
@@ -3796,7 +3823,7 @@ function Br({ data: e, receipt: t, panel: n }) {
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, $.jsx)(jr, {
+ r.data ? /* @__PURE__ */ (0, $.jsx)(Pr, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t,
@@ -3805,14 +3832,14 @@ function Br({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: q(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, $.jsx)(we, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, $.jsx)(Ee, {
title: "来源凭据",
label: "正在读取来源凭据",
- height: 100
+ body: "credentials"
}),
- /* @__PURE__ */ (0, $.jsx)(nr, { receipt: t }),
- /* @__PURE__ */ (0, $.jsx)(Ir, { receipt: t }),
- e.entry_links ? /* @__PURE__ */ (0, $.jsx)(Pr, {
+ /* @__PURE__ */ (0, $.jsx)(ar, { receipt: t }),
+ /* @__PURE__ */ (0, $.jsx)(Lr, { receipt: t }),
+ e.entry_links ? /* @__PURE__ */ (0, $.jsx)(Fr, {
initial: e.entry_links,
receipt: t
}) : null
@@ -3821,12 +3848,12 @@ function Br({ data: e, receipt: t, panel: n }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function Vr({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
+function Hr({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
let i = X({
queryKey: h,
- queryFn: ({ signal: e }) => Be(e)
+ queryFn: ({ signal: e }) => He(e)
}), a = i.data;
- return a ? /* @__PURE__ */ (0, $.jsx)(Ur, {
+ return a ? /* @__PURE__ */ (0, $.jsx)(Wr, {
data: a,
receipt: e,
reopenTutorial: t,
@@ -3841,9 +3868,9 @@ function Vr({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r })
})
});
}
-var Hr = 0;
-function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {
- let [a] = (0, Z.useState)(() => `board-tabs-${++Hr}`), [o, s] = (0, Z.useState)(r), c = (0, Z.useRef)(null), l = (0, Z.useRef)(o);
+var Ur = 0;
+function Wr({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {
+ let [a] = (0, Z.useState)(() => `board-tabs-${++Ur}`), [o, s] = (0, Z.useState)(r), c = (0, Z.useRef)(null), l = (0, Z.useRef)(o);
(0, Z.useEffect)(() => {
s(r);
}, [r]), (0, Z.useLayoutEffect)(() => {
@@ -3857,9 +3884,9 @@ function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
window.scrollTo(0, Math.max(0, window.scrollY + t.getBoundingClientRect().top - r));
}, [o]);
let u = (e) => {
- s(e), ct(st(e), {
+ s(e), ut(lt(e), {
replace: !0,
- state: Xe.navigation.location.state
+ state: Qe.navigation.location.state
});
}, [d, f] = (0, Z.useState)(() => matchMedia("(max-width:900px)").matches);
(0, Z.useEffect)(() => {
@@ -3875,22 +3902,22 @@ function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
body: (e) => /* @__PURE__ */ (0, $.jsxs)("div", {
...Q(e),
children: [
- /* @__PURE__ */ (0, $.jsx)(Xn, { ...m }),
- /* @__PURE__ */ (0, $.jsx)(pr, { receipt: t }),
- /* @__PURE__ */ (0, $.jsx)(or, { receipt: t })
+ /* @__PURE__ */ (0, $.jsx)($n, { ...m }),
+ /* @__PURE__ */ (0, $.jsx)(gr, { receipt: t }),
+ /* @__PURE__ */ (0, $.jsx)(lr, { receipt: t })
]
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, $.jsx)(Br, {
+ body: (e) => /* @__PURE__ */ (0, $.jsx)(Vr, {
...m,
panel: e
})
},
...g ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, $.jsx)(Gt, {
+ body: (e) => /* @__PURE__ */ (0, $.jsx)(Jt, {
initial: g,
receipt: t,
panel: e
@@ -3898,7 +3925,7 @@ function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
}] : [],
...h ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, $.jsx)(Cr, {
+ body: (e) => /* @__PURE__ */ (0, $.jsx)(Er, {
...m,
panel: e
})
@@ -3908,9 +3935,9 @@ function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
body: (e) => /* @__PURE__ */ (0, $.jsxs)("div", {
...Q(e),
children: [
- /* @__PURE__ */ (0, $.jsx)(_n, { ...m }),
- /* @__PURE__ */ (0, $.jsx)(sr, { receipt: t }),
- /* @__PURE__ */ (0, $.jsx)(cn, {
+ /* @__PURE__ */ (0, $.jsx)(bn, { ...m }),
+ /* @__PURE__ */ (0, $.jsx)(ur, { receipt: t }),
+ /* @__PURE__ */ (0, $.jsx)(dn, {
...m,
reopenTutorial: n
})
@@ -3936,7 +3963,7 @@ function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
return /* @__PURE__ */ (0, $.jsxs)("div", {
ref: c,
className: "ui-configpage",
- children: [/* @__PURE__ */ (0, $.jsx)(ve, {
+ children: [/* @__PURE__ */ (0, $.jsx)(be, {
className: "ui-board-local-nav",
role: "tablist",
"aria-label": "配置分区",
@@ -3972,6 +3999,6 @@ function Ur({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
});
}
//#endregion
-export { Vr as ConfigurationPage };
+export { Hr as ConfigurationPage };
-//# debugId=f00205d8-f5b4-4ca9-9bd6-5d6f4411db04
\ No newline at end of file
+//# debugId=a5865305-a202-45a5-a33e-22d8bd46d722
\ No newline at end of file
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 3d2078af3..491af912d 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--remembered-h\){height:var(--remembered-h)}.h-\(--skeleton-h\){height:var(--skeleton-h)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default,.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;height:20px;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:20px;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]){display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-release]{display:none}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:calc(var(--control-h-inline) - 2px);color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-item-detail] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>:is([role=note],[role=alert]){width:100%;max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-identity]>[data-media-avatar]{margin-top:0}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-byline]>*{flex:none}.peach-react [data-catalog-table] [data-list-byline]>[data-media-who]{flex:0 auto;min-width:0}.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none}.peach-react [data-catalog-table] [data-list-library]{color:var(--ink-2);align-items:center;gap:4px;display:inline-flex}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-name]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);grid-template-columns:auto minmax(0,1fr) auto minmax(160px,200px);align-items:center;gap:12px;padding:10px 8px;display:grid}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}@media (width<=640px){.peach-react [data-library-head]{grid-template-columns:auto minmax(0,1fr)}}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);font-size:var(--fs-md);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--muted) 46% 54%, transparent 54%), var(--sunk)}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--remembered-h\){height:var(--remembered-h)}.h-\(--skeleton-h\){height:var(--skeleton-h)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default,.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;height:20px;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:20px;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]){display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-release]{display:none}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:calc(var(--control-h-inline) - 2px);color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-item-detail] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>:is([role=note],[role=alert]){width:100%;max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-identity]>[data-media-avatar]{margin-top:0}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-byline]>*{flex:none}.peach-react [data-catalog-table] [data-list-byline]>[data-media-who]{flex:0 auto;min-width:0}.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none}.peach-react [data-catalog-table] [data-list-library]{color:var(--ink-2);align-items:center;gap:4px;display:inline-flex}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-name]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);grid-template-columns:auto minmax(0,1fr) auto minmax(160px,200px);align-items:center;gap:12px;padding:10px 8px;display:grid}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}@media (width<=640px){.peach-react [data-library-head]{grid-template-columns:auto minmax(0,1fr)}}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);font-size:var(--fs-md);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--muted) 46% 54%, transparent 54%), var(--sunk)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 3836f3449..c233df50b 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "36b981ec-34f8-41e2-8ae5-c5684d06cc05", e._sentryDebugIdIdentifier = "sentry-dbid-36b981ec-34f8-41e2-8ae5-c5684d06cc05");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "97d0ee87-3eba-47dc-bfc4-a51f80a4560a", e._sentryDebugIdIdentifier = "sentry-dbid-97d0ee87-3eba-47dc-bfc4-a51f80a4560a");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
@@ -17719,101 +17719,101 @@ function O_(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var k_ = .9999, A_ = 1.0001, j_ = -.01, M_ = .01;
-function N_(e) {
+var Ree = .9999, zee = 1.0001, k_ = -.01, A_ = .01;
+function j_(e) {
return e.max - e.min;
}
-function P_(e, t, n) {
+function M_(e, t, n) {
return Math.abs(e - t) <= n;
}
-function F_(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Bd(t.min, t.max, e.origin), e.scale = N_(n) / N_(t), e.translate = Bd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= k_ && e.scale <= A_ || isNaN(e.scale)) && (e.scale = 1), (e.translate >= j_ && e.translate <= M_ || isNaN(e.translate)) && (e.translate = 0);
+function N_(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = Bd(t.min, t.max, e.origin), e.scale = j_(n) / j_(t), e.translate = Bd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ree && e.scale <= zee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= k_ && e.translate <= A_ || isNaN(e.translate)) && (e.translate = 0);
+}
+function P_(e, t, n, r) {
+ N_(e.x, t.x, n.x, r ? r.originX : void 0), N_(e.y, t.y, n.y, r ? r.originY : void 0);
+}
+function F_(e, t, n, r = 0) {
+ e.min = (r ? Bd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + j_(t);
}
function I_(e, t, n, r) {
- F_(e.x, t.x, n.x, r ? r.originX : void 0), F_(e.y, t.y, n.y, r ? r.originY : void 0);
+ F_(e.x, t.x, n.x, r?.x), F_(e.y, t.y, n.y, r?.y);
}
function L_(e, t, n, r = 0) {
- e.min = (r ? Bd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + N_(t);
+ let i = r ? Bd(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + j_(t);
}
function R_(e, t, n, r) {
L_(e.x, t.x, n.x, r?.x), L_(e.y, t.y, n.y, r?.y);
}
-function z_(e, t, n, r = 0) {
- let i = r ? Bd(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + N_(t);
-}
-function B_(e, t, n, r) {
- z_(e.x, t.x, n.x, r?.x), z_(e.y, t.y, n.y, r?.y);
-}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function V_(e, t, n, r, i) {
+function z_(e, t, n, r, i) {
return e -= t, e = mg(e, 1 / n, r), i !== void 0 && (e = mg(e, 1 / i, r)), e;
}
-function H_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function B_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (fd.test(t) && (t = parseFloat(t), t = Bd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = Bd(a.min, a.max, r);
- e === a && (s -= t), e.min = V_(e.min, t, n, s, i), e.max = V_(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = z_(e.min, t, n, s, i), e.max = z_(e.max, t, n, s, i);
}
-function U_(e, t, [n, r, i], a, o) {
- H_(e, t[n], t[r], t[i], t.scale, a, o);
+function V_(e, t, [n, r, i], a, o) {
+ B_(e, t[n], t[r], t[i], t.scale, a, o);
}
-var W_ = [
+var H_ = [
"x",
"scaleX",
"originX"
-], G_ = [
+], U_ = [
"y",
"scaleY",
"originY"
];
-function K_(e, t, n, r) {
- U_(e.x, t, W_, n ? n.x : void 0, r ? r.x : void 0), U_(e.y, t, G_, n ? n.y : void 0, r ? r.y : void 0);
+function W_(e, t, n, r) {
+ V_(e.x, t, H_, n ? n.x : void 0, r ? r.x : void 0), V_(e.y, t, U_, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function q_(e) {
+function G_(e) {
return e.translate === 0 && e.scale === 1;
}
-function J_(e) {
- return q_(e.x) && q_(e.y);
+function K_(e) {
+ return G_(e.x) && G_(e.y);
}
-function Y_(e, t) {
+function q_(e, t) {
return e.min === t.min && e.max === t.max;
}
-function X_(e, t) {
- return Y_(e.x, t.x) && Y_(e.y, t.y);
+function J_(e, t) {
+ return q_(e.x, t.x) && q_(e.y, t.y);
}
-function Z_(e, t) {
+function Y_(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function Q_(e, t) {
- return Z_(e.x, t.x) && Z_(e.y, t.y);
+function X_(e, t) {
+ return Y_(e.x, t.x) && Y_(e.y, t.y);
}
-function $_(e) {
- return N_(e.x) / N_(e.y);
+function Z_(e) {
+ return j_(e.x) / j_(e.y);
}
-function ev(e, t) {
+function Q_(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function tv(e) {
+function $_(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function nv(e, t) {
+function ev(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var rv = { correct: (e, t) => {
+var tv = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (W.test(e)) e = parseFloat(e);
else return e;
}
- return `${nv(e, t.target.x)}% ${nv(e, t.target.y)}%`;
-} }, Ree = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ return `${ev(e, t.target.x)}% ${ev(e, t.target.y)}%`;
+} }, nv = { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = Id.parse(e);
if (i.length > 5) return r;
let a = Id.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
@@ -17823,7 +17823,7 @@ var rv = { correct: (e, t) => {
} };
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function zee(e, t, n) {
+function rv(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -17834,36 +17834,36 @@ function zee(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var Bee = Ph.length, iv = (e) => typeof e == "number" || W.test(e);
-function Vee(e, t, n, r, i, a) {
- i ? (e.opacity = Bd(0, n.opacity ?? 1, Hee(r)), e.opacityExit = Bd(t.opacity ?? 1, 0, Uee(r))) : a && (e.opacity = Bd(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < Bee; i++) {
- let a = Ph[i], o = av(t, a), s = av(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || iv(o) === iv(s) ? (e[a] = Math.max(Bd(Zg(o), Zg(s), r), 0), (fd.test(s) || fd.test(o)) && (e[a] += "%")) : e[a] = s);
+var iv = Ph.length, av = (e) => typeof e == "number" || W.test(e);
+function ov(e, t, n, r, i, a) {
+ i ? (e.opacity = Bd(0, n.opacity ?? 1, cv(r)), e.opacityExit = Bd(t.opacity ?? 1, 0, Bee(r))) : a && (e.opacity = Bd(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < iv; i++) {
+ let a = Ph[i], o = sv(t, a), s = sv(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || av(o) === av(s) ? (e[a] = Math.max(Bd(Zg(o), Zg(s), r), 0), (fd.test(s) || fd.test(o)) && (e[a] += "%")) : e[a] = s);
}
(t.rotate || n.rotate) && (e.rotate = Bd(t.rotate || 0, n.rotate || 0, r));
}
-function av(e, t) {
+function sv(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var Hee = /*@__PURE__*/ ov(0, .5, ku), Uee = /*@__PURE__*/ ov(.5, .95, fu);
-function ov(e, t, n) {
+var cv = /*@__PURE__*/ lv(0, .5, ku), Bee = /*@__PURE__*/ lv(.5, .95, fu);
+function lv(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ mu(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function sv(e, t, n) {
+function uv(e, t, n) {
let r = hh(e) ? e : Km(e);
return r.start(nh("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function cv(e, t, n, r = { passive: !0 }) {
+function dv(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var Wee = (e, t) => e.depth - t.depth, Gee = class {
+var Vee = (e, t) => e.depth - t.depth, Hee = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -17874,12 +17874,12 @@ var Wee = (e, t) => e.depth - t.depth, Gee = class {
au(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Wee), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Vee), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function Kee(e, t) {
+function Uee(e, t) {
let n = Uu.now(), r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (lf(r), e(a - t));
@@ -17888,12 +17888,12 @@ function Kee(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function lv(e) {
+function fv(e) {
return hh(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var qee = class {
+var Wee = class {
constructor() {
this.members = [];
}
@@ -17939,42 +17939,42 @@ var qee = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, Jee = {
+}, Gee = {
borderRadius: {
- ...rv,
+ ...tv,
applyTo: [...Ph]
},
- borderTopLeftRadius: rv,
- borderTopRightRadius: rv,
- borderBottomLeftRadius: rv,
- borderBottomRightRadius: rv,
- boxShadow: Ree
-}, uv = {
+ borderTopLeftRadius: tv,
+ borderTopRightRadius: tv,
+ borderBottomLeftRadius: tv,
+ borderBottomRightRadius: tv,
+ boxShadow: nv
+}, pv = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs
Object.assign(v_, {
- ...Jee,
+ ...Gee,
...v_
});
-var dv = {
+var mv = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, fv = [
+}, hv = [
"",
"X",
"Y",
"Z"
-], Yee = 1e3, Xee = 0;
-function pv(e, t, n, r) {
+], Kee = 1e3, qee = 0;
+function gv(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var mv = ({ instance: e }) => e && vm.get(e)?.demote();
-function hv(e) {
+var _v = ({ instance: e }) => e && vm.get(e)?.demote();
+function vv(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
@@ -17984,21 +17984,21 @@ function hv(e) {
window.MotionCancelOptimisedAnimation(n, "transform", cf, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && hv(r);
+ r && !r.hasCheckedOptimisedAppear && vv(r);
}
-function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function yv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = Xee++, 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 = qee++, 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, Xg.value && (dv.nodes = dv.calculatedTargetDeltas = dv.calculatedProjections = 0), this.nodes.forEach($ee), this.nodes.forEach(ste), this.nodes.forEach(cte), this.nodes.forEach(ete), Xg.addProjectionMetrics && Xg.addProjectionMetrics(dv);
+ this.projectionUpdateScheduled = !1, Xg.value && (mv.nodes = mv.calculatedTargetDeltas = mv.calculatedProjections = 0), this.nodes.forEach(Xee), this.nodes.forEach(ite), this.nodes.forEach(ate), this.nodes.forEach(Zee), Xg.addProjectionMetrics && Xg.addProjectionMetrics(mv);
}, 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 Gee());
+ this.root === this && (this.nodes = new Hee());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new hu()), this.eventHandlers.get(e).add(t);
@@ -18020,7 +18020,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Kee(i, 250), uv.hasAnimatedSinceResize && (uv.hasAnimatedSinceResize = !1, this.nodes.forEach(yv)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Uee(i, 250), pv.hasAnimatedSinceResize && (pv.hasAnimatedSinceResize = !1, this.nodes.forEach(Sv)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -18028,7 +18028,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || pte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Q_(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || ute, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !X_(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
@@ -18037,7 +18037,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || yv(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || Sv(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
@@ -18056,7 +18056,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(lte), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(ote), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -18067,11 +18067,11 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && hv(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
- mv(this), this.isLayoutDirty = !0;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && vv(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ _v(this), this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
- t.shouldResetTransform = !0, mv(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, _v(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;
@@ -18081,14 +18081,14 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(nte), this.nodes.forEach(_v);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach($ee), this.nodes.forEach(bv);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(vv);
+ this.nodes.forEach(xv);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ite), this.nodes.forEach(ate), this.nodes.forEach(ote), this.nodes.forEach(Zee), this.nodes.forEach(Qee)) : this.nodes.forEach(vv), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(tte), this.nodes.forEach(nte), this.nodes.forEach(rte), this.nodes.forEach(Jee), this.nodes.forEach(Yee)) : this.nodes.forEach(xv), this.clearAllSnapshots();
let e = Uu.now();
Bu.delta = ou(0, 1e3 / 60, e - Bu.timestamp), Bu.timestamp = e, Bu.isProcessing = !0, uf.update.process(Bu), uf.preRender.process(Bu), uf.render.process(Bu), Bu.isProcessing = !1;
}
@@ -18096,7 +18096,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.updateScheduled || (this.updateScheduled = !0, Mg.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(tte), this.sharedNodes.forEach(ute);
+ this.nodes.forEach(Qee), this.sharedNodes.forEach(ste);
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, cf.preRender(this.updateProjection, !1, !0));
@@ -18107,7 +18107,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !N_(this.snapshot.measuredBox.x) && !N_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !j_(this.snapshot.measuredBox.x) && !j_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
@@ -18133,13 +18133,13 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
resetTransform() {
if (!i) return;
let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;
- e && mv(this);
- let t = this.projectionDelta && !J_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && _v(this);
+ let t = this.projectionDelta && !K_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
e && this.instance && (t || dg(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)), mte(n), {
+ return e && (n = this.removeTransform(n)), dte(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -18151,7 +18151,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { visualElement: e } = this.options;
if (!e) return t_();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(hte))) {
+ if (!(this.scroll?.wasRoot || this.path.some(fte))) {
let { scroll: e } = this.root;
e && (xg(t.x, e.offset.x), xg(t.y, e.offset.y));
}
@@ -18182,9 +18182,9 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let n = this.path[e];
if (!dg(n.latestValues)) continue;
let r;
- n.instance && (ug(n.latestValues) && n.updateSnapshot(), r = t_(), D_(r, n.measurePageBox())), K_(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (ug(n.latestValues) && n.updateSnapshot(), r = t_(), D_(r, n.measurePageBox())), W_(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return dg(this.latestValues) && K_(t, this.latestValues), t;
+ return dg(this.latestValues) && W_(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -18211,7 +18211,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = Bu.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 = t_(), this.targetWithTransforms = t_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), R_(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : D_(this.target, this.layout.layoutBox), _g(this.target, this.targetDelta)) : D_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Xg.value && dv.calculatedTargetDeltas++);
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = t_(), this.targetWithTransforms = t_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), I_(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : D_(this.target, this.layout.layoutBox), _g(this.target, this.targetDelta)) : D_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Xg.value && mv.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
if (!(!this.parent || ug(this.parent.latestValues) || fg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
@@ -18220,7 +18220,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = t_(), this.relativeTargetOrigin = t_(), B_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), D_(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = t_(), this.relativeTargetOrigin = t_(), R_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), D_(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -18234,7 +18234,7 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let a = this.treeScale.x, o = this.treeScale.y;
bg(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = t_());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (O_(this.prevProjectionDelta.x, this.projectionDelta.x), O_(this.prevProjectionDelta.y, this.projectionDelta.y)), I_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !ev(this.projectionDelta.x, this.prevProjectionDelta.x) || !ev(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Xg.value && dv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (O_(this.prevProjectionDelta.x, this.projectionDelta.x), O_(this.prevProjectionDelta.y, this.projectionDelta.y)), P_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Q_(this.projectionDelta.x, this.prevProjectionDelta.x) || !Q_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Xg.value && mv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -18255,17 +18255,17 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
setAnimationOrigin(e, t = !1, n) {
let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = $g();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = t_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(fte));
+ let s = t_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(lte));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = Bd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Bd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (bv(o.x, e.x, n), bv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (B_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), dte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && X_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= t_(), D_(f, this.relativeTarget)), c && (this.animationValues = a, Vee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = Bd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Bd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Cv(o.x, e.x, n), Cv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (R_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), cte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && J_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= t_(), D_(f, this.relativeTarget)), c && (this.animationValues = a, ov(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (lf(this.pendingAnimation), void 0), this.pendingAnimation = cf.update(() => {
- uv.hasAnimatedSinceResize = !0, this.motionValue ||= Km(0), this.motionValue.jump(0, !1), this.currentAnimation = sv(this.motionValue, [0, 1e3], {
+ pv.hasAnimatedSinceResize = !0, this.motionValue ||= Km(0), this.motionValue.jump(0, !1), this.currentAnimation = uv(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -18284,23 +18284,23 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Yee), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Kee), 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 && Tv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ if (this !== e && this.layout && n && Ov(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
i = this.target || t_();
- let t = N_(this.layout.layoutBox.x);
+ let t = j_(this.layout.layoutBox.x);
i.x.min = e.target.x.min, i.x.max = i.x.min + t;
- let n = N_(this.layout.layoutBox.y);
+ let n = j_(this.layout.layoutBox.y);
i.y.min = e.target.y.min, i.y.max = i.y.min + n;
}
- D_(t, i), wg(t, r), I_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ D_(t, i), wg(t, r), P_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new qee()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Wee()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -18337,8 +18337,8 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && pv("z", e, r, this.animationValues);
- for (let t = 0; t < fv.length; t++) pv(`rotate${fv[t]}`, e, r, this.animationValues), pv(`skew${fv[t]}`, e, r, this.animationValues);
+ n.z && gv("z", e, r, this.animationValues);
+ for (let t = 0; t < hv.length; t++) gv(`rotate${hv[t]}`, e, r, this.animationValues), gv(`skew${hv[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -18351,18 +18351,18 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = lv(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = fv(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = lv(t?.pointerEvents) || ""), this.hasProjected && !dg(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = fv(t?.pointerEvents) || ""), this.hasProjected && !dg(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = zee(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = rv(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
@@ -18374,48 +18374,48 @@ function gv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
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 = r === this ? lv(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? fv(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(_v), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(bv), this.root.sharedNodes.clear();
}
};
}
-function Zee(e) {
- e.updateLayout(), rte(e);
+function Jee(e) {
+ e.updateLayout(), ete(e);
}
-function Qee(e) {
+function Yee(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;
- if (i === "size") tv((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = N_(r);
+ if (i === "size") $_((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = j_(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
E_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else Tv(i, t.layoutBox, n) && tv((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = N_(n[r]);
+ } else Ov(i, t.layoutBox, n) && $_((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = j_(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
let o = $g();
- I_(o, n, t.layoutBox);
+ P_(o, n, t.layoutBox);
let s = $g();
- a ? I_(s, e.applyTransform(r, !0), t.measuredBox) : I_(s, n, t.layoutBox);
- let c = !J_(o), l = !1;
+ a ? P_(s, e.applyTransform(r, !0), t.measuredBox) : P_(s, n, t.layoutBox);
+ let c = !K_(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
let o = e.options.layoutAnchor || void 0, s = t_();
- B_(s, t.layoutBox, i.layoutBox, o);
+ R_(s, t.layoutBox, i.layoutBox, o);
let c = t_();
- B_(c, n, a.layoutBox, o), Q_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ R_(c, n, a.layoutBox, o), X_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -18433,68 +18433,68 @@ function Qee(e) {
}
e.options.transition = void 0;
}
-function $ee(e) {
- Xg.value && dv.nodes++, 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 Xee(e) {
+ Xg.value && mv.nodes++, 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 ete(e) {
+function Zee(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function tte(e) {
+function Qee(e) {
e.clearSnapshot();
}
-function _v(e) {
+function bv(e) {
e.clearMeasurements();
}
-function nte(e) {
+function $ee(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function vv(e) {
+function xv(e) {
e.isLayoutDirty = !1;
}
-function rte(e) {
+function ete(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- tv((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ $_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function ite(e) {
+function tte(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function ate(e) {
+function nte(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function ote(e) {
+function rte(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function yv(e) {
+function Sv(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function ste(e) {
+function ite(e) {
e.resolveTargetDelta();
}
-function cte(e) {
+function ate(e) {
e.calcProjection();
}
-function lte(e) {
+function ote(e) {
e.resetSkewAndRotation();
}
-function ute(e) {
+function ste(e) {
e.removeLeadSnapshot();
}
-function bv(e, t, n) {
+function Cv(e, t, n) {
e.translate = Bd(t.translate, 0, n), e.scale = Bd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function xv(e, t, n, r) {
+function wv(e, t, n, r) {
e.min = Bd(t.min, n.min, r), e.max = Bd(t.max, n.max, r);
}
-function dte(e, t, n, r) {
- xv(e.x, t.x, n.x, r), xv(e.y, t.y, n.y, r);
+function cte(e, t, n, r) {
+ wv(e.x, t.x, n.x, r), wv(e.y, t.y, n.y, r);
}
-function fte(e) {
+function lte(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var pte = {
+var ute = {
duration: .45,
ease: [
.4,
@@ -18502,75 +18502,75 @@ var pte = {
.1,
1
]
-}, Sv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Cv = Sv("applewebkit/") && !Sv("chrome/") ? Math.round : fu;
-function wv(e) {
- e.min = Cv(e.min), e.max = Cv(e.max);
+}, Tv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ev = Tv("applewebkit/") && !Tv("chrome/") ? Math.round : fu;
+function Dv(e) {
+ e.min = Ev(e.min), e.max = Ev(e.max);
}
-function mte(e) {
- wv(e.x), wv(e.y);
+function dte(e) {
+ Dv(e.x), Dv(e.y);
}
-function Tv(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !P_($_(t), $_(n), .2);
+function Ov(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !M_(Z_(t), Z_(n), .2);
}
-function hte(e) {
+function fte(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var gte = gv({
- attachResizeListener: (e, t) => cv(e, "resize", t),
+var pte = yv({
+ attachResizeListener: (e, t) => dv(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), Ev = { current: void 0 }, Dv = gv({
+}), kv = { current: void 0 }, Av = yv({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!Ev.current) {
- let e = new gte({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), Ev.current = e;
+ if (!kv.current) {
+ let e = new pte({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), kv.current = e;
}
- return Ev.current;
+ return kv.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), Ov = (0, D.createContext)({
+}), jv = (0, D.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function kv(e, t) {
+function Mv(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function _te(...e) {
+function mte(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = kv(e, t);
+ let r = Mv(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() : kv(e[t], null);
+ typeof n == "function" ? n() : Mv(e[t], null);
}
};
};
}
-function vte(...e) {
- return D.useCallback(_te(...e), e);
+function hte(...e) {
+ return D.useCallback(mte(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var yte = class extends D.Component {
+var gte = class extends D.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
if (Wh(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
@@ -18584,7 +18584,7 @@ var yte = class extends D.Component {
return this.props.children;
}
};
-function bte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function _te({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, D.useId)(), s = (0, D.useRef)(null), c = (0, D.useRef)({
width: 0,
height: 0,
@@ -18593,7 +18593,7 @@ function bte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, D.useContext)(Ov), u = vte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, D.useContext)(jv), u = hte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, D.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -18613,7 +18613,7 @@ function bte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);
};
- }, [t]), (0, O.jsx)(yte, {
+ }, [t]), (0, O.jsx)(gte, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -18623,8 +18623,8 @@ function bte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var xte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = tu(Ste), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);
+var vte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = tu(yte), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);
nu(() => {
f.current = n, p.current = r;
});
@@ -18650,7 +18650,7 @@ var xte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), D.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, O.jsx)(bte, {
+ }, [n]), e = (0, O.jsx)(_te, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -18662,12 +18662,12 @@ var xte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function Ste() {
+function yte() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Av(e = !0) {
+function Nv(e = !0) {
let t = (0, D.useContext)(ru);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, D.useId)();
@@ -18681,16 +18681,16 @@ function Av(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function jv() {
- return Cte((0, D.useContext)(ru));
+function Pv() {
+ return bte((0, D.useContext)(ru));
}
-function Cte(e) {
+function bte(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var Mv = (e) => e.key || "";
-function Nv(e) {
+var Fv = (e) => e.key || "";
+function Iv(e) {
let t = [];
return D.Children.forEach(e, (e) => {
(0, D.isValidElement)(e) && t.push(e);
@@ -18698,8 +18698,8 @@ function Nv(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var Pv = ({ 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] = Av(o), f = (0, D.useMemo)(() => Nv(e), [e]), p = o && !u ? [] : f.map(Mv), m = (0, D.useRef)(!0), h = tu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);
+var Lv = ({ 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] = Nv(o), f = (0, D.useMemo)(() => Iv(e), [e]), p = o && !u ? [] : f.map(Fv), m = (0, D.useRef)(!0), h = tu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);
nu(() => {
o && !u && !y.length && d?.();
}, [
@@ -18710,7 +18710,7 @@ var Pv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
]), nu(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = Mv(y[e]);
+ let t = Fv(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -18722,15 +18722,15 @@ var Pv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
if (f !== _) {
let e = [...f], t = 0;
for (let n of y) {
- let r = p.indexOf(Mv(n));
+ let r = p.indexOf(Fv(n));
r === -1 ? (e.splice(t++, 0, n), x.push(n)) : t = r + x.length + 1;
}
- return x.every((e) => h.get(Mv(e))) ? e = f : a === "wait" && (e = x), b(Nv(e)), v(f), null;
+ return x.every((e) => h.get(Fv(e))) ? e = f : a === "wait" && (e = x), b(Iv(e)), v(f), null;
}
let { forceRender: S } = (0, D.useContext)(eu);
return (0, O.jsx)(O.Fragment, { children: y.map((e) => {
- let _ = Mv(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, O.jsx)(xte, {
+ let _ = Fv(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, O.jsx)(vte, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -18751,7 +18751,7 @@ var Pv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, Fv = (0, D.createContext)({ strict: !1 }), Iv = {
+}, Rv = (0, D.createContext)({ strict: !1 }), zv = {
animation: [
"animate",
"variants",
@@ -18788,20 +18788,20 @@ var Pv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Lv = !1;
-function wte() {
- if (Lv) return;
+}, Bv = !1;
+function xte() {
+ if (Bv) return;
let e = {};
- for (let t in Iv) e[t] = { isEnabled: (e) => Iv[t].some((t) => !!e[t]) };
- m_(e), Lv = !0;
+ for (let t in zv) e[t] = { isEnabled: (e) => zv[t].some((t) => !!e[t]) };
+ m_(e), Bv = !0;
}
-function Rv() {
- return wte(), kee();
+function Vv() {
+ return xte(), kee();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Tte(e) {
- let t = Rv();
+function Ste(e) {
+ let t = Vv();
for (let n in e) t[n] = {
...t[n],
...e[n]
@@ -18810,8 +18810,8 @@ function Tte(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function Ete({ children: e, ...t }) {
- let n = (0, D.useContext)(Ov);
+function Cte({ children: e, ...t }) {
+ let n = (0, D.useContext)(jv);
t = {
...n,
...t
@@ -18823,17 +18823,17 @@ function Ete({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, O.jsx)(Ov.Provider, {
+ return (0, O.jsx)(jv.Provider, {
value: r,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var zv = /* @__PURE__ */ (0, D.createContext)({});
+var Hv = /* @__PURE__ */ (0, D.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Dte(e, t) {
+function wte(e, t) {
if (s_(e)) {
let { initial: t, animate: n } = e;
return {
@@ -18845,19 +18845,19 @@ function Dte(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Ote(e) {
- let { initial: t, animate: n } = Dte(e, (0, D.useContext)(zv));
+function Tte(e) {
+ let { initial: t, animate: n } = wte(e, (0, D.useContext)(Hv));
return (0, D.useMemo)(() => ({
initial: t,
animate: n
- }), [Bv(t), Bv(n)]);
+ }), [Uv(t), Uv(n)]);
}
-function Bv(e) {
+function Uv(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Vv = () => ({
+var Wv = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -18865,34 +18865,34 @@ var Vv = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function Hv(e, t, n) {
+function Gv(e, t, n) {
for (let r in t) !hh(t[r]) && !y_(r, n) && (e[r] = t[r]);
}
-function kte({ transformTemplate: e }, t) {
+function Ete({ transformTemplate: e }, t) {
return (0, D.useMemo)(() => {
- let n = Vv();
+ let n = Wv();
return rg(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Ate(e, t) {
+function Dte(e, t) {
let n = e.style || {}, r = {};
- return Hv(r, n, e), Object.assign(r, kte(e, t)), r;
+ return Gv(r, n, e), Object.assign(r, Ete(e, t)), r;
}
-function jte(e, t) {
- let n = {}, r = Ate(e, t);
+function Ote(e, t) {
+ let n = {}, r = Dte(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;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Uv = () => ({
- ...Vv(),
+var Kv = () => ({
+ ...Wv(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Mte(e, t, n, r) {
+function kte(e, t, n, r) {
let i = (0, D.useMemo)(() => {
- let n = Uv();
+ let n = Kv();
return ag(n, t, S_(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
@@ -18900,7 +18900,7 @@ function Mte(e, t, n, r) {
}, [t]);
if (e.style) {
let t = {};
- Hv(t, e.style, e), i.style = {
+ Gv(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -18909,23 +18909,23 @@ function Mte(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Nte = /* @__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 Wv(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Nte.has(e);
+var Ate = /* @__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 qv(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Ate.has(e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function Pte(e, t) {
- return e.startsWith("on") ? !Wv(e) : t?.(e) ?? !Wv(e);
+function jte(e, t) {
+ return e.startsWith("on") ? !qv(e) : t?.(e) ?? !qv(e);
}
-function Fte(e, t, n, r) {
+function Mte(e, t, n, r) {
let i = {};
- for (let a in e) (a !== "values" || typeof e.values != "object") && (hh(e[a]) || (Pte(a, r) || n === !0 && Wv(a) || !t && !Wv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));
+ for (let a in e) (a !== "values" || typeof e.values != "object") && (hh(e[a]) || (jte(a, r) || n === !0 && qv(a) || !t && !qv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));
return i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var Ite = [
+var Nte = [
"animate",
"circle",
"defs",
@@ -18954,13 +18954,13 @@ var Ite = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Gv(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(Ite.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function Jv(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Nte.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function Lte(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? Gv(e) ? Mte : jte)(t, r, i, e), l = Fte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {
+function Pte(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? Jv(e) ? kte : Ote)(t, r, i, e), l = Mte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {
...l,
...c,
ref: n
@@ -18972,15 +18972,15 @@ function Lte(e, t, n, { latestValues: r }, i, a = !1, o, s) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function Rte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Fte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: zte(n, r, i, e),
+ latestValues: Ite(n, r, i, e),
renderState: t()
};
}
-function zte(e, t, n, r) {
+function Ite(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = lv(a[e]);
+ for (let e in a) i[e] = fv(a[e]);
let { initial: o, animate: s } = e, c = s_(e), l = c_(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;
@@ -19006,19 +19006,19 @@ function zte(e, t, n, r) {
}
return i;
}
-var Kv = (e) => (t, n) => {
- let r = (0, D.useContext)(zv), i = (0, D.useContext)(ru), a = () => Rte(e, t, r, i);
+var Yv = (e) => (t, n) => {
+ let r = (0, D.useContext)(Hv), i = (0, D.useContext)(ru), a = () => Fte(e, t, r, i);
return n ? a() : tu(a);
-}, Bte = /*@__PURE__*/ Kv({
+}, Lte = /*@__PURE__*/ Yv({
scrapeMotionValuesFromProps: b_,
- createRenderState: Vv
-}), Vte = /*@__PURE__*/ Kv({
+ createRenderState: Wv
+}), Rte = /*@__PURE__*/ Yv({
scrapeMotionValuesFromProps: C_,
- createRenderState: Uv
-}), qv = Symbol.for("motionComponentSymbol");
+ createRenderState: Kv
+}), Xv = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Hte(e, t, n) {
+function Zv(e, t, n) {
let r = (0, D.useRef)(n);
(0, D.useInsertionEffect)(() => {
r.current = n;
@@ -19037,16 +19037,16 @@ function Hte(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Jv = (0, D.createContext)({});
+var Qv = (0, D.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function Yv(e) {
+function $v(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function Ute(e, t, n, r, i, a) {
- let { visualElement: o } = (0, D.useContext)(zv), s = (0, D.useContext)(Fv), c = (0, D.useContext)(ru), l = (0, D.useContext)(Ov), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);
+function zte(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, D.useContext)(Hv), s = (0, D.useContext)(Rv), c = (0, D.useContext)(ru), l = (0, D.useContext)(jv), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -19057,8 +19057,8 @@ function Ute(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, D.useContext)(Jv);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Wte(f.current, n, i, h);
+ let m = f.current, h = (0, D.useContext)(Qv);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Bte(f.current, n, i, h);
let g = (0, D.useRef)(!1);
(0, D.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
@@ -19074,12 +19074,12 @@ function Ute(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function Wte(e, t, n, r) {
+function Bte(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Xv(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : ey(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && Yv(s),
+ alwaysMeasureLayout: !!o || s && $v(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -19089,46 +19089,46 @@ function Wte(e, t, n, r) {
layoutAnchor: u
});
}
-function Xv(e) {
- if (e) return e.options.allowProjection === !1 ? Xv(e.parent) : e.projection;
+function ey(e) {
+ if (e) return e.options.allowProjection === !1 ? ey(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function Zv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Tte(r);
- let a = n ? n === "svg" : Gv(e), o = a ? Vte : Bte;
+function ty(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Ste(r);
+ let a = n ? n === "svg" : Jv(e), o = a ? Rte : Lte;
function s(n, s) {
let c, l = {
- ...(0, D.useContext)(Ov),
+ ...(0, D.useContext)(jv),
...n,
- layoutId: Gte(n)
- }, { isStatic: u, isValidProp: d } = l, f = Ote(n), p = o(n, u);
+ layoutId: Vte(n)
+ }, { isStatic: u, isValidProp: d } = l, f = Tte(n), p = o(n, u);
if (!u && typeof window < "u") {
- Kte(l, r);
- let t = qte(l);
- c = t.MeasureLayout, f.visualElement = Ute(e, p, l, i, t.ProjectionNode, a);
+ Hte(l, r);
+ let t = Ute(l);
+ c = t.MeasureLayout, f.visualElement = zte(e, p, l, i, t.ProjectionNode, a);
}
- return (0, O.jsxs)(zv.Provider, {
+ return (0, O.jsxs)(Hv.Provider, {
value: f,
children: [c && f.visualElement ? (0, O.jsx)(c, {
visualElement: f.visualElement,
...l
- }) : null, Lte(e, n, Hte(p, f.visualElement, s), p, u, t, a, d)]
+ }) : null, Pte(e, n, Zv(p, f.visualElement, s), p, u, t, a, d)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, D.forwardRef)(s);
- return c[qv] = e, c;
+ return c[Xv] = e, c;
}
-function Gte({ layoutId: e }) {
+function Vte({ layoutId: e }) {
let t = (0, D.useContext)(eu).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Kte(e, t) {
- (0, D.useContext)(Fv).strict;
+function Hte(e, t) {
+ (0, D.useContext)(Rv).strict;
}
-function qte(e) {
- let { drag: t, layout: n } = Rv();
+function Ute(e) {
+ let { drag: t, layout: n } = Vv();
if (!t && !n) return {};
let r = {
...t,
@@ -19141,14 +19141,14 @@ function qte(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Jte(e, t) {
- if (typeof Proxy > "u") return Zv;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => Zv(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Zv(a, void 0, e, t)), n.get(a)) });
+function Wte(e, t) {
+ if (typeof Proxy > "u") return ty;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => ty(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, ty(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Yte = (e, t) => t.isSVG ?? Gv(e) ? new Pee(t) : new Mee(t, { allowProjection: e !== D.Fragment }), Xte = class extends g_ {
+var Gte = (e, t) => t.isSVG ?? Jv(e) ? new Pee(t) : new Mee(t, { allowProjection: e !== D.Fragment }), Kte = class extends g_ {
constructor(e) {
super(e), e.animationState ||= Iee(e);
}
@@ -19166,11 +19166,11 @@ var Yte = (e, t) => t.isSVG ?? Gv(e) ? new Pee(t) : new Mee(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Zte = 0, Qte = {
- animation: { Feature: Xte },
+}, qte = 0, Jte = {
+ animation: { Feature: Kte },
exit: { Feature: class extends g_ {
constructor() {
- super(...arguments), this.id = Zte++;
+ super(...arguments), this.id = qte++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -19203,28 +19203,28 @@ var Yte = (e, t) => t.isSVG ?? Gv(e) ? new Pee(t) : new Mee(t, { allowProjection
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function Qv(e) {
+function ny(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var $te = (e) => (t) => Lg(t) && e(t, Qv(t));
+var Yte = (e) => (t) => Lg(t) && e(t, ny(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function $v(e, t, n, r) {
- return cv(e, t, $te(n), r);
+function ry(e, t, n, r) {
+ return dv(e, t, Yte(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var ey = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ty = (e, t) => Math.abs(e - t);
-function ene(e, t) {
- let n = ty(e.x, t.x), r = ty(e.y, t.y);
+var iy = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ay = (e, t) => Math.abs(e - t);
+function Xte(e, t) {
+ let n = ay(e.x, t.x), r = ay(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
-var ny = /*#__PURE__*/ new Set(["auto", "scroll"]), ry = class {
+var oy = /*#__PURE__*/ new Set(["auto", "scroll"]), sy = 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.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -19232,8 +19232,8 @@ var ny = /*#__PURE__*/ new Set(["auto", "scroll"]), ry = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = iy(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = oy(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = ene(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = cy(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = uy(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Xte(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -19246,33 +19246,33 @@ var ny = /*#__PURE__*/ new Set(["auto", "scroll"]), ry = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = iy(t, this.transformPagePoint), this.hasPendingMove = !0, cf.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = cy(t, this.transformPagePoint), this.hasPendingMove = !0, cf.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 && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = oy(e.type === "pointercancel" ? this.lastMoveEventInfo : iy(t, this.transformPagePoint), this.history);
+ let a = uy(e.type === "pointercancel" ? this.lastMoveEventInfo : cy(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
}, !Lg(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = iy(Qv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;
+ let s = cy(ny(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, oy(s, this.history));
+ u && u(e, uy(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = pu($v(this.contextWindow, "pointermove", this.handlePointerMove, d), $v(this.contextWindow, "pointerup", this.handlePointerUp, d), $v(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = pu(ry(this.contextWindow, "pointermove", this.handlePointerMove, d), ry(this.contextWindow, "pointerup", this.handlePointerUp, d), ry(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (ny.has(e.overflowX) || ny.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (oy.has(e.overflowX) || oy.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -19306,35 +19306,35 @@ var ny = /*#__PURE__*/ new Set(["auto", "scroll"]), ry = class {
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), lf(this.updatePoint);
}
};
-function iy(e, t) {
+function cy(e, t) {
return t ? { point: t(e.point) } : e;
}
-function ay(e, t) {
+function ly(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function oy({ point: e }, t) {
+function uy({ point: e }, t) {
return {
point: e,
- delta: ay(e, sy(t)),
- offset: ay(e, tne(t)),
- velocity: nne(t, .1)
+ delta: ly(e, dy(t)),
+ offset: ly(e, Zte(t)),
+ velocity: Qte(t, .1)
};
}
-function tne(e) {
+function Zte(e) {
return e[0];
}
-function sy(e) {
+function dy(e) {
return e[e.length - 1];
}
-function nne(e, t) {
+function Qte(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = sy(e);
+ let n = e.length - 1, r = null, i = dy(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ gu(t)));) n--;
if (!r) return {
x: 0,
@@ -19354,61 +19354,61 @@ function nne(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function rne(e, { min: t, max: n }, r) {
+function $te(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? Bd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Bd(n, e, r.max) : Math.min(e, n)), e;
}
-function cy(e, t, n) {
+function fy(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 ly(e, { top: t, left: n, bottom: r, right: i }) {
+function ene(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: cy(e.x, n, i),
- y: cy(e.y, t, r)
+ x: fy(e.x, n, i),
+ y: fy(e.y, t, r)
};
}
-function uy(e, t) {
+function py(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 dy(e, t) {
+function my(e, t) {
return {
- x: uy(e.x, t.x),
- y: uy(e.y, t.y)
+ x: py(e.x, t.x),
+ y: py(e.y, t.y)
};
}
-function fy(e, t) {
- let n = .5, r = N_(e), i = N_(t);
+function hy(e, t) {
+ let n = .5, r = j_(e), i = j_(t);
return i > r ? n = /* @__PURE__ */ mu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ mu(e.min, e.max - i, t.min)), ou(0, 1, n);
}
-function py(e, t) {
+function gy(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 my = .35;
-function hy(e = my) {
- return e === !1 ? e = 0 : e === !0 && (e = my), {
- x: gy(e, "left", "right"),
- y: gy(e, "top", "bottom")
+var _y = .35;
+function vy(e = _y) {
+ return e === !1 ? e = 0 : e === !0 && (e = _y), {
+ x: yy(e, "left", "right"),
+ y: yy(e, "top", "bottom")
};
}
-function gy(e, t, n) {
+function yy(e, t, n) {
return {
- min: _y(e, t),
- max: _y(e, n)
+ min: by(e, t),
+ max: by(e, n)
};
}
-function _y(e, t) {
+function by(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var vy = /* @__PURE__ */ new WeakMap(), yy = class {
+var xy = /* @__PURE__ */ new WeakMap(), Sy = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
@@ -19423,13 +19423,13 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = lee(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), tv((e) => {
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), $_((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
if (fd.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = N_(r) * (parseFloat(t) / 100));
+ r && (t = j_(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
@@ -19441,7 +19441,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
- r && this.currentDirection === null ? (this.currentDirection = ane(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));
+ r && this.currentDirection === null ? (this.currentDirection = tne(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -19451,7 +19451,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new ry(e, {
+ this.panSession = new sy(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -19461,7 +19461,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: ey(this.visualElement),
+ contextWindow: iy(this.visualElement),
element: this.visualElement.current
});
}
@@ -19485,23 +19485,23 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !xy(e, r, this.currentDirection)) return;
+ if (!n || !Ty(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = rne(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = $te(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && Yv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? ly(n.layoutBox, e) : !1, this.elastic = hy(t), r !== this.constraints && !Yv(e) && n && this.constraints && !this.hasMutatedConstraints && tv((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = py(n.layoutBox[e], this.constraints[e]));
+ e && $v(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? ene(n.layoutBox, e) : !1, this.elastic = vy(t), r !== this.constraints && !$v(e) && n && this.constraints && !this.hasMutatedConstraints && $_((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = gy(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !Yv(e)) return !1;
+ if (!e || !$v(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = dy(r.layout.layoutBox, i);
+ let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = my(r.layout.layoutBox, i);
if (t) {
let e = t(oee(a));
this.hasMutatedConstraints = !!e, e && (a = cg(e));
@@ -19509,8 +19509,8 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = tv((o) => {
- if (!xy(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = $_((o) => {
+ if (!Ty(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -19536,7 +19536,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
return _h(this.visualElement, e), n.start(nh(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- tv((e) => this.getAxisMotionValue(e).stop());
+ $_((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
@@ -19547,8 +19547,8 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
x: e,
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
- tv((e) => {
- if (!xy(e, n, this.currentDirection)) return;
+ $_((e) => {
+ if (!Ty(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - Bd(r, o, .5));
});
@@ -19556,40 +19556,40 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!Yv(t) || !n || !this.constraints) return;
+ if (!$v(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- tv((e) => {
+ $_((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = fy({
+ i[e] = hy({
min: t,
max: t
}, r[e]);
});
let { transformTemplate: a } = this.visualElement.getProps();
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), tv((t) => {
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), $_((t) => {
let n = this.getAxisMotionValue(t);
- if (!xy(t, e, null) || !n.get()) return;
+ if (!Ty(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(Bd(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- vy.set(this.visualElement, this);
- let e = this.visualElement.current, t = $v(e, "pointerdown", (t) => {
+ xy.set(this.visualElement, this);
+ let e = this.visualElement.current, t = ry(e, "pointerdown", (t) => {
let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && hee(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- Yv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= ine(e, t.current, () => this.scalePositionWithinConstraints()));
+ $v(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= wy(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), cf.read(r);
- let o = cv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (tv((t) => {
+ let o = dv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && ($_((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -19599,7 +19599,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = my, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = _y, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -19611,30 +19611,30 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {
};
}
};
-function by(e) {
+function Cy(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function ine(e, t, n) {
- let r = Yg(e, by(n)), i = Yg(t, by(n));
+function wy(e, t, n) {
+ let r = Yg(e, Cy(n)), i = Yg(t, Cy(n));
return () => {
r(), i();
};
}
-function xy(e, t, n) {
+function Ty(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function ane(e, t = 10) {
+function tne(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var one = class extends g_ {
+var nne = class extends g_ {
constructor(e) {
- super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new yy(e);
+ super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new Sy(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -19647,31 +19647,31 @@ var one = class extends g_ {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Sy = (e) => (t, n) => {
+}, Ey = (e) => (t, n) => {
e && cf.update(() => e(t, n), !1, !0);
-}, sne = class extends g_ {
+}, rne = class extends g_ {
constructor() {
super(...arguments), this.removePointerDownListener = fu;
}
onPointerDown(e) {
- this.session = new ry(e, this.createPanHandlers(), {
+ this.session = new sy(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: ey(this.node)
+ contextWindow: iy(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Sy(e),
- onStart: Sy(t),
- onMove: Sy(n),
+ onSessionStart: Ey(e),
+ onStart: Ey(t),
+ onMove: Ey(n),
onEnd: (e, t) => {
delete this.session, r && cf.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = $v(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = ry(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -19679,23 +19679,23 @@ var one = class extends g_ {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, Cy = !1, cne = class extends D.Component {
+}, Dy = !1, ine = class extends D.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Cy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Dy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), uv.hasEverUpdated = !0;
+ })), pv.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), Cy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {
+ }), Dy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
}))), null;
@@ -19708,7 +19708,7 @@ var one = class extends g_ {
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Cy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ Dy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -19718,41 +19718,41 @@ var one = class extends g_ {
return null;
}
};
-function wy(e) {
- let [t, n] = Av(), r = (0, D.useContext)(eu);
- return (0, O.jsx)(cne, {
+function Oy(e) {
+ let [t, n] = Nv(), r = (0, D.useContext)(eu);
+ return (0, O.jsx)(ine, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, D.useContext)(Jv),
+ switchLayoutGroup: (0, D.useContext)(Qv),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var lne = {
- pan: { Feature: sne },
+var ane = {
+ pan: { Feature: rne },
drag: {
- Feature: one,
- ProjectionNode: Dv,
- MeasureLayout: wy
+ Feature: nne,
+ ProjectionNode: Av,
+ MeasureLayout: Oy
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function Ty(e, t, n) {
+function ky(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && cf.postRender(() => i(t, Qv(t)));
+ i && cf.postRender(() => i(t, ny(t)));
}
-var une = class extends g_ {
+var one = class extends g_ {
mount() {
let { current: e } = this.node;
- e && (this.unmount = dee(e, (e, t) => (Ty(this.node, t, "Start"), (e) => Ty(this.node, e, "End"))));
+ e && (this.unmount = dee(e, (e, t) => (ky(this.node, t, "Start"), (e) => ky(this.node, e, "End"))));
}
unmount() {}
-}, dne = class extends g_ {
+}, sne = class extends g_ {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -19769,57 +19769,57 @@ var une = class extends g_ {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = pu(cv(this.node.current, "focus", () => this.onFocus()), cv(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = pu(dv(this.node.current, "focus", () => this.onFocus()), dv(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function Ey(e, t, n) {
+function Ay(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && cf.postRender(() => i(t, Qv(t)));
+ i && cf.postRender(() => i(t, ny(t)));
}
-var fne = class extends g_ {
+var cne = class extends g_ {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = _ee(e, (e, t) => (Ey(this.node, t, "Start"), (e, { success: t }) => Ey(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = _ee(e, (e, t) => (Ay(this.node, t, "Start"), (e, { success: t }) => Ay(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, Dy = /* @__PURE__ */ new WeakMap(), Oy = /* @__PURE__ */ new WeakMap(), pne = (e) => {
- let t = Dy.get(e.target);
+}, jy = /* @__PURE__ */ new WeakMap(), My = /* @__PURE__ */ new WeakMap(), lne = (e) => {
+ let t = jy.get(e.target);
t && t(e);
-}, mne = (e) => {
- e.forEach(pne);
+}, une = (e) => {
+ e.forEach(lne);
};
-function hne({ root: e, ...t }) {
+function dne({ root: e, ...t }) {
let n = e || document;
- Oy.has(n) || Oy.set(n, {});
- let r = Oy.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(mne, {
+ My.has(n) || My.set(n, {});
+ let r = My.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(une, {
root: e,
...t
})), r[i];
}
-function gne(e, t, n) {
- let r = hne(t);
- return Dy.set(e, n), r.observe(e), () => {
- Dy.delete(e), r.unobserve(e);
+function fne(e, t, n) {
+ let r = dne(t);
+ return jy.set(e, n), r.observe(e), () => {
+ jy.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var _ne = {
+var pne = {
some: 0,
all: 1
-}, vne = class extends g_ {
+}, mne = class extends g_ {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -19828,7 +19828,7 @@ var _ne = {
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 : _ne[r]
+ threshold: typeof r == "number" ? r : pne[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -19836,7 +19836,7 @@ var _ne = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = gne(this.node.current, a, o);
+ this.stopObserver = fne(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -19848,68 +19848,68 @@ var _ne = {
"amount",
"margin",
"root"
- ].some(yne(e, t)) && this.startObserver();
+ ].some(hne(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function yne({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function hne({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var bne = {
- inView: { Feature: vne },
- tap: { Feature: fne },
- focus: { Feature: dne },
- hover: { Feature: une }
-}, xne = { layout: {
- ProjectionNode: Dv,
- MeasureLayout: wy
-} }, Sne = /*@__PURE__*/ Jte({
- ...Qte,
- ...bne,
- ...lne,
- ...xne
-}, Yte);
+var gne = {
+ inView: { Feature: mne },
+ tap: { Feature: cne },
+ focus: { Feature: sne },
+ hover: { Feature: one }
+}, _ne = { layout: {
+ ProjectionNode: Av,
+ MeasureLayout: Oy
+} }, vne = /*@__PURE__*/ Wte({
+ ...Jte,
+ ...gne,
+ ...ane,
+ ..._ne
+}, Gte);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function ky() {
+function Ny() {
!u_.current && d_();
let [e] = (0, D.useState)(l_.current);
return e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function Ay(e) {
+function Py(e) {
return typeof e == "object" && !Array.isArray(e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function jy(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && Ay(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function Fy(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && Py(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function Cne(e, t, n) {
+function yne(e, t, n) {
return e * (t + 1) + n * t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function My(e, t, n, r) {
+function Iy(e, t, n, r) {
return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function wne(e, t, n) {
+function bne(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (au(e, i), r--);
}
}
-function Tne(e, t, n, r, i, a) {
- wne(e, i, a);
+function xne(e, t, n, r, i, a) {
+ bne(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: Bd(i, a, r[o]),
@@ -19918,19 +19918,19 @@ function Tne(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function Ene(e, t, n = 0) {
+function Sne(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function Dne(e, t) {
+function Cne(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var One = "easeInOut", Ny = 20;
-function kne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
+var wne = "easeInOut", Ly = 20;
+function Tne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;
for (let n = 0; n < e.length; n++) {
let o = e[n];
@@ -19939,16 +19939,16 @@ function kne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
continue;
}
if (!Array.isArray(o)) {
- l.set(o.name, My(d, o.at, u, l));
+ l.set(o.name, Iy(d, o.at, u, l));
continue;
}
let [p, m, h = {}] = o;
- h.at !== void 0 && (d = My(d, h.at, u, l));
+ h.at !== void 0 && (d = Iy(d, h.at, u, l));
let g = 0, _ = (e, n, r, o = 0, s = 0) => {
- let c = Ane(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];
+ let c = Ene(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && Nne(c)) {
+ if (S === 2 && kne(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -19964,9 +19964,9 @@ function kne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let w = d + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Ny}`, m && m < Ny) {
+ if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Ly}`, m && m < Ly) {
let e = b > 0 ? _ / b : 0;
- b = Cne(b, m, _);
+ b = yne(b, m, _);
let t = [...c], n = [...u];
y = Array.isArray(y) ? [...y] : [y];
let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -19976,20 +19976,20 @@ function kne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Fu(f, e - 1));
}
- Ene(u, m, e);
+ Sne(u, m, e);
}
let E = w + b;
- Tne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
+ xne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
};
if (hh(p)) {
- let e = Py(p, s);
- _(m, h, Fy("default", e));
+ let e = Ry(p, s);
+ _(m, h, zy("default", e));
} else {
- let e = jy(p, m, r, c), t = e.length;
+ let e = Fy(p, m, r, c), t = e.length;
for (let n = 0; n < t; n++) {
m = m, h = h;
- let r = e[n], i = Py(r, s);
- for (let e in m) _(m[e], jne(h, e), Fy(e, i), n, t);
+ let r = e[n], i = Ry(r, s);
+ for (let e in m) _(m[e], Dne(h, e), zy(e, i), n, t);
}
}
u = d, d += g;
@@ -19997,13 +19997,13 @@ function kne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
return s.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(Dne);
+ a.sort(Cne);
let s = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
s.push(n), c.push(/* @__PURE__ */ mu(0, f, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(One)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(wne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
keyframes: {},
transition: {}
});
@@ -20020,33 +20020,33 @@ function kne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
}
}), o;
}
-function Py(e, t) {
+function Ry(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function Fy(e, t) {
+function zy(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function Ane(e) {
+function Ene(e) {
return Array.isArray(e) ? e : [e];
}
-function jne(e, t) {
+function Dne(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var Mne = (e) => typeof e == "number", Nne = (e) => e.every(Mne);
+var One = (e) => typeof e == "number", kne = (e) => e.every(One);
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function Pne(e, t) {
- return hh(e) || typeof e == "number" || typeof e == "string" && !Ay(t);
+function Ane(e, t) {
+ return hh(e) || typeof e == "number" || typeof e == "string" && !Py(t);
}
-function Iy(e, t, n, r) {
+function By(e, t, n, r) {
let i = [];
- if (Pne(e, t)) i.push(sv(e, Ay(t) && t.default || t, n && (n.default || n)));
+ if (Ane(e, t)) i.push(uv(e, Py(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = jy(e, t, r), o = a.length;
+ let a = Fy(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(...Ag(r, t, s, n_.get(r))) : i.push(...Hh(Bh(r) ?? jg, r, t, s));
@@ -20056,9 +20056,9 @@ function Iy(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function Fne(e, t, n) {
+function jne(e, t, n) {
let r = [];
- return kne(e.map((e) => {
+ return Tne(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
let t = e[0], n = Km(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
@@ -20073,27 +20073,27 @@ function Fne(e, t, n) {
}
return e;
}), t, n, { spring: Df }).forEach(({ keyframes: e, transition: t }, n) => {
- r.push(...Iy(n, e, t));
+ r.push(...By(n, e, t));
}), r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function Ine(e) {
+function Mne(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function Lne(e = {}) {
+function Nne(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
let o = [], s, c = {};
- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Ine(e)) {
+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Mne(e)) {
let { onComplete: n, ...r } = i || {};
- typeof n == "function" && (s = n), o = Fne(e, {
+ typeof n == "function" && (s = n), o = jne(e, {
...c,
...r
}, t);
} else {
let { onComplete: n, ...r } = a || {};
- typeof n == "function" && (s = n), o = Iy(e, i, {
+ typeof n == "function" && (s = n), o = By(e, i, {
...c,
...r
}, t);
@@ -20105,13 +20105,13 @@ function Lne(e = {}) {
}
return i;
}
-var Rne = Object.assign(Lne(), {
+var Pne = Object.assign(Nne(), {
addEffect: Rh,
removeEffect: zh
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function zne(e, t, n, r) {
+function Fne(e, t, n, r) {
if (e == null) return [];
let i = Kh(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
@@ -20147,12 +20147,12 @@ function zne(e, t, n, r) {
}
return s;
}
-var Bne = /*@__PURE__*/ ((e) => {
+var Ine = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new Lm(zne(t, n, r, e));
+ return new Lm(Fne(t, n, r, e));
}
return t;
-})(), Ly = Sne, Ry = class {
+})(), Vy = vne, Hy = 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;
}
@@ -20167,22 +20167,22 @@ var Bne = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, zy = class extends Ry {
+}, Uy = class extends Hy {
filter(e, t, n) {
- let [r, i] = Uy(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = qy(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends Ry {
+(class extends Hy {
static {
this.type = "header";
}
});
-var By = class extends Ry {
+var Wy = class extends Hy {
static {
this.type = "loader";
}
-}, Vy = class extends zy {
+}, Gy = class extends Uy {
static {
this.type = "item";
}
@@ -20193,7 +20193,7 @@ var By = class extends Ry {
}
return null;
}
-}, Vne = class extends zy {
+}, Lne = class extends Uy {
static {
this.type = "section";
}
@@ -20205,7 +20205,7 @@ var By = class extends Ry {
}
return null;
}
-}, Hy = class {
+}, Ky = class {
get size() {
return this.itemCount;
}
@@ -20280,14 +20280,14 @@ var By = class extends Ry {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Uy(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = qy(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 Uy(e, t, n, r) {
+function qy(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -20302,7 +20302,7 @@ function Uy(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var Wy = class {
+var Jy = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -20383,7 +20383,7 @@ var Wy = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, Gy = class e extends Wy {
+}, Yy = class e extends Jy {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -20434,7 +20434,7 @@ var Wy = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, Hne = class extends Wy {
+}, Rne = class extends Jy {
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;
}
@@ -20442,7 +20442,7 @@ var Wy = class {
return !0;
}
createElement(e) {
- return new Gy(e, this);
+ return new Yy(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -20464,8 +20464,8 @@ var Wy = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof Gy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof Gy ? (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 Yy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof Yy ? (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() {
@@ -20484,13 +20484,13 @@ var Wy = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Ky(e) {
+function Xy(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, D.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = Une(a) ? a : null, o = n ? s.get(n) : null;
+ let n = zne(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -20515,7 +20515,7 @@ function Ky(e) {
i
]);
}
-function Une(e) {
+function zne(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -20525,25 +20525,25 @@ function Une(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function qy(e) {
+function Zy(e) {
e.focus({ preventScroll: !0 });
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Jy = (e) => Wne(e) ? e.document : Gne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Yy = (e) => Jy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function Xy(e) {
+var Qy = (e) => Bne(e) ? e.document : Vne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), $y = (e) => Qy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function eb(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function Wne(e) {
+function Bne(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function Gne(e) {
- return Xy(e) && e.nodeType === 9;
+function Vne(e) {
+ return eb(e) && e.nodeType === 9;
}
-function Zy(e) {
- return Xy(e) && e.nodeType === 11 && "host" in e;
+function tb(e) {
+ return eb(e) && e.nodeType === 11 && "host" in e;
}
-function Qy(e, t, n, r) {
+function nb(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);
@@ -20551,7 +20551,7 @@ function Qy(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function $y(e, t, n, r) {
+function rb(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -20566,73 +20566,73 @@ function $y(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var Kne = !1;
-function eb() {
- return Kne;
+var Hne = !1;
+function ib() {
+ return Hne;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function tb(e, t) {
- if (!eb()) return t && e ? e.contains(t) : !1;
+function ab(e, t) {
+ if (!ib()) 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 : Zy(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : tb(n) ? n.host : n.parentNode;
}
return !1;
}
-var nb = (e = document) => {
- if (!eb()) return e.activeElement;
+var ob = (e = document) => {
+ if (!ib()) 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 (eb() && e.target instanceof Element && e.target.shadowRoot) {
+ if (ib() && 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 rb(e, t) {
+function sb(e, t) {
if (t === null) return [];
- t ??= Yy(e);
+ t ??= $y(e);
let n = [t];
- if (!eb() || !e || e === t) return n;
+ if (!ib() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; Zy(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; tb(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function ib(e) {
+function cb(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Yy(e);
+ let t = e.getRootNode(), n = $y(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var ab = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function ob(e) {
- let t = Yy(e);
+var lb = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function ub(e) {
+ let t = $y(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 } = Yy(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = $y(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function sb(e, t) {
+function db(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 cb(e, t) {
- return ab ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && ob(e) && sb(e, t) && (!e.parentElement || cb(e.parentElement, e));
+function fb(e, t) {
+ return lb ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && ub(e) && db(e, t) && (!e.parentElement || fb(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var lb = [
+var pb = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -20647,41 +20647,41 @@ var lb = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], ub = lb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-lb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var db = lb.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function fb(e, t) {
- return e.matches(ub) && !mb(e) && (t?.skipVisibilityCheck || cb(e));
+], mb = pb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+pb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var hb = pb.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function gb(e, t) {
+ return e.matches(mb) && !vb(e) && (t?.skipVisibilityCheck || fb(e));
}
-function pb(e) {
- return e.matches(db) && cb(e) && !mb(e);
+function _b(e) {
+ return e.matches(hb) && fb(e) && !vb(e);
}
-function mb(e) {
+function vb(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Yy(t).HTMLElement && t.inert) return !0;
+ if (t instanceof $y(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var hb = typeof document < "u" ? D.useLayoutEffect : () => {};
+var yb = typeof document < "u" ? D.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function gb(e) {
+function bb(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function _b(e, t) {
+function xb(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function vb(e) {
+function Sb(e) {
let t = (0, D.useRef)({
isFocused: !1,
observer: null
});
- return hb(() => {
+ return yb(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -20693,14 +20693,14 @@ function vb(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = gb(r);
+ let t = bb(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 === nb() ? null : nb();
+ let e = n === ob() ? null : ob();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -20713,83 +20713,83 @@ function vb(e) {
}
}, [e]);
}
-var yb = !1;
-function bb(e) {
- for (; e && !fb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = nb(Yy(e).document);
+var Cb = !1;
+function wb(e) {
+ for (; e && !gb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = ob($y(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && Zy(n) ? n : Yy(e), i = (t) => t === e || Xy(t) && tb(e, t), a = (e) => e === t || t != null && Xy(e) && tb(t, e);
- yb = !0;
+ let n = e?.getRootNode(), r = n != null && tb(n) ? n : $y(e), i = (t) => t === e || eb(t) && ab(e, t), a = (e) => e === t || t != null && eb(e) && ab(t, e);
+ Cb = !0;
let o = !1, s = (e) => {
(a(G(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, qy(t), d()));
+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Zy(t), d()));
}, l = (e) => {
(i(G(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, qy(t), d()));
+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Zy(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), yb = !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), Cb = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function xb(e) {
+function Tb(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 Sb(e) {
+function Eb(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function Cb(e) {
+function Db(e) {
let t = null;
return () => (t ??= e(), t);
}
-var wb = Cb(function() {
- return Sb(/^Mac/i);
-}), Tb = Cb(function() {
- return Sb(/^iPhone/i);
-}), Eb = Cb(function() {
- return Sb(/^iPad/i) || wb() && navigator.maxTouchPoints > 1;
-}), Db = Cb(function() {
- return Tb() || Eb();
-}), Ob = Cb(function() {
- return wb() || Db();
-}), kb = Cb(function() {
- return xb(/AppleWebKit/i) && (Db() || !Ab());
-}), Ab = Cb(function() {
- return xb(/Chrome|CriOS|CrMo/i);
-}), jb = Cb(function() {
- return xb(/Android/i);
+var Ob = Db(function() {
+ return Eb(/^Mac/i);
+}), kb = Db(function() {
+ return Eb(/^iPhone/i);
+}), Ab = Db(function() {
+ return Eb(/^iPad/i) || Ob() && navigator.maxTouchPoints > 1;
+}), jb = Db(function() {
+ return kb() || Ab();
+}), Mb = Db(function() {
+ return Ob() || jb();
+}), Nb = Db(function() {
+ return Tb(/AppleWebKit/i) && (jb() || !Pb());
+}), Pb = Db(function() {
+ return Tb(/Chrome|CriOS|CrMo/i);
+}), Fb = Db(function() {
+ return Tb(/Android/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Mb(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : jb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function Ib(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : Fb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function Nb(e) {
- return !jb() && e.width === 0 && e.height === 0 || jb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function Lb(e) {
+ return !Fb() && e.width === 0 && e.height === 0 || Fb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
-var Pb = /*#__PURE__*/ (0, D.createContext)({
+var Rb = /*#__PURE__*/ (0, D.createContext)({
isNative: !0,
- open: qne,
+ open: Une,
useHref: (e) => e
});
-function Fb() {
- return (0, D.useContext)(Pb);
+function zb() {
+ return (0, D.useContext)(Rb);
}
-function Ib(e, t) {
+function Bb(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 Lb(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = kb() && wb() && !Eb() ? new KeyboardEvent("keydown", {
+function Vb(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Nb() && Ob() && !Ab() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -20804,21 +20804,21 @@ function Lb(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- Lb.isOpening = n, qy(e), e.dispatchEvent(s), Lb.isOpening = !1;
+ Vb.isOpening = n, Zy(e), e.dispatchEvent(s), Vb.isOpening = !1;
}
-Lb.isOpening = !1;
-function Rb(e, t) {
+Vb.isOpening = !1;
+function Hb(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 qne(e, t) {
- Rb(e, (e) => Lb(e, t));
+function Une(e, t) {
+ Hb(e, (e) => Vb(e, t));
}
-function zb(e) {
- let t = Fb().useHref(e.href ?? "");
+function Ub(e) {
+ let t = zb().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -20828,8 +20828,8 @@ function zb(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function Bb(e) {
- let t = Fb().useHref(e?.href ?? ""), n = {};
+function Wb(e) {
+ let t = zb().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -20840,140 +20840,140 @@ function Bb(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Jne(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Ib(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function Wne(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Bb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Vb = {
+var Gb = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, Hb = /*#__PURE__*/ D.createContext(Vb), Yne = /*#__PURE__*/ D.createContext(!1);
+}, Kb = /*#__PURE__*/ D.createContext(Gb), Gne = /*#__PURE__*/ D.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var Ub = /* @__PURE__ */ new WeakMap();
-function Xne(e = !1) {
- let t = (0, D.useContext)(Hb), n = (0, D.useRef)(null);
+var qb = /* @__PURE__ */ new WeakMap();
+function Kne(e = !1) {
+ let t = (0, D.useContext)(Kb), n = (0, D.useRef)(null);
if (n.current === null && !e) {
let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = Ub.get(e);
- n == null ? Ub.set(e, {
+ let n = qb.get(e);
+ n == null ? qb.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, Ub.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, qb.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Zne(e) {
- let t = (0, D.useContext)(Hb), n = Xne(!!e), r = `react-aria${t.prefix}`;
+function qne(e) {
+ let t = (0, D.useContext)(Kb), n = Kne(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Qne(e) {
- let t = D.useId(), [n] = (0, D.useState)(Wb()), r = n ? "react-aria" : `react-aria${Vb.prefix}`;
+function Jne(e) {
+ let t = D.useId(), [n] = (0, D.useState)(Jb()), r = n ? "react-aria" : `react-aria${Gb.prefix}`;
return e || `${r}-${t}`;
}
-var $ne = typeof D.useId == "function" ? Qne : Zne;
-function ere() {
+var Yne = typeof D.useId == "function" ? Jne : qne;
+function Xne() {
return !1;
}
-function tre() {
+function Zne() {
return !0;
}
-function nre(e) {
+function Qne(e) {
return () => {};
}
-function Wb() {
- return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(nre, ere, tre) : (0, D.useContext)(Yne);
+function Jb() {
+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(Qne, Xne, Zne) : (0, D.useContext)(Gne);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var Gb = null, Kb = /* @__PURE__ */ new Set(), qb = /* @__PURE__ */ new Map(), Jb = !1, Yb = !1, rre = {
+var Yb = null, Xb = /* @__PURE__ */ new Set(), Zb = /* @__PURE__ */ new Map(), Qb = !1, $b = !1, $ne = {
Tab: !0,
Escape: !0
};
-function Xb(e, t) {
- for (let n of Kb) n(e, t);
+function ex(e, t) {
+ for (let n of Xb) n(e, t);
}
-function ire(e) {
- return !(e.metaKey || !wb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function ere(e) {
+ return !(e.metaKey || !Ob() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function Zb(e) {
- Jb = !0, !Lb.isOpening && ire(e) && (Gb = "keyboard", Xb("keyboard", e));
+function tx(e) {
+ Qb = !0, !Vb.isOpening && ere(e) && (Yb = "keyboard", ex("keyboard", e));
}
-function Qb(e) {
- Gb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Jb = !0, Xb("pointer", e));
+function nx(e) {
+ Yb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Qb = !0, ex("pointer", e));
}
-function $b(e) {
- !Lb.isOpening && Mb(e) && (Jb = !0, Gb = "virtual");
+function rx(e) {
+ !Vb.isOpening && Ib(e) && (Qb = !0, Yb = "virtual");
}
-function ex(e) {
- if (yb) return;
- let t = G(e), n = Yy(t), r = Jy(t);
- t === n ? Yb = !0 : t !== r && e.isTrusted && (!Jb && !Yb && (Gb = "virtual", Xb("virtual", e)), Jb = !1, Yb = !1);
+function ix(e) {
+ if (Cb) return;
+ let t = G(e), n = $y(t), r = Qy(t);
+ t === n ? $b = !0 : t !== r && e.isTrusted && (!Qb && !$b && (Yb = "virtual", ex("virtual", e)), Qb = !1, $b = !1);
}
-function tx() {
- yb || (Jb = !1, Yb = !0);
+function ax() {
+ Cb || (Qb = !1, $b = !0);
}
-function nx(e) {
- let t = nb(Jy(G(e)));
+function ox(e) {
+ let t = ob(Qy(G(e)));
queueMicrotask(() => {
- nb(Jy(G(e))) !== t && sx("keyboard");
+ ob(Qy(G(e))) !== t && dx("keyboard");
});
}
-function rx(e) {
+function sx(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Yy(e), n = Jy(e);
- if (qb.get(t)) return;
+ let t = $y(e), n = Qy(e);
+ if (Zb.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- Jb = !0, r.apply(this, arguments);
+ Qb = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Zb, !0), n.addEventListener("keyup", Zb, !0), n.addEventListener("click", $b, !0), n.addEventListener("invalid", nx, !0), t.addEventListener("focus", ex, !0), t.addEventListener("blur", tx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Qb, !0), n.addEventListener("pointermove", Qb, !0), n.addEventListener("pointerup", Qb, !0)), t.addEventListener("beforeunload", () => {
- ix(e);
- }, { once: !0 }), qb.set(t, { focus: r });
+ }), n.addEventListener("keydown", tx, !0), n.addEventListener("keyup", tx, !0), n.addEventListener("click", rx, !0), n.addEventListener("invalid", ox, !0), t.addEventListener("focus", ix, !0), t.addEventListener("blur", ax, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", nx, !0), n.addEventListener("pointermove", nx, !0), n.addEventListener("pointerup", nx, !0)), t.addEventListener("beforeunload", () => {
+ cx(e);
+ }, { once: !0 }), Zb.set(t, { focus: r });
}
-var ix = (e, t) => {
- let n = Yy(e), r = Jy(e);
- t && r.removeEventListener("DOMContentLoaded", t), qb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var cx = (e, t) => {
+ let n = $y(e), r = Qy(e);
+ t && r.removeEventListener("DOMContentLoaded", t), Zb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: qb.get(n).focus
- }), r.removeEventListener("keydown", Zb, !0), r.removeEventListener("keyup", Zb, !0), r.removeEventListener("click", $b, !0), r.removeEventListener("invalid", nx, !0), n.removeEventListener("focus", ex, !0), n.removeEventListener("blur", tx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Qb, !0), r.removeEventListener("pointermove", Qb, !0), r.removeEventListener("pointerup", Qb, !0)), qb.delete(n));
+ value: Zb.get(n).focus
+ }), r.removeEventListener("keydown", tx, !0), r.removeEventListener("keyup", tx, !0), r.removeEventListener("click", rx, !0), r.removeEventListener("invalid", ox, !0), n.removeEventListener("focus", ix, !0), n.removeEventListener("blur", ax, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", nx, !0), r.removeEventListener("pointermove", nx, !0), r.removeEventListener("pointerup", nx, !0)), Zb.delete(n));
};
-function are(e) {
- let t = Jy(e), n;
+function tre(e) {
+ let t = Qy(e), n;
return t.readyState === "loading" ? (n = () => {
- rx(e);
- }, t.addEventListener("DOMContentLoaded", n)) : rx(e), () => ix(e, n);
+ sx(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : sx(e), () => cx(e, n);
}
-typeof document < "u" && are();
-function ax() {
- return Gb !== "pointer";
+typeof document < "u" && tre();
+function lx() {
+ return Yb !== "pointer";
}
-function ox() {
- return Gb;
+function ux() {
+ return Yb;
}
-function sx(e) {
- Gb = e, Xb(e, null);
+function dx(e) {
+ Yb = e, ex(e, null);
}
-function cx() {
- rx();
- let [e, t] = (0, D.useState)(Gb);
+function fx() {
+ sx();
+ let [e, t] = (0, D.useState)(Yb);
return (0, D.useEffect)(() => {
let e = () => {
- t(Gb);
+ t(Yb);
};
- return Kb.add(e), () => {
- Kb.delete(e);
+ return Xb.add(e), () => {
+ Xb.delete(e);
};
- }, []), Wb() ? null : e;
+ }, []), Jb() ? null : e;
}
-var ore = /* @__PURE__ */ new Set([
+var nre = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -20984,90 +20984,90 @@ var ore = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function sre(e, t, n) {
- let r = n ? G(n) : void 0, i = Jy(r), a = Yy(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 = nb(i);
- return e = e || u instanceof o && !ore.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !rre[n.key]);
+function rre(e, t, n) {
+ let r = n ? G(n) : void 0, i = Qy(r), a = $y(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 = ob(i);
+ return e = e || u instanceof o && !nre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !$ne[n.key]);
}
-function lx(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || ax());
- return ux((e) => {
+function px(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || lx());
+ return mx((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function ux(e, t, n) {
- rx(), (0, D.useEffect)(() => {
+function mx(e, t, n) {
+ sx(), (0, D.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- sre(!!n?.isTextInput, t, r) && e(ax());
+ rre(!!n?.isTextInput, t, r) && e(lx());
};
- return Kb.add(t), () => {
- Kb.delete(t);
+ return Xb.add(t), () => {
+ Xb.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var dx = /* @__PURE__ */ new Map(), fx = /* @__PURE__ */ new Set();
-function px(e) {
+var hx = /* @__PURE__ */ new Map(), gx = /* @__PURE__ */ new Set();
+function _x(e) {
return "propertyName" in e;
}
-function cre(e) {
+function ire(e) {
let t = G(e);
- if (!px(e) || !t) return;
- let n = dx.get(t);
- n || (n = /* @__PURE__ */ new Set(), dx.set(t, n), t.addEventListener("transitioncancel", mx, { once: !0 })), n.add(e.propertyName);
+ if (!_x(e) || !t) return;
+ let n = hx.get(t);
+ n || (n = /* @__PURE__ */ new Set(), hx.set(t, n), t.addEventListener("transitioncancel", vx, { once: !0 })), n.add(e.propertyName);
}
-function mx(e) {
+function vx(e) {
let t = G(e);
- if (!px(e) || !t) return;
- let n = dx.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", mx), dx.delete(t)), dx.size === 0)) for (let e of fx) e(!0), fx.delete(e);
+ if (!_x(e) || !t) return;
+ let n = hx.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", vx), hx.delete(t)), hx.size === 0)) for (let e of gx) e(!0), gx.delete(e);
}
-function hx() {
- Qy(document, "transitionrun", cre), Qy(document, "transitionend", mx);
+function yx() {
+ nb(document, "transitionrun", ire), nb(document, "transitionend", vx);
}
-function lre() {
- for (let [e] of dx) "isConnected" in e && !e.isConnected && dx.delete(e);
+function are() {
+ for (let [e] of hx) "isConnected" in e && !e.isConnected && hx.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? Qy(document, "DOMContentLoaded", hx) : hx());
-function gx(e) {
+typeof document < "u" && (document.readyState === "loading" ? nb(document, "DOMContentLoaded", yx) : yx());
+function bx(e) {
let t = window.requestAnimationFrame(() => {
- if (lre(), dx.size === 0) return e(!1);
- fx.add(e);
+ if (are(), hx.size === 0) return e(!1);
+ gx.add(e);
});
return () => {
- window.cancelAnimationFrame(t), fx.delete(e);
+ window.cancelAnimationFrame(t), gx.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function _x(e) {
+function xx(e) {
if (!e.isConnected) return;
- let t = Jy(e);
- if (ox() === "virtual") {
- let n = nb(t);
- gx(() => {
- let r = nb(t);
- (r === n || r === t.body) && e.isConnected && qy(e);
+ let t = Qy(e);
+ if (ux() === "virtual") {
+ let n = ob(t);
+ bx(() => {
+ let r = ob(t);
+ (r === n || r === t.body) && e.isConnected && Zy(e);
});
- } else qy(e);
+ } else Zy(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function vx(...e) {
+function Sx(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function ure(e) {
+function ore(e) {
let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);
});
- return hb(() => {
+ return yb(() => {
r.current = t, i.current && a.current();
}), [t, (0, D.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -21075,21 +21075,21 @@ function ure(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var dre = !!(typeof window < "u" && window.document && window.document.createElement), yx = /* @__PURE__ */ new Map(), bx;
-typeof FinalizationRegistry < "u" && (bx = new FinalizationRegistry((e) => {
- yx.delete(e);
+var sre = !!(typeof window < "u" && window.document && window.document.createElement), Cx = /* @__PURE__ */ new Map(), wx;
+typeof FinalizationRegistry < "u" && (wx = new FinalizationRegistry((e) => {
+ Cx.delete(e);
}));
-var xx = /* @__PURE__ */ new WeakMap();
-function Sx(e) {
- let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = $ne(t), a = (0, D.useRef)(null), o = xx.get(a);
- if (bx && o !== i && (o != null && bx.unregister(a), bx.register(a, i, a), xx.set(a, i)), dre) {
- let e = yx.get(i);
- e && !e.includes(r) ? e.push(r) : yx.set(i, [r]);
- }
- return hb(() => {
+var Tx = /* @__PURE__ */ new WeakMap();
+function Ex(e) {
+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = Yne(t), a = (0, D.useRef)(null), o = Tx.get(a);
+ if (wx && o !== i && (o != null && wx.unregister(a), wx.register(a, i, a), Tx.set(a, i)), sre) {
+ let e = Cx.get(i);
+ e && !e.includes(r) ? e.push(r) : Cx.set(i, [r]);
+ }
+ return yb(() => {
let e = i;
return () => {
- bx && (bx.unregister(a), xx.delete(a)), yx.delete(e);
+ wx && (wx.unregister(a), Tx.delete(a)), Cx.delete(e);
};
}, [i]), (0, D.useEffect)(() => {
let e = r.current;
@@ -21098,20 +21098,20 @@ function Sx(e) {
};
}), i;
}
-function fre(e, t) {
+function cre(e, t) {
if (e === t) return e;
- let n = yx.get(e);
+ let n = Cx.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = yx.get(t);
+ let r = Cx.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Cx(e = []) {
- let t = Sx(), [n, r] = ure(t), i = (0, D.useCallback)(() => {
+function Dx(e = []) {
+ let t = Ex(), [n, r] = ore(t), i = (0, D.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return hb(i, [
+ return yb(i, [
t,
i,
...e
@@ -21119,38 +21119,38 @@ function Cx(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function wx(...e) {
+function Ox(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Tx(e, t);
+ let r = kx(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Tx(e[n], null);
+ typeof t == "function" ? t() : kx(e[n], null);
});
};
};
}
-function Tx(e, t) {
+function kx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Ex(e) {
+function Ax(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 = Ex(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Ax(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function Dx() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ex(e)) && (r && (r += " "), r += t);
+function jx() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ax(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -21161,18 +21161,18 @@ 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] = vx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Dx(n, i) : e === "id" && n && i ? t.id = fre(n, i) : e === "ref" && n && i ? t.ref = wx(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] = Sx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = jx(n, i) : e === "id" && n && i ? t.id = cre(n, i) : e === "ref" && n && i ? t.ref = Ox(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Ox(e) {
+function Mx(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {
if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = vb(a), s = (0, D.useCallback)((e) => {
- let t = G(e), r = Jy(t), a = r ? nb(r) : nb();
+ }, [r, i]), o = Sb(a), s = (0, D.useCallback)((e) => {
+ let t = G(e), r = Qy(t), a = r ? ob(r) : ob();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -21186,7 +21186,7 @@ function Ox(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function kx(e) {
+function Nx(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -21211,33 +21211,33 @@ function kx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var pre = /* @__PURE__ */ new Set([
+var lre = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), mre = [
+]), ure = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function hre(e) {
+function dre(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(wb() ? "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(Ob() ? "Meta" : "Control"), t;
}
-function gre(e) {
+function fre(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 Ax(e) {
- return mre.filter((t) => e.has(t));
+function Px(e) {
+ return ure.filter((t) => e.has(t));
}
-function _re(e) {
+function pre(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return pre.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 lre.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,
@@ -21249,10 +21249,10 @@ function _re(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 jx(e) {
+function Fx(e) {
return e.toLowerCase();
}
-var vre = {
+var mre = {
space: " ",
esc: "escape",
del: "delete",
@@ -21264,26 +21264,26 @@ var vre = {
pageup: "pageup",
pagedown: "pagedown"
};
-function yre(e) {
- let t = jx(e);
- return vre[t] ?? t;
+function hre(e) {
+ let t = Fx(e);
+ return mre[t] ?? t;
}
-function bre(e) {
- let t = Ax(hre(e)), n = yre(e.key);
+function gre(e) {
+ let t = Px(dre(e)), n = hre(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function xre(e) {
- let t = Ax(gre(e)), n = jx(e.key);
+function _re(e) {
+ let t = Px(fre(e)), n = Fx(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Sre(e) {
+function vre(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = _re(n);
- t.set(bre(e), r);
+ let e = pre(n);
+ t.set(gre(e), r);
}
return (e) => {
- let n = xre(e), r = t.get(n), i = r?.(e);
+ let n = _re(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -21295,16 +21295,16 @@ function Sre(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function Mx(e) {
+function Ix(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Sre(t), s = kx((e) => {
- tb(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = kx((e) => {
- tb(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = vre(t), s = Nx((e) => {
+ ab(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = Nx((e) => {
+ ab(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? vx(e.onKeyDown, s) : s, a = e.onKeyUp ? vx(e.onKeyUp, c) : c;
- } else i = kx(e.onKeyDown), a = kx(e.onKeyUp);
+ i = e.onKeyDown ? Sx(e.onKeyDown, s) : s, a = e.onKeyUp ? Sx(e.onKeyUp, c) : c;
+ } else i = Nx(e.onKeyDown), a = Nx(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -21312,7 +21312,7 @@ function Mx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function Nx(e) {
+function Lx(e) {
let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -21335,8 +21335,8 @@ function Nx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function Px(e, t) {
- hb(() => {
+function Rx(e, t) {
+ yb(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -21344,17 +21344,17 @@ function Px(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var Fx = /*#__PURE__*/ D.createContext(null);
-function Cre(e) {
- let t = (0, D.useContext)(Fx) || {};
- Px(t, e);
+var zx = /*#__PURE__*/ D.createContext(null);
+function yre(e) {
+ let t = (0, D.useContext)(zx) || {};
+ Rx(t, e);
let { ref: n, ...r } = t;
return r;
}
-function Ix(e, t) {
- let { focusProps: n } = Ox(e), { keyboardProps: r } = Mx(e), i = K(n, r), a = Cre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);
+function Bx(e, t) {
+ let { focusProps: n } = Mx(e), { keyboardProps: r } = Ix(e), i = K(n, r), a = yre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);
(0, D.useEffect)(() => {
- s.current && t.current && _x(t.current), s.current = !1;
+ s.current && t.current && xx(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: K({
@@ -21389,22 +21389,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var Lx = /*#__PURE__*/ (0, D.createContext)(!1);
-function wre(e) {
- if ((0, D.useContext)(Lx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);
- let t = /*#__PURE__*/ D.createElement(Lx.Provider, { value: !0 }, e.children);
+var Vx = /*#__PURE__*/ (0, D.createContext)(!1);
+function bre(e) {
+ if ((0, D.useContext)(Vx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);
+ let t = /*#__PURE__*/ D.createElement(Vx.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ D.createElement("template", null, t);
}
-function Rx(e) {
- let t = (t, n) => (0, D.useContext)(Lx) ? null : e(t, n);
+function Hx(e) {
+ let t = (t, n) => (0, D.useContext)(Vx) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);
}
-function zx() {
- return (0, D.useContext)(Lx);
+function Ux() {
+ return (0, D.useContext)(Vx);
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var Tre = /* @__PURE__ */ o(((e) => {
+var xre = /* @__PURE__ */ o(((e) => {
var t = v();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -21442,47 +21442,47 @@ var Tre = /* @__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;
-})), Bx = /* @__PURE__ */ o(((e, t) => {
- t.exports = Tre();
-})), Ere = Bx(), Vx = /*#__PURE__*/ (0, D.createContext)(!1), Hx = /*#__PURE__*/ (0, D.createContext)(null);
-function Ux(e) {
- if ((0, D.useContext)(Hx)) return e.content;
- let { collection: t, document: n } = Are(e.createCollection);
- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(wre, null, /*#__PURE__*/ D.createElement(Hx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Dre, {
+})), Wx = /* @__PURE__ */ o(((e, t) => {
+ t.exports = xre();
+})), Sre = Wx(), Gx = /*#__PURE__*/ (0, D.createContext)(!1), Kx = /*#__PURE__*/ (0, D.createContext)(null);
+function qx(e) {
+ if ((0, D.useContext)(Kx)) return e.content;
+ let { collection: t, document: n } = Ere(e.createCollection);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(bre, null, /*#__PURE__*/ D.createElement(Kx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Cre, {
render: e.children,
collection: t
}));
}
-function Dre({ collection: e, render: t }) {
+function Cre({ collection: e, render: t }) {
return t(e);
}
-function Ore(e, t, n) {
- let r = Wb(), i = (0, D.useRef)(r);
+function wre(e, t, n) {
+ let r = Jb(), i = (0, D.useRef)(r);
i.current = r;
let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Ere.useSyncExternalStore)(e, a);
+ return (0, Sre.useSyncExternalStore)(e, a);
}
-var kre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Ore;
-function Are(e) {
- let [t] = (0, D.useState)(() => new Hne(e?.() || new Hy()));
+var Tre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : wre;
+function Ere(e) {
+ let [t] = (0, D.useState)(() => new Rne(e?.() || new Ky()));
return {
- collection: kre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {
+ collection: Tre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var Wx = /*#__PURE__*/ (0, D.createContext)(null);
-function jre(e) {
- return class extends Ry {
+var Jx = /*#__PURE__*/ (0, D.createContext)(null);
+function Dre(e) {
+ return class extends Hy {
static {
this.type = e;
}
};
}
-function Gx(e, t, n, r, i, a) {
- typeof e == "string" && (e = jre(e));
+function Yx(e, t, n, r, i, a) {
+ typeof e == "string" && (e = Dre(e));
let o = (0, D.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -21491,86 +21491,86 @@ function Gx(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, D.useContext)(Wx);
+ ]), s = (0, D.useContext)(Jx);
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__*/ D.createElement(Wx.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__*/ D.createElement(Jx.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);
}
-function Kx(e, t) {
+function Xx(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {
- let a = (0, D.useContext)(Fx);
- if (!(0, D.useContext)(Vx)) {
+ let a = (0, D.useContext)(zx);
+ if (!(0, D.useContext)(Gx)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Gx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Fx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));
+ return Yx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(zx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function qx(e, t, n = Jx) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Gx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));
+function Zx(e, t, n = Qx) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Yx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));
return i.displayName = t.name, i;
}
-function Jx(e) {
- return Ky({
+function Qx(e) {
+ return Xy({
...e,
addIdAndValue: !0
});
}
-var Yx = /*#__PURE__*/ (0, D.createContext)(null);
-function Xx(e) {
- let t = (0, D.useContext)(Yx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Jx({
+var $x = /*#__PURE__*/ (0, D.createContext)(null);
+function eS(e) {
+ let t = (0, D.useContext)($x), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Qx({
...e,
idScope: r,
dependencies: n
});
- return (0, D.useContext)(Hx) && (i = /*#__PURE__*/ D.createElement(Mre, null, i)), t = (0, D.useMemo)(() => ({
+ return (0, D.useContext)(Kx) && (i = /*#__PURE__*/ D.createElement(Ore, null, i)), t = (0, D.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ D.createElement(Yx.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ D.createElement($x.Provider, { value: t }, i);
}
-function Mre({ children: e }) {
- let t = (0, D.useContext)(Hx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Hx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Vx.Provider, { value: !0 }, e)), [e]);
- return Wb() ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Et.createPortal)(n, t);
+function Ore({ children: e }) {
+ let t = (0, D.useContext)(Kx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Kx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Gx.Provider, { value: !0 }, e)), [e]);
+ return Jb() ? /*#__PURE__*/ D.createElement(Jx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Et.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var Nre = "react-aria-clear-focus", Pre = "react-aria-focus";
+var kre = "react-aria-clear-focus", Are = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Zx(e) {
- let t = Ire(Jy(e));
- t !== e && (t && Fre(t, e), e && Qx(e, t));
+function tS(e) {
+ let t = Mre(Qy(e));
+ t !== e && (t && jre(t, e), e && nS(e, t));
}
-function Fre(e, t) {
+function jre(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Qx(e, t) {
+function nS(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function Ire(e) {
- let t = nb(e), n = t?.getAttribute("aria-activedescendant");
+function Mre(e) {
+ let t = ob(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function $x(e, t) {
- let n = Yy(t), r = Jy(t);
+function rS(e, t) {
+ let n = $y(t), r = Qy(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;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-var eS = 100, tS = 600, nS = {
+var iS = 100, aS = 600, oS = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -21580,7 +21580,7 @@ var eS = 100, tS = 600, nS = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, Lre = /* @__PURE__ */ new Set([
+}, Nre = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21591,7 +21591,7 @@ var eS = 100, tS = 600, nS = {
"submit",
"reset"
]);
-function rS() {
+function sS() {
let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);
return {
width: e * n,
@@ -21599,59 +21599,59 @@ function rS() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function Rre(e) {
- nS.resizeTimeStamp <= e.timeStamp + 50 && (nS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(nS.resizeTimeout), nS.resizeTimeout = window.setTimeout(iS, 150));
+function Pre(e) {
+ oS.resizeTimeStamp <= e.timeStamp + 50 && (oS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(oS.resizeTimeout), oS.resizeTimeout = window.setTimeout(cS, 150));
}
-function iS() {
- let e = $x("viewport");
- if (jb() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = rS(), r = t - nS.startTimeStamp, i = nS.screenHeight - n.height, a = nS.screenAngle - n.angle;
- Math.abs(a) % 180 && nS.screenWidth - n.height < eS && (nS.screenWidth = n.width, nS.screenHeight = n.height, nS.screenAngle = n.angle, i = 0), r > tS && (window.clearTimeout(nS.screenTimeout), nS.screenTimeout = window.setTimeout(() => {
- let e = sS(document.hasFocus() ? nb() : null), t = rS();
- Math.abs(nS.screenAngle - t.angle) % 180 || nS.isOpen && e || (nS.screenWidth = t.width, nS.screenHeight = t.height, nS.screenAngle = t.angle, nS.isOpen = !1);
- }, tS)), r <= tS && i >= eS && (nS.endTimeStamp = t), nS.isOpen = i >= eS;
+function cS() {
+ let e = rS("viewport");
+ if (Fb() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = sS(), r = t - oS.startTimeStamp, i = oS.screenHeight - n.height, a = oS.screenAngle - n.angle;
+ Math.abs(a) % 180 && oS.screenWidth - n.height < iS && (oS.screenWidth = n.width, oS.screenHeight = n.height, oS.screenAngle = n.angle, i = 0), r > aS && (window.clearTimeout(oS.screenTimeout), oS.screenTimeout = window.setTimeout(() => {
+ let e = dS(document.hasFocus() ? ob() : null), t = sS();
+ Math.abs(oS.screenAngle - t.angle) % 180 || oS.isOpen && e || (oS.screenWidth = t.width, oS.screenHeight = t.height, oS.screenAngle = t.angle, oS.isOpen = !1);
+ }, aS)), r <= aS && i >= iS && (oS.endTimeStamp = t), oS.isOpen = i >= iS;
}
-function zre() {
- let e = rS(), t = nS.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !nS.isOpen) {
- let e = nS.screenWidth;
- nS.screenWidth = nS.screenHeight, nS.screenHeight = e;
+function Fre() {
+ let e = sS(), t = oS.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !oS.isOpen) {
+ let e = oS.screenWidth;
+ oS.screenWidth = oS.screenHeight, oS.screenHeight = e;
}
- nS.isOpen || (nS.screenAngle = e.angle);
+ oS.isOpen || (oS.screenAngle = e.angle);
}
-function Bre(e) {
- let t = sS(G(e)), n = performance.now(), r = rS(), i = nS.screenHeight - r.height;
- i < eS && t && (nS.screenWidth = r.width, nS.screenHeight = r.height, nS.screenAngle = r.angle, nS.startTimeStamp = n), t && window.clearTimeout(nS.screenTimeout), i >= eS && t && (nS.endTimeStamp = n);
+function Ire(e) {
+ let t = dS(G(e)), n = performance.now(), r = sS(), i = oS.screenHeight - r.height;
+ i < iS && t && (oS.screenWidth = r.width, oS.screenHeight = r.height, oS.screenAngle = r.angle, oS.startTimeStamp = n), t && window.clearTimeout(oS.screenTimeout), i >= iS && t && (oS.endTimeStamp = n);
}
-function aS() {
- let e = rS();
- Qy(window.visualViewport, "resize", kb() ? iS : Rre), Qy(window.screen.orientation, "change", zre), Qy(window, "focus", Bre, {
+function lS() {
+ let e = sS();
+ nb(window.visualViewport, "resize", Nb() ? cS : Pre), nb(window.screen.orientation, "change", Fre), nb(window, "focus", Ire, {
capture: !0,
passive: !0
- }), nS.screenWidth = e.width, nS.screenHeight = e.height, nS.screenAngle = e.angle;
+ }), oS.screenWidth = e.width, oS.screenHeight = e.height, oS.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? Qy(document, "DOMContentLoaded", aS) : aS());
-function oS() {
- let e = $x("viewport");
- return jb() && e?.includes("overlays-content") ? !1 : nS.isOpen ? !0 : nS.startTimeStamp ? nS.endTimeStamp >= nS.startTimeStamp ? !0 : performance.now() - nS.startTimeStamp <= tS ? nS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? nb(document, "DOMContentLoaded", lS) : lS());
+function uS() {
+ let e = rS("viewport");
+ return Fb() && e?.includes("overlays-content") ? !1 : oS.isOpen ? !0 : oS.startTimeStamp ? oS.endTimeStamp >= oS.startTimeStamp ? !0 : performance.now() - oS.startTimeStamp <= aS ? oS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function sS(e) {
- if (!(e instanceof Element) || !fb(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Lre.has(e.type);
+function dS(e) {
+ if (!(e instanceof Element) || !gb(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Nre.has(e.type);
return t || n || r;
}
-function cS(e) {
- return wb() ? e.metaKey : e.ctrlKey;
+function fS(e) {
+ return Ob() ? e.metaKey : e.ctrlKey;
}
-function lS() {
- return nS.isOpen;
+function pS() {
+ return oS.isOpen;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Vre = D.useInsertionEffect ?? hb;
-function uS(e) {
+var Lre = D.useInsertionEffect ?? yb;
+function mS(e) {
let t = (0, D.useRef)(null);
- return Vre(() => {
+ return Lre(() => {
t.current = e;
}, [e]), (0, D.useCallback)((...e) => {
let n = t.current;
@@ -21660,10 +21660,10 @@ function uS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function dS(e, t, n, r) {
- let i = uS(n), a = n == null;
+function hS(e, t, n, r) {
+ let i = mS(n), a = n == null;
(0, D.useEffect)(() => {
- if (!(a || e.current == null)) return Qy(e.current, t, i, r);
+ if (!(a || e.current == null)) return nb(e.current, t, i, r);
}, [
e,
t,
@@ -21673,9 +21673,9 @@ function dS(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function fS(e, t) {
+function gS(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Sx(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 = Ex(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
@@ -21683,7 +21683,7 @@ function fS(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var Hre = /* @__PURE__ */ new Set([
+var Rre = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -21694,7 +21694,7 @@ var Hre = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Ure = /* @__PURE__ */ new Set([
+]), zre = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -21715,20 +21715,20 @@ var Hre = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Wre(e) {
+function Bre(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 Hre.has(t.script);
+ if (t.script) return Rre.has(t.script);
}
let t = e.split("-")[0];
- return Ure.has(t);
+ return zre.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var pS = Symbol.for("react-aria.i18n.locale");
-function mS() {
- let e = typeof window < "u" && window[pS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var _S = Symbol.for("react-aria.i18n.locale");
+function vS() {
+ let e = typeof window < "u" && window[_S] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -21736,33 +21736,33 @@ function mS() {
}
return {
locale: e,
- direction: Wre(e) ? "rtl" : "ltr"
+ direction: Bre(e) ? "rtl" : "ltr"
};
}
-var hS = mS(), gS = /* @__PURE__ */ new Set();
-function _S() {
- hS = mS();
- for (let e of gS) e(hS);
+var yS = vS(), bS = /* @__PURE__ */ new Set();
+function xS() {
+ yS = vS();
+ for (let e of bS) e(yS);
}
-function Gre() {
- let e = Wb(), [t, n] = (0, D.useState)(hS);
- return (0, D.useEffect)(() => (gS.size === 0 && window.addEventListener("languagechange", _S), gS.add(n), () => {
- gS.delete(n), gS.size === 0 && window.removeEventListener("languagechange", _S);
+function Vre() {
+ let e = Jb(), [t, n] = (0, D.useState)(yS);
+ return (0, D.useEffect)(() => (bS.size === 0 && window.addEventListener("languagechange", xS), bS.add(n), () => {
+ bS.delete(n), bS.size === 0 && window.removeEventListener("languagechange", xS);
}), []), e ? {
- locale: typeof window < "u" && window[pS] || "en-US",
+ locale: typeof window < "u" && window[_S] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Kre = /*#__PURE__*/ D.createContext(null);
-function vS() {
- let e = Gre();
- return (0, D.useContext)(Kre) || e;
+var Hre = /*#__PURE__*/ D.createContext(null);
+function SS() {
+ let e = Vre();
+ return (0, D.useContext)(Hre) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18n.strings"), yS = void 0, bS = class e {
+var Ure = Symbol.for("react-aria.i18n.locale"), Wre = Symbol.for("react-aria.i18n.strings"), CS = void 0, wS = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -21773,39 +21773,39 @@ var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = Yre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = Gre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[qre];
- if (yS === void 0) {
- let t = window[Jre];
+ let n = window[Ure];
+ if (CS === void 0) {
+ let t = window[Wre];
if (!t) return null;
- yS = {};
- for (let r in t) yS[r] = new e({ [n]: t[r] }, n);
+ CS = {};
+ for (let r in t) CS[r] = new e({ [n]: t[r] }, n);
}
- let r = yS?.[t];
+ let r = CS?.[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 Yre(e, t, n = "en-US") {
+function Gre(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = Xre(e), i = Zre(e);
+ let r = Kre(e), i = qre(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 Xre(e) {
+function Kre(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function Zre(e) {
+function qre(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = class {
+var TS = /* @__PURE__ */ new Map(), ES = /* @__PURE__ */ new Map(), Jre = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -21816,37 +21816,37 @@ var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = xS.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), xS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = TS.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), TS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = SS.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), SS.set(this.locale, t)), t.format(e);
+ let t = ES.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), ES.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, CS = /* @__PURE__ */ new WeakMap();
-function $re(e) {
- let t = CS.get(e);
- return t || (t = new bS(e), CS.set(e, t)), t;
+}, DS = /* @__PURE__ */ new WeakMap();
+function Yre(e) {
+ let t = DS.get(e);
+ return t || (t = new wS(e), DS.set(e, t)), t;
}
-function eie(e, t) {
- return t && bS.getGlobalDictionaryForPackage(t) || $re(e);
+function Xre(e, t) {
+ return t && wS.getGlobalDictionaryForPackage(t) || Yre(e);
}
-function wS(e, t) {
- let { locale: n } = vS(), r = eie(e, t);
- return (0, D.useMemo)(() => new Qre(n, r), [n, r]);
+function OS(e, t) {
+ let { locale: n } = SS(), r = Xre(e, t);
+ return (0, D.useMemo)(() => new Jre(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set([
+var Zre = /* @__PURE__ */ new Set(["id"]), Qre = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), rie = /* @__PURE__ */ new Set([
+]), $re = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -21854,64 +21854,64 @@ var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), iie = /* @__PURE__ */ new Set([
+]), eie = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), TS = /* @__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(".")), aie = /^(data-.*)$/;
-function ES(e, t = {}) {
+]), kS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), tie = /^(data-.*)$/;
+function AS(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) && (tie.has(t) || n && nie.has(t) || r && rie.has(t) || i && iie.has(t) || a && (TS.has(t) || t.endsWith("Capture") && TS.has(t.slice(0, -7))) || o?.has(t) || aie.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Zre.has(t) || n && Qre.has(t) || r && $re.has(t) || i && eie.has(t) || a && (kS.has(t) || t.endsWith("Capture") && kS.has(t.slice(0, -7))) || o?.has(t) || tie.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var DS = "default", OS = "", kS = /* @__PURE__ */ new WeakMap();
-function AS(e) {
- if (Db() && kb()) {
- if (DS === "default") {
- let t = Jy(e);
- OS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- DS = "disabled";
+var jS = "default", MS = "", NS = /* @__PURE__ */ new WeakMap();
+function PS(e) {
+ if (jb() && Nb()) {
+ if (jS === "default") {
+ let t = Qy(e);
+ MS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ jS = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- kS.set(e, e.style[t]), e.style[t] = "none";
+ NS.set(e, e.style[t]), e.style[t] = "none";
}
}
-function jS(e) {
- if (Db() && kb()) {
- if (DS !== "disabled") return;
- DS = "restoring", setTimeout(() => {
- gx(() => {
- if (DS === "restoring") {
- let t = Jy(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = OS || ""), OS = "", DS = "default";
+function FS(e) {
+ if (jb() && Nb()) {
+ if (jS !== "disabled") return;
+ jS = "restoring", setTimeout(() => {
+ bx(() => {
+ if (jS === "restoring") {
+ let t = Qy(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = MS || ""), MS = "", jS = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && kS.has(e)) {
- let t = kS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), kS.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && NS.has(e)) {
+ let t = NS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), NS.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var MS = /* @__PURE__ */ new WeakMap();
-function NS(e) {
- let t = Jy(e), n = MS.get(t);
- return n ??= $x("csp-nonce", t), n !== void 0 && MS.set(t, n), n;
+var IS = /* @__PURE__ */ new WeakMap();
+function LS(e) {
+ let t = Qy(e), n = IS.get(t);
+ return n ??= rS("csp-nonce", t), n !== void 0 && IS.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var PS = D.createContext({ register: () => {} });
-PS.displayName = "PressResponderContext";
+var RS = D.createContext({ register: () => {} });
+RS.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function FS() {
+function zS() {
let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -21938,15 +21938,15 @@ function FS() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function oie(e) {
- let t = (0, D.useContext)(PS);
+function nie(e) {
+ let t = (0, D.useContext)(RS);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return Px(t, e.ref), e;
+ return Rx(t, e.ref), e;
}
-var IS = class {
+var BS = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -21959,9 +21959,9 @@ var IS = class {
get shouldStopPropagation() {
return this.#e;
}
-}, LS = Symbol("linkClicked"), RS = "react-aria-pressable-style", zS = "data-react-aria-pressable";
-function BS(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 } = oie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({
+}, VS = Symbol("linkClicked"), HS = "react-aria-pressable-style", US = "data-react-aria-pressable";
+function WS(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 } = nie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -21971,12 +21971,12 @@ function BS(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = FS(), y = (0, D.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = zS(), y = (0, D.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new IS("pressstart", t, e);
+ let n = new BS("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -21990,11 +21990,11 @@ function BS(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new IS("pressend", r, e);
+ let t = new BS("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new IS("press", r, e);
+ let n = new BS("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -22003,19 +22003,19 @@ function BS(e) {
i,
n,
t
- ]), x = uS(b), S = uS((0, D.useCallback)((e, t) => {
+ ]), x = mS(b), S = mS((0, D.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new IS("pressup", t, e);
+ let r = new BS("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, D.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(US(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || jS(t.target);
+ t.didFirePressStart && t.pointerType != null && b(qS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || FS(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -22023,7 +22023,7 @@ function BS(e) {
d,
v,
b
- ]), w = uS(C);
+ ]), w = mS(C);
(0, D.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -22040,39 +22040,39 @@ function BS(e) {
}, [s, o]), O = (0, D.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- _b(n, t), o(gb(n));
+ xb(n, t), o(bb(n));
}
}, [s, o]), k = (0, D.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (HS(t.nativeEvent, t.currentTarget) && tb(t.currentTarget, G(t))) {
- WS(G(t), t.key) && t.preventDefault();
+ if (KS(t.nativeEvent, t.currentTarget) && ab(t.currentTarget, G(t))) {
+ JS(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;
- _(Jy(t.currentTarget), "keyup", vx((t) => {
- HS(t, i) && !t.repeat && tb(i, G(t)) && e.target && S(US(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && wb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(Qy(t.currentTarget), "keyup", Sx((t) => {
+ KS(t, i) && !t.repeat && ab(i, G(t)) && e.target && S(qS(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && Ob() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || tb(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Lb.isOpening) {
+ if ((!t || ab(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Vb.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Mb(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Ib(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(US(t.currentTarget, t), r), a = x(US(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(qS(t.currentTarget, t), r), a = x(qS(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 && HS(t, e.target)) {
- WS(G(t), t.key) && t.preventDefault();
- let n = G(t), r = tb(e.target, n);
- x(US(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && VS(e.target) && tb(e.target, n) && !t[LS] && (t[LS] = !0, Lb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && KS(t, e.target)) {
+ JS(G(t), t.key) && t.preventDefault();
+ let n = G(t), r = ab(e.target, n);
+ x(qS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && GS(e.target) && ab(e.target, n) && !t[VS] && (t[VS] = !0, Vb(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;
@@ -22081,39 +22081,39 @@ function BS(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !tb(t.currentTarget, G(t))) return;
- if (Nb(t.nativeEvent)) {
+ if (t.button !== 0 || !ab(t.currentTarget, G(t))) return;
+ if (Lb(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 || AS(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || PS(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)), _(Jy(t.currentTarget), "pointerup", n, !1), _(Jy(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Qy(t.currentTarget), "pointerup", n, !1), _(Qy(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (tb(t.currentTarget, G(t)) && t.button === 0) {
+ if (ab(t.currentTarget, G(t)) && t.button === 0) {
if (l) {
- let n = bb(t.target);
+ let n = wb(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- tb(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ ab(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(US(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(qS(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(US(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(qS(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (tb(e.target, G(t)) && e.pointerType != null) {
+ if (ab(e.target, G(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (qy(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Zy(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -22123,7 +22123,7 @@ function BS(e) {
w(e);
};
t.onDragStart = (e) => {
- tb(e.currentTarget, G(e)) && w(e);
+ ab(e.currentTarget, G(e)) && w(e);
};
}
return t;
@@ -22140,14 +22140,14 @@ function BS(e) {
]);
return (0, D.useEffect)(() => {
if (!f) return;
- let e = Jy(f.current);
- if (!e || !e.head || e.getElementById(RS)) return;
+ let e = Qy(f.current);
+ if (!e || !e.head || e.getElementById(HS)) return;
let t = e.createElement("style");
- t.id = RS;
- let n = NS(e);
+ t.id = HS;
+ let n = LS(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${zS}] {
+ [${US}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -22155,23 +22155,23 @@ function BS(e) {
}, [f]), (0, D.useEffect)(() => {
let e = g.current;
return () => {
- d || jS(e.target ?? void 0);
+ d || FS(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, k, { [zS]: !0 })
+ pressProps: K(p, k, { [US]: !0 })
};
}
-function VS(e) {
+function GS(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function HS(e, t) {
+function KS(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Yy(i).HTMLInputElement && !GS(i, n) || i instanceof Yy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && VS(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof $y(i).HTMLInputElement && !YS(i, n) || i instanceof $y(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && GS(i)) && n !== "Enter");
}
-function US(e, t) {
+function qS(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -22184,13 +22184,13 @@ function US(e, t) {
key: t.key
};
}
-function sie(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !VS(e);
+function rie(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !GS(e);
}
-function WS(e, t) {
- return wb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !GS(e, t) : sie(e);
+function JS(e, t) {
+ return Ob() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !YS(e, t) : rie(e);
}
-var cie = /* @__PURE__ */ new Set([
+var iie = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22201,12 +22201,12 @@ var cie = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function GS(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : cie.has(e.type);
+function YS(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : iie.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function lie(e, t) {
+function aie(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,
@@ -22228,7 +22228,7 @@ function lie(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = BS({
+ let { pressProps: _, isPressed: v } = WS({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -22238,9 +22238,9 @@ function lie(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = Ix(e, t);
+ }), { focusableProps: y } = Bx(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, ES(e, { labelable: !0 }));
+ let b = K(y, _, AS(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -22255,7 +22255,7 @@ function lie(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var uie = class {
+var oie = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -22280,7 +22280,7 @@ var uie = class {
return this._currentNode;
}
set currentNode(e) {
- if (!tb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!ab(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 });
@@ -22294,7 +22294,7 @@ var uie = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return tb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return ab(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -22358,45 +22358,45 @@ var uie = class {
return null;
}
};
-function KS(e, t, n, r) {
- return eb() ? new uie(e, t, n, r) : e.createTreeWalker(t, n, r);
+function XS(e, t, n, r) {
+ return ib() ? new oie(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var qS = /*#__PURE__*/ D.createContext(null), JS = "react-aria-focus-scope-restore", YS = null;
-function XS(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(qS) || {}, l = (0, D.useMemo)(() => new mC({ scopeRef: s }), [s]);
- hb(() => {
- let e = c || hC.root;
- if (hC.getTreeNode(e.scopeRef) && YS && !rC(YS, e.scopeRef)) {
- let t = hC.getTreeNode(YS);
+var ZS = /*#__PURE__*/ D.createContext(null), QS = "react-aria-focus-scope-restore", $S = null;
+function eC(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(ZS) || {}, l = (0, D.useMemo)(() => new _C({ scopeRef: s }), [s]);
+ yb(() => {
+ let e = c || vC.root;
+ if (vC.getTreeNode(e.scopeRef) && $S && !oC($S, e.scopeRef)) {
+ let t = vC.getTreeNode($S);
t && (e = t);
}
- e.addChild(l), hC.addNode(l);
- }, [l, c]), hb(() => {
- let e = hC.getTreeNode(s);
+ e.addChild(l), vC.addNode(l);
+ }, [l, c]), yb(() => {
+ let e = vC.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), hb(() => {
+ }, [n]), yb(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(JS, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(QS, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(JS, n);
+ for (let e of t) e.removeEventListener(QS, n);
};
- }, [t]), cC(s, r, n), mie(s, n), uC(s, r, n), sC(s, i), (0, D.useEffect)(() => {
- let e = nb(Jy(s.current ? s.current[0] : void 0)), t = null;
- if (eC(e, s.current)) {
- for (let n of hC.traverse()) n.scopeRef && eC(e, n.scopeRef.current) && (t = n);
- t === hC.getTreeNode(s) && (YS = t.scopeRef);
- }
- }, [s]), hb(() => () => {
- let e = hC.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === YS || rC(s, YS)) && (!e || hC.getTreeNode(e)) && (YS = e), hC.removeTreeNode(s);
+ }, [t]), dC(s, r, n), uie(s, n), pC(s, r, n), uC(s, i), (0, D.useEffect)(() => {
+ let e = ob(Qy(s.current ? s.current[0] : void 0)), t = null;
+ if (iC(e, s.current)) {
+ for (let n of vC.traverse()) n.scopeRef && iC(e, n.scopeRef.current) && (t = n);
+ t === vC.getTreeNode(s) && ($S = t.scopeRef);
+ }
+ }, [s]), yb(() => () => {
+ let e = vC.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === $S || oC(s, $S)) && (!e || vC.getTreeNode(e)) && ($S = e), vC.removeTreeNode(s);
}, [s]);
- let u = (0, D.useMemo)(() => die(s), []), d = (0, D.useMemo)(() => ({
+ let u = (0, D.useMemo)(() => sie(s), []), d = (0, D.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ D.createElement(qS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {
+ return /*#__PURE__*/ D.createElement(ZS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -22406,154 +22406,154 @@ function XS(e) {
ref: o
}));
}
-function die(e) {
+function sie(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || nb(Jy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = fC(ZS(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || ob(Qy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = hC(tC(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = eC(s, n) ? s : c;
+ l.currentNode = iC(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && iC(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && sC(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || nb(Jy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = fC(ZS(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || ob(Qy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = hC(tC(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = eC(s, n) ? s : c;
+ l.currentNode = iC(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && iC(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && sC(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = fC(ZS(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = hC(tC(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && iC(o, !0), o;
+ return o && sC(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = fC(ZS(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = hC(tC(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && iC(o, !0), o;
+ return o && sC(o, !0), o;
}
};
}
-function ZS(e) {
+function tC(e) {
return e[0].parentElement;
}
-function QS(e) {
- let t = hC.getTreeNode(YS);
+function nC(e) {
+ let t = vC.getTreeNode($S);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function fie(e) {
- if (!e.form) return Array.from(Jy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Yy(e);
+function cie(e) {
+ if (!e.form) return Array.from(Qy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = $y(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function pie(e) {
+function lie(e) {
if (e.checked) return !0;
- let t = fie(e);
+ let t = cie(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function mie(e, t) {
+function uie(e, t) {
let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);
- hb(() => {
+ yb(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Jy(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;
- let n = nb(a), r = e.current;
- if (!r || !eC(n, r)) return;
- let i = fC(ZS(r), { tabbable: !0 }, r);
+ let a = Qy(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !nC(e) || t.isComposing) return;
+ let n = ob(a), r = e.current;
+ if (!r || !iC(n, r)) return;
+ let i = hC(tC(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 && (iC(o, !0), o instanceof Yy(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 && (sC(o, !0), o instanceof $y(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!YS || rC(YS, e)) && eC(G(t), e.current) ? (YS = e, n.current = G(t)) : QS(e) && !tC(G(t), e) ? n.current ? iC(n.current) : YS && YS.current && oC(YS.current) : QS(e) && (n.current = G(t));
+ (!$S || oC($S, e)) && iC(G(t), e.current) ? ($S = e, n.current = G(t)) : nC(e) && !aC(G(t), e) ? n.current ? sC(n.current) : $S && $S.current && lC($S.current) : nC(e) && (n.current = G(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = ox(), i = (r === "virtual" || r === null) && jb() && Ab(), o = nb(a);
- if (!i && o && QS(e) && !tC(o, e)) {
- YS = e;
+ let r = ux(), i = (r === "virtual" || r === null) && Fb() && Pb(), o = ob(a);
+ if (!i && o && nC(e) && !aC(o, e)) {
+ $S = e;
let r = G(t);
- r && r.isConnected ? (n.current = r, iC(n.current)) : YS.current && oC(YS.current);
+ r && r.isConnected ? (n.current = r, sC(n.current)) : $S.current && lC($S.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), hb(() => () => {
+ }, [e, t]), yb(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function $S(e) {
- return tC(e);
+function rC(e) {
+ return aC(e);
}
-function eC(e, t) {
- return !e || !t ? !1 : t.some((t) => tb(t, e));
+function iC(e, t) {
+ return !e || !t ? !1 : t.some((t) => ab(t, e));
}
-function tC(e, t = null) {
+function aC(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of hC.traverse(hC.getTreeNode(t))) if (n && eC(e, n.current)) return !0;
+ for (let { scopeRef: n } of vC.traverse(vC.getTreeNode(t))) if (n && iC(e, n.current)) return !0;
return !1;
}
-function nC(e) {
- return tC(e, YS);
+function die(e) {
+ return aC(e, $S);
}
-function rC(e, t) {
- let n = hC.getTreeNode(t)?.parent;
+function oC(e, t) {
+ let n = vC.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function iC(e, t = !1) {
+function sC(e, t = !1) {
if (e != null && !t) try {
- _x(e);
+ xx(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function aC(e, t = !0) {
- let n = e[0].previousElementSibling, r = ZS(e), i = fC(r, { tabbable: t }, e);
+function cC(e, t = !0) {
+ let n = e[0].previousElementSibling, r = tC(e), i = hC(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = ZS(e), i = fC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = tC(e), i = hC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function oC(e, t = !0) {
- iC(aC(e, t));
+function lC(e, t = !0) {
+ sC(cC(e, t));
}
-function sC(e, t) {
+function uC(e, t) {
let n = D.useRef(t);
(0, D.useEffect)(() => {
- n.current && (YS = e, !eC(nb(Jy(e.current ? e.current[0] : void 0)), YS.current) && e.current && oC(e.current)), n.current = !1;
+ n.current && ($S = e, !iC(ob(Qy(e.current ? e.current[0] : void 0)), $S.current) && e.current && lC(e.current)), n.current = !1;
}, [e]);
}
-function cC(e, t, n) {
- hb(() => {
+function dC(e, t, n) {
+ yb(() => {
if (t || n) return;
- let r = e.current, i = Jy(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = Qy(r ? r[0] : void 0), a = (t) => {
let n = G(t);
- eC(n, e.current) ? YS = e : $S(n) || (YS = null);
+ iC(n, e.current) ? $S = e : rC(n) || ($S = 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));
@@ -22564,43 +22564,43 @@ function cC(e, t, n) {
n
]);
}
-function lC(e) {
- let t = hC.getTreeNode(YS);
+function fC(e) {
+ let t = vC.getTreeNode($S);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function uC(e, t, n) {
- let r = (0, D.useRef)(typeof document < "u" ? nb(Jy(e.current ? e.current[0] : void 0)) : null);
- hb(() => {
- let r = e.current, i = Jy(r ? r[0] : void 0);
+function pC(e, t, n) {
+ let r = (0, D.useRef)(typeof document < "u" ? ob(Qy(e.current ? e.current[0] : void 0)) : null);
+ yb(() => {
+ let r = e.current, i = Qy(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!YS || rC(YS, e)) && eC(nb(i), e.current) && (YS = e);
+ (!$S || oC($S, e)) && iC(ob(i), e.current) && ($S = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), hb(() => {
- let r = Jy(e.current ? e.current[0] : void 0);
+ }, [e, n]), yb(() => {
+ let r = Qy(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !nC(e) || t.isComposing) return;
let n = r.activeElement;
- if (!tC(n, e) || !lC(e)) return;
- let i = hC.getTreeNode(e);
+ if (!aC(n, e) || !fC(e)) return;
+ let i = vC.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = fC(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = hC(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 || !tC(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !aC(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (tC(s, e));
- t.preventDefault(), t.stopPropagation(), s ? iC(s, !0) : $S(a) ? iC(a, !0) : n.blur();
+ while (aC(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? sC(s, !0) : rC(a) ? sC(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -22610,31 +22610,31 @@ function uC(e, t, n) {
e,
t,
n
- ]), hb(() => {
- let n = Jy(e.current ? e.current[0] : void 0);
+ ]), yb(() => {
+ let n = Qy(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = hC.getTreeNode(e);
+ let i = vC.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = hC.getTreeNode(e);
+ let r = vC.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = nb(n);
- if (t && i && (a && tC(a, e) || a === n.body && lC(e))) {
- let t = hC.clone();
+ let i = r.nodeToRestore, a = ob(n);
+ if (t && i && (a && aC(a, e) || a === n.body && fC(e))) {
+ let t = vC.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- dC(n.nodeToRestore);
+ mC(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && hC.getTreeNode(n.scopeRef)) {
- let e = aC(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && vC.getTreeNode(n.scopeRef)) {
+ let e = cC(n.scopeRef.current, !0);
if (e) {
- dC(e);
+ mC(e);
return;
}
}
@@ -22646,21 +22646,21 @@ function uC(e, t, n) {
};
}, [e, t]);
}
-function dC(e) {
- e.dispatchEvent(new CustomEvent(JS, {
+function mC(e) {
+ e.dispatchEvent(new CustomEvent(QS, {
bubbles: !0,
cancelable: !0
- })) && iC(e);
+ })) && sC(e);
}
-function fC(e, t, n) {
- let r = t?.tabbable ? pb : fb, i = Jy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = KS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return tb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!pie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || eC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function hC(e, t, n) {
+ let r = t?.tabbable ? _b : gb, i = Qy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = XS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return ab(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!lie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || iC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var pC = class e {
+var gC = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new mC({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new _C({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -22671,7 +22671,7 @@ var pC = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new mC({ scopeRef: e });
+ let i = new _C({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -22682,7 +22682,7 @@ var pC = 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 && eC(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 && iC(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);
}
@@ -22694,7 +22694,7 @@ var pC = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, mC = class {
+}, _C = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -22704,13 +22704,13 @@ var pC = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, hC = new pC(), gC = 7e3, _C = null;
-function vC(e, t = "assertive", n = gC) {
- _C ? _C.announce(e, t, n) : (_C = new yC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? _C.announce(e, t, n) : setTimeout(() => {
- _C?.isAttached() && _C?.announce(e, t, n);
+}, vC = new gC(), yC = 7e3, bC = null;
+function xC(e, t = "assertive", n = yC) {
+ bC ? bC.announce(e, t, n) : (bC = new SC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? bC.announce(e, t, n) : setTimeout(() => {
+ bC?.isAttached() && bC?.announce(e, t, n);
}, 100));
}
-var yC = class {
+var SC = 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,
@@ -22735,7 +22735,7 @@ var yC = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = gC) {
+ announce(e, t = "assertive", n = yC) {
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(() => {
@@ -22748,8 +22748,8 @@ var yC = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function bC(e, t) {
- let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = uS(e);
+function CC(e, t) {
+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = mS(e);
(0, D.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, D.useEffect)(() => {
@@ -22759,33 +22759,33 @@ function bC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function xC(e, t) {
+function wC(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;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function SC(e, t) {
+function TC(e, t) {
let n = e;
- for (xC(n, t) && (n = n.parentElement); n && !xC(n, t);) n = n.parentElement;
+ for (wC(n, t) && (n = n.parentElement); n && !wC(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function CC(e, t) {
+function EC(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (xC(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (wC(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function wC(e, t, n = {}) {
- e !== t && TC(e, t, t.getBoundingClientRect(), n);
+function DC(e, t, n = {}) {
+ e !== t && OC(e, t, t.getBoundingClientRect(), n);
}
-function TC(e, t, n, r = {}) {
+function OC(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, F = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
- Db() && kb() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);
+ jb() && Nb() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);
let ae = k < ne || A > F, oe = j < re || M > ie;
if (ae && i === "start") o += k - ne;
else if (ae && i === "center") o += (k + A) / 2 - (ne + F) / 2;
@@ -22806,7 +22806,7 @@ function TC(e, t, n, r = {}) {
top: o
});
}
-function EC(e, t = {}) {
+function kC(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -22819,47 +22819,47 @@ function EC(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = CC(e, !0);
- for (let t of i) wC(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = EC(e, !0);
+ for (let t of i) DC(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? CC(n, !0) : [];
- for (let e of i) wC(e, n, {
+ i = n ? EC(n, !0) : [];
+ for (let e of i) DC(e, n, {
block: "center",
inline: "center"
});
- for (let t of CC(e, !0)) wC(t, e);
+ for (let t of EC(e, !0)) DC(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var DC = 0, OC = /* @__PURE__ */ new Map();
-function kC(e) {
+var AC = 0, jC = /* @__PURE__ */ new Map();
+function MC(e) {
let [t, n] = (0, D.useState)();
- return hb(() => {
+ return yb(() => {
if (!e) return;
- let t = OC.get(e);
+ let t = jC.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${DC++}`;
+ let r = `react-aria-description-${AC++}`;
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
- }, OC.set(e, t);
+ }, jC.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), OC.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), jC.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function AC(e, t, n) {
- let r = uS((e) => {
+function NC(e, t, n) {
+ let r = mS((e) => {
n && !e.defaultPrevented && n(t);
});
(0, D.useEffect)(() => {
@@ -22871,21 +22871,21 @@ function AC(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function jC(e, t, n) {
+function PC(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- hb(() => {
+ yb(() => {
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(NC(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(IC(n.current));
}
});
- let a = (0, D.useRef)(!1), o = uS(() => {
+ let a = (0, D.useRef)(!1), o = mS(() => {
a.current || t.resetValidation();
- }), s = uS((e) => {
+ }), s = mS((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && PC(r) === n.current && (i ? i() : n.current?.focus(), sx("keyboard")), e.preventDefault();
- }), c = uS(() => {
+ !e.defaultPrevented && n && r && LC(r) === n.current && (i ? i() : n.current?.focus(), dx("keyboard")), e.preventDefault();
+ }), c = mS(() => {
t.commitValidation();
});
(0, D.useEffect)(() => {
@@ -22899,7 +22899,7 @@ function jC(e, t, n) {
};
}, [n, r]);
}
-function MC(e) {
+function FC(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -22915,14 +22915,14 @@ function MC(e) {
valid: t.valid
};
}
-function NC(e) {
+function IC(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: MC(e),
+ validationDetails: FC(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function PC(e) {
+function LC(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -22931,16 +22931,16 @@ function PC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function FC(e = !0) {
+function RC(e = !0) {
let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return hb(() => {
+ return yb(() => {
r.current || n(!1);
}, []), [i, t];
}
-function IC(e = !0) {
- let t = Sx(), [n, r] = FC(e);
+function zC(e = !0) {
+ let t = Ex(), [n, r] = RC(e);
return {
id: r ? t : void 0,
ref: n
@@ -22948,7 +22948,7 @@ function IC(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var LC = {
+var BC = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -22960,18 +22960,18 @@ var LC = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, RC = {
- ...LC,
+}, VC = {
+ ...BC,
customError: !0,
valid: !1
-}, zC = {
+}, HC = {
isInvalid: !1,
- validationDetails: LC,
+ validationDetails: BC,
validationErrors: []
-}, BC = (0, D.createContext)({}), VC = "__reactAriaFormValidationState";
-function HC(e) {
+}, UC = (0, D.createContext)({}), WC = "__reactAriaFormValidationState";
+function GC(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[VC];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[WC];
return {
realtimeValidation: t,
displayValidation: n,
@@ -22980,71 +22980,71 @@ function HC(e) {
commitValidation: a
};
}
- return UC(e);
+ return KC(e);
}
-function UC(e) {
+function KC(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: RC
- }, l = (0, D.useMemo)(() => !o || i == null ? null : KC(GC(o, i)), [o, i]);
+ validationDetails: VC
+ }, l = (0, D.useMemo)(() => !o || i == null ? null : YC(JC(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, D.useContext)(BC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => WC(u[e])) : WC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);
+ let u = (0, D.useContext)(UC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => qC(u[e])) : qC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, D.useMemo)(() => KC(m ? [] : d), [m, d]), _ = (0, D.useRef)(zC), [v, y] = (0, D.useState)(zC), b = (0, D.useRef)(zC), x = () => {
+ let g = (0, D.useMemo)(() => YC(m ? [] : d), [m, d]), _ = (0, D.useRef)(HC), [v, y] = (0, D.useState)(HC), b = (0, D.useRef)(HC), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- qC(e, b.current) || (b.current = e, y(e));
+ XC(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, D.useState)(!1);
return (0, D.useEffect)(x), {
- realtimeValidation: c || g || l || a || zC,
+ realtimeValidation: c || g || l || a || HC,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !qC(v, e) ? y(e) : _.current = e;
+ s === "aria" && !XC(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = zC;
- qC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = HC;
+ XC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function WC(e) {
+function qC(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function GC(e, t) {
+function JC(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return WC(n);
+ if (n && typeof n != "boolean") return qC(n);
}
return [];
}
-function KC(e) {
+function YC(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: RC
+ validationDetails: VC
} : null;
}
-function qC(e, t) {
+function XC(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);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function JC(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 = HC({
+function ZC(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 = GC({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- jC(e, b, n);
+ PC(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: T, isPressed: E } = BS({
+ }, { pressProps: T, isPressed: E } = WS({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -23052,7 +23052,7 @@ function JC(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, D.useState)(!1), { pressProps: A } = BS({
+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = WS({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));
},
@@ -23069,13 +23069,13 @@ function JC(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [VC]: i } = e, { commitValidation: a } = i || b;
+ let { [WC]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = Ix(e, n), M = K(T, j), ee = ES(e, { labelable: !0 });
- AC(n, t.defaultSelected, t.setSelected);
- let N = IC(), te = IC();
+ }), { focusableProps: j } = Bx(e, n), M = K(T, j), ee = AS(e, { labelable: !0 });
+ NC(n, t.defaultSelected, t.setSelected);
+ let N = zC(), te = zC();
return {
labelProps: K(A, { onClick: (e) => e.preventDefault() }),
inputProps: K(ee, {
@@ -23112,8 +23112,8 @@ function JC(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function YC(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 } = JC(e, t, n), { isIndeterminate: m } = e;
+function QC(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 } = ZC(e, t, n), { isIndeterminate: m } = e;
return (0, D.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -23132,18 +23132,18 @@ function YC(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var XC = /* @__PURE__ */ new WeakMap();
+var $C = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function ZC(e) {
+function ew(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Sx(t);
- let o = Sx(), s = {};
+ t = Ex(t);
+ let o = Ex(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = fS({
+ let c = gS({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -23155,13 +23155,13 @@ function ZC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function QC(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ZC(e), s = Cx([
+function tw(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ew(e), s = Dx([
!!t,
!!n,
r,
i
- ]), c = Cx([
+ ]), c = Dx([
!!t,
!!n,
r,
@@ -23180,26 +23180,26 @@ function QC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function $C(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = FS(), c = (0, D.useCallback)((e) => {
- tb(e.currentTarget, G(e)) && a.current.isFocusWithin && !tb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function nw(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = zS(), c = (0, D.useCallback)((e) => {
+ ab(e.currentTarget, G(e)) && a.current.isFocusWithin && !ab(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = vb(c), u = (0, D.useCallback)((e) => {
- if (!tb(e.currentTarget, G(e))) return;
- let t = G(e), n = Jy(t), s = nb(n);
+ ]), l = Sb(c), u = (0, D.useCallback)((e) => {
+ if (!ab(e.currentTarget, G(e))) return;
+ let t = G(e), n = Qy(t), s = ob(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 && !tb(t, r)) {
+ if (a.current.isFocusWithin && !ab(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- _b(e, t);
- let i = gb(e);
+ xb(e, t);
+ let i = bb(e);
c(i);
}
}, { capture: !0 });
@@ -23221,14 +23221,14 @@ function $C(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var ew = D.useInsertionEffect ?? D.useLayoutEffect;
-function tw(e, t, n) {
+var rw = D.useInsertionEffect ?? D.useLayoutEffect;
+function iw(e, t, n) {
let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;
(0, D.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- ew(() => {
+ rw(() => {
a.current = c;
});
let [, l] = (0, D.useReducer)(() => ({}), {});
@@ -23239,8 +23239,8 @@ function tw(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function nw(e = {}) {
- let { isReadOnly: t } = e, [n, r] = tw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);
+function aw(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = iw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);
function a(e) {
t || r(e);
}
@@ -23256,26 +23256,26 @@ function nw(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function rw(e, t, n) {
- let r = nw({
+function ow(e, t, n) {
+ let r = aw({
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 } = XC.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = $C.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = HC({
+ let { realtimeValidation: l } = GC({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, D.useRef)(zC), d = () => {
+ }), u = (0, D.useRef)(HC), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, D.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = YC({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = QC({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -23283,7 +23283,7 @@ function rw(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [VC]: {
+ [WC]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -23307,10 +23307,10 @@ function rw(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function iw(e, t = -Infinity, n = Infinity) {
+function sw(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function aw(e, t) {
+function cw(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 {
@@ -23323,24 +23323,24 @@ function aw(e, t) {
}
return n;
}
-function ow(e, t, n, r) {
+function lw(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = aw(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(aw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(aw((n - t) / r, r)) * r), a = aw(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = cw(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(cw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(cw((n - t) / r, r)) * r), a = cw(a, r), a;
}
//#endregion
//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var sw = /* @__PURE__ */ new Map(), cw = !1;
+var uw = /* @__PURE__ */ new Map(), dw = !1;
try {
- cw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ dw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var hie = class {
+var fw = class {
constructor(e, t = {}) {
- this.numberFormatter = gie(e, t), this.options = t;
+ this.numberFormatter = pw(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !cw && this.options.signDisplay != null ? _ie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !dw && this.options.signDisplay != null ? mw(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -23372,21 +23372,21 @@ var hie = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !cw && this.options.signDisplay != null && (e = {
+ return !dw && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function gie(e, t = {}) {
+function pw(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 (sw.has(r)) return sw.get(r);
+ if (uw.has(r)) return uw.get(r);
let i = new Intl.NumberFormat(e, t);
- return sw.set(r, i), i;
+ return uw.set(r, i), i;
}
-function _ie(e, t, n) {
+function mw(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -23400,12 +23400,12 @@ function _ie(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useMove.mjs
-function lw(e) {
+function hw(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, D.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = FS(), s = uS((0, D.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = zS(), s = mS((0, D.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -23427,8 +23427,8 @@ function lw(e) {
t,
n,
i
- ])), c = uS((0, D.useCallback)((e, t) => {
- jS(), i.current.didMove && r?.({
+ ])), c = mS((0, D.useCallback)((e, t) => {
+ FS(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -23439,7 +23439,7 @@ function lw(e) {
}, [r, i]));
return { moveProps: (0, D.useMemo)(() => {
let e = {}, t = () => {
- AS(), i.current.didMove = !1;
+ PS(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -23454,7 +23454,7 @@ function lw(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = Yy(G(e));
+ let a = $y(G(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -23464,7 +23464,7 @@ function lw(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = Yy(G(e));
+ let o = $y(G(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -23498,7 +23498,7 @@ function lw(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var uw = {
+var gw = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -23510,38 +23510,38 @@ var uw = {
width: "1px",
whiteSpace: "nowrap"
};
-function dw(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = $C({
+function _w(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = nw({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, D.useMemo)(() => r ? t : t ? {
- ...uw,
+ ...gw,
...t
- } : uw, [r]);
+ } : gw, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function fw(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = dw(e);
+function vw(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = _w(e);
return /*#__PURE__*/ D.createElement(n, K(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function vie(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = tw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Ix(e, t), d = HC({
+function fie(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = iw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Bx(e, t), d = GC({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = QC({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = tw({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = ES(e, { labelable: !0 }), b = {
+ }), y = AS(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, D.useState)(c);
- return AC(t, e.defaultValue ?? x, l), jC(e, d, t), {
+ return NC(t, e.defaultValue ?? x, l), PC(e, d, t), {
labelProps: h,
inputProps: K(y, n === "input" ? b : void 0, {
disabled: r,
@@ -23588,28 +23588,28 @@ function vie(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function yie(e = {}) {
- let { locale: t } = vS();
- return (0, D.useMemo)(() => new hie(t, e), [t, e]);
+function pie(e = {}) {
+ let { locale: t } = SS();
+ return (0, D.useMemo)(() => new fw(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/slider/utils.mjs
-var pw = /* @__PURE__ */ new WeakMap();
-function mw(e, t) {
- let n = pw.get(e);
+var yw = /* @__PURE__ */ new WeakMap();
+function bw(e, t) {
+ let n = yw.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/slider/useSlider.mjs
-function bie(e, t, n) {
- let { labelProps: r, fieldProps: i } = ZC(e), a = e.orientation === "vertical";
- pw.set(t, {
+function mie(e, t, n) {
+ let { labelProps: r, fieldProps: i } = ew(e), a = e.orientation === "vertical";
+ yw.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = vS(), { addGlobalListener: s, removeGlobalListener: c } = FS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = lw({
+ let { direction: o } = SS(), { addGlobalListener: s, removeGlobalListener: c } = zS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = hw({
onMoveStart() {
d.current = null;
},
@@ -23619,7 +23619,7 @@ function bie(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 = iw(d.current / s, 0, 1);
+ let e = sw(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -23643,7 +23643,7 @@ function bie(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(mw(t, 0))?.focus(), sx("keyboard");
+ document.getElementById(bw(t, 0))?.focus(), dx("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -23666,27 +23666,27 @@ function bie(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => mw(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => bw(t, n)).join(" "),
"aria-live": "off"
}
};
}
//#endregion
//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function xie(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 } = vS(), { addGlobalListener: m, removeGlobalListener: h } = FS(), g = pw.get(t), { labelProps: _, fieldProps: v } = ZC({
+function hie(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 } = SS(), { addGlobalListener: m, removeGlobalListener: h } = zS(), g = yw.get(t), { labelProps: _, fieldProps: v } = ew({
...e,
- id: mw(t, n),
+ id: bw(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, D.useCallback)(() => {
- s.current && qy(s.current);
+ s.current && Zy(s.current);
}, [s]), x = t.focusedThumb === n;
(0, D.useEffect)(() => {
x && b();
}, [x, b]);
let S = p === "rtl", C = (0, D.useRef)(null), w = (e) => {
t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);
- }, { keyboardProps: T } = Mx({
+ }, { keyboardProps: T } = Ix({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -23702,7 +23702,7 @@ function xie(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = lw({
+ }), { moveProps: E } = hw({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -23713,7 +23713,7 @@ function xie(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, iw(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, sw(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -23721,7 +23721,7 @@ function xie(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: O } = Ix(K(e, {
+ let { focusableProps: O } = Bx(K(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), k = (0, D.useRef)(void 0), A = (e) => {
@@ -23741,7 +23741,7 @@ function xie(e, t) {
A(e.changedTouches[0].identifier);
}
});
- return AC(s, t.defaultValues[n], (e) => {
+ return NC(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(O, v, {
@@ -23782,42 +23782,42 @@ function xie(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Sie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function hw(e) {
+var gie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function xw(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var gw = /* @__PURE__ */ new WeakMap(), _w = [];
-function vw(e, t) {
- let n = Yy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Sie, 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 Sw = /* @__PURE__ */ new WeakMap(), Cw = [];
+function ww(e, t) {
+ let n = $y(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && gie, 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 (eb()) {
+ if (ib()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; Zy(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; tb(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 (tb(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (ab(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = KS(Jy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = XS(Qy(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 = gw.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), gw.set(e, t + 1));
+ let t = Sw.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Sw.set(e, t + 1));
};
- _w.length && _w[_w.length - 1].disconnect(), d(i);
+ Cw.length && Cw[Cw.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) => tb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && hw(e) ? o.add(e) : e instanceof Element && d(e);
- if (eb()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => ab(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && xw(e) ? o.add(e) : e instanceof Element && d(e);
+ if (ib()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -23830,11 +23830,11 @@ function vw(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (eb()) for (let e of u) {
+ if (ib()) 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) => tb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && hw(e) ? o.add(e) : e instanceof Element && d(e);
- if (eb()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => ab(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && xw(e) ? o.add(e) : e instanceof Element && d(e);
+ if (ib()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -23860,59 +23860,59 @@ function vw(e, t) {
p.disconnect();
}
};
- return _w.push(h), () => {
- if (p.disconnect(), eb()) for (let e of m) e.disconnect();
+ return Cw.push(h), () => {
+ if (p.disconnect(), ib()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = gw.get(e);
- t != null && (t === 1 ? (l(e, !1), gw.delete(e)) : gw.set(e, t - 1));
+ let t = Sw.get(e);
+ t != null && (t === 1 ? (l(e, !1), Sw.delete(e)) : Sw.set(e, t - 1));
}
- h === _w[_w.length - 1] ? (_w.pop(), _w.length && _w[_w.length - 1].observe()) : _w.splice(_w.indexOf(h), 1);
+ h === Cw[Cw.length - 1] ? (Cw.pop(), Cw.length && Cw[Cw.length - 1].observe()) : Cw.splice(Cw.indexOf(h), 1);
};
}
-function yw(e) {
- let t = _w[_w.length - 1];
+function Tw(e) {
+ let t = Cw[Cw.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var bw = /* @__PURE__ */ new WeakMap();
-function Cie(e) {
+var Ew = /* @__PURE__ */ new WeakMap();
+function _ie(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function wie(e, t) {
- let n = bw.get(e);
+function vie(e, t) {
+ let n = Ew.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Cie(t)}`;
+ return `${n.id}-option-${_ie(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function xw(e) {
- return Ob() ? e.altKey : e.ctrlKey;
+function Dw(e) {
+ return Mb() ? e.altKey : e.ctrlKey;
}
-function Sw(e, t) {
+function Ow(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 Cw = /* @__PURE__ */ new WeakMap();
-function Tie(e) {
- let t = Sx();
- return Cw.set(e, t), t;
+var kw = /* @__PURE__ */ new WeakMap();
+function yie(e) {
+ let t = Ex();
+ return kw.set(e, t), t;
}
-function Eie(e) {
- return Cw.get(e);
+function bie(e) {
+ return kw.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var ww = class {
+var Aw = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Sw(this.ref, e);
+ let n = e == null ? null : Ow(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -23938,12 +23938,12 @@ var ww = class {
height: e?.clientHeight ?? 0
};
}
-}, Tw = class {
+}, jw = 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 ww(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 ww(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 Aw(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 Aw(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -23983,14 +23983,14 @@ var ww = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Sw(this.ref, e);
+ let t = this.getNextKey(e), n = Ow(this.ref, e);
if (t != null) {
- let e = Sw(this.ref, t);
+ let e = Ow(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Sw(this.ref, r);
+ let e = Ow(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -24024,7 +24024,7 @@ var ww = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !xC(t)) return this.getFirstKey();
+ if (t && !wC(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -24039,7 +24039,7 @@ var ww = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !xC(t)) return this.getLastKey();
+ if (t && !wC(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);
@@ -24062,184 +24062,184 @@ var ww = class {
}
return null;
}
-}, Ew = {};
-Ew = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Mw = {};
+Mw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Dw = {};
-Dw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Nw = {};
+Nw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Ow = {};
-Ow = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var Pw = {};
+Pw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var kw = {};
-kw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Fw = {};
+Fw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var Aw = {};
-Aw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Iw = {};
+Iw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var jw = {};
-jw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Lw = {};
+Lw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var Mw = {};
-Mw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var Rw = {};
+Rw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var Nw = {};
-Nw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var zw = {};
+zw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var Pw = {};
-Pw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Bw = {};
+Bw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var Fw = {};
-Fw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Vw = {};
+Vw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var Iw = {};
-Iw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var Hw = {};
+Hw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var Lw = {};
-Lw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Uw = {};
+Uw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var Rw = {};
-Rw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Ww = {};
+Ww = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var zw = {};
-zw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Gw = {};
+Gw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var Bw = {};
-Bw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Kw = {};
+Kw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var Vw = {};
-Vw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var qw = {};
+qw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Hw = {};
-Hw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Jw = {};
+Jw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Uw = {};
-Uw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Yw = {};
+Yw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Ww = {};
-Ww = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Xw = {};
+Xw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var Gw = {};
-Gw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Zw = {};
+Zw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Kw = {};
-Kw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Qw = {};
+Qw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var qw = {};
-qw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var $w = {};
+$w = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var Jw = {};
-Jw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var eT = {};
+eT = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var Yw = {};
-Yw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var tT = {};
+tT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var Xw = {};
-Xw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var nT = {};
+nT = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var Zw = {};
-Zw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var rT = {};
+rT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Qw = {};
-Qw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var iT = {};
+iT = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var $w = {};
-$w = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var aT = {};
+aT = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var eT = {};
-eT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var oT = {};
+oT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var tT = {};
-tT = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var sT = {};
+sT = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var nT = {};
-nT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var cT = {};
+cT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var rT = {};
-rT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var lT = {};
+lT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var iT = {};
-iT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var uT = {};
+uT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var aT = {};
-aT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var dT = {};
+dT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var oT = {};
-oT = {
- "ar-AE": Ew,
- "bg-BG": Dw,
- "cs-CZ": Ow,
- "da-DK": kw,
- "de-DE": Aw,
- "el-GR": jw,
- "en-US": Mw,
- "es-ES": Nw,
- "et-EE": Pw,
- "fi-FI": Fw,
- "fr-FR": Iw,
- "he-IL": Lw,
- "hr-HR": Rw,
- "hu-HU": zw,
- "it-IT": Bw,
- "ja-JP": Vw,
- "ko-KR": Hw,
- "lt-LT": Uw,
- "lv-LV": Ww,
- "nb-NO": Gw,
- "nl-NL": Kw,
- "pl-PL": qw,
- "pt-BR": Jw,
- "pt-PT": Yw,
- "ro-RO": Xw,
- "ru-RU": Zw,
- "sk-SK": Qw,
- "sl-SI": $w,
- "sr-SP": eT,
- "sv-SE": tT,
- "tr-TR": nT,
- "uk-UA": rT,
- "zh-CN": iT,
- "zh-TW": aT
+var fT = {};
+fT = {
+ "ar-AE": Mw,
+ "bg-BG": Nw,
+ "cs-CZ": Pw,
+ "da-DK": Fw,
+ "de-DE": Iw,
+ "el-GR": Lw,
+ "en-US": Rw,
+ "es-ES": zw,
+ "et-EE": Bw,
+ "fi-FI": Vw,
+ "fr-FR": Hw,
+ "he-IL": Uw,
+ "hr-HR": Ww,
+ "hu-HU": Gw,
+ "it-IT": Kw,
+ "ja-JP": qw,
+ "ko-KR": Jw,
+ "lt-LT": Yw,
+ "lv-LV": Xw,
+ "nb-NO": Zw,
+ "nl-NL": Qw,
+ "pl-PL": $w,
+ "pt-BR": eT,
+ "pt-PT": tT,
+ "ro-RO": nT,
+ "ru-RU": rT,
+ "sk-SK": iT,
+ "sl-SI": aT,
+ "sr-SP": oT,
+ "sv-SE": sT,
+ "tr-TR": cT,
+ "uk-UA": lT,
+ "zh-CN": uT,
+ "zh-TW": dT
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Die = 500;
-function sT(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Die, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = FS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = BS({
+var xie = 500;
+function pT(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = xie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = zS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = WS({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -24247,12 +24247,12 @@ function sT(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Jy(e.target).activeElement !== e.target && qy(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Qy(e.target).activeElement !== e.target && Zy(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 = Yy(e.target);
+ let t = $y(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -24267,12 +24267,12 @@ function sT(e) {
});
}
});
- return { longPressProps: K(f, kC(a && !t ? s : void 0)) };
+ return { longPressProps: K(f, MC(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Oie(e) {
- let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = sT({
+function Sie(e) {
+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = pT({
onLongPressStart() {
n.current = !1;
},
@@ -24284,7 +24284,7 @@ function Oie(e) {
});
}
});
- return t ? { contextMenuProps: K(Db() ? r : {}, {
+ return t ? { contextMenuProps: K(jb() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -24295,7 +24295,7 @@ function Oie(e) {
});
},
onKeyDown(e) {
- if (wb() && e.ctrlKey && e.key === "Enter") {
+ if (Ob() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -24315,13 +24315,13 @@ function Oie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var cT = /* @__PURE__ */ new WeakMap();
-function kie(e) {
+var mT = /* @__PURE__ */ new WeakMap();
+function Cie(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, D.useEffect)(() => !n || r === null ? void 0 : Qy(rb(t.current), "scroll", (e) => {
+ (0, D.useEffect)(() => !n || r === null ? void 0 : nb(sb(t.current), "scroll", (e) => {
let n = G(e);
- if (!t.current || n instanceof Node && !tb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || cT.get(t.current);
+ if (!t.current || n instanceof Node && !ab(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || mT.get(t.current);
i && i();
}, !0), [
n,
@@ -24331,14 +24331,14 @@ function kie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Aie(e, t, n) {
+function wie(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, D.useEffect)(() => {
- n && n.current && cT.set(n.current, t.close);
+ n && n.current && mT.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Sx();
+ let o = Ex();
return {
triggerProps: {
"aria-haspopup": a,
@@ -24351,14 +24351,14 @@ function Aie(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function jie(e) {
+function Tie(e) {
return e && e.__esModule ? e.default : e;
}
-function lT(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Sx(), { triggerProps: s, overlayProps: c } = Aie({ type: r }, t, n), l = (e, n, r = "first") => {
+function hT(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Ex(), { triggerProps: s, overlayProps: c } = wie({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = Mx({
+ }, { keyboardProps: u } = Ix({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -24370,7 +24370,7 @@ function lT(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = wS(jie(oT), "@react-aria/menu"), { longPressProps: f } = sT({
+ }), d = OS(Tie(fT), "@react-aria/menu"), { longPressProps: f } = pT({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -24382,14 +24382,14 @@ function lT(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (qy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Zy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (qy(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (Zy(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = Oie({ onContextMenu(e) {
+ let { contextMenuProps: m } = Sie({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -24434,8 +24434,8 @@ function lT(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var uT = 1e3;
-function dT(e) {
+var gT = 1e3;
+function _T(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({
search: "",
timeout: void 0
@@ -24454,12 +24454,12 @@ function dT(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, uT);
+ }, gT);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Mie(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !tb(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Eie(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !ab(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();
@@ -24470,34 +24470,34 @@ function dT(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, uT);
+ }, gT);
}
} : void 0
} };
}
-function Mie(e) {
+function Eie(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function fT(e, t) {
+function vT(e, t) {
let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);
- hb(() => (n.current = !0, () => {
+ yb(() => (n.current = !0, () => {
n.current = !1;
- }), []), hb(() => {
+ }), []), yb(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function pT(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 } = vS(), _ = Fb(), v = (e, n, i) => {
+function yT(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 } = SS(), _ = zb(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !xw(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Dw(e)) {
(0, Et.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Sw(r, n), o = t.getItemProps(n);
+ let a = Ow(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -24509,7 +24509,7 @@ function pT(e) {
t.extendSelection(n);
return;
}
- if (l && !xw(e)) {
+ if (l && !Dw(e)) {
t.replaceSelection(n);
return;
}
@@ -24536,9 +24536,9 @@ function pT(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, cS(e));
+ let r = n.getFirstKey(t.focusedKey, fS(e));
if (t.setFocusedKey(r), r != null) {
- if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (fS(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24570,9 +24570,9 @@ function pT(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, cS(e));
+ let r = n.getLastKey(t.focusedKey, fS(e));
if (t.setFocusedKey(r), r != null) {
- if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (fS(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24603,12 +24603,12 @@ function pT(e) {
else return !1;
}, A = () => {
if (!f && r.current) {
- let e = fC(r.current, { tabbable: !0 }), t, n;
+ let e = hC(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = nb();
- t && (!ib(t) || i && !pb(i)) && qy(t);
+ let i = ob();
+ t && (!cb(t) || i && !_b(i)) && Zy(t);
}
return {
shouldContinuePropagation: !0,
@@ -24618,11 +24618,11 @@ function pT(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), M = (e, t) => ({
- [wb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [Ob() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [wb() ? e + "+Alt" : e + "+Control"]: t,
+ [Ob() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: ee } = Mx({
+ }), { keyboardProps: ee } = Ix({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", b),
@@ -24632,7 +24632,7 @@ function pT(e) {
...M("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: N } = Mx({ shortcuts: {
+ }), { keyboardProps: N } = Ix({ shortcuts: {
...M("Home", x),
...M("End", w),
"Mod+A": O,
@@ -24643,7 +24643,7 @@ function pT(e) {
top: 0,
left: 0
});
- dS(p, "scroll", () => {
+ hS(p, "scroll", () => {
te.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -24651,11 +24651,11 @@ function pT(e) {
});
let P = (e) => {
if (t.isFocused) {
- tb(e.currentTarget, G(e)) || t.setFocused(!1);
+ ab(e.currentTarget, G(e)) || t.setFocused(!1);
return;
}
- if (!tb(e.currentTarget, G(e))) return;
- let i = ox();
+ if (!ab(e.currentTarget, G(e))) return;
+ let i = ux();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -24666,27 +24666,27 @@ function pT(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = te.current.top, p.current.scrollLeft = te.current.left);
if (t.focusedKey != null && p.current) {
- let e = Sw(r, t.focusedKey);
- e instanceof HTMLElement && (!ib(e) && !d && qy(e), (i === "keyboard" || h && i === "virtual") && EC(e, { containingElement: r.current }));
+ let e = Ow(r, t.focusedKey);
+ e instanceof HTMLElement && (!cb(e) && !d && Zy(e), (i === "keyboard" || h && i === "virtual") && kC(e, { containingElement: r.current }));
}
}, ne = (e) => {
- tb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ ab(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, F = (0, D.useRef)(!1);
- dS(r, Pre, d ? (e) => {
+ hS(r, Are, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);
} : void 0);
let re = n.getFirstKey?.() ?? null;
- fT(() => {
+ vT(() => {
if (F.current) {
if (re == null) {
- let e = nb();
- Zx(r.current), Qx(e, null), t.collection.size > 0 && (F.current = !1);
+ let e = ob();
+ tS(r.current), nS(e, null), t.collection.size > 0 && (F.current = !1);
} else t.setFocusedKey(re), F.current = !1;
}
- }, [re, t.collection.size]), fT(() => {
+ }, [re, t.collection.size]), vT(() => {
t.collection.size > 0 && (F.current = !1);
- }, [t.focusedKey]), dS(r, Nre, d ? (e) => {
+ }, [t.focusedKey]), hS(r, kre, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let ie = (0, D.useRef)(i), ae = (0, D.useRef)(!1);
@@ -24701,22 +24701,22 @@ function pT(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && _x(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && xx(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);
}
});
let oe = (0, D.useRef)(t.focusedKey), se = (0, D.useRef)(null);
(0, D.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {
- let e = ox(), n = Sw(r, t.focusedKey);
+ let e = ux(), n = Ow(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {
- p.current && (wC(p.current, n), e !== "virtual" && EC(n, { containingElement: r.current }));
+ p.current && (DC(p.current, n), e !== "virtual" && kC(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && _x(r.current), oe.current = t.focusedKey, ae.current = !1;
+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && xx(r.current), oe.current = t.focusedKey, ae.current = !1;
}), (0, D.useEffect)(() => () => {
se.current && cancelAnimationFrame(se.current);
- }, []), dS(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), hS(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let ce = {
@@ -24726,14 +24726,14 @@ function pT(e) {
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: le } = dT({
+ }, { typeSelectProps: le } = _T({
keyboardDelegate: n,
selectionManager: t
});
u || (ce = K(le, ce));
let ue;
d || (ue = t.focusedKey == null ? 0 : -1);
- let de = Tie(t.collection);
+ let de = yie(t.collection);
return { collectionProps: K(ce, {
tabIndex: ue,
"data-collection": de
@@ -24741,13 +24741,13 @@ function pT(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function mT(e, t) {
+function bT(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function hT(e) {
- return gT(e, 0);
+function xT(e) {
+ return ST(e, 0);
}
-function gT(e, t) {
+function ST(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -24755,112 +24755,112 @@ function gT(e, t) {
n++;
}
}
-function _T(e) {
+function CT(e) {
let t;
for (let n of e) t = n;
return t;
}
-function vT(e, t, n) {
+function wT(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...yT(e, t), t], i = [...yT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...TT(e, t), t], i = [...TT(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 yT(e, t) {
+function TT(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var bT = /* @__PURE__ */ new WeakMap();
-function xT(e) {
- let t = bT.get(e);
+var ET = /* @__PURE__ */ new WeakMap();
+function DT(e) {
+ let t = ET.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(mT(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(bT(i, e)) : i.type === "item" && n++;
};
- return r(e), bT.set(e, n), n;
+ return r(e), ET.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var ST = /* @__PURE__ */ new Map();
-function CT(e) {
- let { locale: t } = vS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (ST.has(n)) return ST.get(n);
+var OT = /* @__PURE__ */ new Map();
+function kT(e) {
+ let { locale: t } = SS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (OT.has(n)) return OT.get(n);
let r = new Intl.Collator(t, e);
- return ST.set(n, r), r;
+ return OT.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Nie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, D.useRef)(!1), i = (0, D.useContext)(PS), a = K(i || {}, {
+var Die = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, D.useRef)(!1), i = (0, D.useContext)(RS), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = Nx(n || i?.ref), Px(i, a.ref), (0, D.useEffect)(() => {
+ return a.ref = Lx(n || i?.ref), Rx(i, a.ref), (0, D.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ D.createElement(PS.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ D.createElement(RS.Provider, { value: a }, e);
});
-function Pie({ children: e }) {
+function Oie({ children: e }) {
let t = (0, D.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ D.createElement(PS.Provider, { value: t }, e);
+ return /*#__PURE__*/ D.createElement(RS.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var wT = /*#__PURE__*/ (0, D.createContext)({});
-function TT(e) {
- let { getContainer: t } = e, { getContainer: n } = ET();
- return /*#__PURE__*/ D.createElement(wT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var AT = /*#__PURE__*/ (0, D.createContext)({});
+function jT(e) {
+ let { getContainer: t } = e, { getContainer: n } = MT();
+ return /*#__PURE__*/ D.createElement(AT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function ET() {
- return (0, D.useContext)(wT) ?? {};
+function MT() {
+ return (0, D.useContext)(AT) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var DT = /*#__PURE__*/ D.createContext(null);
-function OT(e) {
- let t = Wb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({
+var NT = /*#__PURE__*/ D.createContext(null);
+function PT(e) {
+ let t = Jb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = ET();
+ }), [i, a]), { getContainer: s } = MT();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(XS, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(eC, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ D.createElement(DT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Pie, null, /*#__PURE__*/ D.createElement(Fx.Provider, { value: null }, c))), /*#__PURE__*/ Et.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ D.createElement(NT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Oie, null, /*#__PURE__*/ D.createElement(zx.Provider, { value: null }, c))), /*#__PURE__*/ Et.createPortal(c, n);
}
-function kT() {
- let e = (0, D.useContext)(DT)?.setContain;
- hb(() => {
+function FT() {
+ let e = (0, D.useContext)(NT)?.setContain;
+ yb(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Fie(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = Cx();
+function kie(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = Dx();
i = e["aria-label"] ? void 0 : i;
- let a = Cx();
+ let a = Dx();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, D.useRef)(!1);
(0, D.useEffect)(() => {
- if (!r && t.current && !ib(t.current)) {
- _x(t.current);
+ if (!r && t.current && !cb(t.current)) {
+ xx(t.current);
let e = setTimeout(() => {
- (nb() === t.current || nb() === document.body) && (o.current = !0, t.current && (t.current.blur(), _x(t.current)), o.current = !1);
+ (ob() === t.current || ob() === document.body) && (o.current = !0, t.current && (t.current.blur(), xx(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), kT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});
+ }, [t, r]), FT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...ES(e, { labelable: !0 }),
+ ...AS(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -24875,23 +24875,23 @@ function Fie(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function AT(e = {}) {
+function IT(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({
isFocused: !1,
- isFocusVisible: t || ax()
+ isFocusVisible: t || lx()
}), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = ax(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = lx(), o(e), l();
}, [l]);
- ux((e) => {
+ mx((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Ox({
+ let { focusProps: d } = Mx({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = $C({
+ }), { focusWithinProps: f } = nw({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -24903,42 +24903,42 @@ function AT(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Iie(e = {}) {
- let { locale: t } = vS();
+function Aie(e = {}) {
+ let { locale: t } = SS();
return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var jT = !1, MT = 0;
-function Lie() {
- jT = !0, setTimeout(() => {
- jT = !1;
+var LT = !1, RT = 0;
+function jie() {
+ LT = !0, setTimeout(() => {
+ LT = !1;
}, 500);
}
-function NT(e) {
- e.pointerType === "touch" && Lie();
+function zT(e) {
+ e.pointerType === "touch" && jie();
}
-function Rie() {
- let e = Jy(null);
- if (e !== void 0) return MT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", NT), MT++, () => {
- MT--, !(MT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", NT);
+function Mie() {
+ let e = Qy(null);
+ if (e !== void 0) return RT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", zT), RT++, () => {
+ RT--, !(RT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", zT);
};
}
-function PT(e) {
+function BT(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, D.useEffect)(Rie, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = FS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {
+ (0, D.useEffect)(Mie, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = zS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !tb(e.currentTarget, G(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !ab(e.currentTarget, G(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Jy(G(e)), "pointerover", (e) => {
- s.isHovered && s.target && !tb(s.target, G(e)) && a(e, e.pointerType);
+ s.target = l, c(Qy(G(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !ab(s.target, G(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -24953,9 +24953,9 @@ function PT(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- jT && t.pointerType === "mouse" || e(t, t.pointerType);
+ LT && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && tb(e.currentTarget, G(e)) && a(e, e.pointerType);
+ !i && ab(e.currentTarget, G(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -24978,22 +24978,22 @@ function PT(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function zie(e) {
+function Nie(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = uS((e) => {
- n && FT(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = uS((e) => {
+ }), o = mS((e) => {
+ n && VT(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = mS((e) => {
n && n(e);
});
(0, D.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Jy(n);
+ let n = t.current, i = Qy(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && FT(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && VT(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);
@@ -25001,30 +25001,30 @@ function zie(e) {
}
}, [t, r]);
}
-function FT(e, t) {
+function VT(e, t) {
if (e.button > 0) return !1;
let n = G(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !tb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !ab(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/utils.mjs
-var IT = /* @__PURE__ */ new WeakMap();
-function LT(e, t) {
- let { id: n } = IT.get(e) ?? {};
+var HT = /* @__PURE__ */ new WeakMap();
+function UT(e, t) {
+ let { id: n } = HT.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Bie(t)}`;
+ return `${n}-${Pie(t)}`;
}
-function Bie(e) {
+function Pie(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var RT = {};
-RT = {
+var WT = {};
+WT = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -25038,8 +25038,8 @@ RT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var zT = {};
-zT = {
+var GT = {};
+GT = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -25053,8 +25053,8 @@ zT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var BT = {};
-BT = {
+var KT = {};
+KT = {
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",
@@ -25068,8 +25068,8 @@ BT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var VT = {};
-VT = {
+var qT = {};
+qT = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -25083,8 +25083,8 @@ VT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var HT = {};
-HT = {
+var JT = {};
+JT = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -25098,8 +25098,8 @@ HT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var UT = {};
-UT = {
+var YT = {};
+YT = {
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: "Επιλογή",
@@ -25113,8 +25113,8 @@ UT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var WT = {};
-WT = {
+var XT = {};
+XT = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -25128,8 +25128,8 @@ WT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var GT = {};
-GT = {
+var ZT = {};
+ZT = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -25143,8 +25143,8 @@ GT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var KT = {};
-KT = {
+var QT = {};
+QT = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -25158,8 +25158,8 @@ KT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var qT = {};
-qT = {
+var $T = {};
+$T = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -25173,8 +25173,8 @@ qT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var JT = {};
-JT = {
+var eE = {};
+eE = {
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",
@@ -25188,8 +25188,8 @@ JT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var YT = {};
-YT = {
+var tE = {};
+tE = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -25203,8 +25203,8 @@ YT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var XT = {};
-XT = {
+var nE = {};
+nE = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -25218,8 +25218,8 @@ XT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var ZT = {};
-ZT = {
+var rE = {};
+rE = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -25233,8 +25233,8 @@ ZT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var QT = {};
-QT = {
+var iE = {};
+iE = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -25248,8 +25248,8 @@ QT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var $T = {};
-$T = {
+var aE = {};
+aE = {
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: "選択",
@@ -25263,8 +25263,8 @@ $T = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var eE = {};
-eE = {
+var oE = {};
+oE = {
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: "선택",
@@ -25278,8 +25278,8 @@ eE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var tE = {};
-tE = {
+var sE = {};
+sE = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -25293,8 +25293,8 @@ tE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var nE = {};
-nE = {
+var cE = {};
+cE = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -25308,8 +25308,8 @@ nE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var rE = {};
-rE = {
+var lE = {};
+lE = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -25323,8 +25323,8 @@ rE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var iE = {};
-iE = {
+var uE = {};
+uE = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -25338,8 +25338,8 @@ iE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var aE = {};
-aE = {
+var dE = {};
+dE = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -25353,8 +25353,8 @@ aE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var oE = {};
-oE = {
+var fE = {};
+fE = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -25368,8 +25368,8 @@ oE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var sE = {};
-sE = {
+var pE = {};
+pE = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -25383,8 +25383,8 @@ sE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var cE = {};
-cE = {
+var mE = {};
+mE = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -25398,8 +25398,8 @@ cE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var lE = {};
-lE = {
+var hE = {};
+hE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -25413,8 +25413,8 @@ lE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var uE = {};
-uE = {
+var gE = {};
+gE = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -25428,8 +25428,8 @@ uE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var dE = {};
-dE = {
+var _E = {};
+_E = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -25443,8 +25443,8 @@ dE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var fE = {};
-fE = {
+var vE = {};
+vE = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -25458,8 +25458,8 @@ fE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var pE = {};
-pE = {
+var yE = {};
+yE = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -25473,8 +25473,8 @@ pE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var mE = {};
-mE = {
+var bE = {};
+bE = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -25488,8 +25488,8 @@ mE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var hE = {};
-hE = {
+var xE = {};
+xE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -25503,8 +25503,8 @@ hE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var gE = {};
-gE = {
+var SE = {};
+SE = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -25518,8 +25518,8 @@ gE = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var _E = {};
-_E = {
+var CE = {};
+CE = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -25533,55 +25533,55 @@ _E = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var vE = {};
-vE = {
- "ar-AE": RT,
- "bg-BG": zT,
- "cs-CZ": BT,
- "da-DK": VT,
- "de-DE": HT,
- "el-GR": UT,
- "en-US": WT,
- "es-ES": GT,
- "et-EE": KT,
- "fi-FI": qT,
- "fr-FR": JT,
- "he-IL": YT,
- "hr-HR": XT,
- "hu-HU": ZT,
- "it-IT": QT,
- "ja-JP": $T,
- "ko-KR": eE,
- "lt-LT": tE,
- "lv-LV": nE,
- "nb-NO": rE,
- "nl-NL": iE,
- "pl-PL": aE,
- "pt-BR": oE,
- "pt-PT": sE,
- "ro-RO": cE,
- "ru-RU": lE,
- "sk-SK": uE,
- "sl-SI": dE,
- "sr-SP": fE,
- "sv-SE": pE,
- "tr-TR": mE,
- "uk-UA": hE,
- "zh-CN": gE,
- "zh-TW": _E
+var wE = {};
+wE = {
+ "ar-AE": WT,
+ "bg-BG": GT,
+ "cs-CZ": KT,
+ "da-DK": qT,
+ "de-DE": JT,
+ "el-GR": YT,
+ "en-US": XT,
+ "es-ES": ZT,
+ "et-EE": QT,
+ "fi-FI": $T,
+ "fr-FR": eE,
+ "he-IL": tE,
+ "hr-HR": nE,
+ "hu-HU": rE,
+ "it-IT": iE,
+ "ja-JP": aE,
+ "ko-KR": oE,
+ "lt-LT": sE,
+ "lv-LV": cE,
+ "nb-NO": lE,
+ "nl-NL": uE,
+ "pl-PL": dE,
+ "pt-BR": fE,
+ "pt-PT": pE,
+ "ro-RO": mE,
+ "ru-RU": hE,
+ "sk-SK": gE,
+ "sl-SI": _E,
+ "sr-SP": vE,
+ "sv-SE": yE,
+ "tr-TR": bE,
+ "uk-UA": xE,
+ "zh-CN": SE,
+ "zh-TW": CE
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Vie(e) {
+function Fie(e) {
return e && e.__esModule ? e.default : e;
}
-function yE(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = wS(Vie(vE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {
+function TE(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = OS(Fie(wE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = bE(i, a.current), o = bE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = EE(i, a.current), o = EE(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)) {
@@ -25601,7 +25601,7 @@ function yE(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 && vC(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 && xC(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -25612,7 +25612,7 @@ function yE(e, t) {
n,
r
]);
- bC(() => {
+ CC(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -25620,7 +25620,7 @@ function yE(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function bE(e, t) {
+function EE(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);
@@ -25628,13 +25628,13 @@ function bE(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function xE(e, t) {
+function DE(e, t) {
let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);
- return hb(() => {
+ return yb(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = fC(e.current, { tabbable: !0 });
+ let t = hC(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -25653,12 +25653,12 @@ function xE(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Hie(e) {
+function Iie(e) {
return e && e.__esModule ? e.default : e;
}
-function SE(e) {
- let t = wS(Hie(vE), "@react-aria/grid"), n = cx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return kC((0, D.useMemo)(() => {
+function OE(e) {
+ let t = OS(Iie(wE), "@react-aria/grid"), n = fx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return MC((0, D.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;
}, [
@@ -25671,11 +25671,11 @@ function SE(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function CE(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = CT({
+function kE(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = kT({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new Tw({
+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new jw({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -25692,7 +25692,7 @@ function CE(e) {
c,
l,
s
- ]), { collectionProps: d } = pT({
+ ]), { collectionProps: d } = yT({
...e,
ref: i,
selectionManager: t,
@@ -25702,10 +25702,10 @@ function CE(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function Uie(e, t, n) {
+function Lie(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 } = CE({
+ let { listProps: f } = kE({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -25720,31 +25720,31 @@ function Uie(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = Sx(e.id);
- IT.set(t, {
+ }), p = Ex(e.id);
+ HT.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = SE({
+ let m = OE({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = xE(n, { isDisabled: t.collection.size !== 0 }), g = K(ES(e, { labelable: !0 }), {
+ }), h = DE(n, { isDisabled: t.collection.size !== 0 }), g = K(AS(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), yE({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), TE({}, t), { gridProps: g };
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function wE(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 = Fb();
- t = Sx(t);
+function AE(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 = zb();
+ t = Ex(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && xw(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Dw(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -25755,11 +25755,11 @@ function wE(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 && (cS(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 && (fS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, D.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Zx(i.current) : s ? s() : nb() !== i.current && i.current && _x(i.current));
+ r === n.focusedKey && n.isFocused && (o ? tS(i.current) : s ? s() : ob() !== i.current && i.current && xx(i.current));
}, [
i,
r,
@@ -25787,22 +25787,22 @@ function wE(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
}, A = { ref: i };
a ? (A.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || EE(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || ME(e.key)) && p(e);
}, u ? (A.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, A.onPress = b ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : A.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !TE(e.key)) return;
+ if (e.pointerType === "keyboard" && !jE(e.key)) return;
k(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (A.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || EE(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || ME(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && TE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && jE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));
});
- let j = Eie(n.collection);
+ let j = bie(n.collection);
if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = K(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -25817,10 +25817,10 @@ function wE(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = vx(A[e], O[e]));
- let { pressProps: M, isPressed: ee } = BS(A), N = x ? (e) => {
+ ]) O[e] && (A[e] = Sx(A[e], O[e]));
+ let { pressProps: M, isPressed: ee } = WS(A), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: te } = sT({
+ } : void 0, { longPressProps: te } = pT({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -25828,7 +25828,7 @@ function wE(e) {
}), P = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, ne = d !== "none" && n.isLink(r) ? (e) => {
- Lb.isOpening || e.preventDefault();
+ Vb.isOpening || e.preventDefault();
} : void 0, F = K(m, v || b || o && !c ? M : {}, w ? te : {}, {
onDoubleClick: N,
onDragStartCapture: P,
@@ -25841,7 +25841,7 @@ function wE(e) {
if (e != null) return e !== j;
t = t.parentElement;
}
- return pb(e);
+ return _b(e);
}, ie = F.onPointerDown;
F.onPointerDown = (e) => {
let t = G(e);
@@ -25861,15 +25861,15 @@ function wE(e) {
hasAction: S
};
}
-function TE(e) {
+function jE(e) {
return e === "Enter";
}
-function EE(e) {
+function ME(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var DE = {
+var NE = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -25879,18 +25879,18 @@ var DE = {
rtl: "ArrowRight"
}
};
-function Wie(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = vS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = IT.get(t), f = Cx(), p = (0, D.useRef)(null), m = () => {
+function Rie(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = SS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = HT.get(t), f = Dx(), p = (0, D.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (ib(n.current) && n.current !== nb(Jy(n.current))) return;
- let e = fC(n.current, { tabbable: !0 }).firstChild();
+ if (cb(n.current) && n.current !== ob(Qy(n.current))) return;
+ let e = hC(n.current, { tabbable: !0 }).firstChild();
if (e) {
- _x(e), EC(e, { containingElement: SC(e) });
+ xx(e), kC(e, { containingElement: TC(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !ib(n.current)) && _x(n.current);
+ (p.current != null && r.key !== p.current || !cb(n.current)) && xx(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -25900,7 +25900,7 @@ function Wie(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = Gie(e, t.collection);
+ let n = zie(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;
@@ -25911,75 +25911,75 @@ function Wie(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = wE({
+ let { itemProps: v, ...y } = AE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? vx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? Sx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = nb(Jy(n.current));
- if (!tb(e.currentTarget, G(e)) || !n.current || !i) return;
- let a = fC(n.current);
- if (a.currentNode = i, !OE(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = ob(Qy(n.current));
+ if (!ab(e.currentTarget, G(e)) || !n.current || !i) return;
+ let a = hC(n.current);
+ if (a.currentNode = i, !PE(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(), _x(t), EC(t, { containingElement: SC(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") _x(n.current), EC(n.current, { containingElement: SC(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), xx(t), kC(t, { containingElement: TC(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") xx(n.current), kC(n.current, { containingElement: TC(n.current) });
else {
a.currentNode = n.current;
- let e = kE(a);
- e && (_x(e), EC(e, { containingElement: SC(n.current) }));
+ let e = FE(a);
+ e && (xx(e), kC(e, { containingElement: TC(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), _x(t), EC(t, { containingElement: SC(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") _x(n.current), EC(n.current, { containingElement: SC(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), xx(t), kC(t, { containingElement: TC(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") xx(n.current), kC(n.current, { containingElement: TC(n.current) });
else {
a.currentNode = n.current;
- let e = kE(a);
- e && (_x(e), EC(e, { containingElement: SC(n.current) }));
+ let e = FE(a);
+ e && (xx(e), kC(e, { containingElement: TC(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && tb(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && ab(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 && tb(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && nb(Jy(n.current)) === n.current && m();
- }) : ax() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && ab(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && ob(Qy(n.current)) === n.current && m();
+ }) : lx() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = nb(Jy(n.current));
- if (tb(e.currentTarget, G(e)) && n.current && i) {
+ let i = ob(Qy(n.current));
+ if (ab(e.currentTarget, G(e)) && n.current && i) {
if (u === "tab") {
if (G(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (OE(e, t, r, g, s, i, n.current, o)) return;
+ if (PE(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = fC(n.current, { tabbable: !0 });
+ let t = hC(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = zb(r.props), w = K(v, y.hasAction ? C : {}, {
+ }, C = Ub(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) ? `${LT(t, r.key)} ${f}` : void 0,
- id: LT(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${UT(t, r.key)} ${f}` : void 0,
+ id: UT(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -26000,37 +26000,37 @@ function Wie(e, t, n) {
...y
};
}
-function OE(e, t, n, r, i, a, o, s) {
+function PE(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === DE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === DE.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === NE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === NE.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 kE(e) {
+function FE(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function Gie(e, t) {
+function zie(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;
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Kie(e) {
+function Bie(e) {
return e && e.__esModule ? e.default : e;
}
-function AE(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Sx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function IE(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = Ex(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": wS(Kie(vE), "@react-aria/grid").format("select"),
+ "aria-label": OS(Bie(wE), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -26038,31 +26038,31 @@ function AE(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function qie(e, t) {
- let { key: n } = e, { checkboxProps: r } = AE(e, t);
+function Vie(e, t) {
+ let { key: n } = e, { checkboxProps: r } = IE(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${LT(t, n)}`
+ "aria-labelledby": `${r.id} ${UT(t, n)}`
} };
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Jie(e, t, n) {
- let r = ES(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Hie(e, t, n) {
+ let r = AS(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 } = CE({
+ let { listProps: s } = kE({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = $C({
+ }), { focusWithinProps: c } = nw({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Sx(e.id);
- bw.set(t, {
+ }), l = Ex(e.id);
+ Ew.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -26072,7 +26072,7 @@ function Jie(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = ZC({
+ let { labelProps: u, fieldProps: d } = ew({
...e,
id: l,
labelElementType: "span"
@@ -26088,8 +26088,8 @@ function Jie(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Yie(e) {
- let { heading: t, "aria-label": n } = e, r = Sx();
+function Uie(e) {
+ let { heading: t, "aria-label": n } = e, r = Ex();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26108,8 +26108,8 @@ function Yie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Xie(e, t, n) {
- let { key: r } = e, i = bw.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 = Cx(), f = Cx(), p = {
+function Wie(e, t, n) {
+ let { key: r } = e, i = Ew.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 = Dx(), f = Dx(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -26119,9 +26119,9 @@ function Xie(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"] = xT(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = DT(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = wie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = wE({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = vie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = AE({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -26130,18 +26130,18 @@ function Xie(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? vx(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? Sx(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = PT({
+ }), { hoverProps: S } = BT({
isDisabled: a || !c,
onHoverStart() {
- ax() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ lx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = ES(m?.props);
+ }), C = AS(m?.props);
delete C.id;
- let w = Bb(m?.props);
+ let w = Wb(m?.props);
return {
optionProps: {
...p,
@@ -26151,7 +26151,7 @@ function Xie(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && ax(),
+ isFocusVisible: y && t.selectionManager.isFocused && lx(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -26161,13 +26161,13 @@ function Xie(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var jE = /* @__PURE__ */ new WeakMap();
+var LE = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Zie(e, t, n) {
+function Gie(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = ES(e, { labelable: !0 }), { listProps: c } = CE({
+ let s = AS(e, { labelable: !0 }), { listProps: c } = kE({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -26176,7 +26176,7 @@ function Zie(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return jE.set(t, {
+ return LE.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -26193,15 +26193,15 @@ function Zie(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Qie(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), O = e.isSelected ?? C.isSelected(i), k = jE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Fb(), ee = () => {
+function Kie(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), O = e.isSelected ?? C.isSelected(i), k = LE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = zb(), ee = () => {
if (!w && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {
let e = k.onAction;
e(i, A?.value);
}
}, N = "menuitem";
w || (C.selectionMode === "single" ? N = "menuitemradio" : C.selectionMode === "multiple" && (N = "menuitemcheckbox"));
- let te = Cx(), P = Cx(), ne = Cx(), F = {
+ let te = Dx(), P = Dx(), ne = Dx(), F = {
id: r,
"aria-disabled": E || void 0,
role: N,
@@ -26218,17 +26218,17 @@ function Qie(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (F["aria-checked"] = O), s) {
let e = Number(A?.index);
- F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = xT(t.collection);
+ F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = DT(t.collection);
}
let re = (0, D.useRef)(!1), ie = (e) => {
f?.(e), re.current = e;
}, ae = (0, D.useRef)(null), oe = (e) => {
e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);
}, se = (e) => {
- m?.(e), ee(), Jne(e, M, A.props.href, A?.props.routerOptions);
+ m?.(e), ee(), Wne(e, M, A.props.href, A?.props.routerOptions);
let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, j && !w && t && j(), ae.current = null;
- }, { itemProps: ce, isFocused: le } = wE({
+ }, { itemProps: ce, isFocused: le } = AE({
id: r,
selectionManager: C,
key: i,
@@ -26237,27 +26237,27 @@ function Qie(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: k.shouldUseVirtualFocus
- }), { pressProps: ue, isPressed: de } = BS({
+ }), { pressProps: ue, isPressed: de } = WS({
onPressStart: l,
onPress: d,
onPressUp: oe,
onPressChange: ie,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: fe } = PT({
+ }), { hoverProps: fe } = BT({
isDisabled: E,
onHoverStart(e) {
- !ax() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !lx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: pe } = Mx({
+ }), { keyboardProps: pe } = Ix({
shortcuts: {
" ": (e) => {
ae.current = {
pointerType: "keyboard",
key: " "
- }, G(e).click(), sx("keyboard");
+ }, G(e).click(), dx("keyboard");
},
Enter: (e) => {
ae.current = {
@@ -26265,8 +26265,8 @@ function Qie(e, t, n) {
key: "Enter"
};
let t = G(e);
- if (t.tagName !== "A") t.click(), sx("keyboard");
- else return sx("keyboard"), {
+ if (t.tagName !== "A") t.click(), dx("keyboard");
+ else return dx("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -26274,13 +26274,13 @@ function Qie(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: me } = Ix({
+ }), { focusableProps: me } = Bx({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), he = ES(A?.props);
+ }, n), he = AS(A?.props);
delete he.id;
- let ge = Bb(A?.props);
+ let ge = Wb(A?.props);
return {
menuItemProps: {
...F,
@@ -26295,7 +26295,7 @@ function Qie(e, t, n) {
descriptionProps: { id: P },
keyboardShortcutProps: { id: ne },
isFocused: le,
- isFocusVisible: le && C.isFocused && ax() && !T,
+ isFocusVisible: le && C.isFocused && lx() && !T,
isSelected: O,
isPressed: de,
isDisabled: E
@@ -26303,8 +26303,8 @@ function Qie(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function $ie(e) {
- let { heading: t, "aria-label": n } = e, r = Sx();
+function qie(e) {
+ let { heading: t, "aria-label": n } = e, r = Ex();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26320,15 +26320,15 @@ function $ie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function eae() {
+function Jie() {
return window.ResizeObserver !== void 0;
}
-function ME(e) {
- let { ref: t, box: n, onResize: r } = e, i = uS(r);
+function RE(e) {
+ let { ref: t, box: n, onResize: r } = e, i = mS(r);
(0, D.useEffect)(() => {
let e = t?.current;
if (e) {
- if (eae()) {
+ if (Jie()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -26344,189 +26344,189 @@ function ME(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var NE = {};
-NE = { dismiss: "تجاهل" };
+var zE = {};
+zE = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var PE = {};
-PE = { dismiss: "Отхвърляне" };
+var BE = {};
+BE = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var FE = {};
-FE = { dismiss: "Odstranit" };
+var VE = {};
+VE = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var IE = {};
-IE = { dismiss: "Luk" };
+var HE = {};
+HE = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var LE = {};
-LE = { dismiss: "Schließen" };
+var UE = {};
+UE = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var RE = {};
-RE = { dismiss: "Απόρριψη" };
+var WE = {};
+WE = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var zE = {};
-zE = { dismiss: "Dismiss" };
+var GE = {};
+GE = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var BE = {};
-BE = { dismiss: "Descartar" };
+var KE = {};
+KE = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var VE = {};
-VE = { dismiss: "Lõpeta" };
+var qE = {};
+qE = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var HE = {};
-HE = { dismiss: "Hylkää" };
+var JE = {};
+JE = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var UE = {};
-UE = { dismiss: "Rejeter" };
+var YE = {};
+YE = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var WE = {};
-WE = { dismiss: "התעלם" };
+var XE = {};
+XE = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var GE = {};
-GE = { dismiss: "Odbaci" };
+var ZE = {};
+ZE = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var KE = {};
-KE = { dismiss: "Elutasítás" };
+var QE = {};
+QE = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var qE = {};
-qE = { dismiss: "Ignora" };
+var $E = {};
+$E = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var JE = {};
-JE = { dismiss: "閉じる" };
+var eD = {};
+eD = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var YE = {};
-YE = { dismiss: "무시" };
+var tD = {};
+tD = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var XE = {};
-XE = { dismiss: "Atmesti" };
+var nD = {};
+nD = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var ZE = {};
-ZE = { dismiss: "Nerādīt" };
+var rD = {};
+rD = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var QE = {};
-QE = { dismiss: "Lukk" };
+var iD = {};
+iD = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var $E = {};
-$E = { dismiss: "Negeren" };
+var aD = {};
+aD = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var eD = {};
-eD = { dismiss: "Zignoruj" };
+var oD = {};
+oD = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var tD = {};
-tD = { dismiss: "Descartar" };
+var sD = {};
+sD = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var nD = {};
-nD = { dismiss: "Dispensar" };
+var cD = {};
+cD = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var rD = {};
-rD = { dismiss: "Revocare" };
+var lD = {};
+lD = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var iD = {};
-iD = { dismiss: "Пропустить" };
+var uD = {};
+uD = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var aD = {};
-aD = { dismiss: "Zrušiť" };
+var dD = {};
+dD = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var oD = {};
-oD = { dismiss: "Opusti" };
+var fD = {};
+fD = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var sD = {};
-sD = { dismiss: "Odbaci" };
+var pD = {};
+pD = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var cD = {};
-cD = { dismiss: "Avvisa" };
+var mD = {};
+mD = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var lD = {};
-lD = { dismiss: "Kapat" };
+var hD = {};
+hD = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var uD = {};
-uD = { dismiss: "Скасувати" };
+var gD = {};
+gD = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var dD = {};
-dD = { dismiss: "取消" };
+var _D = {};
+_D = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var fD = {};
-fD = { dismiss: "關閉" };
+var vD = {};
+vD = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/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 yD = {};
+yD = {
+ "ar-AE": zE,
+ "bg-BG": BE,
+ "cs-CZ": VE,
+ "da-DK": HE,
+ "de-DE": UE,
+ "el-GR": WE,
+ "en-US": GE,
+ "es-ES": KE,
+ "et-EE": qE,
+ "fi-FI": JE,
+ "fr-FR": YE,
+ "he-IL": XE,
+ "hr-HR": ZE,
+ "hu-HU": QE,
+ "it-IT": $E,
+ "ja-JP": eD,
+ "ko-KR": tD,
+ "lt-LT": nD,
+ "lv-LV": rD,
+ "nb-NO": iD,
+ "nl-NL": aD,
+ "pl-PL": oD,
+ "pt-BR": sD,
+ "pt-PT": cD,
+ "ro-RO": lD,
+ "ru-RU": uD,
+ "sk-SK": dD,
+ "sl-SI": fD,
+ "sr-SP": pD,
+ "sv-SE": mD,
+ "tr-TR": hD,
+ "uk-UA": gD,
+ "zh-CN": _D,
+ "zh-TW": vD
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function tae(e) {
+function Yie(e) {
return e && e.__esModule ? e.default : e;
}
-function mD(e) {
- let { onDismiss: t, ...n } = e, r = fS(n, wS(tae(pD), "@react-aria/overlays").format("dismiss")), i = () => {
+function bD(e) {
+ let { onDismiss: t, ...n } = e, r = gS(n, OS(Yie(yD), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ D.createElement(fw, null, /*#__PURE__*/ D.createElement("button", {
+ return /*#__PURE__*/ D.createElement(vw, null, /*#__PURE__*/ D.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -26538,35 +26538,35 @@ function mD(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var hD = [];
-function gD(e, t) {
+var xD = [];
+function SD(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);
(0, D.useEffect)(() => {
- if (i && !hD.includes(t)) return hD.push(t), () => {
- let e = hD.indexOf(t);
- e >= 0 && hD.splice(e, 1);
+ if (i && !xD.includes(t)) return xD.push(t), () => {
+ let e = xD.indexOf(t);
+ e >= 0 && xD.splice(e, 1);
};
}, [i, t]);
let l = () => {
- hD[hD.length - 1] === t && n && n();
+ xD[xD.length - 1] === t && n && n();
}, u = (e) => {
- let n = hD[hD.length - 1];
+ let n = xD[xD.length - 1];
c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(G(e))) && (hD[hD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = Mx({ shortcuts: { Escape: () => {
+ (!s || s(G(e))) && (xD[xD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = Ix({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- zie({
+ Nie({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = $C({
+ let { focusWithinProps: p } = nw({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !nC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !die(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -26579,88 +26579,88 @@ function gD(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var nae = 200, rae = 50, iae = 600, _D = /* @__PURE__ */ new WeakMap(), vD = /* @__PURE__ */ new Set(), yD = /* @__PURE__ */ new Set();
-function aae(e, t) {
- let n = lS();
- if (e !== n || t.aborted) for (let e of yD) e(n), yD.delete(e);
- if (!e && n && kb() && !t.aborted) window.clearInterval(_D.get(window)), _D.set(window, bD(nae));
+var Xie = 200, Zie = 50, Qie = 600, CD = /* @__PURE__ */ new WeakMap(), wD = /* @__PURE__ */ new Set(), TD = /* @__PURE__ */ new Set();
+function $ie(e, t) {
+ let n = pS();
+ if (e !== n || t.aborted) for (let e of TD) e(n), TD.delete(e);
+ if (!e && n && Nb() && !t.aborted) window.clearInterval(CD.get(window)), CD.set(window, ED(Xie));
else {
- if (e !== n || t.aborted) for (let e of vD) e(n), vD.delete(e);
- (yD.size + vD.size <= 0 || t.aborted) && (window.clearInterval(_D.get(window)), _D.delete(window));
+ if (e !== n || t.aborted) for (let e of wD) e(n), wD.delete(e);
+ (TD.size + wD.size <= 0 || t.aborted) && (window.clearInterval(CD.get(window)), CD.delete(window));
}
}
-function bD(e = iae) {
- return window.setInterval(aae, rae, lS(), AbortSignal.timeout(e));
+function ED(e = Qie) {
+ return window.setInterval($ie, Zie, pS(), AbortSignal.timeout(e));
}
-function xD(e) {
- if (!oS()) return e(!1), () => {};
+function DD(e) {
+ if (!uS()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = sS(document.hasFocus() ? nb() : null);
- if (lS() === t || lS() && !t) return e(t);
- yD.add(e), _D.has(window) || _D.set(window, bD());
+ let t = dS(document.hasFocus() ? ob() : null);
+ if (pS() === t || pS() && !t) return e(t);
+ TD.add(e), CD.has(window) || CD.set(window, ED());
});
});
return () => {
- window.cancelAnimationFrame(t), yD.delete(e);
+ window.cancelAnimationFrame(t), TD.delete(e);
};
}
-function oae(e) {
- if (!oS()) return e(!1), () => {};
+function eae(e) {
+ if (!uS()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = sS(document.hasFocus() ? nb() : null);
- if (lS() === t) return e(t);
- vD.add(e), _D.has(window) || _D.set(window, bD());
+ let t = dS(document.hasFocus() ? ob() : null);
+ if (pS() === t) return e(t);
+ wD.add(e), CD.has(window) || CD.set(window, ED());
});
});
return () => {
- window.cancelAnimationFrame(t), vD.delete(e);
+ window.cancelAnimationFrame(t), wD.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var SD = typeof document < "u" && window.visualViewport, CD = 0, wD;
-function TD(e = {}) {
+var OD = typeof document < "u" && window.visualViewport, kD = 0, AD;
+function jD(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- hb(() => {
- if (!t) return CD++, CD === 1 && (wD = Db() && kb() ? cae() : sae(n)), () => {
- CD--, CD === 0 && wD();
+ yb(() => {
+ if (!t) return kD++, kD === 1 && (AD = jb() && Nb() ? nae() : tae(n)), () => {
+ kD--, kD === 0 && AD();
};
}, [t, n]);
}
-function sae(e) {
+function tae(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return vx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? $y(document.documentElement, "scrollbar-gutter", "stable") : $y(document.documentElement, "padding-right", `${t}px`)), $y(document.documentElement, "overflow", "hidden"), e && DD(), e && oS() && ED());
+ return Sx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? rb(document.documentElement, "scrollbar-gutter", "stable") : rb(document.documentElement, "padding-right", `${t}px`)), rb(document.documentElement, "overflow", "hidden"), e && ND(), e && uS() && MD());
}
-function cae() {
- let e = $y(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function nae() {
+ let e = rb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = G(e);
- t = xC(r, !0) ? r : SC(r, !0), n = !1;
+ t = wC(r, !0) ? r : TC(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 = NS();
+ }, i = document.createElement("style"), a = LS();
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 = DD(), c = vx(Qy(document, "touchstart", r, {
+ }, s = ND(), c = Sx(nb(document, "touchstart", r, {
passive: !1,
capture: !0
- }), Qy(document, "touchmove", o, {
+ }), nb(document, "touchmove", o, {
passive: !1,
capture: !0
- }), ED());
+ }), MD());
return () => {
e(), c(), i.remove(), s();
};
}
-function ED() {
- return Qy(document, "blur", (e) => {
+function MD() {
+ return nb(document, "blur", (e) => {
let t = G(e), n = e.relatedTarget;
- n && sS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && dS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function DD() {
+function ND() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -26671,9 +26671,9 @@ function DD() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- nb() === this && lae(this);
+ ob() === this && rae(this);
};
- xD((t) => t ? e() : oae(() => e()));
+ DD((t) => t ? e() : eae(() => e()));
}
}
}), () => {
@@ -26684,15 +26684,15 @@ function DD() {
});
};
}
-function lae(e) {
+function rae(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = SC(n);
+ let e = TC(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;
- SD && (n = Math.min(n, SD.offsetTop + SD.height));
+ OD && (n = Math.min(n, OD.offsetTop + OD.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)),
@@ -26705,19 +26705,19 @@ function lae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function uae(e, t, n) {
- let { overlayProps: r, underlayProps: i } = gD({
+function iae(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = SD({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- TD({
+ jD({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), kT();
+ }), FT();
let { isEntering: a } = e;
return (0, D.useEffect)(() => {
- if (t.isOpen && n.current) return a ? yw(n.current) : vw([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? Tw(n.current) : ww([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -26729,33 +26729,33 @@ function uae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var OD = {
+var PD = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, kD = {
+}, FD = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, dae = {
+}, aae = {
top: "left",
left: "top"
-}, AD = {
+}, ID = {
top: "height",
left: "width"
-}, jD = {
+}, LD = {
width: "totalWidth",
height: "totalHeight"
-}, MD = {}, fae = () => typeof document < "u" ? window.visualViewport : null;
-function ND(e, t) {
+}, RD = {}, oae = () => typeof document < "u" ? window.visualViewport : null;
+function zD(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} = zD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return kb() && (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} = GD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return Nb() && (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,
@@ -26765,7 +26765,7 @@ function ND(e, t) {
left: s
};
}
-function pae(e) {
+function sae(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -26773,11 +26773,11 @@ function pae(e) {
height: e.scrollHeight
};
}
-function PD(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[AD[e]], l = o[e] + r.scroll[OD[e]] + a, u = o[e] + r.scroll[OD[e]] + c - a, d = t - s + r.scroll[OD[e]] + o[e] - r[OD[e]], f = t - s + n + r.scroll[OD[e]] + o[e] - r[OD[e]];
+function BD(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[ID[e]], l = o[e] + r.scroll[PD[e]] + a, u = o[e] + r.scroll[PD[e]] + c - a, d = t - s + r.scroll[PD[e]] + o[e] - r[PD[e]], f = t - s + n + r.scroll[PD[e]] + o[e] - r[PD[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function mae(e) {
+function cae(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -26786,55 +26786,55 @@ function mae(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function FD(e) {
- if (MD[e]) return MD[e];
- let [t, n] = e.split(" "), r = OD[t] || "right", i = dae[r];
- OD[n] || (n = "center");
- let a = AD[r], o = AD[i];
- return MD[e] = {
+function VD(e) {
+ if (RD[e]) return RD[e];
+ let [t, n] = e.split(" "), r = PD[t] || "right", i = aae[r];
+ PD[n] || (n = "center");
+ let a = ID[r], o = ID[i];
+ return RD[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, MD[e];
+ }, RD[e];
}
-function ID(e, t, n, r, i, a, o, s, c, l, u) {
+function HD(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] = iw(_[m], v, y), d === p) {
- let t = s ? u[h] : u[jD[h]];
- _[kD[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = sw(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[LD[h]];
+ _[FD[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function hae(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[jD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function lae(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[LD.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 LD(e, t, n, r, i, a, o, s) {
+function UD(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[kD[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[kD[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[FD[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[FD[l]] - i);
}
-function gae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = FD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = ID(t, s, n, v, u, d, l, f, m, h, c), T = u, E = LD(s, l, t, i, a + u, v, c, g);
+function uae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = VD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = HD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = UD(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = FD(`${kD[S]} ${C}`), r = ID(t, s, n, e, u, d, l, f, m, h, c);
- LD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = VD(`${FD[S]} ${C}`), r = HD(t, s, n, e, u, d, l, f, m, h, c);
+ UD(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 = PD(b, w[b], n[x], s, c, a, l);
+ let O = BD(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = hae(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = ID(t, s, n, v, T, d, l, f, m, h, c), O = PD(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[OD[b]], M = j + .5 * t[x], ee = m / 2 + h, N = OD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
- A[b] = iw(iw(M, t[b] + m / 2 - (w[b] + i[OD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[OD[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 = lae(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = HD(t, s, n, v, T, d, l, f, m, h, c), O = BD(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[PD[b]], M = j + .5 * t[x], ee = m / 2 + h, N = PD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
+ A[b] = sw(sw(M, t[b] + m / 2 - (w[b] + i[PD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[PD[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
@@ -26848,17 +26848,17 @@ function gae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function _ae(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 = fae(), h = r instanceof HTMLElement ? vae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? zD(n, !1, p) : BD(n, h, !1, p);
+function dae(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 = oae(), h = r instanceof HTMLElement ? fae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? GD(n, !1, p) : KD(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 = zD(r, !0), x = mae(r);
+ let b = GD(r, !0), x = cae(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = pae(i), C = ND(s, m), w = ND(h, m), T;
+ let S = sae(i), C = zD(s, m), w = zD(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = RD(h, !1);
+ let e = WD(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -26870,11 +26870,11 @@ function _ae(e) {
left: 0,
width: 0,
height: 0
- } : BD(s, h, !1);
- let E = tb(s, h);
- return gae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : KD(s, h, !1);
+ let E = ab(s, h);
+ return uae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function RD(e, t) {
+function WD(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,
@@ -26883,8 +26883,8 @@ function RD(e, t) {
height: a
};
}
-function zD(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || RD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function GD(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || WD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -26892,30 +26892,30 @@ function zD(e, t, n) {
height: o
};
}
-function BD(e, t, n, r) {
+function KD(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || RD(e, n);
+ if (i.position === "fixed") a = r || WD(e, n);
else {
- a = zD(e, n, r);
- let i = zD(t, n), o = window.getComputedStyle(t);
+ a = GD(e, n, r);
+ let i = GD(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 vae(e) {
+function fae(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !VD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !VD(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !qD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !qD(t);) t = t.parentElement;
return t || document.documentElement;
}
-function VD(e) {
+function qD(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";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var HD = typeof document < "u" ? window.visualViewport : null;
-function yae(e) {
- let { direction: t } = vS(), { 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, D.useState)(null), x = [
+var JD = typeof document < "u" ? window.visualViewport : null;
+function pae(e) {
+ let { direction: t } = SS(), { 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, D.useState)(null), x = [
p,
s,
i.current,
@@ -26932,15 +26932,15 @@ function yae(e) {
g,
_,
n
- ], S = (0, D.useRef)(HD?.scale);
+ ], S = (0, D.useRef)(JD?.scale);
(0, D.useEffect)(() => {
- m && (S.current = HD?.scale);
+ m && (S.current = JD?.scale);
}, [m]);
let C = (0, D.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || HD?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || JD?.scale !== S.current) return;
let e = null;
- if (o.current && ib(o.current)) {
- let t = nb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && cb(o.current)) {
+ let t = ob()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -26948,8 +26948,8 @@ function yae(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 = _ae({
- placement: xae(s, t),
+ let y = dae({
+ placement: hae(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -26959,28 +26959,28 @@ function yae(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? RD(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? WD(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 = nb();
+ let x = ob();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- hb(C, x), bae(C), ME({
+ yb(C, x), mae(C), RE({
ref: i,
onResize: C
- }), ME({
+ }), RE({
ref: r,
onResize: C
});
let w = (0, D.useRef)(!1);
- hb(() => {
+ yb(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -26988,16 +26988,16 @@ function yae(e) {
}, n = () => {
w.current && t();
};
- HD?.addEventListener("resize", t), HD?.addEventListener("scroll", n);
- let r = Qy(rb(window), "scroll", n);
+ JD?.addEventListener("resize", t), JD?.addEventListener("scroll", n);
+ let r = nb(sb(window), "scroll", n);
return () => {
- HD?.removeEventListener("resize", t), HD?.removeEventListener("scroll", n), r();
+ JD?.removeEventListener("resize", t), JD?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, D.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return kie({
+ return Cie({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -27023,25 +27023,25 @@ function yae(e) {
updatePosition: C
};
}
-function bae(e) {
- hb(() => (window.addEventListener("resize", e, !1), () => {
+function mae(e) {
+ yb(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function xae(e, t) {
+function hae(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function Sae(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 } = gD({
+function gae(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 } = SD({
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 } = yae({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = pae({
...c,
targetRef: n,
overlayRef: r,
@@ -27049,15 +27049,15 @@ function Sae(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)
});
- TD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {
- if (t.isOpen && r.current) return a ? yw(i?.current ?? r.current) : vw([i?.current ?? r.current], { shouldUseInert: !0 });
+ jD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Tw(i?.current ?? r.current) : ww([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = $C(e);
+ let { focusWithinProps: g } = nw(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -27068,13 +27068,13 @@ function Sae(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var UD = /* @__PURE__ */ new WeakMap();
+var YD = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Cae(e, t, n) {
+function _ae(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: _ } = BS({
+ }, { pressProps: g, isPressed: _ } = WS({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -27082,7 +27082,7 @@ function Cae(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = BS({
+ }), { pressProps: v, isPressed: y } = WS({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -27092,11 +27092,11 @@ function Cae(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = Ix(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = ES(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = Bx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = AS(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: O, validationBehavior: k } = UD.get(t);
- AC(n, t.defaultSelectedValue, t.setSelectedValue), jC({ validationBehavior: k }, t, n);
- let A = IC();
+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = YD.get(t);
+ NC(n, t.defaultSelectedValue, t.setSelectedValue), PC({ validationBehavior: k }, t, n);
+ let A = zC();
return {
labelProps: K(v, (0, D.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -27128,13 +27128,13 @@ function Cae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function wae(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = vS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = QC({
+function vae(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = SS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = tw({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = ES(e, { labelable: !0 }), { focusWithinProps: v } = $C({
+ }), _ = AS(e, { labelable: !0 }), { focusWithinProps: v } = nw({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -27142,13 +27142,13 @@ function wae(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = fC(n.currentTarget, {
+ let r = hC(n.currentTarget, {
from: G(n),
- accept: (e) => e instanceof Yy(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof $y(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 } = Mx({
+ let { keyboardProps: b } = Ix({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -27156,8 +27156,8 @@ function wae(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Sx(n);
- return UD.set(t, {
+ }), x = Ex(n);
+ return YD.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -27186,21 +27186,21 @@ function wae(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var WD = /* @__PURE__ */ new WeakMap();
-function Tae(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = CT({
+var XD = /* @__PURE__ */ new WeakMap();
+function yae(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = kT({
usage: "search",
sensitivity: "base"
- }), u = (0, D.useMemo)(() => r || new Tw(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, D.useMemo)(() => r || new jw(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = lT({
+ ]), { menuTriggerProps: d, menuProps: f } = hT({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = Mx({
+ }, t, n), { keyboardProps: p } = Ix({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -27216,21 +27216,21 @@ function Tae(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = dT({
+ }), { typeSelectProps: m } = _T({
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 } = QC({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = tw({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = ES(e, { labelable: !0 }), C = K(m, d, y), w = Sx();
- return WD.set(t, {
+ let S = AS(e, { labelable: !0 }), C = K(m, d, y), w = Ex();
+ return XD.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -27240,13 +27240,13 @@ function Tae(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), sx("keyboard"));
+ e.isDisabled || (n.current?.focus(), dx("keyboard"));
}
},
triggerProps: K(S, {
...C,
isDisabled: i,
- onKeyDown: vx(C.onKeyDown, p.onKeyDown),
+ onKeyDown: Sx(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -27270,7 +27270,7 @@ function Tae(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- tb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ ab(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(" ")
},
@@ -27291,13 +27291,13 @@ function Tae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Eae(e, t, n) {
- let r = WD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = dw({ style: {
+function bae(e, t, n) {
+ let r = XD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = _w({ style: {
position: "fixed",
top: 0,
left: 0
} });
- AC(e.selectRef, t.defaultValue, t.setValue), jC({
+ NC(e.selectRef, t.defaultValue, t.setValue), PC({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -27327,8 +27327,8 @@ function Eae(e, t, n) {
}
};
}
-function Dae(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = Eae({
+function xae(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = bae({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -27352,7 +27352,7 @@ function Dae(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = WD.get(t) || {};
+ let { validationBehavior: e } = XD.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -27383,8 +27383,8 @@ function Dae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Oae(e) {
- let t = ES(e, { labelable: !0 }), n;
+function Sae(e) {
+ let t = AS(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -27393,8 +27393,8 @@ function Oae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function kae(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = JC(e, t, n);
+function Cae(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = ZC(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -27408,10 +27408,10 @@ function kae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var GD = class {
+var ZD = 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 Aae(e.layout) : new ww(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new wae(e.layout) : new Aw(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -27447,7 +27447,7 @@ var GD = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of mT(n, this.collection)) {
+ for (let e of bT(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -27481,13 +27481,13 @@ var GD = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = mT(t, this.collection);
- return (this.direction === "rtl" ? _T(e)?.key : hT(e)?.key) ?? null;
+ let e = bT(t, this.collection);
+ return (this.direction === "rtl" ? CT(e)?.key : xT(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = mT(n, this.collection), i = (this.direction === "rtl" ? gT(r, t.index - 1) : gT(r, t.index + 1)) ?? null;
+ let r = bT(n, this.collection), i = (this.direction === "rtl" ? ST(r, t.index - 1) : ST(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;
@@ -27496,13 +27496,13 @@ var GD = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = mT(t, this.collection);
- return (this.direction === "rtl" ? hT(e)?.key : _T(e)?.key) ?? null;
+ let e = bT(t, this.collection);
+ return (this.direction === "rtl" ? xT(e)?.key : CT(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = mT(n, this.collection), i = (this.direction === "rtl" ? gT(r, t.index + 1) : gT(r, t.index - 1)) ?? null;
+ let r = bT(n, this.collection), i = (this.direction === "rtl" ? ST(r, t.index + 1) : ST(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;
@@ -27513,13 +27513,13 @@ var GD = 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 ? hT(mT(e, this.collection))?.key ?? null : null;
+ return e ? xT(bT(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 = hT(mT(e, this.collection))?.key ?? null;
+ n = xT(bT(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27529,13 +27529,13 @@ var GD = 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 ? _T(mT(e, this.collection))?.key ?? null : null;
+ return e ? CT(bT(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 = _T(mT(e, this.collection))?.key ?? null;
+ n = CT(bT(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27571,13 +27571,13 @@ var GD = 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" ? hT(mT(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? xT(bT(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;
}
-}, Aae = class {
+}, wae = class {
constructor(e) {
this.layout = e;
}
@@ -27590,16 +27590,16 @@ var GD = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, KD = /* @__PURE__ */ new WeakMap();
+}, QD = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function jae(e, t, n) {
+function Tae(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 = CT({
+ let h = kT({
usage: "search",
sensitivity: "base"
- }), { direction: g } = vS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new GD({
+ }), { direction: g } = SS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new ZD({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -27616,7 +27616,7 @@ function jae(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = pT({
+ ]), { collectionProps: y } = yT({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -27624,8 +27624,8 @@ function jae(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Sx(e.id);
- KD.set(t, {
+ }), b = Ex(e.id);
+ QD.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -27634,44 +27634,44 @@ function jae(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = SE({
+ let x = OE({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = ES(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {
- m.isFocused ? tb(e.currentTarget, G(e)) || m.setFocused(!1) : tb(e.currentTarget, G(e)) && m.setFocused(!0);
+ }), S = AS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {
+ m.isFocused ? ab(e.currentTarget, G(e)) || m.setFocused(!1) : ab(e.currentTarget, G(e)) && m.setFocused(!0);
}, [m]), w = (0, D.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = xE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
+ }), [C, y.onBlur]), T = DE(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), yE({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), TE({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var qD = /* @__PURE__ */ new WeakMap();
-function JD(e) {
+var $D = /* @__PURE__ */ new WeakMap();
+function eO(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function YD(e, t) {
- let n = qD.get(e);
+function tO(e, t) {
+ let n = $D.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${JD(t)}`;
+ return `${n}-${eO(t)}`;
}
-function XD(e, t, n) {
- let r = qD.get(e);
+function nO(e, t, n) {
+ let r = $D.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${JD(t)}-${JD(n)}`;
+ return `${r}-${eO(t)}-${eO(n)}`;
}
-function ZD(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => XD(e, t, n)).join(" ");
+function rO(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => nO(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var QD = {};
-QD = {
+var iO = {};
+iO = {
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: "طي",
@@ -27686,8 +27686,8 @@ QD = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var $D = {};
-$D = {
+var aO = {};
+aO = {
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: "Свиване",
@@ -27702,8 +27702,8 @@ $D = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var eO = {};
-eO = {
+var oO = {};
+oO = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -27718,8 +27718,8 @@ eO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var tO = {};
-tO = {
+var sO = {};
+sO = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -27734,8 +27734,8 @@ tO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var nO = {};
-nO = {
+var cO = {};
+cO = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -27750,8 +27750,8 @@ nO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var rO = {};
-rO = {
+var lO = {};
+lO = {
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: "Σύμπτυξη",
@@ -27766,8 +27766,8 @@ rO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var iO = {};
-iO = {
+var uO = {};
+uO = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -27782,8 +27782,8 @@ iO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var aO = {};
-aO = {
+var dO = {};
+dO = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -27798,8 +27798,8 @@ aO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var oO = {};
-oO = {
+var fO = {};
+fO = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -27814,8 +27814,8 @@ oO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var sO = {};
-sO = {
+var pO = {};
+pO = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -27830,8 +27830,8 @@ sO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var cO = {};
-cO = {
+var mO = {};
+mO = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -27846,8 +27846,8 @@ cO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var lO = {};
-lO = {
+var hO = {};
+hO = {
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: "כווץ",
@@ -27862,8 +27862,8 @@ lO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var uO = {};
-uO = {
+var gO = {};
+gO = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -27878,8 +27878,8 @@ uO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var dO = {};
-dO = {
+var _O = {};
+_O = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -27894,8 +27894,8 @@ dO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var fO = {};
-fO = {
+var vO = {};
+vO = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -27910,8 +27910,8 @@ fO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var pO = {};
-pO = {
+var yO = {};
+yO = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -27926,8 +27926,8 @@ pO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var mO = {};
-mO = {
+var bO = {};
+bO = {
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: "접기",
@@ -27942,8 +27942,8 @@ mO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var hO = {};
-hO = {
+var xO = {};
+xO = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -27958,8 +27958,8 @@ hO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var gO = {};
-gO = {
+var SO = {};
+SO = {
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",
@@ -27974,8 +27974,8 @@ gO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var _O = {};
-_O = {
+var CO = {};
+CO = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -27990,8 +27990,8 @@ _O = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var vO = {};
-vO = {
+var wO = {};
+wO = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -28006,8 +28006,8 @@ vO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var yO = {};
-yO = {
+var TO = {};
+TO = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -28022,8 +28022,8 @@ yO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var bO = {};
-bO = {
+var EO = {};
+EO = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -28038,8 +28038,8 @@ bO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var xO = {};
-xO = {
+var DO = {};
+DO = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -28054,8 +28054,8 @@ xO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var SO = {};
-SO = {
+var OO = {};
+OO = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -28070,8 +28070,8 @@ SO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var CO = {};
-CO = {
+var kO = {};
+kO = {
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: "Свернуть",
@@ -28086,8 +28086,8 @@ CO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var wO = {};
-wO = {
+var AO = {};
+AO = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -28102,8 +28102,8 @@ wO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var TO = {};
-TO = {
+var jO = {};
+jO = {
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",
@@ -28118,8 +28118,8 @@ TO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var EO = {};
-EO = {
+var MO = {};
+MO = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -28134,8 +28134,8 @@ EO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var DO = {};
-DO = {
+var NO = {};
+NO = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -28150,8 +28150,8 @@ DO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var OO = {};
-OO = {
+var PO = {};
+PO = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -28166,8 +28166,8 @@ OO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var kO = {};
-kO = {
+var FO = {};
+FO = {
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: "Згорнути",
@@ -28182,8 +28182,8 @@ kO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var AO = {};
-AO = {
+var IO = {};
+IO = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -28198,8 +28198,8 @@ AO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var jO = {};
-jO = {
+var LO = {};
+LO = {
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: "收合",
@@ -28214,46 +28214,46 @@ jO = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var MO = {};
-MO = {
- "ar-AE": QD,
- "bg-BG": $D,
- "cs-CZ": eO,
- "da-DK": tO,
- "de-DE": nO,
- "el-GR": rO,
- "en-US": iO,
- "es-ES": aO,
- "et-EE": oO,
- "fi-FI": sO,
- "fr-FR": cO,
- "he-IL": lO,
- "hr-HR": uO,
- "hu-HU": dO,
- "it-IT": fO,
- "ja-JP": pO,
- "ko-KR": mO,
- "lt-LT": hO,
- "lv-LV": gO,
- "nb-NO": _O,
- "nl-NL": vO,
- "pl-PL": yO,
- "pt-BR": bO,
- "pt-PT": xO,
- "ro-RO": SO,
- "ru-RU": CO,
- "sk-SK": wO,
- "sl-SI": TO,
- "sr-SP": EO,
- "sv-SE": DO,
- "tr-TR": OO,
- "uk-UA": kO,
- "zh-CN": AO,
- "zh-TW": jO
+var RO = {};
+RO = {
+ "ar-AE": iO,
+ "bg-BG": aO,
+ "cs-CZ": oO,
+ "da-DK": sO,
+ "de-DE": cO,
+ "el-GR": lO,
+ "en-US": uO,
+ "es-ES": dO,
+ "et-EE": fO,
+ "fi-FI": pO,
+ "fr-FR": mO,
+ "he-IL": hO,
+ "hr-HR": gO,
+ "hu-HU": _O,
+ "it-IT": vO,
+ "ja-JP": yO,
+ "ko-KR": bO,
+ "lt-LT": xO,
+ "lv-LV": SO,
+ "nb-NO": CO,
+ "nl-NL": wO,
+ "pl-PL": TO,
+ "pt-BR": EO,
+ "pt-PT": DO,
+ "ro-RO": OO,
+ "ru-RU": kO,
+ "sk-SK": AO,
+ "sl-SI": jO,
+ "sr-SP": MO,
+ "sv-SE": NO,
+ "tr-TR": PO,
+ "uk-UA": FO,
+ "zh-CN": IO,
+ "zh-TW": LO
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Mae = class extends GD {
+var Eae = class extends ZD {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -28261,7 +28261,7 @@ var Mae = class extends GD {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = hT(mT(n, this.collection));
+ let e = xT(bT(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);
@@ -28282,13 +28282,13 @@ var Mae = class extends GD {
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 mT(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of bT(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 = [...mT(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...bT(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -28317,7 +28317,7 @@ var Mae = class extends GD {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of mT(o, this.collection)) {
+ for (let r of bT(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);
@@ -28331,14 +28331,14 @@ var Mae = class extends GD {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Nae(e) {
+function Dae(e) {
return e && e.__esModule ? e.default : e;
}
-function Pae(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = CT({
+function Oae(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = kT({
usage: "search",
sensitivity: "base"
- }), { direction: c } = vS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Mae({
+ }), { direction: c } = SS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Eae({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -28357,52 +28357,52 @@ function Pae(e, t, n) {
s,
a,
o
- ]), d = Sx(e.id);
- qD.set(t, d);
- let { gridProps: f } = jae({
+ ]), d = Ex(e.id);
+ $D.set(t, d);
+ let { gridProps: f } = Tae({
...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 = wS(Nae(MO), "@react-aria/table"), g = (0, D.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = OS(Dae(RO), "@react-aria/table"), g = (0, D.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
- ]), _ = kC(g);
- return bC(() => {
- g && vC(g, "assertive", 500);
+ ]), _ = MC(g);
+ return CC(() => {
+ g && xC(g, "assertive", 500);
}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function NO(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = vS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = KD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {
+function zO(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = SS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = QD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {
if (n.current) {
- let e = fC(n.current);
+ let e = hC(n.current);
if (p === "child") {
- let i = nb(Jy(n.current));
- if (ib(n.current) && n.current !== i) return;
- let a = Jy(n.current);
+ let i = ob(Qy(n.current));
+ if (cb(n.current) && n.current !== i) return;
+ let a = Qy(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && tb(n.current, e)) {
- _x(e);
+ if (e && m.current === r.key && ab(n.current, e)) {
+ xx(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? PO(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? BO(e) : e.firstChild();
if (o) {
- _x(o);
+ xx(o);
return;
}
}
- (m.current != null && r.key !== m.current || !ib(n.current)) && _x(n.current);
+ (m.current != null && r.key !== m.current || !cb(n.current)) && xx(n.current);
}
- }, { itemProps: _, isPressed: v } = wE({
+ }, { itemProps: _, isPressed: v } = AE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -28414,44 +28414,44 @@ function NO(e, t, n) {
}), y = K(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = nb(Jy(n.current));
- if (!tb(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = fC(n.current);
+ let i = ob(Qy(n.current));
+ if (!ab(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = hC(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) _x(t), EC(t, { containingElement: SC(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) xx(t), kC(t, { containingElement: TC(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" ? (_x(n.current), EC(n.current, { containingElement: SC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : PO(a), t && (_x(t), EC(t, { containingElement: SC(n.current) })));
+ p === "cell" && l === "rtl" ? (xx(n.current), kC(n.current, { containingElement: TC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : BO(a), t && (xx(t), kC(t, { containingElement: TC(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) _x(t), EC(t, { containingElement: SC(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) xx(t), kC(t, { containingElement: TC(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" ? (_x(n.current), EC(n.current, { containingElement: SC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? PO(a) : a.firstChild(), t && (_x(t), EC(t, { containingElement: SC(n.current) })));
+ p === "cell" && l === "ltr" ? (xx(n.current), kC(n.current, { containingElement: TC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? BO(a) : a.firstChild(), t && (xx(t), kC(t, { containingElement: TC(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && tb(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && ab(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 = nb(Jy(n.current));
- if (tb(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = ob(Qy(n.current));
+ if (ab(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 = fC(n.current, { tabbable: !0 });
+ let t = hC(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -28462,9 +28462,9 @@ function NO(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, G(e) !== n.current) {
let i = G(e);
- n.current && tb(n.current, i) && (h.current = i), ax() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && tb(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && nb(Jy(n.current)) === n.current && g();
+ n.current && ab(n.current, i) && (h.current = i), lx() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && ab(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && ob(Qy(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -28479,7 +28479,7 @@ function NO(e, t, n) {
isPressed: v
};
}
-function PO(e) {
+function BO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -28488,33 +28488,33 @@ function PO(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Fae(e, t, n) {
- let { gridCellProps: r, isPressed: i } = NO(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = XD(t, e.node.parentKey, a)), {
+function kae(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = zO(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = nO(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Iae(e) {
+function Aae(e) {
return e && e.__esModule ? e.default : e;
}
-function Lae(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = NO({
+function jae(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = zO({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = BS({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = WS({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = Ix({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !jb() && (u = d ? f : "none");
- let p = wS(Iae(MO), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && jb() && (m = `${m}, ${p.format(f)}`));
- let h = kC(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = Bx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !Fb() && (u = d ? f : "none");
+ let p = OS(Aae(RO), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && Fb() && (m = `${m}, ${p.format(f)}`));
+ let h = MC(m), g = t.collection.size === 0;
return (0, D.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -28525,7 +28525,7 @@ function Lae(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: YD(t, r.key),
+ id: tO(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -28534,17 +28534,17 @@ function Lae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function Rae(e) {
+function Mae(e) {
return e && e.__esModule ? e.default : e;
}
-function zae(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = wS(Rae(MO), "@react-aria/table"), d = Sx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = vS(), b = (0, D.useCallback)((e) => {
+function Nae(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = OS(Mae(RO), "@react-aria/table"), d = Ex(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = SS(), b = (0, D.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, D.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
s?.(r), m.current = r;
}, [t, s]), S = (0, D.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 && _x(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 && xx(i.current)), m.current = null;
}, [
t,
i,
@@ -28552,14 +28552,14 @@ function zae(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = Mx({ shortcuts: {
+ }, { keyboardProps: w } = Ix({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, D.useRef)(0), { moveProps: E } = lw({
+ } }), T = (0, D.useRef)(0), { moveProps: E } = hw({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -28575,12 +28575,12 @@ function zae(e, t, n) {
g && E.onKeyDown?.(e);
}, [g, E]), k = Math.floor(t.getColumnMinWidth(r.key)), A = Math.floor(t.getColumnMaxWidth(r.key));
A === Infinity && (A = 2 ** 53 - 1);
- let j = Math.floor(t.getColumnWidth(r.key)), M = cx();
+ let j = Math.floor(t.getColumnWidth(r.key)), M = fx();
M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");
- let ee = kC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), N = {
+ let ee = MC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), N = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${YD(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${tO(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: j }),
type: "range",
min: k,
@@ -28588,11 +28588,11 @@ function zae(e, t, n) {
value: j,
...ee
}, te = (0, D.useCallback)(() => {
- n.current && _x(n.current);
- }, [n]), P = t.resizingColumn, ne = (0, D.useRef)(null), F = uS(b);
+ n.current && xx(n.current);
+ }, [n]), P = t.resizingColumn, ne = (0, D.useRef)(null), F = mS(b);
(0, D.useEffect)(() => {
if (ne.current !== P && P != null && P === r.key) {
- h.current = nb() === n.current, F(r);
+ h.current = ob() === n.current, F(r);
let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -28608,7 +28608,7 @@ function zae(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: ie } = BS({
+ }, { pressProps: ie } = WS({
preventFocusOnPress: !0,
onPressStart: (e) => {
e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (te(), e.pointerType !== "virtual" && b(r)));
@@ -28616,7 +28616,7 @@ function zae(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ae } = dw();
+ }), { visuallyHiddenProps: ae } = _w();
return {
resizerProps: K(w, {
...E,
@@ -28636,20 +28636,20 @@ function zae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Bae(e, t, n) {
+function Pae(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Vae(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = KD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = wE({
+function Fae(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = QD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = AE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? vx(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? Sx(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -28664,10 +28664,10 @@ function Vae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Hae(e) {
+function Iae(e) {
return e && e.__esModule ? e.default : e;
}
-var FO = {
+var VO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -28677,21 +28677,21 @@ var FO = {
rtl: "ArrowRight"
}
};
-function Uae(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Vae(e, t, n), { direction: s } = vS();
+function Lae(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Fae(e, t, n), { direction: s } = SS();
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 = wS(Hae(MO), "@react-aria/table"), u = fS({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = OS(Iae(RO), "@react-aria/table"), u = gS({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": ZD(t, r.key)
+ "aria-labelledby": rO(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = IO(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 = IO(t.collection, a);
+ let n = HO(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 = HO(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === FO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === FO.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 === VO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === VO.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,
@@ -28709,45 +28709,45 @@ function Uae(e, t, n) {
};
}
}
- let p = zb(r.props), m = o.hasAction ? p : {};
+ let p = Ub(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": ZD(t, r.key)
+ "aria-labelledby": rO(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function IO(e, t) {
+function HO(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function LO() {
+function Rae() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function RO() {
- return LO();
+function UO() {
+ return Rae();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Wae(e) {
+function zae(e) {
return e && e.__esModule ? e.default : e;
}
-function Gae(e, t) {
- let { key: n } = e, { checkboxProps: r } = AE(e, t);
+function Bae(e, t) {
+ let { key: n } = e, { checkboxProps: r } = IE(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${ZD(t, n)}`
+ "aria-labelledby": `${r.id} ${rO(t, n)}`
} };
}
-function Kae(e) {
+function Vae(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": wS(Wae(MO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": OS(zae(RO), "@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,
@@ -28756,23 +28756,23 @@ function Kae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var zO = /* @__PURE__ */ new WeakMap();
-function BO(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${zO.get(e)}-${n}-${t}`) : "";
+var WO = /* @__PURE__ */ new WeakMap();
+function GO(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${WO.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function qae(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 } = wE({
+function Hae(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 } = AE({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = BO(t, r, "tab"), m = BO(t, r, "tabpanel"), { tabIndex: h } = d, g = ES(u?.props, { labelable: !0 });
+ }), p = GO(t, r, "tab"), m = GO(t, r, "tabpanel"), { tabIndex: h } = d, g = AS(u?.props, { labelable: !0 });
delete g.id;
- let _ = Bb(u?.props), { focusableProps: v } = Ix({
+ let _ = Wb(u?.props), { focusableProps: v } = Bx({
...u?.props,
isDisabled: l
}, n);
@@ -28792,7 +28792,7 @@ function qae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Jae = class {
+var Uae = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -28836,11 +28836,11 @@ var Jae = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Yae(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = vS(), { collectionProps: l } = pT({
+function Wae(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = SS(), { collectionProps: l } = yT({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, D.useMemo)(() => new Jae(a, c, r, s), [
+ keyboardDelegate: (0, D.useMemo)(() => new Uae(a, c, r, s), [
a,
s,
r,
@@ -28850,9 +28850,9 @@ function Yae(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Sx();
- return zO.set(t, u), { tabListProps: {
- ...K(l, fS({
+ }), u = Ex();
+ return WO.set(t, u), { tabListProps: {
+ ...K(l, gS({
...e,
id: u
})),
@@ -28863,12 +28863,12 @@ function Yae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Xae(e, t, n) {
- let r = xE(n) ? void 0 : 0, i = BO(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(fS({
+function Gae(e, t, n) {
+ let r = DE(n) ? void 0 : 0, i = GO(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(gS({
...e,
id: i,
- "aria-labelledby": BO(t, t?.selectedKey, "tab")
+ "aria-labelledby": GO(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -28878,301 +28878,301 @@ function Xae(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tree/useTree.mjs
-function Zae(e, t, n) {
- let { gridProps: r } = Uie(e, t, n);
+function Kae(e, t, n) {
+ let { gridProps: r } = Lie(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var VO = {};
-VO = {
+var KO = {};
+KO = {
collapse: "طي",
expand: "تمديد"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var HO = {};
-HO = {
+var qO = {};
+qO = {
collapse: "Свиване",
expand: "Разширяване"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var UO = {};
-UO = {
+var JO = {};
+JO = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var WO = {};
-WO = {
+var YO = {};
+YO = {
collapse: "Skjul",
expand: "Udvid"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var GO = {};
-GO = {
+var XO = {};
+XO = {
collapse: "Reduzieren",
expand: "Erweitern"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var KO = {};
-KO = {
+var ZO = {};
+ZO = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var qO = {};
-qO = {
+var QO = {};
+QO = {
expand: "Expand",
collapse: "Collapse"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var JO = {};
-JO = {
+var $O = {};
+$O = {
collapse: "Contraer",
expand: "Expandir"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var YO = {};
-YO = {
+var ek = {};
+ek = {
collapse: "Ahenda",
expand: "Laienda"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var XO = {};
-XO = {
+var tk = {};
+tk = {
collapse: "Pienennä",
expand: "Laajenna"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var ZO = {};
-ZO = {
+var nk = {};
+nk = {
collapse: "Réduire",
expand: "Développer"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var QO = {};
-QO = {
+var rk = {};
+rk = {
collapse: "כווץ",
expand: "הרחב"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var $O = {};
-$O = {
+var ik = {};
+ik = {
collapse: "Sažmi",
expand: "Proširi"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var ek = {};
-ek = {
+var ak = {};
+ak = {
collapse: "Összecsukás",
expand: "Kibontás"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var tk = {};
-tk = {
+var ok = {};
+ok = {
collapse: "Comprimi",
expand: "Espandi"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var nk = {};
-nk = {
+var sk = {};
+sk = {
collapse: "折りたたむ",
expand: "展開"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var rk = {};
-rk = {
+var ck = {};
+ck = {
collapse: "접기",
expand: "펼치기"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var ik = {};
-ik = {
+var lk = {};
+lk = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var ak = {};
-ak = {
+var uk = {};
+uk = {
collapse: "Sakļaut",
expand: "Izvērst"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var ok = {};
-ok = {
+var dk = {};
+dk = {
collapse: "Skjul",
expand: "Utvid"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var sk = {};
-sk = {
+var fk = {};
+fk = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var ck = {};
-ck = {
+var pk = {};
+pk = {
collapse: "Zwiń",
expand: "Rozwiń"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var lk = {};
-lk = {
+var mk = {};
+mk = {
collapse: "Recolher",
expand: "Expandir"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var uk = {};
-uk = {
+var hk = {};
+hk = {
collapse: "Colapsar",
expand: "Expandir"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var dk = {};
-dk = {
+var gk = {};
+gk = {
collapse: "Restrângeți",
expand: "Extindeți"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var fk = {};
-fk = {
+var _k = {};
+_k = {
collapse: "Свернуть",
expand: "Развернуть"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var pk = {};
-pk = {
+var vk = {};
+vk = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var mk = {};
-mk = {
+var yk = {};
+yk = {
collapse: "Strni",
expand: "Razširi"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var hk = {};
-hk = {
+var bk = {};
+bk = {
collapse: " Skupi",
expand: "Proširi"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var gk = {};
-gk = {
+var xk = {};
+xk = {
collapse: "Dölj",
expand: "Expandera"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var _k = {};
-_k = {
+var Sk = {};
+Sk = {
collapse: "Daralt",
expand: "Genişlet"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var vk = {};
-vk = {
+var Ck = {};
+Ck = {
collapse: "Згорнути",
expand: "Розгорнути"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var yk = {};
-yk = {
+var wk = {};
+wk = {
collapse: "折叠",
expand: "扩展"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var bk = {};
-bk = {
+var Tk = {};
+Tk = {
collapse: "收合",
expand: "展開"
};
//#endregion
//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var xk = {};
-xk = {
- "ar-AE": VO,
- "bg-BG": HO,
- "cs-CZ": UO,
- "da-DK": WO,
- "de-DE": GO,
- "el-GR": KO,
- "en-US": qO,
- "es-ES": JO,
- "et-EE": YO,
- "fi-FI": XO,
- "fr-FR": ZO,
- "he-IL": QO,
- "hr-HR": $O,
- "hu-HU": ek,
- "it-IT": tk,
- "ja-JP": nk,
- "ko-KR": rk,
- "lt-LT": ik,
- "lv-LV": ak,
- "nb-NO": ok,
- "nl-NL": sk,
- "pl-PL": ck,
- "pt-BR": lk,
- "pt-PT": uk,
- "ro-RO": dk,
- "ru-RU": fk,
- "sk-SK": pk,
- "sl-SI": mk,
- "sr-SP": hk,
- "sv-SE": gk,
- "tr-TR": _k,
- "uk-UA": vk,
- "zh-CN": yk,
- "zh-TW": bk
+var Ek = {};
+Ek = {
+ "ar-AE": KO,
+ "bg-BG": qO,
+ "cs-CZ": JO,
+ "da-DK": YO,
+ "de-DE": XO,
+ "el-GR": ZO,
+ "en-US": QO,
+ "es-ES": $O,
+ "et-EE": ek,
+ "fi-FI": tk,
+ "fr-FR": nk,
+ "he-IL": rk,
+ "hr-HR": ik,
+ "hu-HU": ak,
+ "it-IT": ok,
+ "ja-JP": sk,
+ "ko-KR": ck,
+ "lt-LT": lk,
+ "lv-LV": uk,
+ "nb-NO": dk,
+ "nl-NL": fk,
+ "pl-PL": pk,
+ "pt-BR": mk,
+ "pt-PT": hk,
+ "ro-RO": gk,
+ "ru-RU": _k,
+ "sk-SK": vk,
+ "sl-SI": yk,
+ "sr-SP": bk,
+ "sv-SE": xk,
+ "tr-TR": Sk,
+ "uk-UA": Ck,
+ "zh-CN": wk,
+ "zh-TW": Tk
};
//#endregion
//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function Qae(e) {
+function qae(e) {
return e && e.__esModule ? e.default : e;
}
-function Sk(e, t, n) {
- let { node: r } = e, i = Wie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = wS(Qae(xk), "@react-aria/tree"), s = {
+function Dk(e, t, n) {
+ let { node: r } = e, i = Rie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = OS(qae(Ek), "@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,
- ...fS({
+ ...gS({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -29184,15 +29184,15 @@ function Sk(e, t, n) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var Ck = "(prefers-reduced-motion: reduce)", $ae = () => matchMedia(Ck).matches, eoe = (e) => {
- let t = matchMedia(Ck);
+var Ok = "(prefers-reduced-motion: reduce)", Jae = () => matchMedia(Ok).matches, Yae = (e) => {
+ let t = matchMedia(Ok);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, wk = /* @__PURE__ */ new Map(), Tk = () => {
+}, kk = /* @__PURE__ */ new Map(), Ak = () => {
let e = document.documentElement;
- wk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...wk.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ kk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...kk.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function toe({ children: e, count: t, label: n }) {
- let r = (0, D.useRef)(null), i = jv(), a = (0, D.useSyncExternalStore)(eoe, $ae, () => !1), { isFocusVisible: o } = lx(), s = a || o, c = {
+function Xae({ children: e, count: t, label: n }) {
+ let r = (0, D.useRef)(null), i = Pv(), a = (0, D.useSyncExternalStore)(Yae, Jae, () => !1), { isFocusVisible: o } = px(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -29200,12 +29200,12 @@ function toe({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- wk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Tk();
+ kk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Ak();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), wk.delete(e), Tk();
+ n.disconnect(), window.removeEventListener("resize", t), kk.delete(e), Ak();
};
- }, [i]), /* @__PURE__ */ (0, O.jsxs)(Ly.div, {
+ }, [i]), /* @__PURE__ */ (0, O.jsxs)(Vy.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -29238,18 +29238,18 @@ function toe({ children: e, count: t, label: n }) {
}), e]
});
}
-function Ek({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, O.jsx)(Pv, { children: e ? /* @__PURE__ */ (0, O.jsx)(toe, { ...t }, "selection") : null });
+function jk({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, O.jsx)(Lv, { children: e ? /* @__PURE__ */ (0, O.jsx)(Xae, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var Dk = {
+var Mk = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function noe(e, t = !1) {
+function Zae(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -29265,7 +29265,7 @@ function noe(e, t = !1) {
glyph: "trash",
danger: !0
},
- Dk
+ Mk
];
case "junk": return [
t ? {
@@ -29286,7 +29286,7 @@ function noe(e, t = !1) {
glyph: "trash",
danger: !0
},
- Dk
+ Mk
];
case "follow": return [
{
@@ -29307,7 +29307,7 @@ function noe(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Dk
+ Mk
];
default: return [
{
@@ -29341,39 +29341,39 @@ function noe(e, t = !1) {
glyph: "trash",
danger: !0
},
- Dk
+ Mk
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var Ok = null, kk = {
+var Nk = null, Pk = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Ak = /* @__PURE__ */ new Set();
-function roe(e) {
- return Ak.add(e), () => {
- Ak.delete(e);
+}, Fk = /* @__PURE__ */ new Set();
+function Qae(e) {
+ return Fk.add(e), () => {
+ Fk.delete(e);
};
}
-function ioe() {
- for (let e of [...Ak]) e();
+function $ae() {
+ for (let e of [...Fk]) e();
}
-var aoe = { render(e) {
- kk = e, (0, Et.flushSync)(ioe);
+var eoe = { render(e) {
+ Pk = e, (0, Et.flushSync)($ae);
} };
-function ooe(e) {
- return Ok = e, aoe;
+function toe(e) {
+ return Nk = e, eoe;
}
-function soe() {
- let e = (0, D.useSyncExternalStore)(roe, () => kk);
- return Ok ? /* @__PURE__ */ (0, O.jsx)(coe, {
- host: Ok,
+function noe() {
+ let e = (0, D.useSyncExternalStore)(Qae, () => Pk);
+ return Nk ? /* @__PURE__ */ (0, O.jsx)(roe, {
+ host: Nk,
props: e
}) : null;
}
-function coe({ host: e, props: t }) {
+function roe({ host: e, props: t }) {
let n = t.count > 0;
return (0, D.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -29383,11 +29383,11 @@ function coe({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, O.jsx)(Ek, {
+ children: /* @__PURE__ */ (0, O.jsx)(jk, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: noe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {
+ children: Zae(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -29404,12 +29404,12 @@ function coe({ host: e, props: t }) {
}
//#endregion
//#region src/number-setting.ts
-function jk(e, t, n, r) {
+function Ik(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
//#endregion
//#region src/settings-store.ts
-function loe(e, t) {
+function ioe(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -29429,7 +29429,7 @@ function loe(e, t) {
}
//#endregion
//#region src/sort-preferences.ts
-var Mk = [
+var Lk = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -29438,7 +29438,7 @@ var Mk = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Nk = ["release", "发行时间"], Pk = [...Mk, Nk].map(([e]) => e), Fk = {
+], Rk = ["release", "发行时间"], zk = [...Lk, Rk].map(([e]) => e), Bk = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -29447,28 +29447,28 @@ var Mk = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Ik = {
+}, Vk = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Lk = (e, t, n = Fk) => (n[e] || [])[+(t === "asc")] || "", Rk = (e, t = Fk) => t[e] ? "desc" : "";
-function zk(e, t, n, r = Fk) {
+}, Hk = (e, t, n = Bk) => (n[e] || [])[+(t === "asc")] || "", Uk = (e, t = Bk) => t[e] ? "desc" : "";
+function Wk(e, t, n, r = Bk) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Rk(e, r)
+ dir: Uk(e, r)
};
}
-function Bk(e, t, n) {
+function Gk(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Vk(e, t, n, r, i = n) {
- let a = e ? Ik[e] : void 0, o = a ? a[0] : e, s = o && Pk.includes(o) ? o : i;
- return Fk[s] ? {
+function Kk(e, t, n, r, i = n) {
+ let a = e ? Vk[e] : void 0, o = a ? a[0] : e, s = o && zk.includes(o) ? o : i;
+ return Bk[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Bk(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Gk(s, n, r)
} : {
sort: s,
dir: ""
@@ -29476,15 +29476,15 @@ function Vk(e, t, n, r, i = n) {
}
//#endregion
//#region src/appearance/home-glow.ts
-var Hk = [
+var qk = [
"spot1",
"spot2",
"spot3"
-], uoe = [
+], aoe = [
"光晕一",
"光晕二",
"光晕三"
-], Uk = "native", Wk = [
+], Jk = "native", Yk = [
[
"ash",
"灰雾",
@@ -29790,7 +29790,7 @@ var Hk = [
"rose"
],
[
- Uk,
+ Jk,
"玻璃原色",
{
spot1: {
@@ -29808,7 +29808,7 @@ var Hk = [
},
"blue"
]
-], Gk = (e) => e === Uk, Kk = [...Wk.map(([e, t]) => [e, t]), ["custom", "自定义"]], doe = (e) => (Kk.find(([t]) => t === e) || Kk[0])[1], qk = (e) => structuredClone((Wk.find(([t]) => t === e) || Wk[0])[2]), Jk = [
+], Xk = (e) => e === Jk, Zk = [...Yk.map(([e, t]) => [e, t]), ["custom", "自定义"]], ooe = (e) => (Zk.find(([t]) => t === e) || Zk[0])[1], Qk = (e) => structuredClone((Yk.find(([t]) => t === e) || Yk[0])[2]), $k = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -29821,7 +29821,7 @@ var Hk = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], Yk = "blue", Xk = (e) => Jk.some(([t]) => t === e) ? e : Yk, foe = (e) => (Wk.find(([t]) => t === e) || [])[3] || "blue", poe = [
+], eA = "blue", tA = (e) => $k.some(([t]) => t === e) ? e : eA, soe = (e) => (Yk.find(([t]) => t === e) || [])[3] || "blue", coe = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -29831,7 +29831,7 @@ var Hk = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], moe = [
+], loe = [
[
"gray",
"云灰",
@@ -30227,11 +30227,11 @@ var Hk = [
"霁蓝",
"#6686b8"
]
-], Zk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Qk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, hoe = (e, t) => `rgba(${[
+], nA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, rA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, uoe = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, goe = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, doe = {
strength: [
0,
100,
@@ -30257,7 +30257,7 @@ var Hk = [
100,
50
]
-}, $k = {
+}, iA = {
on: !0,
preset: "ash",
strength: 100,
@@ -30265,57 +30265,57 @@ var Hk = [
speed: 100,
soften: 50,
size: 50,
- ...qk("ash")
+ ...Qk("ash")
};
-function eA(e) {
- let t = e && typeof e == "object" ? e : {}, n = Kk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = qk(r === "custom" ? "ash" : r), a = {
+function aA(e) {
+ let t = e && typeof e == "object" ? e : {}, n = Zk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Qk(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(goe)) a[e] = Zk(+t[e], n, r, i);
- for (let e of Hk) {
+ for (let [e, [n, r, i]] of Object.entries(doe)) a[e] = nA(+t[e], n, r, i);
+ for (let e of qk) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: Qk(r.color, o.color),
- alpha: Zk(+r.alpha, 0, 100, o.alpha)
+ color: rA(r.color, o.color),
+ alpha: nA(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var _oe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, tA = /* @__PURE__ */ new WeakMap();
-function voe(e, t) {
+var foe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, oA = /* @__PURE__ */ new WeakMap();
+function poe(e, t) {
if (!e) return;
- let n = tA.get(e);
- n || (n = /* @__PURE__ */ new Map(), tA.set(e, n));
- let r = t.on && !Gk(t.preset), i = (t, r) => {
+ let n = oA.get(e);
+ n || (n = /* @__PURE__ */ new Map(), oA.set(e, n));
+ let r = t.on && !Xk(t.preset), i = (t, r) => {
n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));
};
- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Hk.forEach((e, n) => {
+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), qk.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, hoe(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, uoe(r.color, r.alpha));
});
}
-function yoe(e, t) {
+function moe(e, t) {
if (!e) return;
- let n = !t.on || Gk(t.preset);
+ let n = !t.on || Xk(t.preset);
e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));
}
//#endregion
//#region src/appearance/settings.ts
-var boe = "peach.settings.v1", xoe = [
+var hoe = "peach.settings.v1", goe = [
"system",
"light",
"dark"
-], nA = [
+], sA = [
0,
7,
30,
90
-], Soe = [
+], _oe = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], rA = {
+], cA = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -30336,46 +30336,46 @@ var boe = "peach.settings.v1", xoe = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...hl],
- homeGlow: $k,
- accent: Yk
-}, iA = (e, t, n) => t.includes(e) ? e : n;
-function Coe(e) {
+ homeGlow: iA,
+ accent: eA
+}, lA = (e, t, n) => t.includes(e) ? e : n;
+function voe(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...rA,
+ ...cA,
...t
};
- n.followInitialDays = nA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = sA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
let r = !1, i = +n.sortDefaultsVersion || 0;
i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);
- let a = Ik[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = jk(+n.batchSize, 1, 200, 60), n.defaultSort = iA(n.defaultSort, Pk, "seed"), n.hoverDelaySeconds = jk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = jk(+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 = jk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = jk(+n.relatedLimit, 0, 60, 20), n.feedLimit = jk(+n.feedLimit, 1, 100, 12), Object.assign(n, xa(n)), n.theme = iA(n.theme, xoe, "system"), n.homeGlow = eA(n.homeGlow), n.accent = Xk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {
+ let a = Vk[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Ik(+n.batchSize, 1, 200, 60), n.defaultSort = lA(n.defaultSort, zk, "seed"), n.hoverDelaySeconds = Ik(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Ik(+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 = Ik(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Ik(+n.relatedLimit, 0, 60, 20), n.feedLimit = Ik(+n.feedLimit, 1, 100, 12), Object.assign(n, xa(n)), n.theme = lA(n.theme, goe, "system"), n.homeGlow = aA(n.homeGlow), n.accent = tA(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function woe(e) {
+function yoe(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return Coe(t);
+ return voe(t);
}
-var aA = null;
-function oA() {
- if (aA) return aA;
- let { settings: e, migrated: t } = woe(localStorage);
- return aA = loe(boe, e), t && aA.save(), aA;
+var uA = null;
+function dA() {
+ if (uA) return uA;
+ let { settings: e, migrated: t } = yoe(localStorage);
+ return uA = ioe(hoe, e), t && uA.save(), uA;
}
-function sA(e, t, n = oA()) {
+function fA(e, t, n = dA()) {
let r = n.value, i = e && e.followInitialDays;
- nA.includes(i) && (r.followInitialDays = i, n.save());
- for (let t of Soe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ sA.includes(i) && (r.followInitialDays = i, n.save());
+ for (let t of _oe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let a = e && e.searchHistoryLimit;
- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = jk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== rA.searchHistoryLimit && Toe(n);
+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Ik(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== cA.searchHistoryLimit && boe(n);
let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());
}
-function Toe(e = oA()) {
+function boe(e = dA()) {
return R("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
@@ -30383,7 +30383,7 @@ function Toe(e = oA()) {
}
//#endregion
//#region src/appearance/theme.ts
-var cA = [
+var pA = [
[
"system",
"跟随系统",
@@ -30399,32 +30399,32 @@ var cA = [
"深色",
"moon"
]
-], lA = null, uA = () => lA ??= matchMedia("(prefers-color-scheme: dark)"), dA = null;
-function Eoe() {
- return dA || (dA = document.createElement("style"), dA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), dA.isConnected || document.head.append(dA), () => {
+], mA = null, hA = () => mA ??= matchMedia("(prefers-color-scheme: dark)"), gA = null;
+function xoe() {
+ return gA || (gA = document.createElement("style"), gA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), gA.isConnected || document.head.append(gA), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), dA?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), gA?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function fA(e = oA().value.theme) {
- let t = Eoe(), n = document.documentElement;
+function _A(e = dA().value.theme) {
+ let t = xoe(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && uA().matches;
+ let r = e === "dark" || e === "system" && hA().matches;
n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {
e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";
}), t();
}
-var pA = !1;
-function Doe() {
- pA || (pA = !0, uA().addEventListener("change", () => {
- oA().value.theme === "system" && fA();
+var vA = !1;
+function Soe() {
+ vA || (vA = !0, hA().addEventListener("change", () => {
+ dA().value.theme === "system" && _A();
}));
}
//#endregion
//#region src/appearance/layout.ts
-var mA = [[
+var yA = [[
"big",
"大图",
"maximize"
@@ -30432,7 +30432,7 @@ var mA = [[
"small",
"小图",
"layout-grid"
-]], hA = [[
+]], bA = [[
"big",
"大图",
"maximize"
@@ -30440,7 +30440,7 @@ var mA = [[
"small",
"小图",
"layout-grid"
-]], gA = [[
+]], xA = [[
"fixed",
"固定比例",
"layout-grid"
@@ -30448,130 +30448,130 @@ var mA = [[
"masonry",
"瀑布流",
"columns-2"
-]], _A = .75, vA = () => oA().value, yA = (e = vA()) => ba(e.javLayout), Ooe = (e = vA()) => ba(e.homeLayout), bA = (e, t = vA()) => e ? Ooe(t) : yA(t), xA = hA.map(([e]) => e), SA = gA.map(([e]) => e), CA = (e = vA()) => iA(e.photoSize, xA, "small"), wA = (e = vA()) => iA(e.photoLayout, SA, "masonry"), TA = null;
-function EA(e, t = vA()) {
+]], SA = .75, CA = () => dA().value, wA = (e = CA()) => ba(e.javLayout), Coe = (e = CA()) => ba(e.homeLayout), TA = (e, t = CA()) => e ? Coe(t) : wA(t), EA = bA.map(([e]) => e), DA = xA.map(([e]) => e), OA = (e = CA()) => lA(e.photoSize, EA, "small"), kA = (e = CA()) => lA(e.photoLayout, DA, "masonry"), AA = null;
+function jA(e, t = CA()) {
let n = {
active: e.active,
- size: bA(e.home, t),
+ size: TA(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = TA;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (TA = n), TA;
+ }, r = AA;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (AA = n), AA;
}
-function DA(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? _A : 16 / 9;
+function MA(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? SA : 16 / 9;
}
-function koe(e, t = oA()) {
+function woe(e, t = dA()) {
t.value.homeLayout = ba(e), t.save();
}
-function OA(e, t = oA()) {
+function NA(e, t = dA()) {
t.value.javLayout = ba(e), t.save();
}
-function Aoe(e, t = oA()) {
+function Toe(e, t = dA()) {
t.value.homeLayout = t.value.javLayout = ba(e), t.save();
}
-function joe(e, t = oA()) {
- t.value.photoSize = iA(e, xA, "small"), t.save();
+function Eoe(e, t = dA()) {
+ t.value.photoSize = lA(e, EA, "small"), t.save();
}
-function kA(e, t = oA()) {
- t.value.photoLayout = iA(e, SA, "masonry"), t.save();
+function PA(e, t = dA()) {
+ t.value.photoLayout = lA(e, DA, "masonry"), t.save();
}
//#endregion
//#region src/appearance/density.ts
-var AA = "density", jA = {
+var FA = "density", IA = {
big: "336px",
dense: "168px"
-}, MA = () => localStorage.getItem(AA) === "dense" ? "dense" : "big";
-function NA(e, t) {
- let [n, r] = hA;
+}, LA = () => localStorage.getItem(FA) === "dense" ? "dense" : "big";
+function RA(e, t) {
+ let [n, r] = bA;
if (e.querySelector("[data-icon-swap]")) ls(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = cs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- PA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ zA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function PA(e, t, n) {
+function zA(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var FA = () => document.querySelector("#density");
-function IA(e = MA()) {
+var BA = () => document.querySelector("#density");
+function VA(e = LA()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== jA[e] && t.style.setProperty("--tile", jA[e]), PA(document.body, "data-density", e);
- let n = FA();
- n && (PA(n, "aria-pressed", String(e === "dense")), PA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), NA(n, e === "big" ? "big" : "small"));
+ t.style.getPropertyValue("--tile") !== IA[e] && t.style.setProperty("--tile", IA[e]), zA(document.body, "data-density", e);
+ let n = BA();
+ n && (zA(n, "aria-pressed", String(e === "dense")), zA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), RA(n, e === "big" ? "big" : "small"));
}
-function Moe() {
- let e = MA() === "big" ? "dense" : "big";
- localStorage.setItem(AA, e), IA(e);
+function Doe() {
+ let e = LA() === "big" ? "dense" : "big";
+ localStorage.setItem(FA, e), VA(e);
}
-function Noe(e) {
- let t = FA();
- t && (PA(t, "aria-pressed", String(e === "small")), PA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), NA(t, e));
+function Ooe(e) {
+ let t = BA();
+ t && (zA(t, "aria-pressed", String(e === "small")), zA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), RA(t, e));
}
//#endregion
//#region src/appearance/glow.ts
-function LA(e = oA()) {
- voe(document.querySelector(".glowlayer"), e.value.homeGlow);
+function HA(e = dA()) {
+ poe(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var RA = 0;
-function zA(e = oA()) {
- RA ||= requestAnimationFrame(() => {
- RA = 0, LA(e);
+var UA = 0;
+function WA(e = dA()) {
+ UA ||= requestAnimationFrame(() => {
+ UA = 0, HA(e);
});
}
-function BA(e = oA()) {
- yoe(document.documentElement, e.value.homeGlow);
+function GA(e = dA()) {
+ moe(document.documentElement, e.value.homeGlow);
}
-function VA(e = oA()) {
+function KA(e = dA()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var HA = (e, t, n) => ({
+var qA = (e, t, n) => ({
key: e,
label: t,
- native: Gk(e),
- fill: Gk(e) ? "" : _oe(n)
+ native: Xk(e),
+ fill: Xk(e) ? "" : foe(n)
});
-function Poe(e) {
- let t = Wk.map(([e, t, n]) => HA(e, t, Hk.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(HA("custom", "自定义", Hk.map((t) => e[t].color))), t;
+function koe(e) {
+ let t = Yk.map(([e, t, n]) => qA(e, t, qk.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(qA("custom", "自定义", qk.map((t) => e[t].color))), t;
}
-var UA = Jk;
-function WA(e, t = oA()) {
+var JA = $k;
+function Aoe(e, t = dA()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, qk(e)), t.value.accent = foe(e), t.save(), zA(t), BA(t), VA(t);
+ n.preset = e, Object.assign(n, Qk(e)), t.value.accent = soe(e), t.save(), WA(t), GA(t), KA(t);
}
-function GA(e, t = oA()) {
- t.value.accent = Xk(e), t.save(), VA(t);
+function YA(e, t = dA()) {
+ t.value.accent = tA(e), t.save(), KA(t);
}
-function KA(e = oA()) {
+function XA(e = dA()) {
let t = e.value.homeGlow;
- t.preset = $k.preset, Object.assign(t, qk(t.preset)), e.value.accent = Yk, e.save(), zA(e), BA(e), VA(e);
+ t.preset = iA.preset, Object.assign(t, Qk(t.preset)), e.value.accent = eA, e.save(), WA(e), GA(e), KA(e);
}
-function qA(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Gk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function ZA(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Xk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function JA(e, t = oA()) {
- return qA(e, t.value.homeGlow), t.subscribe(() => qA(e, t.value.homeGlow));
+function QA(e, t = dA()) {
+ return ZA(e, t.value.homeGlow), t.subscribe(() => ZA(e, t.value.homeGlow));
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function YA({ store: e, label: t, hidden: n }) {
+function $A({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: Poe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {
+ children: koe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-glow-preset": t.key,
"aria-pressed": t.key === r.preset,
title: t.label,
"aria-label": t.label,
- onClick: () => WA(t.key, e),
+ onClick: () => Aoe(t.key, e),
children: /* @__PURE__ */ (0, O.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -30583,14 +30583,14 @@ function YA({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-var XA = null;
-function ZA(e) {
- XA = e;
+var ej = null;
+function tj(e) {
+ ej = e;
}
-function QA() {
- return XA ? /* @__PURE__ */ (0, O.jsx)($A, { host: XA }) : null;
+function nj() {
+ return ej ? /* @__PURE__ */ (0, O.jsx)(rj, { host: ej }) : null;
}
-function $A({ host: e }) {
+function rj({ host: e }) {
let { store: t } = e;
(0, D.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -30602,11 +30602,11 @@ function $A({ host: e }) {
children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => KA(t),
+ onClick: () => XA(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, O.jsx)(YA, {
+ /* @__PURE__ */ (0, O.jsx)($A, {
store: t,
label: "光晕",
hidden: !n.on
@@ -30620,14 +30620,14 @@ function $A({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: UA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {
+ children: JA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => GA(e, t),
+ onClick: () => YA(e, t),
children: /* @__PURE__ */ (0, O.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -30646,32 +30646,32 @@ function $A({ host: e }) {
}
//#endregion
//#region src/player/host.ts
-var ej = null;
-function Foe(e) {
- ej = e;
+var ij = null;
+function joe(e) {
+ ij = e;
}
-function tj() {
- if (!ej) throw Error("播放器还没有接上宿主(configurePlayer)");
- return ej;
+function aj() {
+ if (!ij) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return ij;
}
//#endregion
//#region src/player/menu.ts
-var nj = null;
-function Ioe(e) {
- nj = e;
+var oj = null;
+function Moe(e) {
+ oj = e;
}
-function Loe() {
+function Noe() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var rj = null, ij = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function aj() {
+var sj = null, cj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function lj() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && To(e, () => {
e.innerHTML = "";
- }), rj &&= (rj(), null);
+ }), sj &&= (sj(), null);
}
-async function Roe(e) {
+async function Poe(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -30684,8 +30684,8 @@ async function Roe(e) {
return t.remove(), n;
}
}
-function zoe(e) {
- let t = !!nj?.inMiniplayer(e), n = e.peachItem, r = nj?.kind(e) ?? "item", i = (t) => {
+function Foe(e) {
+ let t = !!oj?.inMiniplayer(e), n = e.peachItem, r = oj?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);
if (r !== "follow" && location.pathname === i.pathname) {
let e = new URLSearchParams(location.search);
@@ -30701,7 +30701,7 @@ function zoe(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Roe(i(e)).then((e) => tj().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Poe(i(e)).then((e) => aj().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -30713,11 +30713,11 @@ function zoe(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => nj?.expand()
+ run: () => oj?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => nj?.toMiniplayer()
+ run: () => oj?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -30740,29 +30740,29 @@ function zoe(e) {
run: () => s.click()
}), o;
}
-function Boe(e, t, n) {
- let r = Loe();
- aj();
- let i = tj().stage();
+function Ioe(e, t, n) {
+ let r = Noe();
+ lj();
+ let i = aj().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = zoe(e);
+ let a = Foe(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${ij(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? ij(L("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${cj(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? cj(L("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), wo(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- aj(), n?.run();
+ lj(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || aj();
+ r.contains(e.target) || lj();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), aj();
+ e.preventDefault(), e.stopPropagation(), lj();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -30770,51 +30770,51 @@ function Boe(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- Do(t, e.el()) && aj();
+ Do(t, e.el()) && lj();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), rj = () => {
+ }, 0), sj = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Voe(e) {
+function Loe(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Boe(e, t.clientX, t.clientY));
- }), e.on("dispose", aj);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ioe(e, t.clientX, t.clientY));
+ }), e.on("dispose", lj);
}
//#endregion
//#region src/player/registry.ts
-var oj = null, sj = () => oj;
-function cj(e) {
- oj = e;
+var uj = null, dj = () => uj;
+function fj(e) {
+ uj = e;
}
-function lj(e) {
+function pj(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function uj(e) {
+function mj(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function Hoe(e) {
+function Roe(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 dj = 3e3;
-function fj(e, t) {
+var hj = 3e3;
+function gj(e, t) {
let n = Number(e) || 0, r = hn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Uoe(e) {
+function zoe(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -30829,10 +30829,10 @@ function Uoe(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Hoe(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Roe(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 > dj * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > hj * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -30841,56 +30841,56 @@ function Uoe(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > dj;) t.shift();
+ }); t.length > 2 && a - t[0].at > hj;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var pj = 24;
-function mj(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > pj && e.splice(0, e.length - pj);
+var _j = 24;
+function vj(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > _j && e.splice(0, e.length - _j);
}
-var hj = "peach-player-panel";
-function gj(e, t, n, r) {
- let i = [...Array(Math.max(0, pj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var yj = "peach-player-panel";
+function bj(e, t, n, r) {
+ let i = [...Array(Math.max(0, _j - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${z(r)}">${o}</span>`;
}
-function Woe() {
+function Boe() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function _j(e, t = "") {
+function xj(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function vj(e, t = "") {
- let n = _j(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function Sj(e, t = "") {
+ let n = xj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function yj(e, t, n = "", r = null) {
+function Cj(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.bandwidth?.()) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : vj(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : Sj(t, n);
}
-function bj(e) {
+function wj(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function Goe(e, t) {
- return e > 0 ? bj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : bj(0);
+function Voe(e, t) {
+ return e > 0 ? wj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : wj(0);
}
//#endregion
//#region src/player/subtitle-style.ts
-var xj = {
+var Tj = {
font: {
label: "字体",
values: [
@@ -30993,7 +30993,7 @@ var xj = {
["shadow", "阴影"]
]
}
-}, Sj = {
+}, Ej = {
font: "sans",
size: "100",
color: "white",
@@ -31003,7 +31003,7 @@ var xj = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, Cj = "peach.caption-style.v1", Koe = {
+}, Dj = "peach.caption-style.v1", Hoe = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -31012,7 +31012,7 @@ var xj = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, qoe = {
+}, Uoe = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -31020,28 +31020,28 @@ var xj = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, Joe = {
+}, Woe = {
none: "none",
raised: "-1px -1px 0 #ddd,1px 1px 0 #222",
depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",
outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",
shadow: "2px 2px 3px #000"
};
-function Yoe() {
+function Goe() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(Cj) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(Dj) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(Sj).map(([t, n]) => [t, xj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
+ return Object.fromEntries(Object.entries(Ej).map(([t, n]) => [t, Tj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
}
-function wj(e, t, n) {
- let r = Yoe(), i = document.createElement("div");
+function Oj(e, t, n) {
+ let r = Goe(), i = document.createElement("div");
i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");
let a = document.createElement("div");
a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";
let o = () => {
- let t = (e, t) => `rgba(${Koe[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", qoe[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", Joe[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${Hoe[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", Uoe[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", Woe[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");
}, s = () => {
a.replaceChildren();
for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {
@@ -31056,27 +31056,27 @@ function wj(e, t, n) {
return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {
current: () => r,
set(e, t) {
- if (xj[e].values.some(([e]) => e === t)) {
+ if (Tj[e].values.some(([e]) => e === t)) {
r = {
...r,
[e]: t
}, o();
try {
- localStorage.setItem(Cj, JSON.stringify(r));
+ localStorage.setItem(Dj, JSON.stringify(r));
} catch {}
}
},
reset() {
- r = { ...Sj }, o();
+ r = { ...Ej }, o();
try {
- localStorage.removeItem(Cj);
+ localStorage.removeItem(Dj);
} catch {}
}
};
}
//#endregion
//#region src/player/subtitle-memory.ts
-var Tj = /* @__PURE__ */ new Map(), Ej = class {
+var kj = /* @__PURE__ */ new Map(), Aj = class {
player;
video;
changed;
@@ -31125,7 +31125,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (Tj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (kj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = await fetch(this.url, {
method: "PUT",
headers: { "Content-Type": "application/json" },
@@ -31139,15 +31139,15 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
let n = !!this.error;
this.error = "", n && !this.cleanup.signal.aborted && this.changed();
});
- return Tj.set(this.url, t), t.finally(() => {
- Tj.get(this.url) === t && Tj.delete(this.url);
+ return kj.set(this.url, t), t.finally(() => {
+ kj.get(this.url) === t && kj.delete(this.url);
}).catch(() => {}), t;
}
async restore() {
if (!this.url) return;
let e = this.cleanup.signal;
try {
- if (await Tj.get(this.url)?.catch(() => {}), e.aborted) return;
+ if (await kj.get(this.url)?.catch(() => {}), e.aborted) return;
let t = await R(this.url, { signal: e });
if (e.aborted) return;
this.selected === void 0 && (this.selected = t.selected), this.apply();
@@ -31202,7 +31202,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, Dj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Xoe = class {
+}, jj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Koe = class {
player;
video;
panels;
@@ -31221,7 +31221,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = wj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Dj(), this.cc.onclick = () => {
+ this.player = e, this.video = t, this.panels = n, this.styles = Oj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = jj(), this.cc.onclick = () => {
let e = this.tracks().find((e) => e.mode === "showing");
e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();
}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {
@@ -31231,7 +31231,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new Ej(e, t, () => {
+ }), this.session = new Aj(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -31279,7 +31279,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
}
options(e = 1) {
this.page = "options";
- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(xj).map(([e, n]) => {
+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(Tj).map(([e, n]) => {
let r = n.values.find(([n]) => n === t[e])?.[1] || "";
return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${z(n.label)}</span><b>${z(r)}</b>${L("player-menu-next")}</button>`;
}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);
@@ -31291,7 +31291,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
}
styleOptions(e) {
this.page = "style";
- let t = xj[e];
+ let t = Tj[e];
this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {
let r = this.styles.current()[e] === t;
return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${z(t)}"><span class="vjs-peach-option-check">${r ? L("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;
@@ -31408,7 +31408,7 @@ var Tj = /* @__PURE__ */ new Map(), Ej = class {
};
//#endregion
//#region src/player/controls.ts
-function Oj(e, t, n = "") {
+function Mj(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -31419,27 +31419,27 @@ function Oj(e, t, n = "") {
};
return o(), o;
}
-function kj(e, t) {
+function Nj(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Zoe(e, t = !0) {
- let n = tj(), r = n.settings();
+function qoe(e, t = !0) {
+ let n = aj(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var Aj = /* @__PURE__ */ new WeakMap();
-function jj(e) {
+var Pj = /* @__PURE__ */ new WeakMap();
+function Fj(e) {
if (!e) return;
- let t = tj().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Aj.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = aj().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Pj.get(e)?.(t ? "默认视图" : "影院模式");
}
-function Mj(e, t = !0) {
- let n = tj(), r = n.settings();
+function Ij(e, t = !0) {
+ let n = aj(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), jj(i?.querySelector("[data-player-theater]")), lj(sj());
+ i?.toggleAttribute("data-theater", r.theaterMode), Fj(i?.querySelector("[data-player-theater]")), pj(dj());
}
-function Qoe(e) {
- let t = tj().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Joe(e) {
+ let t = aj().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -31462,9 +31462,9 @@ function Qoe(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (tj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (aj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && tj().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && aj().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -31473,7 +31473,7 @@ function Qoe(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function Nj(e, t, n = 0, r = null) {
+function Lj(e, t, n = 0, r = null) {
let i = e.el().querySelector(".vjs-control-bar");
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -31483,7 +31483,7 @@ function Nj(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- Oj(s, "设置");
+ Mj(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -31523,11 +31523,11 @@ function Nj(e, t, n = 0, r = null) {
active: n
};
}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(hj, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(yj, { detail: "settings" }));
}, y = () => v(!1), b = (e) => {
e.detail !== "settings" && y();
};
- document.addEventListener(hj, b);
+ document.addEventListener(yj, b);
let x = null, S = 0, C = (e, t) => {
let n = ++S;
x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;
@@ -31543,13 +31543,13 @@ function Nj(e, t, n = 0, r = null) {
}), i;
}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {
T = "main";
- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${tj().settings().ambientMode}">
+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${aj().settings().ambientMode}">
${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>
- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${Dj()}</span><span>字幕</span><b>${z(u?.label() || "关闭")}</b>${L("player-menu-next")}</button>
+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${jj()}</span><span>字幕</span><b>${z(u?.label() || "关闭")}</b>${L("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${L("player-menu-next")}</button></div>`, t);
w(i, "[data-player-ambient]").onclick = () => {
- Zoe(!tj().settings().ambientMode), E();
+ qoe(!aj().settings().ambientMode), E();
}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();
}, D = .05, O = [
1,
@@ -31629,8 +31629,8 @@ function Nj(e, t, n = 0, r = null) {
"removequalitylevel",
"change"
], ee), e.on("dispose", () => {
- S++, document.removeEventListener("pointerdown", N), document.removeEventListener(hj, b), x && clearTimeout(x);
- }), u = new Xoe(e, t, {
+ S++, document.removeEventListener("pointerdown", N), document.removeEventListener(yj, b), x && clearTimeout(x);
+ }), u = new Koe(e, t, {
render: C,
open: () => {
T = "subtitles", v(!0);
@@ -31639,21 +31639,21 @@ function Nj(e, t, n = 0, r = null) {
back: () => {
u?.hide(), E(-1);
}
- }), g(), $oe(e, a), ese(e), (e) => {
+ }), g(), Yoe(e, a), Xoe(e), (e) => {
f = e?.length ? e : null, ee();
};
}
-function $oe(e, t) {
+function Yoe(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = tj().settings().theaterMode, i = document.createElement("div");
+ let r = aj().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- Aj.set(a, Oj(a, "影院模式", "T")), jj(a), a.onclick = (e) => {
- e.stopPropagation(), Mj(!tj().settings().theaterMode);
+ Pj.set(a, Mj(a, "影院模式", "T")), Fj(a), a.onclick = (e) => {
+ e.stopPropagation(), Ij(!aj().settings().theaterMode);
};
}
-function ese(e) {
+function Xoe(e) {
let t = e.el().querySelector(".vjs-control-bar");
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -31665,7 +31665,7 @@ function ese(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = Oj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = Mj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -31676,7 +31676,7 @@ function ese(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = Oj(p, "静音", "M"), g = () => {
+ let h = Mj(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -31702,7 +31702,7 @@ function ese(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = Oj(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = Mj(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = _n(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : _n(t)} / ${_n(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${_n(n)};点击显示已播放时间` : `已播放 ${_n(t)},总时长 ${_n(n)};点击显示剩余时间`);
};
@@ -31714,12 +31714,12 @@ function ese(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- Oj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");
- let D = Oj(E, "画中画");
+ Mj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");
+ let D = Mj(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Oj(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Mj(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), lj(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), pj(e);
};
e.on([
"fullscreenchange",
@@ -31740,7 +31740,7 @@ function ese(e) {
});
let N = document.createElement("div");
N.className = "vjs-peach-expand vjs-control", N.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, ee.prepend(N);
- let te = N.querySelector("button"), P = Oj(te, "展开控件"), ne = (t) => {
+ let te = N.querySelector("button"), P = Mj(te, "展开控件"), ne = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -31752,7 +31752,7 @@ function ese(e) {
}, re = new ResizeObserver(F);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), ne(!1), F();
}
-function Pj(e, t, n = {}) {
+function Rj(e, t, n = {}) {
let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = !!t && n.thumbnail !== !1, a = document.createElement("div");
@@ -31786,13 +31786,13 @@ function Pj(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function tse(e, t) {
+function Zoe(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => hn(e.duration()) || hn(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(tj().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(aj().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -31833,11 +31833,11 @@ function tse(e, t) {
} catch {}
});
}
-function Fj(e) {
+function zj(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function Ij(e, t) {
+function Bj(e, t) {
R(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -31853,35 +31853,35 @@ function Ij(e, t) {
}
//#endregion
//#region src/player/progress.ts
-var Lj = "peach.playback-position.v1", Rj = /* @__PURE__ */ new WeakMap();
-function zj(e) {
- Rj.get(e)?.(), Rj.delete(e);
+var Vj = "peach.playback-position.v1", Hj = /* @__PURE__ */ new WeakMap();
+function Uj(e) {
+ Hj.get(e)?.(), Hj.delete(e);
}
-function Bj(e, t, n = null) {
+function Wj(e, t, n = null) {
let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;
return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;
}
-function nse(e) {
+function Qoe(e) {
try {
- let t = localStorage.getItem(`${Lj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${Vj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function rse(e, t) {
- let n = nse(e);
+function $oe(e, t) {
+ let n = Qoe(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * hn(t.duration) : 0;
}
-function ise(e, t) {
- zj(t);
+function ese(e, t) {
+ Uj(t);
let n = t.readyState >= 1, r = () => {
if (!n || !Number.isFinite(t.currentTime)) return;
let r = t.ended ? 0 : Math.max(0, t.currentTime);
try {
- localStorage.setItem(`${Lj}:${e}`, String(r));
+ localStorage.setItem(`${Vj}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -31895,7 +31895,7 @@ function ise(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Rj.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Hj.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -31908,19 +31908,19 @@ function ise(e, t) {
}
//#endregion
//#region src/player/telemetry.ts
-var Vj = /* @__PURE__ */ new WeakMap();
-function Hj(e) {
- Vj.get(e)?.(), Vj.delete(e);
+var Gj = /* @__PURE__ */ new WeakMap();
+function Kj(e) {
+ Gj.get(e)?.(), Gj.delete(e);
}
-function Uj(e, t, n, r) {
+function qj(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Vj.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Gj.set(e, () => {
n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);
});
}
-function Wj(e, t, n = {}) {
+function Jj(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {
let r = hn(e.duration) || hn(t.duration);
@@ -31961,11 +31961,11 @@ function Wj(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, Uj(t, l, u, () => {
+ }, qj(t, l, u, () => {
a++;
}), c();
}
-function ase(e, t) {
+function tse(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = hn(e.duration) || hn(t.duration);
(r || n) && (R("/api/follow/activity", {
@@ -31996,24 +31996,24 @@ function ase(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, Uj(t, o, s, () => {});
+ }, qj(t, o, s, () => {});
}
//#endregion
//#region src/player/dispose.ts
-function Gj(e) {
+function Yj(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (zj(t), Hj(t));
+ t && (Uj(t), Kj(t));
try {
e.dispose();
} catch {}
}
//#endregion
//#region src/core/random-id.ts
-function Kj() {
+function Xj() {
if (typeof crypto.randomUUID == "function") return crypto.randomUUID();
let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;
@@ -32022,23 +32022,23 @@ function Kj() {
}
//#endregion
//#region src/player/stream.ts
-function qj() {
- return Kj();
+function Zj() {
+ return Xj();
}
-function Jj(e, t) {
+function Qj(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function ose(e) {
+function nse(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function Yj(e, t) {
- let n = ose(e);
+async function $j(e, t) {
+ let n = nse(e);
if (n) return n;
try {
let n = await R(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -32047,9 +32047,9 @@ async function Yj(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return Jj(e, t);
+ return Qj(e, t);
}
-function Xj(e) {
+function eM(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -32058,23 +32058,23 @@ function Xj(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var Zj = "";
-function Qj() {
- return Zj;
+var tM = "";
+function nM() {
+ return tM;
}
-function $j() {
- return Zj ||= qj(), Zj;
+function rM() {
+ return tM ||= Zj(), tM;
}
-var sse = (e) => Jj(e, $j()), cse = (e) => Yj(e, $j());
-function eM() {
- let e = Zj;
- e && (Zj = "", Xj(e));
+var rse = (e) => Qj(e, rM()), ise = (e) => $j(e, rM());
+function iM() {
+ let e = tM;
+ e && (tM = "", eM(e));
}
//#endregion
//#region src/player/v10-player.ts
-var tM = (e) => typeof e == "string" ? [e] : e, lse = (e, t) => {
+var aM = (e) => typeof e == "string" ? [e] : e, ase = (e, t) => {
let n = document.createElement("div"), r = document.createElement("video-player");
- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Kj()}`, n.setAttribute("lang", "zh-CN");
+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Xj()}`, n.setAttribute("lang", "zh-CN");
let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");
e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");
let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {
@@ -32169,9 +32169,9 @@ var tM = (e) => typeof e == "string" ? [e] : e, lse = (e, t) => {
e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();
};
return e.addEventListener("loadedmetadata", T, { signal: c }), {
- on: (e, t) => tM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => tM(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => tM(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => aM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => aM(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => aM(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -32226,7 +32226,7 @@ var tM = (e) => typeof e == "string" ? [e] : e, lse = (e, t) => {
n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);
}
};
-}, use = "/vendor/videojs/10.1.0/", dse = [
+}, ose = "/vendor/videojs/10.1.0/", sse = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -32244,18 +32244,18 @@ var tM = (e) => typeof e == "string" ? [e] : e, lse = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], nM = null;
-function rM() {
- return nM ??= Promise.all(dse.map((e) => import(
+], oM = null;
+function sM() {
+ return oM ??= Promise.all(sse.map((e) => import(
/* @vite-ignore */
- `${use}${e}`
-))).then(() => lse).catch((e) => {
- throw nM = null, e;
- }), nM;
+ `${ose}${e}`
+))).then(() => ase).catch((e) => {
+ throw oM = null, e;
+ }), oM;
}
//#endregion
//#region src/player/immerse-player.ts
-var fse = {
+var cse = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -32267,39 +32267,39 @@ var fse = {
errorDisplay: !1,
textTrackSettings: !1
};
-function pse(e, t) {
+function lse(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([Yj(n, r), rM().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([$j(n, r), sM().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = Jj(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = Qj(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, fse);
- i = t, t.peachItem = n, t.peachPlaybackKey = Bj("item", n);
+ let t = s(e, cse);
+ i = t, t.peachItem = n, t.peachPlaybackKey = Wj("item", n);
let r = new AbortController();
- wj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new Ej(t, e), Ij(t, n.id), l && t.one("error", () => {
+ Oj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new Aj(t, e), Bj(t, n.id), l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- Wj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ Jj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, Xj(r), i ? Gj(i) : (e.pause(), Hj(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, eM(r), i ? Yj(i) : (e.pause(), Kj(e), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var iM = /* @__PURE__ */ new WeakMap(), aM = null, oM = null, sM = null;
-function cM() {
- aM &&= (clearInterval(aM), null), oM &&= (clearInterval(oM), null), sM &&= (clearTimeout(sM), null);
+var cM = /* @__PURE__ */ new WeakMap(), lM = null, uM = null, dM = null;
+function fM() {
+ lM &&= (clearInterval(lM), null), uM &&= (clearInterval(uM), null), dM &&= (clearTimeout(dM), null);
}
-async function lM(e, t, n, r = {}) {
- let i = sj();
+async function pM(e, t, n, r = {}) {
+ let i = dj();
if (i && !i.isDisposed()) return i;
- let a = tj(), o = r.resume ?? null;
+ let a = aj(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : cse(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : ise(e), c;
try {
- c = await rM();
+ c = await sM();
} catch {
return t.controls = !0, s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -32325,7 +32325,7 @@ async function lM(e, t, n, r = {}) {
} }
}
});
- cj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Bj("item", e), Voe(l), l.on("loadedmetadata", () => {
+ fj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Wj("item", e), Loe(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -32333,7 +32333,7 @@ async function lM(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Uoe(fj(f, e.duration)), m = 0, h = !1, g = () => sj() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = zoe(gj(f, e.duration)), m = 0, h = !1, g = () => dj() === 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(() => {
@@ -32344,15 +32344,15 @@ async function lM(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- iM.set(l, y), y.updateStats = () => {
+ cM.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Qj(), h = s ? _j(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = nM(), h = s ? xj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = yj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = Cj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = uj(t);
- mj(d.speed, x), mj(d.activity, C), mj(d.buffer, w);
+ let w = mj(t);
+ vj(d.speed, x), vj(d.activity, C), vj(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? vn(_) : "—"} · ${h.length} 请求`,
@@ -32370,17 +32370,17 @@ async function lM(e, t, n, r = {}) {
[
"连接速度",
D,
- gj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ bj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- gj(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ bj(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- gj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ bj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${_n(t.currentTime)} / ${_n(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -32396,15 +32396,15 @@ async function lM(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = yj(l, e.id, Qj(), r ? null : p), a = r ? bj(i) : Goe(i, uj(t));
+ let i = Cj(l, e.id, nM(), r ? null : p), a = r ? wj(i) : Voe(i, mj(t));
n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), oM && clearInterval(oM), oM = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), uM && clearInterval(uM), uM = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (sM && clearTimeout(sM), sM = setTimeout(() => {
- e.hidden = !0, oM &&= (clearInterval(oM), null);
+ e && (dM && clearTimeout(dM), dM = setTimeout(() => {
+ e.hidden = !0, uM &&= (clearInterval(uM), null);
}, 1400));
};
return l.on([
@@ -32415,7 +32415,7 @@ async function lM(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(sse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(rse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({
code: 2,
message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`
@@ -32423,13 +32423,13 @@ async function lM(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Nj(l, t, e.height, r.qualities ?? null);
+ let n = Lj(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = fj(r, e.duration));
- }).catch(() => {}), Pj(l, e, { thumbnail: !r.source }), tse(l, e), Fj(l), r.source || Ij(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = gj(r, e.duration));
+ }).catch(() => {}), Rj(l, e, { thumbnail: !r.source }), Zoe(l, e), zj(l), r.source || Bj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -32438,14 +32438,14 @@ async function lM(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var uM = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function dM(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", uM), e.querySelector(":scope > #playerStatsBtn")) return;
+var mM = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function hM(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", mM), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Woe(), e.insertBefore(n.content, t);
+ n.innerHTML = Boe(), e.insertBefore(n.content, t);
}
-function fM(e, t) {
- let n = iM.get(e);
+function gM(e, t) {
+ let n = cM.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -32457,29 +32457,29 @@ function fM(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), aM &&= (clearInterval(aM), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), lM &&= (clearInterval(lM), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(hj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), aM && clearInterval(aM), aM = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(yj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), lM && clearInterval(lM), lM = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(hj, t), s = () => document.removeEventListener(hj, t);
+ document.addEventListener(yj, t), s = () => document.removeEventListener(yj, t);
}
- let c = e.el().querySelector("video"), l = c ? Qoe(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, cM()));
+ let c = e.el().querySelector("video"), l = c ? Joe(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, fM()));
};
return e.one("dispose", d), d;
}
-function pM(e, t) {
- if (t.kind === "immerse") return pse(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = tj(), c = t.chrome === !1 ? null : e.parentElement;
- c && dM(c, e);
- let l = Bj(n, r, i?.index ?? null), u = {
+function _M(e, t) {
+ if (t.kind === "immerse") return lse(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = aj(), c = t.chrome === !1 ? null : e.parentElement;
+ c && hM(c, e);
+ let l = Wj(n, r, i?.index ?? null), u = {
playbackKey: l,
resume: t.resume ?? {
- time: rse(l, r),
+ time: $oe(l, r),
autoplay: !1
}
};
@@ -32499,38 +32499,38 @@ function pM(e, t) {
t && (e.poster = t);
}
let d = null, f = !1, p = () => {}, m = e, h = () => {
- p(), !(d && a?.(d)) && (zj(m), d ? (sj() === d && (cj(null), cM()), Gj(d)) : Hj(m));
+ p(), !(d && a?.(d)) && (Uj(m), d ? (dj() === d && (fj(null), fM()), Yj(d)) : Kj(m));
};
- return lM(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, ise(l, m), n === "follow" ? ase(r, m) : (m.addEventListener("play", () => {
+ return pM(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, ese(l, m), n === "follow" ? tse(r, m) : (m.addEventListener("play", () => {
R("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), Wj(r, m, {
+ }, { once: !0 }), Jj(r, m, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (c && (p = fM(t, c)), o?.(t)) : o?.(null));
+ })), t ? (c && (p = gM(t, c)), o?.(t)) : o?.(null));
}), () => {
f = !0, h();
};
}
//#endregion
//#region src/player/playback.ts
-function mM(e) {
+function vM(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function hM(e, t) {
+function yM(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/player/preview-player.ts
-function gM(e, t, n) {
+function bM(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return rM().then((a) => {
+ return sM().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -32555,57 +32555,57 @@ function gM(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (Nj(o, e), Pj(o, null, { thumbnail: !1 }), Fj(o));
+ r || o.isDisposed() || (Lj(o, e), Rj(o, null, { thumbnail: !1 }), zj(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, Gj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, Yj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
//#endregion
//#region src/react/catalog-grid/catalog-view.ts
-var _M = "peach.catalog-view.v1", vM = /* @__PURE__ */ new Set(), yM = "cards";
-function bM() {
+var xM = "peach.catalog-view.v1", SM = /* @__PURE__ */ new Set(), CM = "cards";
+function wM() {
try {
- return localStorage.getItem(_M) === "list" ? "list" : "cards";
+ return localStorage.getItem(xM) === "list" ? "list" : "cards";
} catch {
- return yM;
+ return CM;
}
}
-function xM(e) {
- yM = e === "list" ? "list" : "cards";
+function TM(e) {
+ CM = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(_M, yM);
+ localStorage.setItem(xM, CM);
} catch {}
- vM.forEach((e) => e());
+ SM.forEach((e) => e());
}
-function SM(e) {
- vM.add(e);
+function EM(e) {
+ SM.add(e);
let t = (t) => {
- (t.key === _M || t.key === null) && e();
+ (t.key === xM || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- vM.delete(e), removeEventListener("storage", t);
+ SM.delete(e), removeEventListener("storage", t);
};
}
-var CM = () => (0, D.useSyncExternalStore)(SM, bM, () => "cards");
-function wM(e, t) {
+var DM = () => (0, D.useSyncExternalStore)(EM, wM, () => "cards");
+function OM(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var TM = (e, t) => [
+var kM = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], EM = (e, t) => [
+], AM = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function DM(e, t, n, r, i) {
+async function jM(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await B(`/api/items?${a}`, i), s = {
@@ -32615,22 +32615,22 @@ async function DM(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var OM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, kM = (e, t) => {
+var MM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, NM = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function AM(e) {
- let t = wM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function PM(e) {
+ let t = OM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: TM(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => DM(t, e, n, r, i),
+ queryKey: kM(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => jM(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: OM(n)
+ getNextPageParam: MM(n)
};
}
-function jM(e) {
+function FM(e) {
return {
- queryKey: EM(e.entityKey || "", e.revision || 0),
+ queryKey: AM(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -32645,12 +32645,12 @@ function jM(e) {
};
},
initialPageParam: 0,
- getNextPageParam: kM
+ getNextPageParam: NM
};
}
-async function MM(e, t) {
- if (e.mode !== "catalog" || e.wall || bM() === "list") return;
- let n = AM(e);
+async function IM(e, t) {
+ if (e.mode !== "catalog" || e.wall || wM() === "list") return;
+ let n = PM(e);
await H.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -32659,11 +32659,11 @@ async function MM(e, t) {
})
});
}
-function NM(e) {
+function LM(e) {
let t = JSON.stringify(e);
return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function PM(e, t, n) {
+function RM(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -32678,24 +32678,24 @@ function PM(e, t, n) {
return !0;
}) : [...e];
}
-var FM = (e, t) => !!e && !!Ca(e, t);
-function IM(e, t) {
- let n = (e) => FM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => FM(e, t)) || e[e.length - 1];
+var zM = (e, t) => !!e && !!Ca(e, t);
+function BM(e, t) {
+ let n = (e) => zM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => zM(e, t)) || e[e.length - 1];
}
-function LM(e, { collapse: t, mix: n, javImage: r }) {
+function VM(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = PM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = RM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = IM(e, r);
+ let t = BM(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -32708,16 +32708,16 @@ function LM(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function RM(e, t, n) {
+function HM(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function zM(e, t) {
+function UM(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function mse(e, t) {
+function WM(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -32730,10 +32730,10 @@ function mse(e, t) {
strip: null
}), r;
}
-function BM(e, t) {
- VM((t) => t.id === e, t);
+function GM(e, t) {
+ KM((t) => t.id === e, t);
}
-function VM(e, t) {
+function KM(e, t) {
H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {
...n,
items: n.items.map((n) => e(n) ? {
@@ -32754,34 +32754,34 @@ function VM(e, t) {
} : n)
});
}
-var HM = (e) => Math.min(Math.max(e || 0, 0), 100), UM = (e) => Math.round(HM(e) / 20), hse = (e) => {
- let t = UM(e);
+var qM = (e) => Math.min(Math.max(e || 0, 0), 100), JM = (e) => Math.round(qM(e) / 20), use = (e) => {
+ let t = JM(e);
return t ? `${t} 星` : "未评分";
-}, WM = (e, t) => t === UM(e) ? 0 : t * 20, GM = (e) => ["item", e], KM = (e) => [
+}, YM = (e, t) => t === JM(e) ? 0 : t * 20, XM = (e) => ["item", e], ZM = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], gse = (e, t) => [
+], dse = (e, t) => [
"item-related",
e,
t
-], _se = (e) => `/api/item?id=${e}`, vse = (e, t) => `/api/related?id=${e}&limit=${t}`, qM = "/api/playlist", JM = "/api/feedback", YM = "/api/item-tag", XM = "/api/watch-later", ZM = "/api/quality-goal", QM = "/api/preference", $M = class extends Error {};
-async function eN(e, t) {
- let n = await B(_se(e), t);
- if (n.error) throw new $M(n.error);
+], fse = (e) => `/api/item?id=${e}`, pse = (e, t) => `/api/related?id=${e}&limit=${t}`, QM = "/api/playlist", $M = "/api/feedback", eN = "/api/item-tag", tN = "/api/watch-later", nN = "/api/quality-goal", rN = "/api/preference", iN = class extends Error {};
+async function aN(e, t) {
+ let n = await B(fse(e), t);
+ if (n.error) throw new iN(n.error);
return n;
}
-async function tN(e, t, n) {
+async function oN(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([eN(r, n), t.mixRelated(r)]);
- return H.setQueryData(GM(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([aN(r, n), t.mixRelated(r)]);
+ return H.setQueryData(XM(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${Qa(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return nN(await B(`${qM}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return sN(await B(`${QM}?id=${e.playlistId}`, n));
let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -32792,19 +32792,19 @@ async function tN(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var nN = (e) => ({
+var sN = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), rN = (e) => e.disposal === "vanished";
-function iN(e, t) {
+}), cN = (e) => e.disposal === "vanished";
+function lN(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !rN(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !cN(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function yse(e, t) {
+function mse(e, t) {
if (t?.kind !== "parts" && t?.kind !== "editions") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -32812,20 +32812,20 @@ function yse(e, t) {
part_label: n
};
}
-function aN(e, t) {
+function uN(e, t) {
if (!e || e.kind !== "parts" && e.kind !== "editions") return null;
let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];
return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;
}
-async function oN(e, t) {
+async function dN(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = KM(n);
+ let o = ZM(n);
try {
let r = n.fresh ? void 0 : H.getQueryData(o);
a = !r && n.kind === "mix", i = r || await H.fetchQuery({
queryKey: o,
- queryFn: () => tN(n, e.helpers, t),
+ queryFn: () => oN(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -32837,21 +32837,21 @@ async function oN(e, t) {
return;
}
}
- let o = i ? iN(i, e.id) : e.id;
+ let o = i ? lN(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? H.getQueryData(GM(o)) : void 0;
+ let s, c = a && o === i?.seedId ? H.getQueryData(XM(o)) : void 0;
try {
s = c || await H.fetchQuery({
- queryKey: GM(o),
- queryFn: () => eN(o, t),
+ queryKey: XM(o),
+ queryFn: () => aN(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof $M) {
+ if (e instanceof iN) {
r.redirect({ kind: "gone" });
return;
}
@@ -32862,7 +32862,7 @@ async function oN(e, t) {
id: Number(s.follow_item_id)
});
}
-function bse(e) {
+function hse(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = dn(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -32884,35 +32884,35 @@ function bse(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function xse(e, t) {
+function gse(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = dn(t.tagLabel(e.k)), i = n.get(r);
(!i || dn(e.k) === r && dn(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var sN = (e, t) => (e.tags || []).some((e) => dn(e.k) === dn(t)), cN = (e, t) => ({
+var fN = (e, t) => (e.tags || []).some((e) => dn(e.k) === dn(t)), pN = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => dn(e.k) !== dn(t))
-}), lN = (e, t) => sN(e, t.k) ? e : {
+}), mN = (e, t) => fN(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, uN = "peach.recentTags";
-function dN() {
+}, hN = "peach.recentTags";
+function gN() {
try {
- let e = JSON.parse(localStorage.getItem(uN) || "[]");
+ let e = JSON.parse(localStorage.getItem(hN) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Sse(e) {
+function _se(e) {
try {
- let t = dN().filter((t) => dn(t) !== dn(e));
- localStorage.setItem(uN, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = gN().filter((t) => dn(t) !== dn(e));
+ localStorage.setItem(hN, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Cse(e, t, n) {
+function vse(e, t, n) {
let r = dn(e), i = new Map(t.map((e) => [dn(e.k), e])), a = t.filter((e) => !r || dn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(dn(e)) || {
k: e,
n: 0
@@ -32923,73 +32923,73 @@ function Cse(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var wse = {
+var yse = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Tse = {
+}, bse = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Ese(e) {
+function xse(e) {
let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: Tse[e.kind],
+ title: bse[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var fN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Dse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(fN(e.part_label))}</small>` : "";
-function Ose(e, t, n, r) {
+var _N = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Sse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(_N(e.part_label))}</small>` : "";
+function Cse(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var kse = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Ase(e, t) {
+var wse = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Tse(e, t) {
return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function jse(e) {
+function Ese(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function pN(e, t) {
+function vN(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var Mse = (e, t, n) => [
+var Dse = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Nse(e) {
+function Ose(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var Pse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function Fse(e, t = Math.random) {
+var kse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function Ase(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function Ise(e, t) {
- return Fse(((await B(`/api/items?${e}`)).items || []).filter((e) => Pse(e, t)));
+async function jse(e, t) {
+ return Ase(((await B(`/api/items?${e}`)).items || []).filter((e) => kse(e, t)));
}
-var mN = (e) => H.ensureQueryData({
- queryKey: GM(e),
- queryFn: ({ signal: t }) => eN(e, t)
+var yN = (e) => H.ensureQueryData({
+ queryKey: XM(e),
+ queryFn: ({ signal: t }) => aN(e, t)
});
-function Lse(e, t) {
+function Mse(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Rse(e) {
+function Nse(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -32998,306 +32998,306 @@ function Rse(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function zse(e, t, n) {
+function Pse(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function Bse(e, t) {
+function Fse(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var Vse = 15e3, hN = {
+var Ise = 15e3, bN = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, gN = null, _N = null, vN = hN, yN = /* @__PURE__ */ new Set(), bN = 0, xN = 0, SN = 0, CN = "", wN = [], TN = 0, EN = !1, DN = !1, ON = null, kN = /* @__PURE__ */ new Set(), AN = "", jN = null, MN = 0, NN = null, PN = !1;
-function FN() {
- if (!gN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return gN;
+}, xN = null, SN = null, CN = bN, wN = /* @__PURE__ */ new Set(), TN = 0, EN = 0, DN = 0, ON = "", kN = [], AN = 0, jN = !1, MN = !1, NN = null, PN = /* @__PURE__ */ new Set(), FN = "", IN = null, LN = 0, RN = null, zN = !1;
+function BN() {
+ if (!xN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return xN;
}
-function Hse(e) {
- return yN.add(e), () => {
- yN.delete(e);
+function Lse(e) {
+ return wN.add(e), () => {
+ wN.delete(e);
};
}
-function Use() {
- for (let e of [...yN]) e();
+function Rse() {
+ for (let e of [...wN]) e();
}
-function IN() {
- (0, Et.flushSync)(Use);
+function VN() {
+ (0, Et.flushSync)(Rse);
}
-function LN() {
- let e = jN ? vj(jN.id) : 0;
- return e ? `${AN} · ${bj(e)}` : AN;
+function HN() {
+ let e = IN ? Sj(IN.id) : 0;
+ return e ? `${FN} · ${wj(e)}` : FN;
}
-function RN(e, t = null) {
- clearInterval(MN), MN = 0, e === null ? (vN = {
- ...vN,
+function UN(e, t = null) {
+ clearInterval(LN), LN = 0, e === null ? (CN = {
+ ...CN,
loading: null
- }, IN()) : (AN = e, jN = t, vN = {
- ...vN,
- loading: LN()
- }, IN(), MN = window.setInterval(() => {
- jN = wN[TN] ?? null, vN = {
- ...vN,
- loading: LN()
- }, IN();
+ }, VN()) : (FN = e, IN = t, CN = {
+ ...CN,
+ loading: HN()
+ }, VN(), LN = window.setInterval(() => {
+ IN = kN[AN] ?? null, CN = {
+ ...CN,
+ loading: HN()
+ }, VN();
}, 500));
}
-function Wse(e) {
+function zse(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), _N.track.append(t);
- let r = qj(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), SN.track.append(t);
+ let r = Zj(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => Xj(r),
+ release: () => eM(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return kN.add(a), a;
+ return PN.add(a), a;
}
-function Gse(e, t) {
+function Bse(e, t) {
return new Promise((n) => {
- e.release = pM(e.video, {
+ e.release = _M(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- vN.open && GN(1);
+ CN.open && XN(1);
}
}), e.gone.then(n);
});
}
-function zN(e) {
- e && !e.disposed && (e.disposed = !0, kN.delete(e), e.leave(), e.release(), e.el.remove(), ON === e && (ON = null));
+function WN(e) {
+ e && !e.disposed && (e.disposed = !0, PN.delete(e), e.leave(), e.release(), e.el.remove(), NN === e && (NN = null));
}
-var BN = [
+var GN = [
"loadeddata",
"canplay",
"error"
];
-function Kse(e) {
+function Vse(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), BN.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), GN.forEach((e) => t.removeEventListener(e, i)), n());
};
- BN.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, Vse);
+ GN.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, Ise);
e.gone.then(i);
});
}
-function VN(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = zse(e.videoWidth, e.videoHeight, n);
+function KN(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Pse(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var HN = () => _N?.track.querySelectorAll("video").forEach(VN);
-function qse(e) {
- delete e.dataset.fit, e.readyState >= 1 ? VN(e) : e.addEventListener("loadedmetadata", () => VN(e), { once: !0 });
+var qN = () => SN?.track.querySelectorAll("video").forEach(KN);
+function Hse(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? KN(e) : e.addEventListener("loadedmetadata", () => KN(e), { once: !0 });
}
-function Jse(e) {
- vN = {
- ...vN,
+function Use(e) {
+ CN = {
+ ...CN,
wide: e
- }, IN(), HN();
+ }, VN(), qN();
}
-var UN = () => {
- let e = CN;
+var JN = () => {
+ let e = ON;
return H.fetchQuery({
- queryKey: Mse(e, xN, SN),
- queryFn: () => Ise(e, FN().sourceOffline),
+ queryKey: Dse(e, EN, DN),
+ queryFn: () => jse(e, BN().sourceOffline),
staleTime: Infinity
});
};
-function Yse(e, t) {
+function Wse(e, t) {
let n = () => hn(e.duration) || hn(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && _N && (_N.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), NN = {
+ t && SN && (SN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), RN = {
video: e,
duration: n
};
}
-async function WN(e = 0) {
- let t = wN[TN];
- if (!t || EN) return;
- let n = bN;
- FN().route(t.id), EN = !0, RN(e ? "切换中" : "加载中", t);
+async function YN(e = 0) {
+ let t = kN[AN];
+ if (!t || jN) return;
+ let n = TN;
+ BN().route(t.id), jN = !0, UN(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await mN(t.id).catch((e) => {
- if (!(e instanceof $M)) throw e;
- }), n !== bN) return;
- let i = ON, a = !!(e && i);
- a || zN(i);
- let o = Wse(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, qse(o.video), await Gse(o, t), await Kse(o), o.disposed || (Jse(Bse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await yN(t.id).catch((e) => {
+ if (!(e instanceof iN)) throw e;
+ }), n !== TN) return;
+ let i = NN, a = !!(e && i);
+ a || WN(i);
+ let o = zse(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Hse(o.video), await Bse(o, t), await Vse(o), o.disposed || (Use(Fse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), zN(i), o.el.style.transform = ""), o.disposed)) return;
- ON = o, r = null, o.video.play()?.catch(() => {}), vN = {
- ...vN,
+ })), await new Promise((e) => setTimeout(e, 210)), WN(i), o.el.style.transform = ""), o.disposed)) return;
+ NN = o, r = null, o.video.play()?.catch(() => {}), CN = {
+ ...CN,
idle: !1,
shown: {
item: t,
- index: TN,
- length: wN.length
+ index: AN,
+ length: kN.length
}
- }, Yse(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), RN(null);
+ }, Wse(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), UN(null);
} catch {
- zN(r), n === bN && RN(null);
+ WN(r), n === TN && UN(null);
} finally {
- n === bN && (EN = !1);
+ n === TN && (jN = !1);
}
}
-async function GN(e) {
- if (EN || !vN.open) return;
- let t = bN;
- if (TN += e, RN("切换中", wN[TN] ?? null), TN >= wN.length - 3 && !DN) {
- DN = !0;
+async function XN(e) {
+ if (jN || !CN.open) return;
+ let t = TN;
+ if (AN += e, UN("切换中", kN[AN] ?? null), AN >= kN.length - 3 && !MN) {
+ MN = !0;
try {
- SN += 1;
- let e = await UN();
- t === bN && (wN = Lse(wN, e));
+ DN += 1;
+ let e = await JN();
+ t === TN && (kN = Mse(kN, e));
} catch {} finally {
- DN = !1;
+ MN = !1;
}
}
- t === bN && (TN >= wN.length && (TN = 0), TN < 0 && (TN = wN.length - 1), await WN(e));
+ t === TN && (AN >= kN.length && (AN = 0), AN < 0 && (AN = kN.length - 1), await YN(e));
}
-async function Xse(e) {
- let t = ++bN;
- KN(), xN += 1, SN = 0, CN = Nse(FN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), vN = {
- ...vN,
+async function Gse(e) {
+ let t = ++TN;
+ ZN(), EN += 1, DN = 0, ON = Ose(BN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), CN = {
+ ...CN,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), RN("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), UN("加载内容");
try {
- let n = await UN();
+ let n = await JN();
if (e && !n.some((t) => t.id === e)) {
- let t = await mN(e).catch((e) => {
- if (e instanceof $M) return null;
+ let t = await yN(e).catch((e) => {
+ if (e instanceof iN) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== bN) return;
- if (wN = n, !wN.length) {
- qN(), FN().warn("当前筛选下没有可直接播放的内容");
+ if (t !== TN) return;
+ if (kN = n, !kN.length) {
+ QN(), BN().warn("当前筛选下没有可直接播放的内容");
return;
}
- TN = Math.max(0, wN.findIndex((t) => t.id === e)), await WN();
+ AN = Math.max(0, kN.findIndex((t) => t.id === e)), await YN();
} catch {
- if (t !== bN) return;
- RN(null), qN();
+ if (t !== TN) return;
+ UN(null), QN();
}
}
-function KN() {
- clearInterval(MN), MN = 0, $N(), ZN = null, NN = null, PN = !1, [...kN].forEach(zN), EN = !1;
+function ZN() {
+ clearInterval(LN), LN = 0, iP(), nP = null, RN = null, zN = !1, [...PN].forEach(WN), jN = !1;
}
-function qN() {
- vN.open && (bN++, KN(), vN = hN, document.body.removeAttribute("data-immerse-open"), IN(), FN().closed());
+function QN() {
+ CN.open && (TN++, ZN(), CN = bN, document.body.removeAttribute("data-immerse-open"), VN(), BN().closed());
}
-var JN = 0, YN = null, XN = 0, ZN = null, QN = 0;
-function $N() {
- clearTimeout(JN), JN = 0, YN = null;
+var $N = 0, eP = null, tP = 0, nP = null, rP = 0;
+function iP() {
+ clearTimeout($N), $N = 0, eP = null;
}
-function Zse(e) {
- let t = ON?.video;
+function Kse(e) {
+ let t = NN?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- YN && YN.side === n && r - YN.at <= 280 ? ($N(), hM(t, FN().seekSeconds() * n)) : (JN && (clearTimeout(JN), JN = 0, mM(t)), YN = {
+ eP && eP.side === n && r - eP.at <= 280 ? (iP(), yM(t, BN().seekSeconds() * n)) : ($N && (clearTimeout($N), $N = 0, vM(t)), eP = {
side: n,
at: r
- }, JN = window.setTimeout(() => {
- JN = 0, YN = null, vN.open && mM(ON?.video);
+ }, $N = window.setTimeout(() => {
+ $N = 0, eP = null, CN.open && vM(NN?.video);
}, 280));
}
-function Qse() {
- Date.now() < XN || mM(ON?.video);
+function qse() {
+ Date.now() < tP || vM(NN?.video);
}
-var eP = (e) => _N?.bar.toggleAttribute("data-scrubbing", e);
-function tP(e) {
- _N && (_N.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var aP = (e) => SN?.bar.toggleAttribute("data-scrubbing", e);
+function oP(e) {
+ SN && (SN.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function nP(e) {
+function sP(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- ZN = null;
+ nP = null;
return;
}
- let n = ON?.video;
- ZN = {
+ let n = NN?.video;
+ nP = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function rP(e) {
- if (!ZN || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - ZN.x, n = e.touches[0].clientY - ZN.y;
- if (!ZN.axis) {
+function cP(e) {
+ if (!nP || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - nP.x, n = e.touches[0].clientY - nP.y;
+ if (!nP.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- ZN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", ZN.axis === "x" && eP(!0);
+ nP.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", nP.axis === "x" && aP(!0);
}
- if (ZN.axis !== "x") return;
- let r = ON?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), ZN.to = Math.min(i, Math.max(0, ZN.from + t / window.innerWidth * i)), tP(ZN.to / i));
+ if (nP.axis !== "x") return;
+ let r = NN?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), nP.to = Math.min(i, Math.max(0, nP.from + t / window.innerWidth * i)), oP(nP.to / i));
}
-function iP(e) {
- if (!ZN) return;
- let t = ZN;
- if (ZN = null, XN = Date.now() + 700, eP(!1), t.axis === "x") {
- let e = ON?.video;
+function lP(e) {
+ if (!nP) return;
+ let t = nP;
+ if (nP = null, tP = Date.now() + 700, aP(!1), t.axis === "x") {
+ let e = NN?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
- Math.abs(i) > 60 ? ($N(), GN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Zse(n.clientX));
+ Math.abs(i) > 60 ? (iP(), XN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Kse(n.clientX));
}
-function aP() {
- ZN = null, eP(!1);
+function uP() {
+ nP = null, aP(!1);
}
-function oP(e) {
+function dP(e) {
let t = Date.now();
- t - QN < 260 || (QN = t, GN(e.deltaY > 0 ? 1 : -1));
+ t - rP < 260 || (rP = t, XN(e.deltaY > 0 ? 1 : -1));
}
-function sP(e) {
- let t = _N.bar.getBoundingClientRect();
+function fP(e) {
+ let t = SN.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function $se(e) {
- NN?.duration() && (PN = !0, eP(!0), e.currentTarget.setPointerCapture(e.pointerId), tP(sP(e)), e.preventDefault());
+function Jse(e) {
+ RN?.duration() && (zN = !0, aP(!0), e.currentTarget.setPointerCapture(e.pointerId), oP(fP(e)), e.preventDefault());
}
-function ece(e) {
- PN && tP(sP(e));
+function Yse(e) {
+ zN && oP(fP(e));
}
-function tce(e) {
- if (!PN) return;
- PN = !1, eP(!1);
- let t = NN?.duration();
- NN && t && (NN.video.currentTime = t * sP(e));
+function Xse(e) {
+ if (!zN) return;
+ zN = !1, aP(!1);
+ let t = RN?.duration();
+ RN && t && (RN.video.currentTime = t * fP(e));
}
-function nce() {
- PN = !1, eP(!1);
+function Zse() {
+ zN = !1, aP(!1);
}
-async function cP(e, t) {
- let n = await V(JM, {
+async function pP(e, t) {
+ let n = await V($M, {
id: e,
kind: t
- }), r = H.getQueryData(GM(e));
- if (!r) return BM(e, {
+ }), r = H.getQueryData(XM(e));
+ if (!r) return GM(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -33306,7 +33306,7 @@ async function cP(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return H.setQueryData(GM(e), i), BM(e, {
+ return H.setQueryData(XM(e), i), GM(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -33314,7 +33314,7 @@ async function cP(e, t) {
o_count: i.o_count
}), n;
}
-var rce = [
+var Qse = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -33331,31 +33331,31 @@ var rce = [
label: "记一次高潮"
}
];
-function lP(e) {
+function mP(e) {
return Ct({
- queryKey: GM(e ?? 0),
- queryFn: ({ signal: t }) => eN(e, t),
+ queryKey: XM(e ?? 0),
+ queryFn: ({ signal: t }) => aN(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function ice({ kind: e, glyph: t, label: n, id: r }) {
- let i = lP(r), a = wt({
+function $se({ kind: e, glyph: t, label: n, id: r }) {
+ let i = mP(r), a = wt({
mutationFn: async (t) => {
- let n = H.getQueryData(GM(t))?.feedback || null;
+ let n = H.getQueryData(XM(t))?.feedback || null;
return {
- result: await cP(t, e),
+ result: await pP(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- FN().toast(pN(e, t), { undo: async () => {
- e === "o" ? await cP(r, "o-undo") : (t.feedback && await cP(r, t.feedback), n && await cP(r, n));
+ BN().toast(vN(e, t), { undo: async () => {
+ e === "o" ? await pP(r, "o-undo") : (t.feedback && await pP(r, t.feedback), n && await pP(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- GN(1);
+ XN(1);
}, 260);
},
- onError: (e) => FN().failure("更新反馈", e)
+ onError: (e) => BN().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-immerse-action": "",
@@ -33386,11 +33386,11 @@ function ice({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function ace({ shown: e }) {
- let t = e?.item ?? null, n = lP(t?.id ?? null), r = n ? Rse(n) : null, i = FN(), a = (e) => {
- e.preventDefault(), n && (qN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function ece({ shown: e }) {
+ let t = e?.item ?? null, n = mP(t?.id ?? null), r = n ? Nse(n) : null, i = BN(), a = (e) => {
+ e.preventDefault(), n && (QN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (qN(), i.openItem(t.id));
+ t && (QN(), i.openItem(t.id));
}, s = r ? Ra(r.name, r.ref, ya(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-immerse-ui": "",
@@ -33419,18 +33419,18 @@ function ace({ shown: e }) {
})]
});
}
-var oce = { __html: ns("媒体加载中") };
-function sce({ view: e }) {
+var tce = { __html: ns("媒体加载中") };
+function nce({ view: e }) {
let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null);
(0, D.useLayoutEffect)(() => {
let e = t.current;
- return _N = {
+ return SN = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", nP, { passive: !0 }), e.addEventListener("touchmove", rP, { passive: !1 }), e.addEventListener("touchend", iP, { passive: !1 }), e.addEventListener("touchcancel", aP, { passive: !0 }), e.addEventListener("wheel", oP, { passive: !0 }), () => {
- e.removeEventListener("touchstart", nP), e.removeEventListener("touchmove", rP), e.removeEventListener("touchend", iP), e.removeEventListener("touchcancel", aP), e.removeEventListener("wheel", oP), _N = null;
+ }, e.addEventListener("touchstart", sP, { passive: !0 }), e.addEventListener("touchmove", cP, { passive: !1 }), e.addEventListener("touchend", lP, { passive: !1 }), e.addEventListener("touchcancel", uP, { passive: !0 }), e.addEventListener("wheel", dP, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", sP), e.removeEventListener("touchmove", cP), e.removeEventListener("touchend", lP), e.removeEventListener("touchcancel", uP), e.removeEventListener("wheel", dP), SN = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -33447,10 +33447,10 @@ function sce({ view: e }) {
children: [/* @__PURE__ */ (0, O.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: Qse
+ onClick: qse
}), /* @__PURE__ */ (0, O.jsx)("div", {
"data-immerse-actions": "",
- children: rce.map((e) => /* @__PURE__ */ (0, O.jsx)(ice, {
+ children: Qse.map((e) => /* @__PURE__ */ (0, O.jsx)($se, {
...e,
id: a
}, e.kind))
@@ -33463,7 +33463,7 @@ function sce({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, O.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: oce
+ dangerouslySetInnerHTML: tce
}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, O.jsx)("button", {
@@ -33471,7 +33471,7 @@ function sce({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: qN,
+ onClick: QN,
children: /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })
@@ -33480,90 +33480,90 @@ function sce({ view: e }) {
/* @__PURE__ */ (0, O.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: $se,
- onPointerMove: ece,
- onPointerUp: tce,
- onPointerCancel: nce,
+ onPointerDown: Jse,
+ onPointerMove: Yse,
+ onPointerUp: Xse,
+ onPointerCancel: Zse,
children: /* @__PURE__ */ (0, O.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, O.jsx)(ace, { shown: e.shown })
+ /* @__PURE__ */ (0, O.jsx)(ece, { shown: e.shown })
]
});
}
-var cce = {
- open: Xse,
- close: qN,
- isOpen: () => vN.open,
- activeVideo: () => vN.open ? ON?.video ?? null : null
+var rce = {
+ open: Gse,
+ close: QN,
+ isOpen: () => CN.open,
+ activeVideo: () => CN.open ? NN?.video ?? null : null
};
-function lce(e) {
- if (!vN.open) return;
+function ice(e) {
+ if (!CN.open) return;
let t = e.target;
- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && GN(1), e.key === "ArrowUp" && GN(-1)));
+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && XN(1), e.key === "ArrowUp" && XN(-1)));
}
-function uce(e) {
- let t = !gN;
- return gN = e, t && (document.addEventListener("keydown", lce), addEventListener("resize", () => {
- vN.open && HN();
+function ace(e) {
+ let t = !xN;
+ return xN = e, t && (document.addEventListener("keydown", ice), addEventListener("resize", () => {
+ CN.open && qN();
}), addEventListener("pagehide", () => {
- kN.forEach((e) => Xj(e.session));
- })), cce;
+ PN.forEach((e) => eM(e.session));
+ })), rce;
}
-function dce() {
- let e = (0, D.useSyncExternalStore)(Hse, () => vN);
- return gN ? /* @__PURE__ */ (0, O.jsx)(sce, { view: e }) : null;
+function oce() {
+ let e = (0, D.useSyncExternalStore)(Lse, () => CN);
+ return xN ? /* @__PURE__ */ (0, O.jsx)(nce, { view: e }) : null;
}
//#endregion
//#region src/manage-header.ts
-var uP = {
+var hP = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, fce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function pce(e) {
- let t = uP[e.path] ? "cleanup" : e.section;
+}, sce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function cce(e) {
+ let t = hP[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var mce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function dP(e) {
+var lce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function gP(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = uP[e.path] ?? "";
+ let n = hP[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: pce(e),
+ pressed: cce(e),
crumb: n,
- compact: fce.has(e.path) || e.section === "configuration",
+ compact: sce.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: mce(e.trash),
+ text: lce(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var fP = (e) => e.replace(/[&<>"']/g, (e) => ({
+var _P = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), pP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${fP(e)}"/></svg>`, mP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function hce(e) {
- let t = dP(e);
+})[e]), vP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${_P(e)}"/></svg>`, yP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function uce(e) {
+ let t = gP(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${fP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${pP(r)}<span>${fP(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${pP("chevron-right")}</li><li aria-current="true"><span>${fP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? mP : `<span data-lede-text="">${fP(t.lede.text)}</span>${t.lede.total ? gce : ""}`}</p>`;
- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${fP(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${_P(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${vP(r)}<span>${_P(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${vP("chevron-right")}</li><li aria-current="true"><span>${_P(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? yP : `<span data-lede-text="">${_P(t.lede.text)}</span>${t.lede.total ? dce : ""}`}</p>`;
+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${_P(t.title)}</h2>` + i;
}
-var gce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var dce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function hP({ name: e }) {
+function bP({ name: e }) {
let { wide: t, viewBox: n } = Kt(e);
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: n,
@@ -33572,7 +33572,7 @@ function hP({ name: e }) {
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
}
-function _ce({ name: e }) {
+function fce({ name: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -33581,88 +33581,88 @@ function _ce({ name: e }) {
}
//#endregion
//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var vce = (e, t) => {
+var pce = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, yce = (e, t) => ({
+}, mce = (e, t) => ({
classGroupId: e,
validator: t
-}), gP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), xP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), _P = "-", vP = [], bce = "arbitrary..", xce = (e) => {
- let t = Cce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), SP = "-", CP = [], hce = "arbitrary..", gce = (e) => {
+ let t = vce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Sce(e);
- let n = e.split(_P);
- return yP(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return _ce(e);
+ let n = e.split(SP);
+ return wP(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? vce(i, t) : t : i || vP;
+ return t ? i ? pce(i, t) : t : i || CP;
}
- return n[e] || vP;
+ return n[e] || CP;
}
};
-}, yP = (e, t, n) => {
+}, wP = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = yP(e, t + 1, i);
+ let n = wP(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(_P) : e.slice(t).join(_P), s = a.length;
+ let o = t === 0 ? e.join(SP) : e.slice(t).join(SP), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Sce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, _ce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? bce + r : void 0;
-})(), Cce = (e) => {
+ return r ? hce + r : void 0;
+})(), vce = (e) => {
let { theme: t, classGroups: n } = e;
- return wce(n, t);
-}, wce = (e, t) => {
- let n = gP();
+ return yce(n, t);
+}, yce = (e, t) => {
+ let n = xP();
for (let r in e) {
let i = e[r];
- bP(i, n, r, t);
+ TP(i, n, r, t);
}
return n;
-}, bP = (e, t, n, r) => {
+}, TP = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Tce(i, t, n, r);
+ bce(i, t, n, r);
}
-}, Tce = (e, t, n, r) => {
- typeof e == "string" ? Ece(e, t, n) : typeof e == "function" ? Dce(e, t, n, r) : Oce(e, t, n, r);
-}, Ece = (e, t, n) => {
- let r = e === "" ? t : xP(t, e);
+}, bce = (e, t, n, r) => {
+ typeof e == "string" ? xce(e, t, n) : typeof e == "function" ? Sce(e, t, n, r) : Cce(e, t, n, r);
+}, xce = (e, t, n) => {
+ let r = e === "" ? t : EP(t, e);
r.classGroupId = n;
-}, Dce = (e, t, n, r) => {
- kce(e) ? bP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(yce(n, e)));
-}, Oce = (e, t, n, r) => {
+}, Sce = (e, t, n, r) => {
+ wce(e) ? TP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(mce(n, e)));
+}, Cce = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- bP(o, xP(t, a), n, r);
+ TP(o, EP(t, a), n, r);
}
-}, xP = (e, t) => {
- let n = e, r = t.split(_P), i = r.length;
+}, EP = (e, t) => {
+ let n = e, r = t.split(SP), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = gP(), n.nextPart.set(t, i)), n = i;
+ i || (i = xP(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, kce = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ace = (e) => {
+}, wce = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Tce = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -33680,19 +33680,19 @@ var vce = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, SP = "!", CP = ":", jce = [], wP = (e, t, n, r, i) => ({
+}, DP = "!", OP = ":", Ece = [], kP = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Mce = (e) => {
+}), Dce = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === CP) {
+ if (o === OP) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -33704,13 +33704,13 @@ var vce = (e, t) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(SP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(SP) && (c = s.slice(1), l = !0);
+ s.endsWith(DP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(DP) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return wP(t, l, c, u);
+ return kP(t, l, c, u);
};
if (t) {
- let e = t + CP, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : wP(jce, !1, t, void 0, !0);
+ let e = t + OP, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : kP(Ece, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -33720,7 +33720,7 @@ var vce = (e, t) => {
});
}
return r;
-}, Nce = (e) => {
+}, Oce = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -33732,18 +33732,18 @@ var vce = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Pce = (e) => ({
- cache: Ace(e.cacheSize),
- parseClassName: Mce(e),
- sortModifiers: Nce(e),
- postfixLookupClassGroupIds: Fce(e),
- ...xce(e)
-}), Fce = (e) => {
+}, kce = (e) => ({
+ cache: Tce(e.cacheSize),
+ parseClassName: Dce(e),
+ sortModifiers: Oce(e),
+ postfixLookupClassGroupIds: Ace(e),
+ ...gce(e)
+}), Ace = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, Ice = /\s+/, Lce = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ice), l = "";
+}, jce = /\s+/, Mce = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(jce), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -33763,7 +33763,7 @@ var vce = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + SP : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + DP : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -33774,34 +33774,34 @@ var vce = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Rce = (...e) => {
+}, Nce = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = TP(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = AP(n)) && (i && (i += " "), i += r);
return i;
-}, TP = (e) => {
+}, AP = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = TP(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = AP(e[r])) && (n && (n += " "), n += t);
return n;
-}, EP = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Pce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, jP = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = kce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = Lce(e, n);
+ let a = Mce(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Rce(...e));
-}, zce = [], DP = (e) => {
- let t = (t) => t[e] || zce;
+ return a = o, (...e) => a(Nce(...e));
+}, Pce = [], MP = (e) => {
+ let t = (t) => t[e] || Pce;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, OP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, kP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Bce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Vce = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Uce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Wce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Gce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, AP = (e) => Bce.test(e), jP = (e) => !!e && !Number.isNaN(Number(e)), MP = (e) => !!e && Number.isInteger(Number(e)), NP = (e) => e.endsWith("%") && jP(e.slice(0, -1)), PP = (e) => Vce.test(e), FP = () => !0, Kce = (e) => Hce.test(e) && !Uce.test(e), IP = () => !1, qce = (e) => Wce.test(e), Jce = (e) => Gce.test(e), Yce = (e) => !LP(e) && !HP(e), Xce = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Zce = (e) => KP(e, XP, IP), LP = (e) => OP.test(e), RP = (e) => KP(e, ZP, Kce), zP = (e) => KP(e, ale, jP), Qce = (e) => KP(e, $P, FP), $ce = (e) => KP(e, QP, IP), BP = (e) => KP(e, JP, IP), ele = (e) => KP(e, YP, Jce), VP = (e) => KP(e, eF, qce), HP = (e) => kP.test(e), UP = (e) => qP(e, ZP), tle = (e) => qP(e, QP), WP = (e) => qP(e, JP), nle = (e) => qP(e, XP), rle = (e) => qP(e, YP), GP = (e) => qP(e, eF, !0), ile = (e) => qP(e, $P, !0), KP = (e, t, n) => {
- let r = OP.exec(e);
+}, NP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, PP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Fce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ice = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Rce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, zce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, FP = (e) => Fce.test(e), IP = (e) => !!e && !Number.isNaN(Number(e)), LP = (e) => !!e && Number.isInteger(Number(e)), RP = (e) => e.endsWith("%") && IP(e.slice(0, -1)), zP = (e) => Ice.test(e), BP = () => !0, Vce = (e) => Lce.test(e) && !Rce.test(e), VP = () => !1, Hce = (e) => zce.test(e), Uce = (e) => Bce.test(e), Wce = (e) => !HP(e) && !qP(e), Gce = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Kce = (e) => ZP(e, tF, VP), HP = (e) => NP.test(e), UP = (e) => ZP(e, nF, Vce), WP = (e) => ZP(e, ele, IP), qce = (e) => ZP(e, iF, BP), Jce = (e) => ZP(e, rF, VP), GP = (e) => ZP(e, $P, VP), Yce = (e) => ZP(e, eF, Uce), KP = (e) => ZP(e, aF, Hce), qP = (e) => PP.test(e), JP = (e) => QP(e, nF), Xce = (e) => QP(e, rF), YP = (e) => QP(e, $P), Zce = (e) => QP(e, tF), Qce = (e) => QP(e, eF), XP = (e) => QP(e, aF, !0), $ce = (e) => QP(e, iF, !0), ZP = (e, t, n) => {
+ let r = NP.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, qP = (e, t, n = !1) => {
- let r = kP.exec(e);
+}, QP = (e, t, n = !1) => {
+ let r = PP.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, JP = (e) => e === "position" || e === "percentage", YP = (e) => e === "image" || e === "url", XP = (e) => e === "length" || e === "size" || e === "bg-size", ZP = (e) => e === "length", ale = (e) => e === "number", QP = (e) => e === "family-name", $P = (e) => e === "number" || e === "weight", eF = (e) => e === "shadow", tF = () => {
- let e = DP("color"), t = DP("font"), n = DP("text"), r = DP("font-weight"), i = DP("tracking"), a = DP("leading"), o = DP("breakpoint"), s = DP("container"), c = DP("spacing"), l = DP("radius"), u = DP("shadow"), d = DP("inset-shadow"), f = DP("text-shadow"), p = DP("drop-shadow"), m = DP("blur"), h = DP("perspective"), g = DP("aspect"), _ = DP("ease"), v = DP("animate"), y = () => [
+}, $P = (e) => e === "position" || e === "percentage", eF = (e) => e === "image" || e === "url", tF = (e) => e === "length" || e === "size" || e === "bg-size", nF = (e) => e === "length", ele = (e) => e === "number", rF = (e) => e === "family-name", iF = (e) => e === "number" || e === "weight", aF = (e) => e === "shadow", oF = () => {
+ let e = MP("color"), t = MP("font"), n = MP("text"), r = MP("font-weight"), i = MP("tracking"), a = MP("leading"), o = MP("breakpoint"), s = MP("container"), c = MP("spacing"), l = MP("radius"), u = MP("shadow"), d = MP("inset-shadow"), f = MP("text-shadow"), p = MP("drop-shadow"), m = MP("blur"), h = MP("perspective"), g = MP("aspect"), _ = MP("ease"), v = MP("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -33826,8 +33826,8 @@ var vce = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- HP,
- LP
+ qP,
+ HP
], S = () => [
"auto",
"hidden",
@@ -33839,43 +33839,43 @@ var vce = (e, t) => {
"contain",
"none"
], w = () => [
+ qP,
HP,
- LP,
c
], T = () => [
- AP,
+ FP,
"full",
"auto",
...w()
], E = () => [
- MP,
+ LP,
"none",
"subgrid",
- HP,
- LP
+ qP,
+ HP
], D = () => [
"auto",
{ span: [
"full",
- MP,
- HP,
- LP
+ LP,
+ qP,
+ HP
] },
- MP,
- HP,
- LP
+ LP,
+ qP,
+ HP
], O = () => [
- MP,
+ LP,
"auto",
- HP,
- LP
+ qP,
+ HP
], k = () => [
"auto",
"min",
"max",
"fr",
- HP,
- LP
+ qP,
+ HP
], A = () => [
"start",
"end",
@@ -33895,7 +33895,7 @@ var vce = (e, t) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], ee = () => [
- AP,
+ FP,
"auto",
"full",
"dvw",
@@ -33910,7 +33910,7 @@ var vce = (e, t) => {
...w()
], N = () => [
s,
- AP,
+ FP,
"screen",
"full",
"dvw",
@@ -33921,7 +33921,7 @@ var vce = (e, t) => {
"fit",
...w()
], te = () => [
- AP,
+ FP,
"screen",
"full",
"lh",
@@ -33934,13 +33934,13 @@ var vce = (e, t) => {
...w()
], P = () => [
e,
- HP,
- LP
+ qP,
+ HP
], ne = () => [
...b(),
- WP,
- BP,
- { position: [HP, LP] }
+ YP,
+ GP,
+ { position: [qP, HP] }
], F = () => ["no-repeat", { repeat: [
"",
"x",
@@ -33951,25 +33951,25 @@ var vce = (e, t) => {
"auto",
"cover",
"contain",
- nle,
Zce,
- { size: [HP, LP] }
+ Kce,
+ { size: [qP, HP] }
], ie = () => [
- NP,
- UP,
- RP
+ RP,
+ JP,
+ UP
], ae = () => [
"",
"none",
"full",
l,
- HP,
- LP
+ qP,
+ HP
], oe = () => [
"",
- jP,
- UP,
- RP
+ IP,
+ JP,
+ UP
], se = () => [
"solid",
"dashed",
@@ -33993,32 +33993,32 @@ var vce = (e, t) => {
"color",
"luminosity"
], le = () => [
- jP,
- NP,
- WP,
- BP
+ IP,
+ RP,
+ YP,
+ GP
], ue = () => [
"",
"none",
m,
- HP,
- LP
+ qP,
+ HP
], de = () => [
"none",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
], fe = () => [
"none",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
], pe = () => [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
], me = () => [
- AP,
+ FP,
"full",
...w()
];
@@ -34032,17 +34032,17 @@ var vce = (e, t) => {
"bounce"
],
aspect: ["video"],
- blur: [PP],
- breakpoint: [PP],
- color: [FP],
- container: [PP],
- "drop-shadow": [PP],
+ blur: [zP],
+ breakpoint: [zP],
+ color: [BP],
+ container: [zP],
+ "drop-shadow": [zP],
ease: [
"in",
"out",
"in-out"
],
- font: [Yce],
+ font: [Wce],
"font-weight": [
"thin",
"extralight",
@@ -34054,7 +34054,7 @@ var vce = (e, t) => {
"extrabold",
"black"
],
- "inset-shadow": [PP],
+ "inset-shadow": [zP],
leading: [
"none",
"tight",
@@ -34071,11 +34071,11 @@ var vce = (e, t) => {
"distant",
"none"
],
- radius: [PP],
- shadow: [PP],
- spacing: ["px", jP],
- text: [PP],
- "text-shadow": [PP],
+ radius: [zP],
+ shadow: [zP],
+ spacing: ["px", IP],
+ text: [zP],
+ "text-shadow": [zP],
tracking: [
"tighter",
"tight",
@@ -34089,9 +34089,9 @@ var vce = (e, t) => {
aspect: [{ aspect: [
"auto",
"square",
- AP,
- LP,
+ FP,
HP,
+ qP,
g
] }],
container: ["container"],
@@ -34099,15 +34099,15 @@ var vce = (e, t) => {
"",
"normal",
"size",
- HP,
- LP
+ qP,
+ HP
] }],
- "container-named": [Xce],
+ "container-named": [Gce],
columns: [{ columns: [
- jP,
+ IP,
"auto",
- LP,
HP,
+ qP,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -34204,13 +34204,13 @@ var vce = (e, t) => {
"collapse"
],
z: [{ z: [
- MP,
+ LP,
"auto",
- HP,
- LP
+ qP,
+ HP
] }],
basis: [{ basis: [
- AP,
+ FP,
"full",
"auto",
s,
@@ -34228,32 +34228,32 @@ var vce = (e, t) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- jP,
- AP,
+ IP,
+ FP,
"auto",
"initial",
"none",
- LP
+ HP
] }],
grow: [{ grow: [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
shrink: [{ shrink: [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
order: [{ order: [
- MP,
+ LP,
"first",
"last",
"none",
- HP,
- LP
+ qP,
+ HP
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -34360,15 +34360,15 @@ var vce = (e, t) => {
"font-size": [{ text: [
"base",
n,
- UP,
- RP
+ JP,
+ UP
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- ile,
- Qce
+ $ce,
+ qce
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -34380,15 +34380,15 @@ var vce = (e, t) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- NP,
- LP
+ RP,
+ HP
] }],
"font-family": [{ font: [
- tle,
- $ce,
+ Xce,
+ Jce,
t
] }],
- "font-features": [{ "font-features": [LP] }],
+ "font-features": [{ "font-features": [HP] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -34397,14 +34397,14 @@ var vce = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- HP,
- LP
+ qP,
+ HP
] }],
"line-clamp": [{ "line-clamp": [
- jP,
+ IP,
"none",
- HP,
- zP
+ qP,
+ WP
] }],
leading: [{ leading: [
"none",
@@ -34413,16 +34413,16 @@ var vce = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- HP,
- LP
+ qP,
+ HP
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- HP,
- LP
+ qP,
+ HP
] }],
"text-alignment": [{ text: [
"left",
@@ -34442,18 +34442,18 @@ var vce = (e, t) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- jP,
+ IP,
"from-font",
"auto",
- HP,
- RP
+ qP,
+ UP
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- jP,
+ IP,
"auto",
- HP,
- LP
+ qP,
+ HP
] }],
"text-transform": [
"uppercase",
@@ -34474,9 +34474,9 @@ var vce = (e, t) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- MP,
- HP,
- LP
+ LP,
+ qP,
+ HP
] }],
"vertical-align": [{ align: [
"baseline",
@@ -34487,8 +34487,8 @@ var vce = (e, t) => {
"text-bottom",
"sub",
"super",
- HP,
- LP
+ qP,
+ HP
] }],
whitespace: [{ whitespace: [
"normal",
@@ -34516,8 +34516,8 @@ var vce = (e, t) => {
] }],
content: [{ content: [
"none",
- HP,
- LP
+ qP,
+ HP
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -34552,24 +34552,24 @@ var vce = (e, t) => {
"l",
"tl"
] },
- MP,
- HP,
- LP
+ LP,
+ qP,
+ HP
],
radial: [
"",
- HP,
- LP
+ qP,
+ HP
],
conic: [
"",
- MP,
- HP,
- LP
+ LP,
+ qP,
+ HP
]
},
- rle,
- ele
+ Qce,
+ Yce
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -34636,15 +34636,15 @@ var vce = (e, t) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"outline-w": [{ outline: [
"",
- jP,
- UP,
- RP
+ IP,
+ JP,
+ UP
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -34652,35 +34652,35 @@ var vce = (e, t) => {
"inner",
"none",
u,
- GP,
- VP
+ XP,
+ KP
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- GP,
- VP
+ XP,
+ KP
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [jP, RP] }],
+ "ring-offset-w": [{ "ring-offset": [IP, UP] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- GP,
- VP
+ XP,
+ KP
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"mix-blend": [{ "mix-blend": [
...ce(),
@@ -34702,7 +34702,7 @@ var vce = (e, t) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [jP] }],
+ "mask-image-linear-pos": [{ "mask-linear": [IP] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
@@ -34731,7 +34731,7 @@ var vce = (e, t) => {
"mask-image-y-to-pos": [{ "mask-y-to": le() }],
"mask-image-y-from-color": [{ "mask-y-from": P() }],
"mask-image-y-to-color": [{ "mask-y-to": P() }],
- "mask-image-radial": [{ "mask-radial": [HP, LP] }],
+ "mask-image-radial": [{ "mask-radial": [qP, HP] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],
"mask-image-radial-from-color": [{ "mask-radial-from": P() }],
@@ -34742,7 +34742,7 @@ var vce = (e, t) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [jP] }],
+ "mask-image-conic-pos": [{ "mask-conic": [IP] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
@@ -34766,111 +34766,111 @@ var vce = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- HP,
- LP
+ qP,
+ HP
] }],
filter: [{ filter: [
"",
"none",
- HP,
- LP
+ qP,
+ HP
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
contrast: [{ contrast: [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- GP,
- VP
+ XP,
+ KP
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"hue-rotate": [{ "hue-rotate": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
invert: [{ invert: [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
saturate: [{ saturate: [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
sepia: [{ sepia: [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- HP,
- LP
+ qP,
+ HP
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -34886,39 +34886,39 @@ var vce = (e, t) => {
"shadow",
"transform",
"none",
- HP,
- LP
+ qP,
+ HP
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- jP,
+ IP,
"initial",
- HP,
- LP
+ qP,
+ HP
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- HP,
- LP
+ qP,
+ HP
] }],
delay: [{ delay: [
- jP,
- HP,
- LP
+ IP,
+ qP,
+ HP
] }],
animate: [{ animate: [
"none",
v,
- HP,
- LP
+ qP,
+ HP
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- HP,
- LP
+ qP,
+ HP
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: de() }],
@@ -34934,8 +34934,8 @@ var vce = (e, t) => {
"skew-x": [{ "skew-x": pe() }],
"skew-y": [{ "skew-y": pe() }],
transform: [{ transform: [
+ qP,
HP,
- LP,
"",
"none",
"gpu",
@@ -34949,9 +34949,9 @@ var vce = (e, t) => {
"translate-z": [{ "translate-z": me() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- MP,
- HP,
- LP
+ LP,
+ qP,
+ HP
] }],
accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -35001,8 +35001,8 @@ var vce = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- HP,
- LP
+ qP,
+ HP
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -35088,15 +35088,15 @@ var vce = (e, t) => {
"scroll",
"contents",
"transform",
- HP,
- LP
+ qP,
+ HP
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- jP,
+ IP,
+ JP,
UP,
- RP,
- zP
+ WP
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -35354,16 +35354,16 @@ var vce = (e, t) => {
"selection"
]
};
-}, ole = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (nF(e, "cacheSize", t), nF(e, "prefix", n), nF(e, "experimentalParseClassName", r), rF(e.theme, a.theme), rF(e.classGroups, a.classGroups), rF(e.conflictingClassGroups, a.conflictingClassGroups), rF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), nF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), nF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), iF(e.theme, i.theme), iF(e.classGroups, i.classGroups), iF(e.conflictingClassGroups, i.conflictingClassGroups), iF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), aF(e, i, "postfixLookupClassGroups"), aF(e, i, "orderSensitiveModifiers"), e), nF = (e, t, n) => {
+}, tle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (sF(e, "cacheSize", t), sF(e, "prefix", n), sF(e, "experimentalParseClassName", r), cF(e.theme, a.theme), cF(e.classGroups, a.classGroups), cF(e.conflictingClassGroups, a.conflictingClassGroups), cF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), sF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), sF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), lF(e.theme, i.theme), lF(e.classGroups, i.classGroups), lF(e.conflictingClassGroups, i.conflictingClassGroups), lF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), uF(e, i, "postfixLookupClassGroups"), uF(e, i, "orderSensitiveModifiers"), e), sF = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, rF = (e, t) => {
- if (t) for (let n in t) nF(e, n, t[n]);
-}, iF = (e, t) => {
- if (t) for (let n in t) aF(e, t, n);
-}, aF = (e, t, n) => {
+}, cF = (e, t) => {
+ if (t) for (let n in t) sF(e, n, t[n]);
+}, lF = (e, t) => {
+ if (t) for (let n in t) uF(e, t, n);
+}, uF = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, sle = (e, ...t) => typeof e == "function" ? EP(tF, e, ...t) : EP(() => ole(tF(), e), ...t), cle = [
+}, nle = (e, ...t) => typeof e == "function" ? jP(oF, e, ...t) : jP(() => tle(oF(), e), ...t), rle = [
"large-title",
"display-1",
"display-2",
@@ -35377,18 +35377,18 @@ var vce = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], lle = [
+], ile = [
"regular",
"medium",
"semibold",
"bold"
-], oF = sle({ extend: { classGroups: { "font-size": [{ text: cle.flatMap((e) => lle.map((t) => `${e}-${t}`)) }] } } });
-function sF(e) {
+], dF = nle({ extend: { classGroups: { "font-size": [{ text: rle.flatMap((e) => ile.map((t) => `${e}-${t}`)) }] } } });
+function fF(e) {
return e;
}
//#endregion
//#region src/react/components/pill-tab.tsx
-var ule = typeof window < "u" ? D.useLayoutEffect : D.useEffect, cF = sF({
+var ale = typeof window < "u" ? D.useLayoutEffect : D.useEffect, pF = fF({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -35410,9 +35410,9 @@ var ule = typeof window < "u" ? D.useLayoutEffect : D.useEffect, cF = sF({
gray: "text-text-primary"
}
});
-function lF({ children: e, className: t, ref: n, container: r, ...i }) {
+function mF({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, D.useRef)(null), [o, s] = (0, D.useState)(null);
- ule(() => {
+ ale(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -35448,7 +35448,7 @@ function lF({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: oF("pointer-events-none absolute left-0 top-0", cF.radius[o.variant], cF.thumb[o.variant]),
+ className: dF("pointer-events-none absolute left-0 top-0", pF.radius[o.variant], pF.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -35459,44 +35459,44 @@ function lF({ children: e, className: t, ref: n, container: r, ...i }) {
return r === void 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {
ref: c,
role: "group",
- className: oF("relative inline-flex items-center gap-1", t),
+ className: dF("relative inline-flex items-center gap-1", t),
...i,
children: [l, e]
}) : r ? (0, Et.createPortal)(l, r) : null;
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var uF = null, dF = null, fF = /* @__PURE__ */ new Set();
-function dle(e) {
- return fF.add(e), () => {
- fF.delete(e);
+var hF = null, gF = null, _F = /* @__PURE__ */ new Set();
+function ole(e) {
+ return _F.add(e), () => {
+ _F.delete(e);
};
}
-function fle() {
- for (let e of [...fF]) e();
+function sle() {
+ for (let e of [..._F]) e();
}
-var ple = { render(e) {
- dF = e, (0, Et.flushSync)(fle);
+var cle = { render(e) {
+ gF = e, (0, Et.flushSync)(sle);
} };
-function mle(e) {
- return uF = e, dF = null, ple;
+function lle(e) {
+ return hF = e, gF = null, cle;
}
-function hle() {
- let e = (0, D.useSyncExternalStore)(dle, () => dF);
- return uF && e ? /* @__PURE__ */ (0, O.jsx)(gle, {
- host: uF,
+function ule() {
+ let e = (0, D.useSyncExternalStore)(ole, () => gF);
+ return hF && e ? /* @__PURE__ */ (0, O.jsx)(dle, {
+ host: hF,
props: e
}) : null;
}
-function gle({ host: e, props: t }) {
- let n = dP(t);
+function dle({ host: e, props: t }) {
+ let n = gP(t);
return n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(_le, {
+ /* @__PURE__ */ (0, O.jsx)(fle, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, O.jsx)(vle, {
+ n.crumb ? /* @__PURE__ */ (0, O.jsx)(ple, {
host: e,
label: n.crumb
}) : null,
@@ -35505,13 +35505,13 @@ function gle({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(yle, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(mle, {
host: e,
lede: n.lede
})
] }) : null;
}
-function _le({ host: e, pressed: t, menu: n }) {
+function fle({ host: e, pressed: t, menu: n }) {
let r = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -35521,7 +35521,7 @@ function _le({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, O.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, O.jsx)(lF, {
+ children: /* @__PURE__ */ (0, O.jsx)(mF, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -35535,13 +35535,13 @@ function _le({ host: e, pressed: t, menu: n }) {
"data-pill-selected": a ? "" : void 0,
"data-pill-variant": "gray",
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, O.jsx)(hP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function vle({ host: e, label: t }) {
+function ple({ host: e, label: t }) {
return /* @__PURE__ */ (0, O.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -35551,20 +35551,20 @@ function vle({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {
+ }), /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, O.jsx)("span", { children: t })
})] })
});
}
-function yle({ host: e, lede: t }) {
+function mle({ host: e, lede: t }) {
return /* @__PURE__ */ (0, O.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: mP }
- }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ble, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: yP }
+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(hle, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -35574,7 +35574,7 @@ function yle({ host: e, lede: t }) {
}) : null] })
});
}
-function ble({ text: e }) {
+function hle({ text: e }) {
let t = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
us(t.current, e);
@@ -35585,20 +35585,20 @@ function ble({ text: e }) {
}
//#endregion
//#region src/core/jav-title.ts
-var xle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Sle = (e, t = e?.name) => {
+var gle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, _le = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(xle, "") : n;
-}, Cle = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), wle = (e) => {
+ return e?.is_jav ? n.replace(gle, "") : n;
+}, vle = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), yle = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Cle) || t[0] || "";
+ return t.find(vle) || t[0] || "";
};
-function pF(e, t = e?.name) {
- let n = Sle(e, t), r = String(e?.code || "").trim().toUpperCase();
+function vF(e, t = e?.name) {
+ let n = _le(e, t), r = String(e?.code || "").trim().toUpperCase();
if (!e?.is_jav || !r) return {
code: "",
title: n
};
- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = wle(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = yle(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
"中字",
"无码",
"无码破解"
@@ -35609,27 +35609,27 @@ function pF(e, t = e?.name) {
badges: f
};
}
-var mF = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = pF(e, t);
+var yF = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = vF(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function hF(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = pF(e, t);
+function bF(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = vF(e, t);
if (!n) return z(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${z(r)}</span>` : ""}`;
}
//#endregion
//#region src/react/activity/tasks.ts
-var gF = "/api/tasks", _F = ["tasks"], Tle = (e, t) => B(`${gF}?${new URLSearchParams({
+var xF = "/api/tasks", SF = ["tasks"], ble = (e, t) => B(`${xF}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ele(...e) {
+function xle(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -35637,26 +35637,26 @@ function Ele(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Dle = 2e3, Ole = 1e4, vF = (e) => e?.running?.length ? Dle : Ole, yF = (e) => B(gF, e);
-async function kle(e) {
+var Sle = 2e3, Cle = 1e4, CF = (e) => e?.running?.length ? Sle : Cle, wF = (e) => B(xF, e);
+async function wle(e) {
await H.fetchQuery({
- queryKey: _F,
- queryFn: () => yF(e)
+ queryKey: SF,
+ queryFn: () => wF(e)
});
}
-var Ale = {
+var Tle = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, jle = {
+}, Ele = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Mle = (e) => jle[e] || e, bF = {
+}, Dle = (e) => Ele[e] || e, TF = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -35733,7 +35733,7 @@ var Ale = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Nle = [
+}, Ole = [
"gone_count",
"unclear_count",
"source_failed",
@@ -35755,14 +35755,14 @@ var Ale = {
"paused_count",
"miss",
"incomplete"
-], xF = ["face_match_unavailable"], SF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || xF.some((t) => e.result_summary?.[t] === !0) || Nle.some((t) => Number(e.result_summary?.[t]) > 0);
-function CF(e) {
+], kle = ["face_match_unavailable"], EF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || kle.some((t) => e.result_summary?.[t] === !0) || Ole.some((t) => Number(e.result_summary?.[t]) > 0);
+function Ale(e) {
let t = e.result_summary?.issues;
return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];
}
-var wF = /* @__PURE__ */ new Set(["library-processing"]);
-function TF(e, t = !0) {
- if (!SF(e) && e.status !== "failed" || wF.has(e.task_key) && !t) return null;
+var DF = /* @__PURE__ */ new Set(["library-processing"]);
+function OF(e, t = !0) {
+ if (!EF(e) && e.status !== "failed" || DF.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -35780,12 +35780,12 @@ function TF(e, t = !0) {
label: n[1]
} : null;
}
-function EF(e) {
+function kF(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) wF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
+ for (let n of e) DF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
return new Set(t.values());
}
-function DF(e) {
+function AF(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -35794,7 +35794,7 @@ function DF(e) {
}
return t;
}
-function OF(e, t) {
+function jF(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -35816,12 +35816,12 @@ function OF(e, t) {
}
return n;
}
-var kF = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !SF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), AF = (e) => e.status === "pending" || e.status === "running";
-function jF(e) {
+var MF = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !EF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), NF = (e) => e.status === "pending" || e.status === "running";
+function PF(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};
- return [r, FF(e.error) || WF(o) || (AF(e) && i > 0 ? `${NF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, RF(e.error) || qF(o) || (NF(e) && i > 0 ? `${IF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function MF(e) {
+function FF(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -35830,19 +35830,19 @@ function MF(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function NF(e, t) {
+function IF(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function PF(e) {
+function LF(e) {
let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";
}
-function FF(e) {
- let t = PF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function RF(e) {
+ let t = LF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? Wt(n[1]) : t;
}
-var IF = {
+var zF = {
没有新写法: "未发现新别名",
已装上: "已保存资料图片",
已装着认得准的小图: "已保留身份核对通过的小尺寸图片",
@@ -35856,11 +35856,11 @@ var IF = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, LF = {
+}, BF = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, RF = {
+}, VF = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -35871,8 +35871,8 @@ var IF = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, zF = (e) => IF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${LF[t.toLowerCase()]} 资料页` : `已保存来自 ${LF[t.toLowerCase()]} 的资料`);
-function BF(e) {
+}, HF = (e) => zF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${BF[t.toLowerCase()]} 资料页` : `已保存来自 ${BF[t.toLowerCase()]} 的资料`);
+function UF(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -35882,7 +35882,7 @@ function BF(e) {
minute: "2-digit"
});
}
-var VF = /* @__PURE__ */ new Set([
+var WF = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -35891,14 +35891,14 @@ var VF = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function HF(e) {
- let t = UF(e);
+function GF(e) {
+ let t = KF(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function UF(e) {
- return Object.entries(e || {}).filter(([e, t]) => !VF.has(e) && (e in bF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? FF(String(t)) : e === "outcome" || e === "result" ? zF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${bF[e]} ${vn(Number(t))}` : e === "operation" ? `操作:${RF[String(t)] || "批量操作"}` : `${bF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function KF(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !WF.has(e) && (e in TF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? RF(String(t)) : e === "outcome" || e === "result" ? HF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${TF[e]} ${vn(Number(t))}` : e === "operation" ? `操作:${VF[String(t)] || "批量操作"}` : `${TF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var WF = (e) => HF(e).join(" · "), GF = sF({
+var qF = (e) => GF(e).join(" · "), JF = fF({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -35919,21 +35919,21 @@ var WF = (e) => HF(e).join(" · "), GF = sF({
small: "size-4 shrink-0"
}
});
-function KF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function YF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
ref: i,
type: r,
- className: oF(GF.base, GF.size[t], n),
+ className: dF(JF.base, JF.size[t], n),
...a,
children: /* @__PURE__ */ (0, O.jsx)(e, {
- className: GF.icon[t],
+ className: JF.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/glass-drift.tsx
-function qF() {
+function XF() {
return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -35948,7 +35948,7 @@ function qF() {
}
//#endregion
//#region src/react/components/use-stuck.ts
-function JF(e) {
+function ZF(e) {
(0, D.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35966,7 +35966,7 @@ function JF(e) {
}
//#endregion
//#region src/react/components/use-horizontal-scroller.ts
-function YF(e, t = !0) {
+function QF(e, t = !0) {
let [n, r] = (0, D.useState)(null), i = (0, D.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -35981,17 +35981,17 @@ function YF(e, t = !0) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-var XF = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
+var $F = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: ns("正在处理") }
});
-function ZF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, O.jsx)(KF, {
+function eI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsx)(YF, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? XF : t,
+ icon: n && r === "spinner" ? $F : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -36001,9 +36001,9 @@ function ZF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function QF({ title: e, children: t }) {
+function tI({ title: e, children: t }) {
let n = (0, D.useRef)(null);
- return JF(n), /* @__PURE__ */ (0, O.jsxs)("div", {
+ return ZF(n), /* @__PURE__ */ (0, O.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -36016,20 +36016,20 @@ function QF({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, O.jsx)(qF, {})
+ /* @__PURE__ */ (0, O.jsx)(XF, {})
]
});
}
-function $F({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
- let d = (0, D.useRef)(null), f = YF(), p = YF(u);
- return JF(d), /* @__PURE__ */ (0, O.jsxs)("div", {
+function nI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+ let d = (0, D.useRef)(null), f = QF(), p = QF(u);
+ return ZF(d), /* @__PURE__ */ (0, O.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: oF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: dF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, O.jsx)("div", {
@@ -36037,37 +36037,37 @@ function $F({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: oF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: dF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, O.jsx)("div", {
ref: p,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: oF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: dF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, O.jsx)(qF, {})
+ /* @__PURE__ */ (0, O.jsx)(XF, {})
]
});
}
-var eI = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function tI({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var rI = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function iI({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: oF(eI, r),
+ className: dF(rI, r),
onClick: n,
children: e
});
}
-var nI = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function rI({ children: e, onPress: t, busy: n = !1 }) {
+var aI = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function oI({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: nI,
+ className: aI,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -36078,13 +36078,13 @@ function rI({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var iI = (e, t) => [
+var sI = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function aI(e, t, n) {
+function cI(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -36108,17 +36108,17 @@ function aI(e, t, n) {
h: e.offsetHeight
};
}
-function oI(e, t, n, r, { axis: i = "x" } = {}) {
+function lI(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, D.useRef)(null), o = (0, D.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? aI(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? cI(u, l, i) : null;
if (!d || !d.w || !d.h) {
ic(s), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && iI(f, d)) && nc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && sI(f, d)) && nc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -36139,8 +36139,8 @@ function oI(e, t, n, r, { axis: i = "x" } = {}) {
passive: !0
}), addEventListener("resize", c, { passive: !0 });
let l = new ResizeObserver(() => {
- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? aI(o, r, i) : null, l = a.current;
- (!s || !l || !iI(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? cI(o, r, i) : null, l = a.current;
+ (!s || !l || !sI(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -36172,7 +36172,7 @@ function oI(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var sI = sF({
+var uI = fF({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -36231,40 +36231,40 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, O.jsxs)("button", {
ref: c,
type: s,
- className: oF(sI.base, sI.size[t], sI.variant[e], n && sI.iconOnlySize[t], o),
+ className: dF(uI.base, uI.size[t], uI.variant[e], n && uI.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, O.jsx)(r, {
- className: sI.icon[t],
+ className: uI.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {
- className: sI.label[t],
+ className: uI.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {
- className: sI.icon[t],
+ className: uI.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function cI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function dI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, O.jsxs)("a", {
ref: s,
- className: oF(sI.base, sI.size[t], sI.variant[e], n && sI.iconOnlySize[t], o),
+ className: dF(uI.base, uI.size[t], uI.variant[e], n && uI.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, O.jsx)(r, {
- className: sI.icon[t],
+ className: uI.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {
- className: sI.label[t],
+ className: uI.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {
- className: sI.icon[t],
+ className: uI.icon[t],
"aria-hidden": !0
}) : null
]
@@ -36272,12 +36272,12 @@ function cI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var lI = Symbol("default");
-function uI({ values: e, children: t }) {
+var fI = Symbol("default");
+function pI({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);
return t;
}
-function dI(e) {
+function mI(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, D.useMemo)(() => {
let e, l, u;
@@ -36311,11 +36311,11 @@ function dI(e) {
c
]);
}
-function fI(e, t) {
+function hI(e, t) {
let n = (0, D.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || lI;
+ let e = t || fI;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -36324,8 +36324,8 @@ function fI(e, t) {
}
return n;
}
-function pI(e, t, n) {
- let { ref: r, ...i } = fI(n, e.slot) || {}, a = Nx((0, D.useMemo)(() => wx(t, r), [t, r])), o = K(i, e);
+function gI(e, t, n) {
+ let { ref: r, ...i } = hI(n, e.slot) || {}, a = Lx((0, D.useMemo)(() => Ox(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,
@@ -36343,42 +36343,42 @@ function pI(e, t, n) {
...e.style
}), [o, a];
}
-function mI(e = !0) {
+function _I(e = !0) {
let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return hb(() => {
+ return yb(() => {
r.current || n(!1);
}, []), [i, t];
}
-function hI(e) {
+function vI(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function gI(e, t, n) {
- let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => wx(n, a), [n, a]);
- hb(() => {}, [e, r]);
+function yI(e, t, n) {
+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => Ox(n, a), [n, a]);
+ yb(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);
}
-var _I = {}, vI = new Proxy({}, { get(e, t) {
+var bI = {}, xI = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = _I[t];
- return n || (n = /*#__PURE__*/ (0, D.forwardRef)(gI.bind(null, t)), _I[t] = n), n;
-} }), yI = /*#__PURE__*/ (0, D.createContext)(null), bI = /*#__PURE__*/ (0, D.createContext)(null), xI = /*#__PURE__*/ (0, D.createContext)(null), SI = {
+ let n = bI[t];
+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(yI.bind(null, t)), bI[t] = n), n;
+} }), SI = /*#__PURE__*/ (0, D.createContext)(null), CI = /*#__PURE__*/ (0, D.createContext)(null), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return CI(e, null, t);
+ return EI(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return CI(e, t, n);
+ return EI(e, t, n);
}
};
-function CI(e, t, n) {
- return Ky({
+function EI(e, t, n) {
+ return Xy({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -36388,11 +36388,11 @@ function CI(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, wI(e, t, n));
+ }), r, DI(e, t, n));
}
});
}
-function wI(e, t, n) {
+function DI(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -36411,25 +36411,25 @@ function wI(e, t, n) {
}
return s;
}
-var TI = /*#__PURE__*/ (0, D.createContext)(SI);
-function EI(e) {
+var OI = /*#__PURE__*/ (0, D.createContext)(TI);
+function kI(e) {
return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var DI = /*#__PURE__*/ (0, D.createContext)({}), OI = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, DI);
- let { elementType: n = "label", ...r } = e, i = vI[n];
+var AI = /*#__PURE__*/ (0, D.createContext)({}), jI = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, AI);
+ let { elementType: n = "label", ...r } = e, i = xI[n];
return /*#__PURE__*/ D.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), kI = /*#__PURE__*/ (0, D.createContext)(null), AI = /*#__PURE__*/ (0, D.createContext)({}), jI = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, AI);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = lie(e, t);
- i = NI(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = AT(e), { hoverProps: l, isHovered: u } = PT({
+}), MI = /*#__PURE__*/ (0, D.createContext)(null), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, NI);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = aie(e, t);
+ i = II(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = IT(e), { hoverProps: l, isHovered: u } = BT({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -36439,24 +36439,24 @@ var DI = /*#__PURE__*/ (0, D.createContext)({}), OI = /*#__PURE__*/ Rx(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = dI({
+ }, f = mI({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Sx(i.id), m = Sx(), h = i["aria-labelledby"];
+ }), p = Ex(i.id), m = Ex(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, D.useRef)(r);
(0, D.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && vC(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && xC(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = ES(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ D.createElement(vI.button, {
+ let _ = AS(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ D.createElement(xI.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -36470,62 +36470,62 @@ var DI = /*#__PURE__*/ (0, D.createContext)({}), OI = /*#__PURE__*/ Rx(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ D.createElement(kI.Provider, { value: { id: m } }, f.children));
-}), MI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function NI(e, t) {
+ }, /*#__PURE__*/ D.createElement(MI.Provider, { value: { id: m } }, f.children));
+}), FI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function II(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !MI.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !FI.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var PI = /*#__PURE__*/ (0, D.createContext)({}), FI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, PI);
- let { children: n, level: r = 3, className: i, ...a } = e, o = vI[`h${r}`];
+var LI = /*#__PURE__*/ (0, D.createContext)({}), RI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, LI);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = xI[`h${r}`];
return /*#__PURE__*/ D.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), II = /*#__PURE__*/ (0, D.createContext)({}), LI = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, II);
- let { elementType: n = "span", ...r } = e, i = vI[n];
+}), zI = /*#__PURE__*/ (0, D.createContext)({}), BI = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, zI);
+ let { elementType: n = "span", ...r } = e, i = xI[n];
return /*#__PURE__*/ D.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), RI = /*#__PURE__*/ (0, D.createContext)(null), zI = /*#__PURE__*/ (0, D.createContext)(null), BI = /*#__PURE__*/ (0, D.createContext)(null), VI = /*#__PURE__*/ (0, D.createContext)(null), HI = /*#__PURE__*/ (0, D.createContext)(null), UI = /*#__PURE__*/ (0, D.createContext)(null);
-function WI(e, t) {
- let { validationBehavior: n } = fI(zI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(HI), a = Nx((0, D.useMemo)(() => wx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...hI(e),
+}), VI = /*#__PURE__*/ (0, D.createContext)(null), HI = /*#__PURE__*/ (0, D.createContext)(null), UI = /*#__PURE__*/ (0, D.createContext)(null), WI = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.createContext)(null), KI = /*#__PURE__*/ (0, D.createContext)(null);
+function qI(e, t) {
+ let { validationBehavior: n } = hI(HI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(GI), a = Lx((0, D.useMemo)(() => Ox(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...vI(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? rw(o, i, a) : YC(o, nw(e), a), a];
+ return [i ? ow(o, i, a) : QC(o, aw(e), a), a];
}
-var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = pI(r, t, BI);
- let [i, a] = WI(e, n);
- return /*#__PURE__*/ D.createElement(UI.Provider, { value: {
+ [e, t] = gI(r, t, UI);
+ let [i, a] = qI(e, n);
+ return /*#__PURE__*/ D.createElement(KI.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ D.createElement(KI, {
+ } }, /*#__PURE__*/ D.createElement(YI, {
...e,
ref: t
}));
-}), KI = /*#__PURE__*/ (0, D.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, D.useContext)(UI), { isFocused: p, isFocusVisible: m, focusProps: h } = AT(), g = a || o, { hoverProps: _, isHovered: v } = PT({
+}), YI = /*#__PURE__*/ (0, D.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, D.useContext)(KI), { isFocused: p, isFocusVisible: m, focusProps: h } = IT(), g = a || o, { hoverProps: _, isHovered: v } = BT({
...e,
isDisabled: g
- }), y = dI({
+ }), y = mI({
...e,
defaultClassName: u,
values: {
@@ -36540,8 +36540,8 @@ var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = ES(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(vI.label, {
+ }), b = AS(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(xI.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -36555,20 +36555,20 @@ var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ D.createElement(fw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(vw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
...K(r, h),
ref: l
})), y.children);
-}), qI = /*#__PURE__*/ (0, D.createContext)({}), JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, qI);
+}), XI = /*#__PURE__*/ (0, D.createContext)({}), ZI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, XI);
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 } = PT({
+ let { hoverProps: l, isHovered: u } = BT({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = AT({ within: !0 }), m = dI({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = IT({ within: !0 }), m = mI({
...e,
values: {
isHovered: u,
@@ -36579,7 +36579,7 @@ var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ D.createElement(vI.div, {
+ return /*#__PURE__*/ D.createElement(xI.div, {
...K(c, p, l),
...m,
ref: t,
@@ -36592,18 +36592,18 @@ var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), YI = /*#__PURE__*/ (0, D.createContext)({}), XI = (e) => {
+}), QI = /*#__PURE__*/ (0, D.createContext)({}), $I = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, ZI = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, YI);
- let { hoverProps: n, isHovered: r } = PT({
+}, eL = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, QI);
+ let { hoverProps: n, isHovered: r } = BT({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = AT({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = IT({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = dI({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = mI({
...e,
values: {
isHovered: r,
@@ -36614,8 +36614,8 @@ var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ D.createElement(vI.input, {
- ...K(XI(e), o, n),
+ return /*#__PURE__*/ D.createElement(xI.input, {
+ ...K($I(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -36624,24 +36624,24 @@ var GI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Ple = 0, Fle = 100, Ile = 1;
-function Lle(e) {
- let { isDisabled: t = !1, minValue: n = Ple, maxValue: r = Fle, numberFormatter: i, step: a = Ile, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {
+}), tL = 0, nL = 100, rL = 1;
+function iL(e) {
+ let { isDisabled: t = !1, minValue: n = tL, maxValue: r = nL, numberFormatter: i, step: a = rL, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {
let e = (r - n) / 10;
- return e = ow(e, 0, e + a, a), Math.max(e, a);
+ return e = lw(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, D.useCallback)((e) => e?.map((t, i) => ow(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
+ ]), c = (0, D.useCallback)((e) => e?.map((t, i) => lw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
- ]), l = (0, D.useMemo)(() => c($I(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c($I(e.defaultValue) ?? [n]), [
+ ]), l = (0, D.useMemo)(() => c(oL(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(oL(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = eL(e.value, e.defaultValue, e.onChange), f = eL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = tw(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {
+ ]), d = sL(e.value, e.defaultValue, e.onChange), f = sL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = iw(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -36664,15 +36664,15 @@ function Lle(e) {
function j(e, n) {
if (t || !k(e)) return;
let r = E(e), i = O(e);
- n = ow(n, r, i, a);
- let o = QI(x.current, e, n);
+ n = lw(n, r, i, a);
+ let o = aL(x.current, e, n);
C(o);
}
function M(e, n) {
if (t || !k(e)) return;
n && (x.current = p);
let r = S.current[e];
- S.current = QI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
+ S.current = aL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
}
let ee = (0, D.useRef)(null);
function N(e = p) {
@@ -36693,15 +36693,15 @@ function Lle(e) {
return Math.round((e - n) / a) * a + n;
}
function ne(e) {
- return iw(P(e * (r - n) + n), n, r);
+ return sw(P(e * (r - n) + n), n, r);
}
function F(e, t = 1) {
let i = Math.max(t, a);
- j(e, ow(p[e] + i, n, r, a));
+ j(e, lw(p[e] + i, n, r, a));
}
function re(e, t = 1) {
let i = Math.max(t, a);
- j(e, ow(p[e] - i, n, r, a));
+ j(e, lw(p[e] - i, n, r, a));
}
return {
values: p,
@@ -36730,32 +36730,32 @@ function Lle(e) {
isDisabled: t
};
}
-function QI(e, t, n) {
+function aL(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function $I(e) {
+function oL(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function eL(e, t, n) {
+function sL(e, t, n) {
return (r) => {
typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Slider.mjs
-var Rle = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.createContext)(null), nL = /*#__PURE__*/ (0, D.createContext)(null), zle = /*#__PURE__*/ (0, D.createContext)(null), Ble = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, Rle);
- let n = (0, D.useRef)(null), r = yie(e.formatOptions), i = Lle({
+var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.createContext)(null), Mle = /*#__PURE__*/ (0, D.createContext)(null), Nle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, jle);
+ let n = (0, D.useRef)(null), r = pie(e.formatOptions), i = iL({
...e,
numberFormatter: r
- }), [a, o] = mI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = bie({
+ }), [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = mie({
...e,
label: o
- }, i, n), d = dI({
+ }, i, n), d = mI({
...e,
values: {
orientation: i.orientation,
@@ -36763,32 +36763,32 @@ var Rle = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = ES(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ D.createElement(uI, { values: [
- [tL, i],
- [nL, {
+ }), f = AS(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ D.createElement(pI, { values: [
+ [cL, i],
+ [lL, {
...c,
ref: n
}],
- [zle, u],
- [DI, {
+ [Mle, u],
+ [AI, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ D.createElement(vI.div, {
+ ] }, /*#__PURE__*/ D.createElement(xI.div, {
...K(f, d, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), Vle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, nL);
- let n = (0, D.useContext)(tL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = PT({
+}), Ple = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, lL);
+ let n = (0, D.useContext)(cL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = BT({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = dI({
+ }), l = mI({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -36798,7 +36798,7 @@ var Rle = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.cre
state: n
}
});
- return /*#__PURE__*/ D.createElement(vI.div, {
+ return /*#__PURE__*/ D.createElement(xI.div, {
...K(o, s),
...l,
ref: t,
@@ -36806,14 +36806,14 @@ var Rle = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, D.useContext)(tL), { ref: i } = fI(nL), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = mI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = xie({
+}), Fle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { inputRef: n = null } = e, r = (0, D.useContext)(cL), { ref: i } = hI(lL), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = _I(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = hie({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = AT(), { hoverProps: v, isHovered: y } = PT(e), b = dI({
+ }, r), { focusProps: g, isFocusVisible: _ } = IT(), { hoverProps: v, isHovered: y } = BT(e), b = mI({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -36824,8 +36824,8 @@ var Rle = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = ES(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ D.createElement(vI.div, {
+ }), x = AS(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ D.createElement(xI.div, {
...K(x, u, v),
...b,
ref: t,
@@ -36838,15 +36838,15 @@ var Rle = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ D.createElement(fw, null, /*#__PURE__*/ D.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(vw, null, /*#__PURE__*/ D.createElement("input", {
ref: s,
...K(d, g)
- })), /*#__PURE__*/ D.createElement(uI, { values: [[DI, {
+ })), /*#__PURE__*/ D.createElement(pI, { values: [[AI, {
...f,
ref: c
}]] }, b.children));
-}), rL = {};
-rL = {
+}), uL = {};
+uL = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -36854,8 +36854,8 @@ rL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var iL = {};
-iL = {
+var dL = {};
+dL = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -36863,8 +36863,8 @@ iL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var aL = {};
-aL = {
+var fL = {};
+fL = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -36872,8 +36872,8 @@ aL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var oL = {};
-oL = {
+var pL = {};
+pL = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -36881,8 +36881,8 @@ oL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var sL = {};
-sL = {
+var mL = {};
+mL = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -36890,8 +36890,8 @@ sL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var cL = {};
-cL = {
+var hL = {};
+hL = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -36899,8 +36899,8 @@ cL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var lL = {};
-lL = {
+var gL = {};
+gL = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -36908,8 +36908,8 @@ lL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var uL = {};
-uL = {
+var _L = {};
+_L = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -36917,8 +36917,8 @@ uL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var dL = {};
-dL = {
+var vL = {};
+vL = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -36926,8 +36926,8 @@ dL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var fL = {};
-fL = {
+var yL = {};
+yL = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -36935,8 +36935,8 @@ fL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var pL = {};
-pL = {
+var bL = {};
+bL = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -36944,8 +36944,8 @@ pL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var mL = {};
-mL = {
+var xL = {};
+xL = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -36953,8 +36953,8 @@ mL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var hL = {};
-hL = {
+var SL = {};
+SL = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -36962,8 +36962,8 @@ hL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var gL = {};
-gL = {
+var CL = {};
+CL = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -36971,8 +36971,8 @@ gL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var _L = {};
-_L = {
+var wL = {};
+wL = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -36980,8 +36980,8 @@ _L = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var vL = {};
-vL = {
+var TL = {};
+TL = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -36989,8 +36989,8 @@ vL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var yL = {};
-yL = {
+var EL = {};
+EL = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -36998,8 +36998,8 @@ yL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var bL = {};
-bL = {
+var DL = {};
+DL = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -37007,8 +37007,8 @@ bL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var xL = {};
-xL = {
+var OL = {};
+OL = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -37016,8 +37016,8 @@ xL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var SL = {};
-SL = {
+var kL = {};
+kL = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -37025,8 +37025,8 @@ SL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var CL = {};
-CL = {
+var AL = {};
+AL = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -37034,8 +37034,8 @@ CL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var wL = {};
-wL = {
+var jL = {};
+jL = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -37043,8 +37043,8 @@ wL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var TL = {};
-TL = {
+var ML = {};
+ML = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -37052,8 +37052,8 @@ TL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var EL = {};
-EL = {
+var NL = {};
+NL = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -37061,8 +37061,8 @@ EL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var DL = {};
-DL = {
+var PL = {};
+PL = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -37070,8 +37070,8 @@ DL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var OL = {};
-OL = {
+var FL = {};
+FL = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -37079,8 +37079,8 @@ OL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var kL = {};
-kL = {
+var IL = {};
+IL = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -37088,8 +37088,8 @@ kL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var AL = {};
-AL = {
+var LL = {};
+LL = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -37097,8 +37097,8 @@ AL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var jL = {};
-jL = {
+var RL = {};
+RL = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -37106,8 +37106,8 @@ jL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var ML = {};
-ML = {
+var zL = {};
+zL = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -37115,8 +37115,8 @@ ML = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var NL = {};
-NL = {
+var BL = {};
+BL = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -37124,8 +37124,8 @@ NL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var PL = {};
-PL = {
+var VL = {};
+VL = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -37133,8 +37133,8 @@ PL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var FL = {};
-FL = {
+var HL = {};
+HL = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -37142,8 +37142,8 @@ FL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var IL = {};
-IL = {
+var UL = {};
+UL = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -37151,52 +37151,52 @@ IL = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var LL = {};
-LL = {
- "ar-AE": rL,
- "bg-BG": iL,
- "cs-CZ": aL,
- "da-DK": oL,
- "de-DE": sL,
- "el-GR": cL,
- "en-US": lL,
- "es-ES": uL,
- "et-EE": dL,
- "fi-FI": fL,
- "fr-FR": pL,
- "he-IL": mL,
- "hr-HR": hL,
- "hu-HU": gL,
- "it-IT": _L,
- "ja-JP": vL,
- "ko-KR": yL,
- "lt-LT": bL,
- "lv-LV": xL,
- "nb-NO": SL,
- "nl-NL": CL,
- "pl-PL": wL,
- "pt-BR": TL,
- "pt-PT": EL,
- "ro-RO": DL,
- "ru-RU": OL,
- "sk-SK": kL,
- "sl-SI": AL,
- "sr-SP": jL,
- "sv-SE": ML,
- "tr-TR": NL,
- "uk-UA": PL,
- "zh-CN": FL,
- "zh-TW": IL
+var WL = {};
+WL = {
+ "ar-AE": uL,
+ "bg-BG": dL,
+ "cs-CZ": fL,
+ "da-DK": pL,
+ "de-DE": mL,
+ "el-GR": hL,
+ "en-US": gL,
+ "es-ES": _L,
+ "et-EE": vL,
+ "fi-FI": yL,
+ "fr-FR": bL,
+ "he-IL": xL,
+ "hr-HR": SL,
+ "hu-HU": CL,
+ "it-IT": wL,
+ "ja-JP": TL,
+ "ko-KR": EL,
+ "lt-LT": DL,
+ "lv-LV": OL,
+ "nb-NO": kL,
+ "nl-NL": AL,
+ "pl-PL": jL,
+ "pt-BR": ML,
+ "pt-PT": NL,
+ "ro-RO": PL,
+ "ru-RU": FL,
+ "sk-SK": IL,
+ "sl-SI": LL,
+ "sr-SP": RL,
+ "sv-SE": zL,
+ "tr-TR": BL,
+ "uk-UA": VL,
+ "zh-CN": HL,
+ "zh-TW": UL
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var RL = /*#__PURE__*/ (0, D.createContext)({}), zL = /*#__PURE__*/ (0, D.createContext)(null), Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { render: n } = (0, D.useContext)(zL);
+var GL = /*#__PURE__*/ (0, D.createContext)({}), KL = /*#__PURE__*/ (0, D.createContext)(null), Ile = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { render: n } = (0, D.useContext)(KL);
return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));
});
-function BL(e, t) {
+function qL(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(Ule, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(Ile, { target: e });
}, [
t?.target,
r,
@@ -37204,7 +37204,7 @@ function BL(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function VL(e, t, n) {
+function JL(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -37226,14 +37226,14 @@ function VL(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var HL = /*#__PURE__*/ (0, D.createContext)({}), Wle = /*#__PURE__*/ (0, D.createContext)(null);
-function UL(e) {
+var YL = /*#__PURE__*/ (0, D.createContext)({}), Lle = /*#__PURE__*/ (0, D.createContext)(null);
+function XL(e) {
let t = (0, D.useRef)({});
- return /*#__PURE__*/ D.createElement(Wle.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ D.createElement(Lle.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var WL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), GL = /*#__PURE__*/ (0, D.createContext)({}), Gle = /*#__PURE__*/ Kx(class extends Ry {
+var ZL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), QL = /*#__PURE__*/ (0, D.createContext)({}), Rle = /*#__PURE__*/ Xx(class extends Hy {
static {
this.type = "separator";
}
@@ -37246,14 +37246,14 @@ var WL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), GL = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = pI(e, t, GL);
+ [e, t] = gI(e, t, QL);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = vI[c], { separatorProps: u } = Oae({
+ let l = xI[c], { separatorProps: u } = Sae({
...s,
elementType: n,
orientation: r
- }), d = ES(e, { global: !0 });
+ }), d = AS(e, { global: !0 });
return /*#__PURE__*/ D.createElement(l, {
render: e.render,
...K(d, u),
@@ -37265,13 +37265,13 @@ var WL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), GL = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function KL(e) {
+function $L(e) {
let t = D.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var qL = class {
+var eR = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -37315,20 +37315,20 @@ var qL = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, JL = class e extends Set {
+}, tR = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Kle(e, t) {
+function zle(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function YL(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = tw((0, D.useMemo)(() => XL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => XL(e.defaultSelectedKeys, new JL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);
+function nR(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = iw((0, D.useMemo)(() => rR(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => rR(e.defaultSelectedKeys, new tR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, D.useRef)(i);
return (0, D.useEffect)(() => {
@@ -37355,18 +37355,18 @@ function YL(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Kle(e, d)) && f(e);
+ (r || !zle(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function XL(e, t) {
- return e ? e === "all" ? "all" : new JL(e) : t;
+function rR(e, t) {
+ return e ? e === "all" ? "all" : new tR(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var ZL = class e {
+var iR = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -37422,7 +37422,7 @@ var ZL = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && vT(this.collection, n, e) < 0) && (e = n);
+ (!e || n && wT(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37430,7 +37430,7 @@ var ZL = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && vT(this.collection, n, e) > 0) && (e = n);
+ (!e || n && wT(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37449,10 +37449,10 @@ var ZL = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new JL([t], t, t);
+ if (this.state.selectedKeys === "all") n = new tR([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new JL(e, r, t);
+ n = new tR(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -37460,7 +37460,7 @@ var ZL = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? vT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? wT(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);
@@ -37486,19 +37486,19 @@ var ZL = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new JL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new tR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new JL([t], t, t) : new JL();
+ let n = this.canSelectItem(t) ? new tR([t], t, t) : new tR();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new JL();
+ let t = new tR();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -37510,7 +37510,7 @@ var ZL = 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(hT(mT(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(xT(bT(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -37521,7 +37521,7 @@ var ZL = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new JL());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new tR());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -37562,9 +37562,9 @@ var ZL = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, qle = class {
+}, Ble = class {
build(e, t) {
- return this.context = t, QL(() => this.iterateCollection(e));
+ return this.context = t, aR(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -37646,10 +37646,10 @@ var ZL = class e {
...a,
key: l,
index: s,
- wrapper: Jle(e.wrapper, a.wrapper)
+ wrapper: Vle(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${$L(t.type)}> in <${$L(r?.type ?? "unknown parent type")}>. Only <${$L(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${oR(t.type)}> in <${oR(r?.type ?? "unknown parent type")}>. Only <${oR(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -37671,7 +37671,7 @@ var ZL = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: QL(function* () {
+ childNodes: aR(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -37690,7 +37690,7 @@ var ZL = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function QL(e) {
+function aR(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -37698,18 +37698,18 @@ function QL(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Jle(e, t) {
+function Vle(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function $L(e) {
+function oR(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function eR(e, t, n) {
- let r = (0, D.useMemo)(() => new qle(), []), { children: i, items: a, collection: o } = e;
+function sR(e, t, n) {
+ let r = (0, D.useMemo)(() => new Ble(), []), { children: i, items: a, collection: o } = e;
return (0, D.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -37724,27 +37724,27 @@ function eR(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function tR(e) {
- let { filter: t, layoutDelegate: n } = e, r = YL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = eR(e, (0, D.useCallback)((e) => t ? new qL(t(e)) : new qL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new ZL(a, r, { layoutDelegate: n }), [
+function cR(e) {
+ let { filter: t, layoutDelegate: n } = e, r = nR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = sR(e, (0, D.useCallback)((e) => t ? new eR(t(e)) : new eR(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new iR(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return nR(a, o), {
+ return lR(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Yle(e, t) {
+function Hle(e, t) {
let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return nR(n, r), {
+ return lR(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function nR(e, t) {
+function lR(e, t) {
let n = (0, D.useRef)(null);
(0, D.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -37772,15 +37772,15 @@ function nR(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function rR(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = uS((e) => {
+function uR(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = mS((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- hb(() => {
+ yb(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: SC(t?.current),
+ root: TC(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -37796,42 +37796,42 @@ function rR(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var iR = /*#__PURE__*/ (0, D.createContext)(null), aR = /*#__PURE__*/ (0, D.createContext)(null), Xle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, iR);
- let n = (0, D.useContext)(aR);
- return n ? /*#__PURE__*/ D.createElement(oR, {
+var dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.createContext)(null), Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, dR);
+ let n = (0, D.useContext)(fR);
+ return n ? /*#__PURE__*/ D.createElement(pR, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(Zle, {
+ }) : /*#__PURE__*/ D.createElement(qx, { content: /*#__PURE__*/ D.createElement(eS, e) }, (n) => /*#__PURE__*/ D.createElement(Wle, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Zle({ props: e, listBoxRef: t, collection: n }) {
+function Wle({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, D.useContext)(TI), i = tR({
+ let { layoutDelegate: r } = (0, D.useContext)(OI), i = cR({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ D.createElement(oR, {
+ return /*#__PURE__*/ D.createElement(pR, {
state: i,
props: e,
listBoxRef: t
});
}
-function oR({ state: e, props: t, listBoxRef: n }) {
- [t, n] = pI(t, n, yI);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Yle(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = vS(), { disabledBehavior: p, disabledKeys: m } = l, h = CT({
+function pR({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = gI(t, n, SI);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Hle(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = SS(), { disabledBehavior: p, disabledKeys: m } = l, h = kT({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(TI), b = (0, D.useMemo)(() => t.keyboardDelegate || new Tw({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(OI), b = (0, D.useMemo)(() => t.keyboardDelegate || new jw({
collection: c,
collator: h,
ref: n,
@@ -37852,7 +37852,7 @@ function oR({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Jie({
+ ]), { listBoxProps: x } = Hie({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -37884,7 +37884,7 @@ function oR({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = AT(), M = s.collection.size === 0, ee = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = IT(), M = s.collection.size === 0, ee = {
isDropTarget: T,
isEmpty: M,
isFocused: A,
@@ -37892,7 +37892,7 @@ function oR({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = dI({
+ }, N = mI({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -37902,8 +37902,8 @@ function oR({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(ee)));
- let P = ES(t, { global: !0 });
- return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(vI.div, {
+ let P = AS(t, { global: !0 });
+ return /*#__PURE__*/ D.createElement(eC, null, /*#__PURE__*/ D.createElement(xI.div, {
...K(P, N, x, k, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -37914,60 +37914,60 @@ function oR({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [iR, t],
- [aR, s],
- [RL, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [dR, t],
+ [fR, s],
+ [GL, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [GL, { elementType: "div" }],
- [zL, { render: eue }],
- [xI, {
+ [QL, { elementType: "div" }],
+ [KL, { render: qle }],
+ [wI, {
name: "ListBoxSection",
- render: Qle
+ render: Gle
}]
- ] }, /*#__PURE__*/ D.createElement(UL, null, /*#__PURE__*/ D.createElement(y, {
+ ] }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: VL(l, r, C),
- renderDropIndicator: BL(r, C)
+ persistedKeys: JL(l, r, C),
+ renderDropIndicator: qL(r, C)
}))), te, E));
}
-function Qle(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, D.useContext)(aR), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(RL), { CollectionBranch: s } = (0, D.useContext)(TI), [c, l] = mI(), { headingProps: u, groupProps: d } = Yie({
+function Gle(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, D.useContext)(fR), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(GL), { CollectionBranch: s } = (0, D.useContext)(OI), [c, l] = _I(), { headingProps: u, groupProps: d } = Uie({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = dI({
+ }), f = mI({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = ES(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ D.createElement(vI.section, {
+ }), p = AS(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ D.createElement(xI.section, {
...K(p, f, d),
ref: t
- }, /*#__PURE__*/ D.createElement(HL.Provider, { value: {
+ }, /*#__PURE__*/ D.createElement(YL.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ D.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: BL(a, o)
+ renderDropIndicator: qL(a, o)
})));
}
-var $le = /*#__PURE__*/ Kx(Vy, function(e, t, n) {
- let r = Nx(t), i = (0, D.useContext)(aR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(RL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Xie({
+var Kle = /*#__PURE__*/ Xx(Gy, function(e, t, n) {
+ let r = Lx(t), i = (0, D.useContext)(fR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(GL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Wie({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = PT({
+ }, i, r), { hoverProps: p, isHovered: m } = BT({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = Mx(e), { focusProps: g } = Ox(e), _ = null;
+ }), { keyboardProps: h } = Ix(e), { focusProps: g } = Mx(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -37978,7 +37978,7 @@ var $le = /*#__PURE__*/ Kx(Vy, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = dI({
+ let y = o && o.isDragging(n.key), b = mI({
...e,
id: void 0,
children: e.children,
@@ -37996,7 +37996,7 @@ var $le = /*#__PURE__*/ Kx(Vy, function(e, t, n) {
(0, D.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? vI.a : vI.div, S = ES(e, { global: !0 });
+ let x = e.href ? xI.a : xI.div, S = AS(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {
...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -38010,29 +38010,29 @@ var $le = /*#__PURE__*/ Kx(Vy, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ D.createElement(uI, { values: [[II, { slots: {
- [lI]: u,
+ }, /*#__PURE__*/ D.createElement(pI, { values: [[zI, { slots: {
+ [fI]: u,
label: u,
description: d
- } }], [WL, { isSelected: f.isSelected }]] }, b.children));
+ } }], [ZL, { isSelected: f.isSelected }]] }, b.children));
});
-function eue(e, t) {
- t = Nx(t);
- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(RL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ D.createElement(nue, {
+function qle(e, t) {
+ t = Lx(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(GL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ D.createElement(Yle, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function tue(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = dI({
+function Jle(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = mI({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vI.div, {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(xI.div, {
...n,
...a,
role: "option",
@@ -38040,10 +38040,10 @@ function tue(e, t) {
"data-drop-target": r || void 0
}));
}
-var nue = /*#__PURE__*/ (0, D.forwardRef)(tue);
-Kx(By, function(e, t, n) {
- let r = (0, D.useContext)(aR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);
- rR((0, D.useMemo)(() => ({
+var Yle = /*#__PURE__*/ (0, D.forwardRef)(Jle);
+Xx(Wy, function(e, t, n) {
+ let r = (0, D.useContext)(fR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);
+ uR((0, D.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -38053,7 +38053,7 @@ Kx(By, function(e, t, n) {
o,
r?.collection
]), c);
- let l = dI({
+ let l = mI({
...s,
id: void 0,
children: n.rendered,
@@ -38066,7 +38066,7 @@ Kx(By, function(e, t, n) {
width: 0,
height: 0
},
- inert: KL(!0)
+ inert: $L(!0)
}, /*#__PURE__*/ D.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -38075,8 +38075,8 @@ Kx(By, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vI.div, {
- ...K(ES(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(xI.div, {
+ ...K(AS(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -38084,11 +38084,11 @@ Kx(By, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var rue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });
+var Xle = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function sR(e) {
- let [t, n] = tw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);
+function mR(e) {
+ let [t, n] = iw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -38107,15 +38107,15 @@ function sR(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function cR(e, t = !0, n) {
+function hR(e, t = !0, n) {
let [r, i] = (0, D.useState)(!0), a = r && t;
- return hb(() => {
- if (!t && e.current) return vx($y(e.current, "opacity", "0"), $y(e.current, "clip", "rect(0 0 0 0)"), $y(e.current, "clip-path", "inset(50%)"), $y(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), hb(() => {
+ return yb(() => {
+ if (!t && e.current) return Sx(rb(e.current, "opacity", "0"), rb(e.current, "clip", "rect(0 0 0 0)"), rb(e.current, "clip-path", "inset(50%)"), rb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), yb(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), uR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), _R(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;
}
-function lR(e, t, n) {
+function gR(e, t, n) {
let [r, i] = (0, D.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -38125,13 +38125,13 @@ function lR(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return uR(e, a, n, (0, D.useCallback)(() => {
+ return _R(e, a, n, (0, D.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function uR(e, t, n, r) {
- let i = (0, D.useRef)(null), a = uS(n);
- hb(() => {
+function _R(e, t, n, r) {
+ let i = (0, D.useRef)(null), a = mS(n);
+ yb(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -38157,9 +38157,9 @@ function uR(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, dR);
- let n = (0, D.useContext)(TR), r = sR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = lR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = zx(), { direction: c } = vS();
+var vR = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, vR);
+ let n = (0, D.useContext)(MR), r = mR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Ux(), { direction: c } = SS();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -38170,7 +38170,7 @@ var dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.crea
defaultChildren: null
})), /*#__PURE__*/ D.createElement(D.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(iue, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(Zle, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -38179,13 +38179,13 @@ var dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.crea
dir: c
});
});
-function iue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(fR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Sae({
+function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(yR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = gae({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = cR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = dI({
+ }, e), g = i.popoverRef, _ = hR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = mI({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -38195,10 +38195,10 @@ function iue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, D.useState)(i.trigger === "PreviewTrigger");
- hb(() => {
+ yb(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, D.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ox() !== "pointer") && g.current && !ib(g.current) && _x(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ux() !== "pointer") && g.current && !cb(g.current) && xx(g.current);
}, [
x,
g,
@@ -38206,12 +38206,12 @@ function iue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let C = (0, D.useMemo)(() => {
let e = y.children;
- for (let t of [dR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);
+ for (let t of [vR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [w, T] = (0, D.useState)(null), E = (0, D.useCallback)(() => {
i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- hb(E, [E]), ME({
+ yb(E, [E]), RE({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -38221,9 +38221,9 @@ function iue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- hb(() => xD(() => u(!0)), []);
- let k = /*#__PURE__*/ D.createElement(vI.div, {
- ...K(ES(i, { global: !0 }), d),
+ yb(() => DD(() => u(!0)), []);
+ let k = /*#__PURE__*/ D.createElement(xI.div, {
+ ...K(AS(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -38238,17 +38238,17 @@ function iue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ D.createElement(mD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(rue.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(bD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(Xle.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ D.createElement(mD, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ D.createElement(OT, {
+ } }, C), /*#__PURE__*/ D.createElement(bD, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ D.createElement(PT, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, k) : /*#__PURE__*/ D.createElement(OT, {
+ }, k) : /*#__PURE__*/ D.createElement(PT, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -38263,15 +38263,15 @@ function iue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ D.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ D.createElement(fR.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ D.createElement(yR.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var aue = /*#__PURE__*/ (0, D.createContext)({});
+var Qle = /*#__PURE__*/ (0, D.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function mR(e) {
- let t = sR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {
+function xR(e) {
+ let t = mR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -38297,7 +38297,7 @@ function mR(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var oue = class {
+var $le = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -38341,8 +38341,8 @@ var oue = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function hR(e) {
- let { onExpandedChange: t } = e, [n, r] = tw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = YL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = eR(e, (0, D.useCallback)((e) => new oue(e, { expandedKeys: n }), [n]), null);
+function SR(e) {
+ let { onExpandedChange: t } = e, [n, r] = iw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nR(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sR(e, (0, D.useCallback)((e) => new $le(e, { expandedKeys: n }), [n]), null);
return (0, D.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38350,32 +38350,32 @@ function hR(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(sue(n, e));
+ r(eue(n, e));
},
setExpandedKeys: r,
- selectionManager: new ZL(o, i)
+ selectionManager: new iR(o, i)
};
}
-function sue(e, t) {
+function eue(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var gR = /*#__PURE__*/ (0, D.createContext)(null), _R = /*#__PURE__*/ (0, D.createContext)(null), vR = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null);
-function cue(e) {
- let t = mR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = lT({
+var CR = /*#__PURE__*/ (0, D.createContext)(null), wR = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.createContext)(null);
+function tue(e) {
+ let t = xR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = hT({
...e,
type: "menu"
}, t, n), a = (0, D.useRef)(null);
- return zx() ? null : /*#__PURE__*/ D.createElement(uI, { values: [
- [gR, {
+ return Ux() ? null : /*#__PURE__*/ D.createElement(pI, { values: [
+ [CR, {
...i,
ref: a
}],
+ [MR, t],
[TR, t],
- [vR, t],
- [dR, {
+ [vR, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -38383,14 +38383,14 @@ function cue(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ D.createElement(Nie, {
+ ] }, /*#__PURE__*/ D.createElement(Die, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var lue = /*#__PURE__*/ (0, D.createContext)(null);
-(class extends Ry {
+var nue = /*#__PURE__*/ (0, D.createContext)(null);
+(class extends Hy {
static {
this.type = "submenutrigger";
}
@@ -38403,24 +38403,24 @@ var lue = /*#__PURE__*/ (0, D.createContext)(null);
return null;
}
});
-var uue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- return [e, t] = pI(e, t, gR), /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(due, {
+var rue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ return [e, t] = gI(e, t, CR), /*#__PURE__*/ D.createElement(qx, { content: /*#__PURE__*/ D.createElement(eS, e) }, (n) => /*#__PURE__*/ D.createElement(iue, {
props: e,
collection: n,
menuRef: t
}));
});
-function due({ props: e, collection: t, menuRef: n }) {
- [e, n] = pI(e, n, yI);
- let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = hR({
+function iue({ props: e, collection: t, menuRef: n }) {
+ [e, n] = gI(e, n, SI);
+ let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = SR({
...e,
collection: a,
children: void 0
- }), s = (0, D.useContext)(vR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(TI), { menuProps: u } = Zie({
+ }), s = (0, D.useContext)(TR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(OI), { menuProps: u } = Gie({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = dI({
+ }, o, n), d = mI({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -38430,36 +38430,36 @@ function due({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(vI.div, {
+ let p = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(eC, null, /*#__PURE__*/ D.createElement(xI.div, {
...K(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [_R, o],
- [GL, { elementType: "div" }],
- [xI, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [wR, o],
+ [QL, { elementType: "div" }],
+ [wI, {
name: "MenuSection",
- render: bR
+ render: DR
}],
- [lue, {
+ [nue, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [SR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [yI, null],
- [bI, null],
- [yR, o.selectionManager],
- [vR, s ?? mR({})]
- ] }, /*#__PURE__*/ D.createElement(UL, null, /*#__PURE__*/ D.createElement(l, {
+ [kR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [SI, null],
+ [CI, null],
+ [ER, o.selectionManager],
+ [TR, s ?? xR({})]
+ ] }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(l, {
collection: o.collection,
- persistedKeys: EI(o.selectionManager.focusedKey),
+ persistedKeys: kI(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var fue = class extends ZL {
+var aue = class extends iR {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -38479,11 +38479,11 @@ var fue = class extends ZL {
return this.parent.childFocusStrategy;
}
};
-function bR(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, D.useContext)(_R), { CollectionBranch: a } = (0, D.useContext)(TI), [o, s] = mI(), { headingProps: c, groupProps: l } = $ie({
+function DR(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, D.useContext)(wR), { CollectionBranch: a } = (0, D.useContext)(OI), [o, s] = _I(), { headingProps: c, groupProps: l } = qie({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = dI({
+ }), u = mI({
...e,
id: void 0,
children: void 0,
@@ -38491,31 +38491,31 @@ function bR(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, D.useContext)(yR), f = YL(e), p = e.selectionMode == null ? d : new fue(d, f), m = fI(SR)?.shouldCloseOnSelect, h = ES(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ D.createElement(vI.section, {
+ }), d = (0, D.useContext)(ER), f = nR(e), p = e.selectionMode == null ? d : new aue(d, f), m = hI(kR)?.shouldCloseOnSelect, h = AS(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ D.createElement(xI.section, {
...K(h, u, l),
ref: t
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [HL, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [YL, {
...c,
ref: o
}],
- [yR, p],
- [SR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [ER, p],
+ [kR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ D.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var xR = /*#__PURE__*/ qx(Vne, bR), SR = /*#__PURE__*/ (0, D.createContext)(null), CR = /*#__PURE__*/ Kx(Vy, function(e, t, n) {
- [e, t] = pI(e, t, SR);
- let r = fI(SR)?.id, i = (0, D.useContext)(_R), a = Nx(t), o = (0, D.useContext)(yR), { isVirtualized: s } = (0, D.useContext)(TI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Qie({
+var OR = /*#__PURE__*/ Zx(Lne, DR), kR = /*#__PURE__*/ (0, D.createContext)(null), AR = /*#__PURE__*/ Xx(Gy, function(e, t, n) {
+ [e, t] = gI(e, t, kR);
+ let r = hI(kR)?.id, i = (0, D.useContext)(wR), a = Lx(t), o = (0, D.useContext)(ER), { isVirtualized: s } = (0, D.useContext)(OI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Kie({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = PT({ isDisabled: f.isDisabled }), h = dI({
+ }, i, a), { hoverProps: p, isHovered: m } = BT({ isDisabled: f.isDisabled }), h = mI({
...e,
id: void 0,
children: n.rendered,
@@ -38529,7 +38529,7 @@ var xR = /*#__PURE__*/ qx(Vne, bR), SR = /*#__PURE__*/ (0, D.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? vI.a : vI.div, _ = ES(e, { global: !0 });
+ }), g = e.href ? xI.a : xI.div, _ = AS(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -38542,19 +38542,19 @@ var xR = /*#__PURE__*/ qx(Vne, bR), SR = /*#__PURE__*/ (0, D.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [II, { slots: {
- [lI]: l,
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [zI, { slots: {
+ [fI]: l,
label: l,
description: u
} }],
- [aue, d],
- [WL, { isSelected: f.isSelected }]
+ [Qle, d],
+ [ZL, { isSelected: f.isSelected }]
] }, h.children));
});
-Kx(By, function(e, t, n) {
- let r = (0, D.useContext)(_R), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);
- rR((0, D.useMemo)(() => ({
+Xx(Wy, function(e, t, n) {
+ let r = (0, D.useContext)(wR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);
+ uR((0, D.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -38564,7 +38564,7 @@ Kx(By, function(e, t, n) {
o,
r?.collection
]), c);
- let l = dI({
+ let l = mI({
...s,
id: void 0,
children: n.rendered,
@@ -38577,7 +38577,7 @@ Kx(By, function(e, t, n) {
width: 0,
height: 0
},
- inert: KL(!0)
+ inert: $L(!0)
}, /*#__PURE__*/ D.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -38586,8 +38586,8 @@ Kx(By, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(vI.div, {
- ...K(ES(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(xI.div, {
+ ...K(AS(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -38595,82 +38595,82 @@ Kx(By, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var wR = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+var jR = /*#__PURE__*/ (0, D.createContext)(null), MR = /*#__PURE__*/ (0, D.createContext)(null), NR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = pI(e, t, wR);
- let { dialogProps: r, titleProps: i, contentProps: a } = Fie({
+ [e, t] = gI(e, t, jR);
+ let { dialogProps: r, titleProps: i, contentProps: a } = kie({
...e,
"aria-labelledby": n
- }, t), o = (0, D.useContext)(TR);
+ }, t), o = (0, D.useContext)(MR);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = dI({
+ let s = mI({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(vI.section, {
+ }), c = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(xI.section, {
...K(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [PI, { slots: {
- [lI]: {},
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [LI, { slots: {
+ [fI]: {},
title: {
...i,
level: 2
}
} }],
- [II, { slots: {
- [lI]: {},
+ [zI, { slots: {
+ [fI]: {},
description: a
} }],
- [AI, { slots: {
- [lI]: {},
+ [NI, { slots: {
+ [fI]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), DR = typeof document < "u" && window.visualViewport;
-function pue() {
- let e = Wb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {
+}), PR = typeof document < "u" && window.visualViewport;
+function oue() {
+ let e = Jb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {
width: 0,
height: 0
- } : OR());
+ } : FR());
return (0, D.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- DR && DR.scale > 1 || e(OR());
+ PR && PR.scale > 1 || e(FR());
}, i = (n) => {
- DR && DR.scale > 1 || sS(G(n)) && (t.current = xD((t) => {
+ PR && PR.scale > 1 || dS(G(n)) && (t.current = DD((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(OR()), Db() && kb() && window.addEventListener("blur", i, !0), DR ? DR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), Db() && kb() && window.removeEventListener("blur", i, !0), DR ? DR.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(FR()), jb() && Nb() && window.addEventListener("blur", i, !0), PR ? PR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), jb() && Nb() && window.removeEventListener("blur", i, !0), PR ? PR.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function OR() {
+function FR() {
return {
- width: DR ? Math.min(DR.width * DR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: DR ? DR.height * DR.scale : document.documentElement.clientHeight
+ width: PR ? Math.min(PR.width * PR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: PR ? PR.height * PR.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var mue = /*#__PURE__*/ (0, D.createContext)(null), kR = /*#__PURE__*/ (0, D.createContext)(null), hue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- if ((0, D.useContext)(kR)) return /*#__PURE__*/ D.createElement(jR, {
+var sue = /*#__PURE__*/ (0, D.createContext)(null), IR = /*#__PURE__*/ (0, D.createContext)(null), cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ if ((0, D.useContext)(IR)) return /*#__PURE__*/ D.createElement(RR, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ D.createElement(AR, {
+ return /*#__PURE__*/ D.createElement(LR, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -38680,15 +38680,15 @@ var mue = /*#__PURE__*/ (0, D.createContext)(null), kR = /*#__PURE__*/ (0, D.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ D.createElement(jR, {
+ }, /*#__PURE__*/ D.createElement(RR, {
...f,
modalRef: t
}, s));
});
-function gue(e, t) {
- [e, t] = pI(e, t, mue);
- let n = (0, D.useContext)(TR), r = sR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nx(t), o = (0, D.useRef)(null), s = lR(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = lR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Wb();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(_ue, {
+function lue(e, t) {
+ [e, t] = gI(e, t, sue);
+ let n = (0, D.useContext)(MR), r = mR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Lx(t), o = (0, D.useRef)(null), s = gR(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = gR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Jb();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(uue, {
...e,
state: i,
isExiting: u,
@@ -38697,12 +38697,12 @@ function gue(e, t) {
onExitRef: c
});
}
-var AR = /*#__PURE__*/ (0, D.forwardRef)(gue);
-function _ue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = cR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = uae({
+var LR = /*#__PURE__*/ (0, D.forwardRef)(lue);
+function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = hR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = iae({
...n,
isEntering: c
- }, i, r), d = (0, D.useContext)(wR), f = t ? vue(d, { isEntering: c }) : d, p = dI({
+ }, i, r), d = (0, D.useContext)(jR), f = t ? due(d, { isEntering: c }) : d, p = mI({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -38710,9 +38710,9 @@ function _ue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = pue(), h, g;
+ }), m = oue(), h, g;
if (typeof document < "u") {
- let e = xC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = wC(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 _ = {
@@ -38722,18 +38722,18 @@ function _ue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
"--page-width": h === void 0 ? void 0 : h + "px",
"--page-height": g === void 0 ? void 0 : g + "px"
};
- return hb(() => xD(() => o(!0)), []), /*#__PURE__*/ D.createElement(OT, {
+ return yb(() => DD(() => o(!0)), []), /*#__PURE__*/ D.createElement(PT, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ D.createElement(vI.div, {
- ...K(ES(n, { global: !0 }), u),
+ }, /*#__PURE__*/ D.createElement(xI.div, {
+ ...K(AS(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [kR, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [IR, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -38741,11 +38741,11 @@ function _ue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [TR, i],
- [wR, f]
+ [MR, i],
+ [jR, f]
] }, p.children)));
}
-function vue(e, t) {
+function due(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -38762,8 +38762,8 @@ function vue(e, t) {
...t
};
}
-function jR(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(kR), s = (0, D.useContext)(TR), c = Nx((0, D.useMemo)(() => wx(e.modalRef, n), [e.modalRef, n])), l = cR(c, o, e.onEnter), u = dI({
+function RR(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(IR), s = (0, D.useContext)(MR), c = Lx((0, D.useMemo)(() => Ox(e.modalRef, n), [e.modalRef, n])), l = hR(c, o, e.onEnter), u = mI({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -38772,21 +38772,21 @@ function jR(e) {
state: s
}
});
- return hb(() => {
+ return yb(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ D.createElement(vI.div, {
- ...K(ES(e, { global: !0 }), t),
+ }), /*#__PURE__*/ D.createElement(xI.div, {
+ ...K(AS(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ D.createElement(mD, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ D.createElement(bD, { onDismiss: s.close }), u.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var yue = Math.round(Math.random() * 1e10), bue = 0;
-function xue(e) {
- let t = (0, D.useMemo)(() => e.name || `radio-group-${yue}-${++bue}`, [e.name]), [n, r] = tw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = HC({
+var fue = Math.round(Math.random() * 1e10), pue = 0;
+function mue(e) {
+ let t = (0, D.useMemo)(() => e.name || `radio-group-${fue}-${++pue}`, [e.name]), [n, r] = iw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = GC({
...e,
value: n
}), c = (t) => {
@@ -38809,16 +38809,16 @@ function xue(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Sue = /*#__PURE__*/ (0, D.createContext)(null), Cue = /*#__PURE__*/ (0, D.createContext)(null), MR = /*#__PURE__*/ (0, D.createContext)(null), NR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, Sue);
- let { validationBehavior: n } = fI(zI) || {}, r = e.validationBehavior ?? n ?? "native", i = xue({
+var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.createContext)(null), zR = /*#__PURE__*/ (0, D.createContext)(null), BR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, hue);
+ let { validationBehavior: n } = hI(HI) || {}, r = e.validationBehavior ?? n ?? "native", i = mue({
...e,
validationBehavior: r
- }), [a, o] = mI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = wae({
+ }), [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = vae({
...e,
label: o,
validationBehavior: r
- }, i), f = dI({
+ }, i), f = mI({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -38829,8 +38829,8 @@ var Sue = /*#__PURE__*/ (0, D.createContext)(null), Cue = /*#__PURE__*/ (0, D.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(vI.div, {
+ }), p = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(xI.div, {
...K(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -38839,39 +38839,39 @@ var Sue = /*#__PURE__*/ (0, D.createContext)(null), Cue = /*#__PURE__*/ (0, D.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [MR, i],
- [DI, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [zR, i],
+ [AI, {
...c,
ref: a,
elementType: "span"
}],
- [II, { slots: {
+ [zI, { slots: {
description: l,
errorMessage: u
} }],
- [RI, d]
- ] }, /*#__PURE__*/ D.createElement(UL, null, f.children)));
-}), PR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [VI, d]
+ ] }, /*#__PURE__*/ D.createElement(XL, null, f.children)));
+}), VR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = pI(r, t, Cue);
- let i = D.useContext(MR), a = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Cae({
- ...hI(e),
+ [e, t] = gI(r, t, gue);
+ let i = D.useContext(zR), a = Lx((0, D.useMemo)(() => Ox(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = _ae({
+ ...vI(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ D.createElement(FR.Provider, { value: {
+ return /*#__PURE__*/ D.createElement(HR.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ D.createElement(wue, {
+ } }, /*#__PURE__*/ D.createElement(_ue, {
...e,
ref: t
}));
-}), FR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(FR), l = D.useContext(MR), { isFocused: u, isFocusVisible: d, focusProps: f } = AT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = PT({
+}), HR = /*#__PURE__*/ (0, D.createContext)(null), _ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(HR), l = D.useContext(zR), { isFocused: u, isFocusVisible: d, focusProps: f } = IT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = BT({
...e,
isDisabled: p
- }), g = dI({
+ }), g = mI({
...e,
defaultClassName: s,
values: {
@@ -38885,8 +38885,8 @@ var Sue = /*#__PURE__*/ (0, D.createContext)(null), Cue = /*#__PURE__*/ (0, D.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = ES(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(vI.label, {
+ }), _ = AS(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(xI.label, {
...K(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -38898,19 +38898,19 @@ var Sue = /*#__PURE__*/ (0, D.createContext)(null), Cue = /*#__PURE__*/ (0, D.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ D.createElement(fw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(vw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
...K(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Tue(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = sR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function vue(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = tw((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = iw((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -38922,12 +38922,12 @@ function Tue(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = tR({
+ }, d = cR({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, D.useMemo)(() => Eue(l), [l]),
+ selectedKeys: (0, D.useMemo)(() => yue(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -38937,7 +38937,7 @@ function Tue(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = HC({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = GC({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);
@@ -38964,16 +38964,16 @@ function Tue(e) {
setFocused: g
};
}
-function Eue(e) {
+function yue(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function Due(e) {
+function bue(e) {
return e && e.__esModule ? e.default : e;
}
-var IR = /*#__PURE__*/ (0, D.createContext)(null), LR = /*#__PURE__*/ (0, D.createContext)(null), Oue = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, IR);
+var UR = /*#__PURE__*/ (0, D.createContext)(null), WR = /*#__PURE__*/ (0, D.createContext)(null), xue = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, UR);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -38988,24 +38988,24 @@ var IR = /*#__PURE__*/ (0, D.createContext)(null), LR = /*#__PURE__*/ (0, D.crea
i,
a
]);
- return /*#__PURE__*/ D.createElement(Ux, { content: o }, (n) => /*#__PURE__*/ D.createElement(Aue, {
+ return /*#__PURE__*/ D.createElement(qx, { content: o }, (n) => /*#__PURE__*/ D.createElement(Cue, {
props: e,
collection: n,
selectRef: t
}));
-}), kue = [
- DI,
+}), Sue = [
AI,
- II
+ NI,
+ zI
];
-function Aue({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = fI(zI) || {}, i = e.validationBehavior ?? r ?? "native", a = Tue({
+function Cue({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = hI(HI) || {}, i = e.validationBehavior ?? r ?? "native", a = vue({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = AT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = mI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Tae({
- ...hI(e),
+ }), { isFocusVisible: o, focusProps: s } = IT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = _I(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = yae({
+ ...vI(e),
label: u,
validationBehavior: i
}, a, c), y = (0, D.useMemo)(() => ({
@@ -39022,48 +39022,48 @@ function Aue({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = dI({
+ ]), b = mI({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = ES(e, { global: !0 });
+ }), x = AS(e, { global: !0 });
delete x.id;
let S = (0, D.useRef)(null);
- return /*#__PURE__*/ D.createElement(uI, { values: [
- [IR, e],
- [LR, a],
- [RR, p],
- [DI, {
+ return /*#__PURE__*/ D.createElement(pI, { values: [
+ [UR, e],
+ [WR, a],
+ [GR, p],
+ [AI, {
...d,
ref: l,
elementType: "span"
}],
- [AI, {
+ [NI, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [TR, a],
- [dR, {
+ [MR, a],
+ [vR, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: kue
+ clearContexts: Sue
}],
- [iR, {
+ [dR, {
...m,
ref: S
}],
- [aR, a],
- [II, { slots: {
+ [fR, a],
+ [zI, { slots: {
description: h,
errorMessage: g
} }],
- [RI, v]
- ] }, /*#__PURE__*/ D.createElement(vI.div, {
+ [VI, v]
+ ] }, /*#__PURE__*/ D.createElement(xI.div, {
...K(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -39073,14 +39073,14 @@ function Aue({ 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__*/ D.createElement(Dae, {
+ }, b.children, /*#__PURE__*/ D.createElement(xae, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, RR);
- let n = (0, D.useContext)(LR), { placeholder: r } = fI(IR), i = n.selectedItems.map((e) => {
+for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, GR);
+ let n = (0, D.useContext)(WR), { placeholder: r } = hI(UR), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -39092,7 +39092,7 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Iie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Aie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -39107,7 +39107,7 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
a,
o,
i
- ]), u = wS(Due(LL), "react-aria-components"), d = dI({
+ ]), u = OS(bue(WL), "react-aria-components"), d = mI({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -39118,33 +39118,33 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(vI.span, {
+ }), f = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(xI.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ D.createElement(II.Provider, { value: void 0 }, d.children));
-}), Mue = /*#__PURE__*/ (0, D.createContext)(null), zR = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ D.createElement(zI.Provider, { value: void 0 }, d.children));
+}), Tue = /*#__PURE__*/ (0, D.createContext)(null), KR = /*#__PURE__*/ (0, D.createContext)(null), Eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = pI(r, t, Mue);
- let i = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = nw(e), o = kae({
- ...hI(e),
+ [e, t] = gI(r, t, Tue);
+ let i = Lx((0, D.useMemo)(() => Ox(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = aw(e), o = Cae({
+ ...vI(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ D.createElement(uI, { values: [[zR, a], [BR, {
+ return /*#__PURE__*/ D.createElement(pI, { values: [[KR, a], [qR, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ D.createElement(Pue, {
+ }]] }, /*#__PURE__*/ D.createElement(Due, {
...e,
ref: t
}));
-}), BR = /*#__PURE__*/ (0, D.createContext)(null), Pue = /*#__PURE__*/ (0, D.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, D.useContext)(BR), { isFocused: f, isFocusVisible: p, focusProps: m } = AT(), h = a || o, g = (0, D.useContext)(zR), { hoverProps: _, isHovered: v } = PT({
+}), qR = /*#__PURE__*/ (0, D.createContext)(null), Due = /*#__PURE__*/ (0, D.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, D.useContext)(qR), { isFocused: f, isFocusVisible: p, focusProps: m } = IT(), h = a || o, g = (0, D.useContext)(KR), { hoverProps: _, isHovered: v } = BT({
...e,
isDisabled: h
- }), y = dI({
+ }), y = mI({
...e,
defaultClassName: u,
values: {
@@ -39159,8 +39159,8 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
isRequired: d || !1,
state: g
}
- }), b = ES(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(vI.label, {
+ }), b = AS(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(xI.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -39173,11 +39173,11 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ D.createElement(fw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(vw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
...K(r, m),
ref: l
})), y.children);
-}), VR = 10, HR = 5, UR = class {
+}), JR = 10, YR = 5, XR = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -39187,7 +39187,7 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > HR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > VR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > YR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > JR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -39266,11 +39266,11 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > HR && i) {
+ if (Math.abs(r - c.lastSwitchY) > YR && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > VR && a) {
+ if (l > JR && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -39285,7 +39285,7 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
boundaryContext: null
};
}
-}, Fue = class {
+}, Oue = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -39355,8 +39355,8 @@ for (var RR = /*#__PURE__*/ (0, D.createContext)(null), jue = /*#__PURE__*/ Rx(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, WR = "row-header-column-" + Math.random().toString(36).slice(2), GR = "row-header-column-" + Math.random().toString(36).slice(2); WR === GR;) GR = "row-header-column-" + Math.random().toString(36).slice(2);
-function KR(e, t) {
+}, ZR = "row-header-column-" + Math.random().toString(36).slice(2), QR = "row-header-column-" + Math.random().toString(36).slice(2); ZR === QR;) QR = "row-header-column-" + Math.random().toString(36).slice(2);
+function $R(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -39440,13 +39440,13 @@ function KR(e, t) {
textValue: ""
}));
}
-var Iue = class extends Fue {
+var kue = class extends Oue {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: WR,
+ key: ZR,
value: null,
textValue: "",
level: 0,
@@ -39461,7 +39461,7 @@ var Iue = class extends Fue {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: GR,
+ key: QR,
value: null,
textValue: "",
level: 0,
@@ -39488,7 +39488,7 @@ var Iue = class extends Fue {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = KR(s, a);
+ let l = $R(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -39514,10 +39514,10 @@ var Iue = class extends Fue {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return hT(this.body.childNodes)?.key ?? null;
+ return xT(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return _T(this.body.childNodes)?.key ?? null;
+ return CT(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -39549,15 +39549,15 @@ var Iue = class extends Fue {
};
//#endregion
//#region node_modules/react-stately/dist/private/table/TableUtils.mjs
-function Lue(e) {
+function Aue(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function Rue(e) {
+function jue(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function qR(e, t) {
+function ez(e, t) {
if (typeof e == "string") {
let n = e.match(/^(\d+)(?=%$)/);
if (!n) throw Error("Only percentages or numbers are supported for static column widths");
@@ -39565,19 +39565,19 @@ function qR(e, t) {
}
return e;
}
-function JR(e, t) {
- return e == null ? 2 ** 53 - 1 : qR(e, t);
+function tz(e, t) {
+ return e == null ? 2 ** 53 - 1 : ez(e, t);
}
-function YR(e, t) {
- return e == null ? 0 : qR(e, t);
+function nz(e, t) {
+ return e == null ? 0 : ez(e, t);
}
-function zue(e, t, n, r, i) {
+function Mue(e, t, n, r, i) {
let a = e, o = Math.floor(e), s = e - o > 0;
e = o;
let c = !1, l = t.map((t, a) => {
let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;
- Lue(o) ? (l = qR(o, e), s = !0) : (u = Rue(o), u <= 0 && (s = !0));
- let f = YR(t.minWidth ?? i?.(a) ?? 0, e), p = JR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ Aue(o) ? (l = ez(o, e), s = !0) : (u = jue(o), u <= 0 && (s = !0));
+ let f = nz(t.minWidth ?? i?.(a) ?? 0, e), p = tz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
baseSize: l,
@@ -39611,14 +39611,14 @@ function zue(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = Bue(l);
+ let u = Nue(l);
if (s && u.length > 0) {
let e = a.toString().split(".")[1], t = u[u.length - 1].toString();
u[u.length - 1] = Number(t + "." + e);
}
return u;
}
-function Bue(e) {
+function Nue(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -39627,7 +39627,7 @@ function Bue(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var Vue = class {
+var Pue = class {
constructor(e) {
this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);
}
@@ -39656,19 +39656,19 @@ var Vue = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), zue(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Mue(e, t.columns.map((e) => ({
...e.props,
key: e.key
})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {
let i = t.columns[r].key, a = t.columns[r];
- this.columnWidths.set(i, n), this.columnMinWidths.set(i, YR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, JR(a.props.maxWidth, e));
+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, nz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, tz(a.props.maxWidth, e));
}), this.columnWidths;
}
};
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function Hue(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Vue({
+function Fue(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Pue({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, D.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, D.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, D.useState)(t.collection.columns);
@@ -39720,19 +39720,19 @@ function Hue(e, t) {
}
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Uue(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || YL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Iue(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = mT(n, t);
- e = r === "last" ? _T(i)?.key ?? null : hT(i)?.key ?? null;
+ let i = bT(n, t);
+ e = r === "last" ? CT(i)?.key ?? null : xT(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, D.useMemo)(() => new ZL(t, r), [t, r]), s = (0, D.useRef)(null);
+ let o = (0, D.useMemo)(() => new iR(t, r), [t, r]), s = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -39752,7 +39752,7 @@ function Uue(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...mT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...bT(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);
}
@@ -39771,11 +39771,11 @@ function Uue(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Wue = {
+var Lue = {
ascending: "descending",
descending: "ascending"
};
-function Gue(e) {
+function Rue(e) {
let [t, n] = (0, D.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, D.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -39786,11 +39786,11 @@ function Gue(e) {
i,
r,
a
- ]), c = eR(e, (0, D.useCallback)((e) => new Iue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Uue({
+ ]), c = sR(e, (0, D.useCallback)((e) => new kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Iue({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = tw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = iw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -39802,7 +39802,7 @@ function Gue(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Wue[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Lue[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -39815,7 +39815,7 @@ function Gue(e) {
treeColumn: o
};
}
-function Kue(e, t) {
+function zue(e, t) {
let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -39825,10 +39825,10 @@ function Kue(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-function que(e) {
+function Bue(e) {
return e && e.__esModule ? e.default : e;
}
-var Jue = class extends Hy {
+var Vue = class extends Ky {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -39843,7 +39843,7 @@ var Jue = class extends Hy {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new iz(-2);
+ return new dz(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -39869,7 +39869,7 @@ var Jue = class extends Hy {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = KR(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = $R(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -39950,28 +39950,28 @@ var Jue = class extends Hy {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new ez(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new sz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, XR = /*#__PURE__*/ (0, D.createContext)(null), Yue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let n = Nx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);
- hb(() => {
+}, rz = /*#__PURE__*/ (0, D.createContext)(null), Hue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let n = Lx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);
+ yb(() => {
let e = r.current;
- for (; e && e !== n.current && !xC(e);) e = e.parentElement;
+ for (; e && e !== n.current && !wC(e);) e = e.parentElement;
i.current = e;
- }, [n]), ME({
+ }, [n]), RE({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), hb(() => {
+ }), yb(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, D.useMemo)(() => ({
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: Hue,
+ useTableColumnResizeState: Fue,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -39982,17 +39982,17 @@ var Jue = class extends Hy {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ D.createElement(vI.div, {
+ return /*#__PURE__*/ D.createElement(xI.div, {
render: e.render,
- ...ES(e, { global: !0 }),
+ ...AS(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ D.createElement(XR.Provider, { value: s }, e.children));
-}), Xue = /*#__PURE__*/ (0, D.createContext)(null), ZR = /*#__PURE__*/ (0, D.createContext)(null), QR = /*#__PURE__*/ (0, D.createContext)(null), Zue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, Xue);
- let n = YL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({
+ }, /*#__PURE__*/ D.createElement(rz.Provider, { value: s }, e.children));
+}), Uue = /*#__PURE__*/ (0, D.createContext)(null), iz = /*#__PURE__*/ (0, D.createContext)(null), az = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, Uue);
+ let n = nR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -40002,26 +40002,26 @@ var Jue = class extends Hy {
i,
a,
o
- ]), c = /*#__PURE__*/ D.createElement(ede.Provider, { value: s }, /*#__PURE__*/ D.createElement(Xx, e));
- return /*#__PURE__*/ D.createElement(Ux, {
+ ]), c = /*#__PURE__*/ D.createElement(que.Provider, { value: s }, /*#__PURE__*/ D.createElement(eS, e));
+ return /*#__PURE__*/ D.createElement(qx, {
content: c,
- createCollection: () => new Jue()
- }, (r) => /*#__PURE__*/ D.createElement($ue, {
+ createCollection: () => new Vue()
+ }, (r) => /*#__PURE__*/ D.createElement(Kue, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Que = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}), Gue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.table, {
+ }) : /*#__PURE__*/ D.createElement(xI.table, {
...e,
ref: t
});
-}), $R = {
+}), oz = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -40031,26 +40031,26 @@ var Jue = class extends Hy {
rtl: "ArrowRight"
}
};
-function $ue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = pI(e, t, yI);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(XR);
- t = Nx((0, D.useMemo)(() => wx(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = tw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = gI(e, t, SI);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(rz);
+ t = Lx((0, D.useMemo)(() => Ox(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = iw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Gue({
+ let d = Rue({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Kue(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(TI), { dragAndDropHooks: _ } = e, { gridProps: v } = Pae({
+ }), f = zue(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(OI), { dragAndDropHooks: _ } = e, { gridProps: v } = Oae({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = vS(), [A] = (0, D.useState)(() => new UR());
+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = SS(), [A] = (0, D.useState)(() => new XR());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -40065,7 +40065,7 @@ function $ue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new Tw({
+ let e = new jw({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -40085,12 +40085,12 @@ function $ue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === $R.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $R.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === oz.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === oz.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: ee } = AT(), N = dI({
+ let { focusProps: j, isFocused: M, isFocusVisible: ee } = IT(), N = mI({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -40106,19 +40106,19 @@ function $ue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let F = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(uI, { values: [
- [ZR, f],
- [QR, ne],
- [RL, {
+ let F = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(pI, { values: [
+ [iz, f],
+ [az, ne],
+ [GL, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [zL, { render: ude }],
- [yI, null],
- [bI, null]
- ] }, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(Que, {
+ [KL, { render: rde }],
+ [SI, null],
+ [CI, null]
+ ] }, /*#__PURE__*/ D.createElement(eC, null, /*#__PURE__*/ D.createElement(Gue, {
...K(F, N, v, j, w?.collectionProps),
style: P,
ref: t,
@@ -40128,55 +40128,55 @@ function $ue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": M || void 0,
"data-focus-visible": ee || void 0
- }, /*#__PURE__*/ D.createElement(UL, null, /*#__PURE__*/ D.createElement(g, {
+ }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: VL(y, _, C)
+ persistedKeys: JL(y, _, C)
})))), E);
}
-var ede = /*#__PURE__*/ (0, D.createContext)(null), ez = class extends Ry {
+var que = /*#__PURE__*/ (0, D.createContext)(null), sz = class extends Hy {
static {
this.type = "tableheader";
}
-}, tde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}, Jue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.thead, {
+ }) : /*#__PURE__*/ D.createElement(xI.thead, {
...e,
ref: t
});
-}), tz = /*#__PURE__*/ qx(ez, (e, t) => {
- let n = (0, D.useContext)(ZR).collection, r = Ky({
+}), cz = /*#__PURE__*/ Zx(sz, (e, t) => {
+ let n = (0, D.useContext)(iz).collection, r = Xy({
items: n.headerRows,
children: (0, D.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ D.createElement(rde, { item: e });
+ case "headerrow": return /*#__PURE__*/ D.createElement(Xue, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = RO(), { hoverProps: a, isHovered: o } = PT({
+ }), { rowGroupProps: i } = UO(), { hoverProps: a, isHovered: o } = BT({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = dI({
+ }), s = mI({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ D.createElement(tde, {
- ...K(ES(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ D.createElement(Jue, {
+ ...K(AS(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ D.createElement(Xx, {
+}, (e) => /*#__PURE__*/ D.createElement(eS, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), nde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
+}, e.children)), Yue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
return n ? /*#__PURE__*/ D.createElement("div", {
...e,
ref: t
@@ -40185,41 +40185,41 @@ var ede = /*#__PURE__*/ (0, D.createContext)(null), ez = class extends Ry {
ref: t
});
});
-function rde({ item: e }) {
- let t = (0, D.useRef)(null), n = (0, D.useContext)(ZR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(TI), { rowProps: a } = Bae({
+function Xue({ item: e }) {
+ let t = (0, D.useRef)(null), n = (0, D.useContext)(iz), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(OI), { rowProps: a } = Pae({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Kae(n);
- return /*#__PURE__*/ D.createElement(nde, {
+ }, n, t), { checkboxProps: o } = Vae(n);
+ return /*#__PURE__*/ D.createElement(Yue, {
...a,
ref: t
- }, /*#__PURE__*/ D.createElement(uI, { values: [[BI, { slots: { selection: o } }], [VI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [[UI, { slots: { selection: o } }], [WI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var ide = class extends Ry {
+var Zue = class extends Hy {
static {
this.type = "column";
}
-}, ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}, Que = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.th, {
+ }) : /*#__PURE__*/ D.createElement(xI.th, {
...e,
ref: t
});
-}), nz = /*#__PURE__*/ Kx(ide, (e, t, n) => {
- let r = Nx(t), i = (0, D.useContext)(ZR), { isVirtualized: a } = (0, D.useContext)(TI), { columnHeaderProps: o, isPressed: s } = Lae({
+}), lz = /*#__PURE__*/ Xx(Zue, (e, t, n) => {
+ let r = Lx(t), i = (0, D.useContext)(iz), { isVirtualized: a } = (0, D.useContext)(OI), { columnHeaderProps: o, isPressed: s } = jae({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = AT(), d = (0, D.useContext)(QR), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = IT(), d = (0, D.useContext)(az), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = PT({ isDisabled: !e.allowsSorting }), h = dI({
+ let { hoverProps: p, isHovered: m } = BT({ isDisabled: !e.allowsSorting }), h = mI({
...e,
id: void 0,
children: n.rendered,
@@ -40245,8 +40245,8 @@ var ide = class extends Ry {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = ES(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ D.createElement(ade, {
+ let _ = AS(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ D.createElement(Que, {
...K(_, o, u, p),
...h,
style: g,
@@ -40258,29 +40258,29 @@ var ide = class extends Ry {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [[rz, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [[uz, {
column: n,
triggerRef: r
- }], [TI, SI]] }, h.children));
-}), rz = /*#__PURE__*/ (0, D.createContext)(null), ode = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let n = (0, D.useContext)(QR);
+ }], [OI, TI]] }, h.children));
+}), uz = /*#__PURE__*/ (0, D.createContext)(null), $ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let n = (0, D.useContext)(az);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = wS(que(LL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(XR), { column: s, triggerRef: c } = (0, D.useContext)(rz), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = zae({
+ let r = OS(Bue(WL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(rz), { column: s, triggerRef: c } = (0, D.useContext)(uz), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Nae({
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 } = AT(), { hoverProps: _, isHovered: v } = PT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = vS(), S = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = IT(), { hoverProps: _, isHovered: v } = BT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = SS(), S = "both";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = Nx(t), [w, T] = (0, D.useState)("");
+ let C = Lx(t), [w, T] = (0, D.useState)("");
(0, D.useEffect)(() => {
if (!C.current) return;
let e = window.getComputedStyle(C.current);
T(e.cursor);
}, [C, S]);
- let E = dI({
+ let E = mI({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -40290,8 +40290,8 @@ var ide = class extends Ry {
isHovered: v,
resizableDirection: S
}
- }), O = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(vI.div, {
+ }), O = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(xI.div, {
ref: C,
role: "presentation",
...K(O, E, u, _),
@@ -40314,24 +40314,24 @@ var ide = class extends Ry {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), iz = class extends zy {
+}), dz = class extends Uy {
static {
this.type = "tablebody";
}
-}, sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}, ede = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.tbody, {
+ }) : /*#__PURE__*/ D.createElement(xI.tbody, {
...e,
ref: t
});
-}), az = /*#__PURE__*/ qx(iz, (e, t, n) => {
- let r = (0, D.useContext)(ZR), { isVirtualized: i } = (0, D.useContext)(TI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(TI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(RL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), fz = /*#__PURE__*/ Zx(dz, (e, t, n) => {
+ let r = (0, D.useContext)(iz), { isVirtualized: i } = (0, D.useContext)(OI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(OI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(GL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = dI({
+ }, p = mI({
...e,
id: void 0,
children: void 0,
@@ -40340,33 +40340,33 @@ var ide = class extends Ry {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(sz, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(mz, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ D.createElement(lz, {
+ }, /*#__PURE__*/ D.createElement(gz, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = RO(), _ = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(sde, {
+ let { rowGroupProps: g } = UO(), _ = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(ede, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ D.createElement(hde, null), /*#__PURE__*/ D.createElement(o, {
+ }, l && /*#__PURE__*/ D.createElement(cde, null), /*#__PURE__*/ D.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: BL(s, c)
+ renderDropIndicator: qL(s, c)
}), m);
});
-(class extends zy {
+(class extends Uy {
static {
this.type = "tablefooter";
}
});
-var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cde = class extends Ry {
+var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tde = class extends Hy {
static {
this.type = "item";
}
@@ -40378,31 +40378,31 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
}
return null;
}
-}, sz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}, mz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.tr, {
+ }) : /*#__PURE__*/ D.createElement(xI.tr, {
...e,
ref: t
});
-}), cz = /*#__PURE__*/ qx(cde, (e, t, n) => {
- let r = Nx(t), i = (0, D.useContext)(ZR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(RL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(TI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Uae({
+}), hz = /*#__PURE__*/ Zx(tde, (e, t, n) => {
+ let r = Lx(t), i = (0, D.useContext)(iz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(GL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(OI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Lae({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = AT(), { isFocusVisible: _, focusProps: v } = AT({ within: !0 }), { hoverProps: y, isHovered: b } = PT({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = IT(), { isFocusVisible: _, focusProps: v } = IT({ within: !0 }), { hoverProps: y, isHovered: b } = BT({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Gae({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Bae({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = dw();
+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = _w();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -40412,7 +40412,7 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
(0, D.useEffect)(() => {
o && E.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), ee = dI({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), ee = mI({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -40433,11 +40433,11 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
isExpanded: M,
level: n.level + 1
}
- }), N = ES(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(sz, {
+ }), N = AS(e, { global: !0 });
+ return delete N.id, delete N.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(mz, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ D.createElement(lz, {
+ }, /*#__PURE__*/ D.createElement(gz, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -40446,7 +40446,7 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ D.createElement(sz, {
+ }))), /*#__PURE__*/ D.createElement(mz, {
...K(N, ee, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -40462,17 +40462,17 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [BI, { slots: {
- [lI]: {},
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [UI, { slots: {
+ [fI]: {},
selection: x
} }],
- [VI, { slots: {
- [lI]: {},
+ [WI, { slots: {
+ [fI]: {},
selection: x
} }],
- [AI, { slots: {
- [lI]: {},
+ [NI, { slots: {
+ [fI]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -40480,8 +40480,8 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
style: { pointerEvents: "none" }
}
} }],
- [WL, { isSelected: p.isSelected }],
- [oz, { isFocusVisibleWithinRow: _ }]
+ [ZL, { isSelected: p.isSelected }],
+ [pz, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ D.createElement(l, {
collection: i.collection,
parent: n
@@ -40489,34 +40489,34 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
}, (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__*/ D.createElement(Xx, {
+ return /*#__PURE__*/ D.createElement(eS, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), lde = class extends Ry {
+}), nde = class extends Hy {
static {
this.type = "cell";
}
-}, lz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}, gz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.td, {
+ }) : /*#__PURE__*/ D.createElement(xI.td, {
...e,
ref: t
});
-}), uz = /*#__PURE__*/ Kx(lde, (e, t, n) => {
- let r = Nx(t), i = (0, D.useContext)(ZR), { dragState: a } = (0, D.useContext)(RL), { isVirtualized: o } = (0, D.useContext)(TI);
+}), _z = /*#__PURE__*/ Xx(nde, (e, t, n) => {
+ let r = Lx(t), i = (0, D.useContext)(iz), { dragState: a } = (0, D.useContext)(GL), { isVirtualized: o } = (0, D.useContext)(OI);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Fae({
+ let { gridCellProps: s, isPressed: c } = kae({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = AT(), { hoverProps: f, isHovered: p } = PT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(oz), 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 = dI({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = IT(), { hoverProps: f, isHovered: p } = BT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(pz), 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 = mI({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -40535,8 +40535,8 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = ES(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ D.createElement(lz, {
+ }), S = AS(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ D.createElement(gz, {
...K(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -40550,14 +40550,14 @@ var oz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), cd
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ D.createElement(TI.Provider, { value: SI }, x.children));
+ }, /*#__PURE__*/ D.createElement(OI.Provider, { value: TI }, x.children));
});
-function ude(e, t) {
- t = Nx(t);
- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(RL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function rde(e, t) {
+ t = Lx(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(GL), i = (0, D.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__*/ D.createElement(mde, {
+ return /*#__PURE__*/ D.createElement(sde, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -40566,40 +40566,40 @@ function ude(e, t) {
ref: t
});
}
-var dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+var ide = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.tr, {
+ }) : /*#__PURE__*/ D.createElement(xI.tr, {
...e,
ref: t
});
-}), fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, D.useContext)(TI);
- return n ? /*#__PURE__*/ D.createElement(vI.div, {
+}), ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(OI);
+ return n ? /*#__PURE__*/ D.createElement(xI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ D.createElement(vI.td, {
+ }) : /*#__PURE__*/ D.createElement(xI.td, {
...e,
ref: t
});
});
-function pde(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(ZR), { visuallyHiddenProps: c } = dw(), l = dI({
+function ode(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(iz), { visuallyHiddenProps: c } = _w(), l = mI({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ D.createElement(dde, {
- ...ES(e, { global: !0 }),
+ return /*#__PURE__*/ D.createElement(ide, {
+ ...AS(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ D.createElement(fde, {
+ }, /*#__PURE__*/ D.createElement(ade, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -40610,14 +40610,14 @@ function pde(e, t) {
ref: i
}), l.children));
}
-var mde = /*#__PURE__*/ (0, D.forwardRef)(pde);
-function hde() {
- let e = (0, D.useContext)(ZR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(RL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = dw();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(sz, {
+var sde = /*#__PURE__*/ (0, D.forwardRef)(ode);
+function cde() {
+ let e = (0, D.useContext)(iz), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(GL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = _w();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(mz, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ D.createElement(lz, {
+ }, /*#__PURE__*/ D.createElement(gz, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -40628,9 +40628,9 @@ function hde() {
ref: r
})));
}
-Kx(By, function(e, t, n) {
- let r = (0, D.useContext)(ZR), { isVirtualized: i } = (0, D.useContext)(TI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);
- rR((0, D.useMemo)(() => ({
+Xx(Wy, function(e, t, n) {
+ let r = (0, D.useContext)(iz), { isVirtualized: i } = (0, D.useContext)(OI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);
+ uR((0, D.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -40640,7 +40640,7 @@ Kx(By, function(e, t, n) {
s,
r?.collection
]), u);
- let d = dI({
+ let d = mI({
...c,
id: void 0,
children: n.rendered,
@@ -40648,10 +40648,10 @@ Kx(By, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(sz, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(mz, {
style: { height: 0 },
- inert: KL(!0)
- }, /*#__PURE__*/ D.createElement(lz, { style: {
+ inert: $L(!0)
+ }, /*#__PURE__*/ D.createElement(gz, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ D.createElement("div", {
@@ -40662,14 +40662,14 @@ Kx(By, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ D.createElement(sz, {
- ...K(ES(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ D.createElement(mz, {
+ ...K(AS(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ D.createElement(lz, {
+ }, /*#__PURE__*/ D.createElement(gz, {
role: "rowheader",
...p,
style: m
@@ -40677,8 +40677,8 @@ Kx(By, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function gde(e) {
- let [t, n] = tw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = tR({
+function lde(e) {
+ let [t, n] = iw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cR({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40701,24 +40701,24 @@ function gde(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function _de(e) {
- let t = gde({
+function ude(e) {
+ let t = lde({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? dz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? vz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);
return (0, D.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = dz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = vz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function dz(e, t) {
+function vz(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -40728,24 +40728,24 @@ function dz(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var fz = /*#__PURE__*/ (0, D.createContext)(null), pz = /*#__PURE__*/ (0, D.createContext)(null), vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, fz);
+var yz = /*#__PURE__*/ (0, D.createContext)(null), bz = /*#__PURE__*/ (0, D.createContext)(null), dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, yz);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, D.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ D.createElement(Ux, { content: n }, (n) => /*#__PURE__*/ D.createElement(yde, {
+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(qx, { content: n }, (n) => /*#__PURE__*/ D.createElement(fde, {
props: e,
collection: n,
tabsRef: t
}));
});
-function yde({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = _de({
+function fde({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = ude({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = AT({ within: !0 }), c = (0, D.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = IT({ within: !0 }), c = (0, D.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -40753,12 +40753,12 @@ function yde({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = dI({
+ ]), l = mI({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(vI.div, {
+ }), u = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(xI.div, {
...K(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -40766,20 +40766,20 @@ function yde({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [[fz, e], [pz, i]] }, l.children));
+ }, /*#__PURE__*/ D.createElement(pI, { values: [[yz, e], [bz, i]] }, l.children));
}
-var mz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- return (0, D.useContext)(pz) ? /*#__PURE__*/ D.createElement(bde, {
+var xz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ return (0, D.useContext)(bz) ? /*#__PURE__*/ D.createElement(pde, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ D.createElement(Xx, e);
+ }) : /*#__PURE__*/ D.createElement(eS, e);
});
-function bde({ props: e, forwardedRef: t }) {
- let n = (0, D.useContext)(pz), { CollectionRoot: r } = (0, D.useContext)(TI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = fI(fz), o = Nx(t), { tabListProps: s } = Yae({
+function pde({ props: e, forwardedRef: t }) {
+ let n = (0, D.useContext)(bz), { CollectionRoot: r } = (0, D.useContext)(OI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = hI(yz), o = Lx(t), { tabListProps: s } = Wae({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = dI({
+ }, n, o), c = mI({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -40787,30 +40787,30 @@ function bde({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = ES(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ D.createElement(vI.div, {
+ }), l = AS(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ D.createElement(xI.div, {
...K(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ D.createElement(UL, null, /*#__PURE__*/ D.createElement(r, {
+ }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(r, {
collection: n.collection,
- persistedKeys: EI(n.selectionManager.focusedKey)
+ persistedKeys: kI(n.selectionManager.focusedKey)
})));
}
-var xde = /*#__PURE__*/ Kx(class extends Ry {
+var mde = /*#__PURE__*/ Xx(class extends Hy {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, D.useContext)(pz), i = Nx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = qae({
+ let r = (0, D.useContext)(bz), i = Lx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Hae({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = AT(), { hoverProps: f, isHovered: p } = PT({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = IT(), { hoverProps: f, isHovered: p } = BT({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = dI({
+ }), m = mI({
...e,
id: void 0,
children: n.rendered,
@@ -40823,7 +40823,7 @@ var xde = /*#__PURE__*/ Kx(class extends Ry {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? vI.a : vI.div, g = ES(e, { global: !0 });
+ }), h = n.props.href ? xI.a : xI.div, g = AS(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {
...K(g, m, a, l, f),
ref: i,
@@ -40833,55 +40833,55 @@ var xde = /*#__PURE__*/ Kx(class extends Ry {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ D.createElement(WL.Provider, { value: { isSelected: o } }, m.children));
-}), Sde = /*#__PURE__*/ Rx(function(e, t) {
- let n = (0, D.useContext)(pz), r = Nx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ D.createElement(ZL.Provider, { value: { isSelected: o } }, m.children));
+}), hde = /*#__PURE__*/ Hx(function(e, t) {
+ let n = (0, D.useContext)(bz), r = Lx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = lR(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Cde, {
+ let s = gR(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(gde, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Cde(e) {
- let t = (0, D.useContext)(pz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Xae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = AT(), d = t.selectedKey === e.id, f = cR(r) && !i, p = dI({
+function gde(e) {
+ let t = (0, D.useContext)(bz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Gae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = IT(), d = t.selectedKey === e.id, f = hR(r) && !i, p = mI({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: KL(!d),
+ isInert: $L(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = ES(o, { global: !0 });
+ }), m = AS(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
- return /*#__PURE__*/ D.createElement(vI.div, {
+ return /*#__PURE__*/ D.createElement(xI.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: KL(!d || e.inert),
+ inert: $L(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [[fz, null], [pz, null]] }, /*#__PURE__*/ D.createElement(TI.Provider, { value: SI }, p.children)));
+ }, /*#__PURE__*/ D.createElement(pI, { values: [[yz, null], [bz, null]] }, /*#__PURE__*/ D.createElement(OI.Provider, { value: TI }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
+var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Tde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- [e, t] = pI(e, t, hz);
- let { hoverProps: n, isHovered: r } = PT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = AT({
+}, vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = gI(e, t, Sz);
+ let { hoverProps: n, isHovered: r } = BT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = IT({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = dI({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = mI({
...e,
values: {
isHovered: r,
@@ -40892,8 +40892,8 @@ var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ D.createElement(vI.textarea, {
- ...K(wde(e), o, n),
+ return /*#__PURE__*/ D.createElement(xI.textarea, {
+ ...K(_de(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -40902,18 +40902,18 @@ var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Ede = /*#__PURE__*/ (0, D.createContext)(null), Dde = /*#__PURE__*/ Rx(function(e, t) {
- [e, t] = pI(e, t, Ede);
- let { validationBehavior: n } = fI(zI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);
- [e, i] = pI(e, i, bI);
- let [a, o] = mI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = vie({
- ...hI(e),
+}), yde = /*#__PURE__*/ (0, D.createContext)(null), bde = /*#__PURE__*/ Hx(function(e, t) {
+ [e, t] = gI(e, t, yde);
+ let { validationBehavior: n } = hI(HI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);
+ [e, i] = gI(e, i, CI);
+ let [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = fie({
+ ...vI(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, D.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = dI({
+ }, [i]), h = mI({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -40922,8 +40922,8 @@ var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = ES(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ D.createElement(vI.div, {
+ }), g = AS(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ D.createElement(xI.div, {
...g,
...h,
ref: t,
@@ -40932,31 +40932,31 @@ var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [DI, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [AI, {
...l,
ref: a
}],
- [YI, {
+ [QI, {
...u,
ref: m
}],
- [hz, {
+ [Sz, {
...u,
ref: m
}],
- [qI, {
+ [XI, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [II, { slots: {
+ [zI, { slots: {
description: d,
errorMessage: f
} }],
- [RI, p]
+ [VI, p]
] }, h.children));
-}), Ode = class e extends Hy {
+}), xde = class e extends Ky {
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;
@@ -41028,16 +41028,16 @@ var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, kde = /*#__PURE__*/ (0, D.createContext)(null), gz = /*#__PURE__*/ (0, D.createContext)(null), Ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
- return [e, t] = pI(e, t, kde), /*#__PURE__*/ D.createElement(Ux, {
- content: /*#__PURE__*/ D.createElement(Xx, e),
- createCollection: () => new Ode()
- }, (n) => /*#__PURE__*/ D.createElement(jde, {
+}, Sde = /*#__PURE__*/ (0, D.createContext)(null), Cz = /*#__PURE__*/ (0, D.createContext)(null), Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ return [e, t] = gI(e, t, Sde), /*#__PURE__*/ D.createElement(qx, {
+ content: /*#__PURE__*/ D.createElement(eS, e),
+ createCollection: () => new xde()
+ }, (n) => /*#__PURE__*/ D.createElement(wde, {
props: e,
collection: n,
treeRef: t
}));
-}), _z = {
+}), wz = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41047,17 +41047,17 @@ var hz = /*#__PURE__*/ (0, D.createContext)({}), wde = (e) => {
rtl: "ArrowRight"
}
};
-function jde({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = vS(), a = CT({
+function wde({ props: e, collection: t, treeRef: n }) {
+ let { dragAndDropHooks: r } = e, { direction: i } = SS(), a = kT({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, D.useRef)(o), l = (0, D.useRef)(s);
(0, D.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, D.useContext)(TI), [y, b] = tw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));
- (!Rde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));
- let O = hR({
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(OI), [y, b] = iw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));
+ (!jde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));
+ let O = SR({
...e,
selectionMode: u,
expandedKeys: y,
@@ -41065,7 +41065,7 @@ function jde({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: k } = Zae({
+ }), { gridProps: k } = Kae({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -41079,7 +41079,7 @@ function jde({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
N = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: te }, r.renderDragPreview) : null;
}
- let [P] = (0, D.useState)(() => new UR());
+ let [P] = (0, D.useState)(() => new XR());
if (s && r) {
j = r.useDroppableCollectionState({
collection: O.collection,
@@ -41087,7 +41087,7 @@ function jde({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });
P.setup(e, O, i);
- let t = new Tw({
+ let t = new jw({
collection: O.collection,
collator: a,
ref: n,
@@ -41109,12 +41109,12 @@ function jde({ props: e, collection: t, treeRef: n }) {
let t = j?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = O.collection.getItem(t.key);
- (e.key === _z.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === _z.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
+ (e.key === wz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === wz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
}
}
}, j, n), ee = j.isDropTarget({ type: "root" });
}
- let ne = !(!o || A?.isDisabled), { focusProps: F, isFocused: re, isFocusVisible: ie } = AT(), ae = {
+ let ne = !(!o || A?.isDisabled), { focusProps: F, isFocused: re, isFocusVisible: ie } = IT(), ae = {
isEmpty: O.collection.size === 0,
isFocused: re,
isFocusVisible: ie,
@@ -41122,7 +41122,7 @@ function jde({ props: e, collection: t, treeRef: n }) {
selectionMode: O.selectionManager.selectionMode,
allowsDragging: !!ne,
state: O
- }, oe = dI({
+ }, oe = mI({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -41139,8 +41139,8 @@ function jde({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let ce = ES(e, { global: !0 });
- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(vI.div, {
+ let ce = AS(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(eC, null, /*#__PURE__*/ D.createElement(xI.div, {
...K(ce, oe, k, F, M?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -41150,54 +41150,54 @@ function jde({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": ie || void 0,
"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,
"data-allows-dragging": !!ne || void 0
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [gz, O],
- [RL, {
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [Cz, O],
+ [GL, {
dragAndDropHooks: r,
dragState: A,
dropState: j
}],
- [zL, { render: Pde }]
- ] }, s && /*#__PURE__*/ D.createElement(Lde, null), /*#__PURE__*/ D.createElement(UL, null, /*#__PURE__*/ D.createElement(h, {
+ [KL, { render: Dde }]
+ ] }, s && /*#__PURE__*/ D.createElement(Ade, null), /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(h, {
collection: O.collection,
- persistedKeys: VL(O.selectionManager, r, j),
+ persistedKeys: JL(O.selectionManager, r, j),
scrollRef: n,
- renderDropIndicator: BL(r, j)
+ renderDropIndicator: qL(r, j)
}))), se)), N);
}
-var Mde = /*#__PURE__*/ Kx(class extends Ry {
+var Tde = /*#__PURE__*/ Xx(class extends Hy {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, D.useContext)(vz), n = dI({
+ let t = (0, D.useContext)(Tz), n = mI({
children: e.children,
values: t
});
- return /*#__PURE__*/ D.createElement(TI.Provider, { value: SI }, n.children);
-}), vz = /*#__PURE__*/ (0, D.createContext)(null), Nde = /*#__PURE__*/ qx(class extends Ry {
+ return /*#__PURE__*/ D.createElement(OI.Provider, { value: TI }, n.children);
+}), Tz = /*#__PURE__*/ (0, D.createContext)(null), Ede = /*#__PURE__*/ Zx(class extends Hy {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, D.useContext)(gz);
- t = Nx(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(RL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Sk({
+ let r = (0, D.useContext)(Cz);
+ t = Lx(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(GL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Dk({
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: _ } = PT({
+ }, 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: _ } = BT({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = AT(), { isFocusVisible: b, focusProps: x } = AT({ within: !0 }), { checkboxProps: S } = qie({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = IT(), { isFocusVisible: b, focusProps: x } = IT({ within: !0 }), { checkboxProps: S } = Vie({ key: n.key }, r), C = null;
a && i && (C = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = dw();
+ let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = _w();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -41236,7 +41236,7 @@ var Mde = /*#__PURE__*/ Kx(class extends Ry {
j,
ee,
M
- ]), te = dI({
+ ]), te = mI({
...e,
id: void 0,
children: n.rendered,
@@ -41253,7 +41253,7 @@ var Mde = /*#__PURE__*/ Kx(class extends Ry {
(0, D.useEffect)(() => {
a && P.current;
}, []);
- let ne = Ky({
+ let ne = Xy({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -41263,7 +41263,7 @@ var Mde = /*#__PURE__*/ Kx(class extends Ry {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), F = Sx(), re = ES(e, { global: !0 });
+ }), F = Ex(), re = AS(e, { global: !0 });
return delete re.id, delete re.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -41286,7 +41286,7 @@ var Mde = /*#__PURE__*/ Kx(class extends Ry {
"aria-labelledby": `${F} ${c.id}`,
tabIndex: -1,
ref: O
- }))), /*#__PURE__*/ D.createElement(vI.div, {
+ }))), /*#__PURE__*/ D.createElement(xI.div, {
...K(re, c, y, g, x, C?.dragProps),
...te,
ref: t,
@@ -41306,17 +41306,17 @@ var Mde = /*#__PURE__*/ Kx(class extends Ry {
}, /*#__PURE__*/ D.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ D.createElement(uI, { values: [
- [BI, { slots: {
- [lI]: {},
+ }, /*#__PURE__*/ D.createElement(pI, { values: [
+ [UI, { slots: {
+ [fI]: {},
selection: S
} }],
- [VI, { slots: {
- [lI]: {},
+ [WI, { slots: {
+ [fI]: {},
selection: S
} }],
- [AI, { slots: {
- [lI]: {},
+ [NI, { slots: {
+ [fI]: {},
chevron: {
...u,
ref: T
@@ -41327,13 +41327,13 @@ var Mde = /*#__PURE__*/ Kx(class extends Ry {
style: { pointerEvents: "none" }
}
} }],
- [vz, { ...N }],
- [WL, { isSelected: f.isSelected }]
+ [Tz, { ...N }],
+ [ZL, { isSelected: f.isSelected }]
] }, ne))));
});
-Kx(By, function(e, t, n) {
- let { isVirtualized: r } = (0, D.useContext)(TI), i = (0, D.useContext)(gz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);
- rR((0, D.useMemo)(() => ({
+Xx(Wy, function(e, t, n) {
+ let { isVirtualized: r } = (0, D.useContext)(OI), i = (0, D.useContext)(Cz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);
+ uR((0, D.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -41342,11 +41342,11 @@ Kx(By, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = Nx(t);
- let { rowProps: u, gridCellProps: d } = Sk({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = Lx(t);
+ let { rowProps: u, gridCellProps: d } = Dk({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = dI({
+ }, m = mI({
...c,
id: void 0,
children: n.rendered,
@@ -41359,7 +41359,7 @@ Kx(By, function(e, t, n) {
width: 0,
height: 0
},
- inert: KL(!0)
+ inert: $L(!0)
}, /*#__PURE__*/ D.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -41368,9 +41368,9 @@ Kx(By, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ D.createElement(vI.div, {
+ })), a && m.children && /*#__PURE__*/ D.createElement(xI.div, {
ref: t,
- ...K(ES(e), p),
+ ...K(AS(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ D.createElement("div", {
@@ -41378,12 +41378,12 @@ Kx(By, function(e, t, n) {
style: h
}, m.children)));
});
-function Pde(e, t) {
- t = Nx(t);
- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(RL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function Dde(e, t) {
+ t = Lx(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(GL), i = (0, D.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__*/ D.createElement(Ide, {
+ return /*#__PURE__*/ D.createElement(kde, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -41392,8 +41392,8 @@ function Pde(e, t) {
level: c
});
}
-function Fde(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = dw(), c = dI({
+function Ode(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = _w(), c = mI({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -41402,7 +41402,7 @@ function Fde(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ D.createElement(vI.div, {
+ return /*#__PURE__*/ D.createElement(xI.div, {
...c,
role: "row",
"aria-level": a,
@@ -41415,9 +41415,9 @@ function Fde(e, t) {
ref: i
}), c.children));
}
-var Ide = /*#__PURE__*/ (0, D.forwardRef)(Fde);
-function Lde() {
- let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(RL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = dw();
+var kde = /*#__PURE__*/ (0, D.forwardRef)(Ode);
+function Ade() {
+ let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(GL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = _w();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ D.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -41429,14 +41429,14 @@ function Lde() {
ref: n
})));
}
-function Rde(e, t) {
+function jde(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41444,7 +41444,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Nde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41452,7 +41452,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41460,7 +41460,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41468,7 +41468,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41476,7 +41476,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Vde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Pde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41484,7 +41484,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Hde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Fde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41492,7 +41492,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Ude = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Ide = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41500,7 +41500,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Wde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Lde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41508,7 +41508,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Gde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Rde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41516,7 +41516,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Kde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41524,7 +41524,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41532,7 +41532,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Jde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Vde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41540,7 +41540,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Hde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41548,7 +41548,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Ude = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41556,7 +41556,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), kz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41564,7 +41564,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Wde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41572,7 +41572,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Gde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41580,7 +41580,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Kde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41588,7 +41588,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41596,7 +41596,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Jde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41604,7 +41604,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Az = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41612,7 +41612,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41620,7 +41620,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41628,7 +41628,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41636,7 +41636,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41644,7 +41644,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41652,7 +41652,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41660,7 +41660,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), jz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41668,7 +41668,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41676,7 +41676,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41684,7 +41684,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Nz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41692,7 +41692,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41700,7 +41700,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41708,7 +41708,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41716,7 +41716,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41724,7 +41724,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41732,7 +41732,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41740,7 +41740,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41748,7 +41748,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41756,7 +41756,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41764,7 +41764,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), kz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Iz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41772,7 +41772,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Az = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41780,7 +41780,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), jz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Rz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41788,7 +41788,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), zz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41796,7 +41796,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41804,7 +41804,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Nz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41812,7 +41812,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41820,7 +41820,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41828,7 +41828,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41836,7 +41836,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41844,7 +41844,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41852,7 +41852,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41860,7 +41860,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41868,7 +41868,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), Hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41876,7 +41876,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41884,7 +41884,7 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
fill: e,
...r,
className: "remixicon " + (n || "")
-}, D.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" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
+}, D.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" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41895,11 +41895,11 @@ var zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D
}, D.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" }));
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Iz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, O.jsxs)(OI, {
+function Uz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsxs)(jI, {
"data-label": "true",
...a,
- className: oF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: dF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, O.jsx)("span", {
@@ -41907,7 +41907,7 @@ function Iz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, O.jsx)(dfe, {
+ n && /* @__PURE__ */ (0, O.jsx)(ife, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -41916,33 +41916,33 @@ function Iz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Lz({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, O.jsx)(LI, {
+function Wz({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, O.jsx)(BI, {
slot: e ? "errorMessage" : "description",
...n,
- className: oF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: dF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var Rz = (0, D.createContext)({});
-function zz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, O.jsx)(Rz.Provider, {
+var Gz = (0, D.createContext)({});
+function Kz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsx)(Gz.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, O.jsx)(Dde, {
+ children: /* @__PURE__ */ (0, O.jsx)(bde, {
...a,
"data-input-size": e,
- className: oF("group flex h-max w-full flex-col items-start gap-1", r),
+ className: dF("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-zz.displayName = "TextField";
-var Bz = sF({
+Kz.displayName = "TextField";
+var qz = fF({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -41971,44 +41971,44 @@ var Bz = sF({
].join(" "),
icon: "size-5 shrink-0"
});
-function Vz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, D.useContext)(Rz), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, O.jsx)(JI, {
+function Jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, D.useContext)(Gz), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, O.jsx)(ZI, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => oF(Bz.field, d ? Bz.fieldWithAddonSize[u] : Bz.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 }) => dF(qz.field, d ? qz.fieldWithAddonSize[u] : qz.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, O.jsxs)("div", {
- className: Bz.content,
+ className: qz.content,
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
- className: Bz.leftSection,
+ className: qz.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {
- className: Bz.icon,
+ className: qz.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, O.jsx)(ZI, {
+ }) : null, /* @__PURE__ */ (0, O.jsx)(eL, {
ref: o,
...c,
- className: oF(Bz.input, l.inputClassName, a)
+ className: dF(qz.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, O.jsx)(n, {
- className: Bz.icon,
+ className: qz.icon,
"aria-hidden": !0
}) : null]
})
});
}
-Vz.displayName = "InputBase";
-function Hz({ 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, O.jsx)(zz, {
+Jz.displayName = "InputBase";
+function Yz({ 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, O.jsx)(Kz, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- e && /* @__PURE__ */ (0, O.jsx)(Iz, {
+ e && /* @__PURE__ */ (0, O.jsx)(Uz, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, O.jsx)(Vz, {
+ /* @__PURE__ */ (0, O.jsx)(Jz, {
ref: c,
groupRef: l,
placeholder: r,
@@ -42017,25 +42017,25 @@ function Hz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, O.jsx)(Lz, {
+ t && /* @__PURE__ */ (0, O.jsx)(Wz, {
isInvalid: d,
children: t
})
] })
});
}
-Hz.displayName = "Input";
+Yz.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
-var Tfe = {
+var vfe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function Uz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = lx();
- return /* @__PURE__ */ (0, O.jsx)(AR, {
+function Xz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = px();
+ return /* @__PURE__ */ (0, O.jsx)(LR, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -42043,11 +42043,11 @@ function Uz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"data-modal-kind": n,
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, O.jsx)(hue, {
+ children: /* @__PURE__ */ (0, O.jsx)(cue, {
"data-modal-surface": "",
"data-modal-width": n,
- className: `flex max-h-full w-full ${Tfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, O.jsx)(ER, {
+ className: `flex max-h-full w-full ${vfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, O.jsx)(NR, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -42055,7 +42055,7 @@ function Uz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function Wz({ children: e }) {
+function Zz({ children: e }) {
return /* @__PURE__ */ (0, O.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",
@@ -42064,12 +42064,12 @@ function Wz({ children: e }) {
}
//#endregion
//#region src/react/components/note.tsx
-function Gz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
+function Qz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-note-layout": "",
- className: oF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
+ className: dF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
- className: oF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
+ className: dF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-medium wrap-anywhere",
children: t
@@ -42086,38 +42086,38 @@ function Gz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
switch (e) {
case "info": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "status",
- className: oF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
+ className: dF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
children: s
});
case "success": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "status",
- className: oF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
+ className: dF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
children: s
});
case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "note",
- className: oF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
+ className: dF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
children: s
});
case "error": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "alert",
- className: oF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
+ className: dF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
children: s
});
default: return /* @__PURE__ */ (0, O.jsx)("div", {
role: "note",
- className: oF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
+ className: dF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
children: s
});
}
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Efe = {
+var yfe = {
standard: "min-h-80 px-6 py-12",
compact: "min-h-60 px-4 py-6"
};
-function Dfe({ target: e, children: t }) {
+function bfe({ target: e, children: t }) {
return /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
variant: "secondary",
@@ -42125,11 +42125,11 @@ function Dfe({ target: e, children: t }) {
children: t
});
}
-function Kz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
+function $z({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-empty-state": "",
"data-empty-size": i,
- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Efe[i]}`,
+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${yfe[i]}`,
children: [
/* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
@@ -42156,9 +42156,9 @@ function Kz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var qz = /* @__PURE__ */ new Map();
-function Jz(e) {
- let t = qz.get(e);
+var eB = /* @__PURE__ */ new Map();
+function tB(e) {
+ let t = eB.get(e);
if (t) return t;
let { wide: n, viewBox: r } = Kt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {
"aria-hidden": !0,
@@ -42174,11 +42174,11 @@ function Jz(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
- return i.displayName = `SpriteGlyph(${e})`, qz.set(e, i), i;
+ return i.displayName = `SpriteGlyph(${e})`, eB.set(e, i), i;
}
//#endregion
//#region src/react/components/settings-dialog-close.tsx
-function Yz({ label: e, id: t, onPress: n }) {
+function nB({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
id: t,
@@ -42194,7 +42194,7 @@ function Yz({ label: e, id: t, onPress: n }) {
}
//#endregion
//#region src/react/settings/busy-props.ts
-function Xz(e) {
+function rB(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
@@ -42202,54 +42202,54 @@ function Xz(e) {
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var Zz = ["library-shortcuts"], Qz = "/api/library-shortcuts";
-function $z(e = !0) {
+var iB = ["library-shortcuts"], aB = "/api/library-shortcuts";
+function oB(e = !0) {
return Ct({
- queryKey: Zz,
- queryFn: ({ signal: e }) => B(Qz, e),
+ queryKey: iB,
+ queryFn: ({ signal: e }) => B(aB, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function eB() {
+function sB() {
return wt({
- mutationKey: Zz,
- mutationFn: (e) => V(Qz, e),
+ mutationKey: iB,
+ mutationFn: (e) => V(aB, e),
onSuccess: (e, t) => {
- H.setQueryData(Zz, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));
+ H.setQueryData(iB, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));
}
});
}
-function tB(e, t) {
+function cB(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 Ofe(e) {
+function xfe(e) {
return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : tn(e.kind, e.name, e.entity_id);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var nB = Jz("star"), kfe = Jz("bookmark-plus"), rB = Jz("chevron-right"), iB = {
+var lB = tB("star"), Sfe = tB("bookmark-plus"), uB = tB("chevron-right"), dB = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, aB = {
- all: Jz("star"),
- performer: Jz("user-round"),
- creator: Jz("user-round"),
- studio: Jz("clapperboard"),
- series: Jz("film"),
- agency: Jz("briefcase"),
- tag: Jz("tags"),
- filters: Jz("list-filter")
-}, oB = [
+}, fB = {
+ all: tB("star"),
+ performer: tB("user-round"),
+ creator: tB("user-round"),
+ studio: tB("clapperboard"),
+ series: tB("film"),
+ agency: tB("briefcase"),
+ tag: tB("tags"),
+ filters: tB("list-filter")
+}, pB = [
["all", "全部"],
- ...Object.entries(iB),
+ ...Object.entries(dB),
["filters", "保存的筛选"]
];
-function sB({ label: e, children: t, ...n }) {
+function mB({ label: e, children: t, ...n }) {
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
...n,
@@ -42259,19 +42259,19 @@ function sB({ label: e, children: t, ...n }) {
children: t
});
}
-function cB({ item: e }) {
- return /* @__PURE__ */ (0, O.jsx)(Afe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
+function hB({ item: e }) {
+ return /* @__PURE__ */ (0, O.jsx)(Cfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
-function Afe({ item: e }) {
- let t = $z(!1), n = (0, D.useRef)(t.data), r = eB(), i = t.data && t.data !== n.current ? tB(t.data.favorites || [], e) : e.favorite ?? (t.data ? tB(t.data.favorites || [], e) : !1);
+function Cfe({ item: e }) {
+ let t = oB(!1), n = (0, D.useRef)(t.data), r = sB(), i = t.data && t.data !== n.current ? cB(t.data.favorites || [], e) : e.favorite ?? (t.data ? cB(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
- /* @__PURE__ */ (0, O.jsx)(sB, {
+ /* @__PURE__ */ (0, O.jsx)(mB, {
"data-favorite": "",
"aria-pressed": !!i,
label: `${i ? "取消收藏" : "收藏"}${e.name}`,
- ...Xz(r.isPending),
+ ...rB(r.isPending),
onClick: () => {
r.isPending || r.mutate({
action: "favorite",
@@ -42282,9 +42282,9 @@ function Afe({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: ns("") }
- }) : /* @__PURE__ */ (0, O.jsx)(nB, {})
+ }) : /* @__PURE__ */ (0, O.jsx)(lB, {})
}),
- r.isError ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: jn(r.error)
}) : null,
@@ -42298,37 +42298,37 @@ function Afe({ item: e }) {
]
});
}
-function lB({ currentHref: e, kind: t }) {
+function gB({ currentHref: e, kind: t }) {
let [n, r] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, O.jsx)(ZF, {
+ children: /* @__PURE__ */ (0, O.jsx)(eI, {
"data-shortcuts-trigger": "",
label: "我的收藏",
- icon: nB,
+ icon: lB,
"aria-haspopup": "dialog",
"aria-expanded": n,
onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, O.jsx)(Uz, {
+ }), /* @__PURE__ */ (0, O.jsx)(Xz, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, O.jsx)(jfe, {
+ children: n ? /* @__PURE__ */ (0, O.jsx)(wfe, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function jfe({ currentHref: e, kind: t, close: n }) {
- let r = $z(), i = eB(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);
+function wfe({ currentHref: e, kind: t, close: n }) {
+ let r = oB(), i = sB(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, D.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = oI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = lI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, D.useLayoutEffect)(() => {
b.current && (x.current = $a(b.current) || null);
}, []), (0, D.useLayoutEffect)(() => {
@@ -42341,7 +42341,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, D.useLayoutEffect)(() => {
x.current?.();
});
- let C = oB.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
+ let C = pB.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;
@@ -42364,7 +42364,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, O.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: C
- }), /* @__PURE__ */ (0, O.jsx)(Yz, {
+ }), /* @__PURE__ */ (0, O.jsx)(nB, {
label: "关闭我的收藏",
onPress: n
})]
@@ -42394,8 +42394,8 @@ function jfe({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- oB.map(([e, t]) => {
- let n = aB[e] || nB, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ pB.map(([e, t]) => {
+ let n = fB[e] || lB, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
role: "tab",
@@ -42427,17 +42427,17 @@ function jfe({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, O.jsx)(nB, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, O.jsx)(lB, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, O.jsx)(rB, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, O.jsx)(uB, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, O.jsxs)("a", {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, O.jsx)(kfe, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, O.jsx)(Sfe, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, O.jsx)(rB, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, O.jsx)(uB, { "aria-hidden": !0 })
]
})]
})]
@@ -42456,7 +42456,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
"data-skeleton": "",
className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"
}) : null,
- r.isError ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -42465,16 +42465,16 @@ function jfe({ currentHref: e, kind: t, close: n }) {
}),
children: jn(r.error)
}) : null,
- i.isError ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ i.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: jn(i.error)
}) : null,
E ? s === "filters" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Kz, {
+ E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)($z, {
size: "compact",
- icon: Jz("list-filter"),
+ icon: tB("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, O.jsx)(cI, {
+ actions: /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/",
onClick: n,
@@ -42493,7 +42493,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
variant: "secondary",
size: "small",
"aria-label": `删除筛选${e.name}`,
- ...Xz(i.isPending),
+ ...rB(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "delete_filter",
@@ -42508,7 +42508,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "筛选名称",
value: a,
onChange: o,
@@ -42517,7 +42517,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
/* @__PURE__ */ (0, O.jsx)(q, {
type: "submit",
disabled: !a.trim(),
- ...Xz(i.isPending),
+ ...rB(i.isPending),
children: "保存当前筛选"
}),
d ? /* @__PURE__ */ (0, O.jsx)("span", {
@@ -42528,16 +42528,16 @@ function jfe({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: Jz("search"),
+ leadingIcon: tB("search"),
value: l,
onChange: u
}),
- k.length ? null : /* @__PURE__ */ (0, O.jsx)(Kz, {
+ k.length ? null : /* @__PURE__ */ (0, O.jsx)($z, {
size: "compact",
- icon: nB,
+ icon: lB,
title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",
actions: l ? /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
@@ -42547,7 +42547,7 @@ function jfe({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, O.jsx)(cI, {
+ }) : /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/",
onClick: n,
@@ -42561,25 +42561,25 @@ function jfe({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, O.jsxs)("a", {
- href: Ofe(e),
+ href: xfe(e),
"aria-label": e.name,
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, O.jsx)(Mfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(Tfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "truncate",
children: e.name
}), /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: e.scope === "online" ? "在线标签" : iB[e.kind]
+ children: e.scope === "online" ? "在线标签" : dB[e.kind]
})]
})]
}), /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
"aria-label": `取消收藏${e.name}`,
- ...Xz(i.isPending),
+ ...rB(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "favorite",
@@ -42597,8 +42597,8 @@ function jfe({ currentHref: e, kind: t, close: n }) {
]
});
}
-function Mfe({ item: e }) {
- let t = aB[e.kind] || nB;
+function Tfe({ item: e }) {
+ let t = fB[e.kind] || lB;
return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -42617,20 +42617,20 @@ function Mfe({ item: e }) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var Nfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, uB = /^[\\/]{2}/;
-function Pfe(e, t) {
+var Efe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, _B = /^[\\/]{2}/;
+function Dfe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-var dB = "popstate";
-function fB(e) {
+var vB = "popstate";
+function yB(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function Ffe(e = {}) {
+function Ofe(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
- return gB("", {
+ return CB("", {
pathname: r,
search: i,
hash: a
@@ -42641,14 +42641,14 @@ function Ffe(e = {}) {
} : void 0);
}
function n(e, t) {
- return typeof t == "string" ? t : _B(t);
+ return typeof t == "string" ? t : wB(t);
}
- return Lfe(t, n, null, e);
+ return Afe(t, n, null, e);
}
-function pB(e, t) {
+function bB(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function mB(e, t) {
+function xB(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -42656,10 +42656,10 @@ function mB(e, t) {
} catch {}
}
}
-function Ife() {
+function kfe() {
return Math.random().toString(36).substring(2, 10);
}
-function hB(e, t) {
+function SB(e, t) {
return {
usr: e.state,
key: e.key,
@@ -42671,21 +42671,21 @@ function hB(e, t) {
} : void 0
};
}
-function gB(e, t, n = null, r, i) {
+function CB(e, t, n = null, r, i) {
return {
pathname: typeof e == "string" ? e : e.pathname,
search: "",
hash: "",
- ...typeof t == "string" ? vB(t) : t,
+ ...typeof t == "string" ? TB(t) : t,
state: n,
- key: t && t.key || r || Ife(),
+ key: t && t.key || r || kfe(),
mask: i
};
}
-function _B({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function wB({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
-function vB(e) {
+function TB(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -42695,7 +42695,7 @@ function vB(e) {
}
return t;
}
-function Lfe(e, t, n, r = {}) {
+function Afe(e, t, n, r = {}) {
let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();
l ?? (l = 0, o.replaceState({
...o.state,
@@ -42715,9 +42715,9 @@ function Lfe(e, t, n, r = {}) {
}
function f(e, t) {
s = "PUSH";
- let r = fB(e) ? e : gB(h.location, e, t);
+ let r = yB(e) ? e : CB(h.location, e, t);
n && n(r, e), l = u() + 1;
- let d = hB(r, l), f = h.createHref(r.mask || r);
+ let d = SB(r, l), f = h.createHref(r.mask || r);
try {
o.pushState(d, "", f);
} catch (e) {
@@ -42732,9 +42732,9 @@ function Lfe(e, t, n, r = {}) {
}
function p(e, t) {
s = "REPLACE";
- let r = fB(e) ? e : gB(h.location, e, t);
+ let r = yB(e) ? e : CB(h.location, e, t);
n && n(r, e), l = u();
- let i = hB(r, l), d = h.createHref(r.mask || r);
+ let i = SB(r, l), d = h.createHref(r.mask || r);
o.replaceState(i, "", d), a && c && c({
action: s,
location: h.location,
@@ -42742,7 +42742,7 @@ function Lfe(e, t, n, r = {}) {
});
}
function m(e) {
- return Rfe(i, e);
+ return jfe(i, e);
}
let h = {
get action() {
@@ -42753,8 +42753,8 @@ function Lfe(e, t, n, r = {}) {
},
listen(e) {
if (c) throw Error("A history only accepts one active listener");
- return i.addEventListener(dB, d), c = e, () => {
- i.removeEventListener(dB, d), c = null;
+ return i.addEventListener(vB, d), c = e, () => {
+ i.removeEventListener(vB, d), c = null;
};
},
createHref(e) {
@@ -42777,29 +42777,29 @@ function Lfe(e, t, n, r = {}) {
};
return h;
}
-function Rfe(e, t, n = !1) {
+function jfe(e, t, n = !1) {
let r = "http://localhost";
- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), pB(r, "No window.location.(origin|href) available to create URL");
- let i = typeof t == "string" ? t : _B(t);
- return i = i.replace(/ $/, "%20"), !n && uB.test(i) && (i = r + i), new URL(i, r);
+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), bB(r, "No window.location.(origin|href) available to create URL");
+ let i = typeof t == "string" ? t : wB(t);
+ return i = i.replace(/ $/, "%20"), !n && _B.test(i) && (i = r + i), new URL(i, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function zfe(e, t, n = "/") {
- return Bfe(e, t, n, !1);
+function Mfe(e, t, n = "/") {
+ return Nfe(e, t, n, !1);
}
-function Bfe(e, t, n, r, i) {
- let a = TB((typeof t == "string" ? vB(t) : t).pathname || "/", n);
+function Nfe(e, t, n, r, i) {
+ let a = MB((typeof t == "string" ? TB(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? Vfe(e), s = null, c = epe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = $fe(o[e], c, r);
+ let o = i ?? Pfe(e), s = null, c = qfe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = Kfe(o[e], c, r);
return s;
}
-function Vfe(e) {
- let t = yB(e);
- return Hfe(t), t;
+function Pfe(e) {
+ let t = EB(e);
+ return Ffe(t), t;
}
-function yB(e, t = [], n = [], r = "", i = !1) {
+function EB(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -42809,14 +42809,14 @@ function yB(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- pB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
+ bB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
}
- let l = kB([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (pB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), yB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
+ let l = IB([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (bB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), EB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: Zfe(l, e.index),
+ score: Wfe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = wB(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = jB(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -42827,68 +42827,68 @@ function yB(e, t = [], n = [], r = "", i = !1) {
};
return e.forEach((e, t) => {
if (e.path === "" || !e.path?.includes("?")) a(e, t);
- else for (let n of bB(e.path)) a(e, t, !0, n);
+ else for (let n of DB(e.path)) a(e, t, !0, n);
}), t;
}
-function bB(e) {
+function DB(e) {
let t = e.split("/");
if (t.length === 0) return [];
let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
if (r.length === 0) return i ? [a, ""] : [a];
- let o = bB(r.join("/")), s = [];
+ let o = DB(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function Hfe(e) {
- e.sort((e, t) => e.score === t.score ? Qfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function Ffe(e) {
+ e.sort((e, t) => e.score === t.score ? Gfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var Ufe = /^:[\w-]+$/, Wfe = /^:[\w-]+/, Gfe = 3.5, Kfe = 3, qfe = 2, Jfe = 1, Yfe = 10, Xfe = -2, xB = (e) => e === "*";
-function Zfe(e, t) {
+var Ife = /^:[\w-]+$/, Lfe = /^:[\w-]+/, Rfe = 3.5, zfe = 3, Bfe = 2, Vfe = 1, Hfe = 10, Ufe = -2, OB = (e) => e === "*";
+function Wfe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(xB) && (r += Xfe), t && (r += qfe), n.filter((e) => !xB(e)).reduce((e, t) => e + (Ufe.test(t) ? Kfe : Wfe.test(t) ? Gfe : t === "" ? Jfe : Yfe), r);
+ return n.some(OB) && (r += Ufe), t && (r += Bfe), n.filter((e) => !OB(e)).reduce((e, t) => e + (Ife.test(t) ? zfe : Lfe.test(t) ? Rfe : t === "" ? Vfe : Hfe), r);
}
-function Qfe(e, t) {
+function Gfe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function $fe(e, t, n = !1) {
+function Kfe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? CB(u, l, s.matcher, s.compiledParams) : SB(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = SB({
+ }, d = s.matcher && s.compiledParams ? AB(u, l, s.matcher, s.compiledParams) : kB(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = kB({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: kB([a, d.pathname]),
- pathnameBase: ape(kB([a, d.pathnameBase])),
+ pathname: IB([a, d.pathname]),
+ pathnameBase: Qfe(IB([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = kB([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = IB([a, d.pathnameBase]));
}
return o;
}
-function SB(e, t) {
+function kB(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = wB(e.path, e.caseSensitive, e.end);
- return CB(e, t, n, r);
+ let [n, r] = jB(e.path, e.caseSensitive, e.end);
+ return AB(e, t, n, r);
}
-function CB(e, t, n, r) {
+function AB(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = AB(a, 1), s = i.slice(1);
+ let a = i[0], o = LB(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = AB(a.slice(0, a.length - e.length), 1);
+ o = LB(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -42898,8 +42898,8 @@ function CB(e, t, n, r) {
pattern: e
};
}
-function wB(e, t = !1, n = !0) {
- mB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
+function jB(e, t = !1, n = !0) {
+ xB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
if (r.push({
paramName: t,
@@ -42912,46 +42912,46 @@ function wB(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function epe(e) {
+function qfe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return mB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
+ return xB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
}
}
-function TB(e, t) {
+function MB(e, t) {
if (t === "/") return e;
if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function tpe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? vB(e) : e, a;
- return n ? (n = OB(n), a = n.startsWith("/") || n.startsWith("\\") ? EB(n.substring(1), "/") : EB(n, t)) : a = t, {
+function Jfe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? TB(e) : e, a;
+ return n ? (n = FB(n), a = n.startsWith("/") || n.startsWith("\\") ? NB(n.substring(1), "/") : NB(n, t)) : a = t, {
pathname: a,
- search: ope(r),
- hash: spe(i)
+ search: $fe(r),
+ hash: epe(i)
};
}
-function EB(e, t) {
- let n = AB(t).split("/");
+function NB(e, t) {
+ let n = LB(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function DB(e, t, n, r) {
+function PB(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function npe(e) {
+function Yfe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function rpe(e) {
- let t = npe(e);
+function Xfe(e) {
+ let t = Yfe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function ipe(e, t, n, r = !1) {
+function Zfe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = vB(e) : (i = { ...e }, pB(!i.pathname || !i.pathname.includes("?"), DB("?", "pathname", "search", i)), pB(!i.pathname || !i.pathname.includes("#"), DB("#", "pathname", "hash", i)), pB(!i.search || !i.search.includes("#"), DB("#", "search", "hash", i)));
+ typeof e == "string" ? i = TB(e) : (i = { ...e }, bB(!i.pathname || !i.pathname.includes("?"), PB("?", "pathname", "search", i)), bB(!i.pathname || !i.pathname.includes("#"), PB("#", "pathname", "hash", i)), bB(!i.search || !i.search.includes("#"), PB("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -42963,16 +42963,16 @@ function ipe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = tpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = Jfe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var OB = (e) => e.replace(/[\\/]{2,}/g, "/"), kB = (e) => OB(e.join("/"));
-function AB(e, t = 0) {
+var FB = (e) => e.replace(/[\\/]{2,}/g, "/"), IB = (e) => FB(e.join("/"));
+function LB(e, t = 0) {
let n = e.length;
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var ape = (e) => AB(e).replace(/^\/*/, "/"), ope = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, spe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, cpe = class {
+var Qfe = (e) => LB(e).replace(/^\/*/, "/"), $fe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, epe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, tpe = class {
status;
statusText;
data;
@@ -42982,26 +42982,26 @@ var ape = (e) => AB(e).replace(/^\/*/, "/"), ope = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function lpe(e) {
+function npe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function upe(e) {
- return kB(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function rpe(e) {
+ return IB(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var jB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function dpe(e, t) {
+var RB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function ipe(e, t) {
let n = e;
- if (typeof n != "string" || !Nfe.test(n)) return {
+ if (typeof n != "string" || !Efe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (jB) try {
- let e = new URL(window.location.href), r = uB.test(n) ? new URL(Pfe(n, e.protocol)) : new URL(n), a = TB(r.pathname, t);
+ if (RB) try {
+ let e = new URL(window.location.href), r = _B.test(n) ? new URL(Dfe(n, e.protocol)) : new URL(n), a = MB(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- mB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ xB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -43011,45 +43011,45 @@ function dpe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var MB = new URL("http://localhost");
-function NB(e) {
+var zB = new URL("http://localhost");
+function BB(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), MB);
+ return new URL(e.createHref("/"), zB);
} catch {
- return MB;
+ return zB;
}
}
-function PB(e, t) {
+function VB(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function fpe(e, t) {
+function ape(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function FB(e, t, n, r) {
+function HB(e, t, n, r) {
let i = null;
try {
i = e == null ? null : new URL(e, n);
} catch {}
- let a = new URL(t, n), o = i != null && !PB(i, n), s = !PB(a, n);
+ let a = new URL(t, n), o = i != null && !VB(i, n), s = !VB(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !fpe(e, i) || !PB(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !ape(e, i) || !VB(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var IB = [
+var UB = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(IB);
-var ppe = ["GET", ...IB];
-new Set(ppe);
-var mpe = [
+new Set(UB);
+var ope = ["GET", ...UB];
+new Set(ope);
+var spe = [
"about:",
"blob:",
"chrome:",
@@ -43061,85 +43061,85 @@ var mpe = [
"filesystem:",
"javascript:"
];
-function hpe(e) {
+function cpe(e) {
try {
- return mpe.includes(new URL(e).protocol);
+ return spe.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var LB = D.createContext(null);
-LB.displayName = "DataRouter";
-var gpe = D.createContext(null);
-gpe.displayName = "DataRouterState";
-var RB = D.createContext(null);
-RB.displayName = "DataRouterData";
-var _pe = D.createContext(null);
-_pe.displayName = "DataRouterNavigation";
-var vpe = D.createContext(!1), ype = D.createContext({ isTransitioning: !1 });
-ype.displayName = "ViewTransition";
-var bpe = D.createContext(null);
-bpe.displayName = "Fetchers";
-var xpe = D.createContext(null);
-xpe.displayName = "Await";
-var zB = D.createContext(null);
-zB.displayName = "Navigation";
-var BB = D.createContext(null);
-BB.displayName = "Location";
-var VB = D.createContext({
+var WB = D.createContext(null);
+WB.displayName = "DataRouter";
+var lpe = D.createContext(null);
+lpe.displayName = "DataRouterState";
+var GB = D.createContext(null);
+GB.displayName = "DataRouterData";
+var upe = D.createContext(null);
+upe.displayName = "DataRouterNavigation";
+var dpe = D.createContext(!1), fpe = D.createContext({ isTransitioning: !1 });
+fpe.displayName = "ViewTransition";
+var ppe = D.createContext(null);
+ppe.displayName = "Fetchers";
+var mpe = D.createContext(null);
+mpe.displayName = "Await";
+var KB = D.createContext(null);
+KB.displayName = "Navigation";
+var qB = D.createContext(null);
+qB.displayName = "Location";
+var JB = D.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-VB.displayName = "Route";
-var HB = D.createContext(!1);
-HB.displayName = "IsDataRoute";
-var UB = D.createContext(void 0);
-UB.displayName = "RouteId";
-var WB = D.createContext(null);
-WB.displayName = "RouteError";
+JB.displayName = "Route";
+var YB = D.createContext(!1);
+YB.displayName = "IsDataRoute";
+var XB = D.createContext(void 0);
+XB.displayName = "RouteId";
+var ZB = D.createContext(null);
+ZB.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var GB = "REACT_ROUTER_ERROR", Spe = "REDIRECT", Cpe = "ROUTE_ERROR_RESPONSE";
-function wpe(e) {
- if (e.startsWith(`${GB}:${Spe}:{`)) try {
+var QB = "REACT_ROUTER_ERROR", hpe = "REDIRECT", gpe = "ROUTE_ERROR_RESPONSE";
+function _pe(e) {
+ if (e.startsWith(`${QB}:${hpe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function Tpe(e) {
- if (e.startsWith(`${GB}:${Cpe}:{`)) try {
+function vpe(e) {
+ if (e.startsWith(`${QB}:${gpe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new cpe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new tpe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function KB() {
- return D.useContext(BB) != null;
+function $B() {
+ return D.useContext(qB) != null;
}
-function qB() {
- return pB(KB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(BB).location;
+function eV() {
+ return bB($B(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(qB).location;
}
-var JB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function Epe() {
- return D.useContext(HB) ? Rpe() : Dpe();
+var tV = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+function ype() {
+ return D.useContext(YB) ? jpe() : bpe();
}
-function Dpe() {
- pB(KB(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = D.useContext(LB), { basename: t, navigator: n } = D.useContext(zB), { matches: r } = D.useContext(VB), { pathname: i } = qB(), a = JSON.stringify(rpe(r)), o = D.useRef(!1);
+function bpe() {
+ bB($B(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = D.useContext(WB), { basename: t, navigator: n } = D.useContext(KB), { matches: r } = D.useContext(JB), { pathname: i } = eV(), a = JSON.stringify(Xfe(r)), o = D.useRef(!1);
return D.useLayoutEffect(() => {
o.current = !0;
}), D.useCallback((r, s = {}) => {
- if (mB(o.current, JB), !o.current) return;
+ if (xB(o.current, tV), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = ipe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : kB([t, c.pathname])), FB(typeof r == "string" ? r : _B(r), n.createHref(c), NB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = Zfe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : IB([t, c.pathname])), HB(typeof r == "string" ? r : wB(r), n.createHref(c), BB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -43149,19 +43149,19 @@ function Dpe() {
]);
}
D.createContext(null);
-function Ope(e, t) {
- return YB(e, t);
+function xpe(e, t) {
+ return nV(e, t);
}
-function YB(e, t, n) {
- pB(KB(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = D.useContext(zB), { matches: i } = D.useContext(VB), a = i[i.length - 1], o = a ? a.params : {};
+function nV(e, t, n) {
+ bB($B(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = D.useContext(KB), { matches: i } = D.useContext(JB), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = qB(), l;
+ let c = eV(), l;
if (t) {
- let e = typeof t == "string" ? vB(t) : t;
- pB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
+ let e = typeof t == "string" ? TB(t) : t;
+ bB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
} else l = c;
let u = l.pathname || "/", d = u;
if (s !== "/") {
@@ -43169,13 +43169,13 @@ function YB(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : zfe(e, { pathname: d });
- let p = Ppe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Mfe(e, { pathname: d });
+ let p = Dpe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: kB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : kB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: IB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : IB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
})), i, n);
- return t && p ? /* @__PURE__ */ D.createElement(BB.Provider, { value: {
+ return t && p ? /* @__PURE__ */ D.createElement(qB.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -43188,14 +43188,14 @@ function YB(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function kpe() {
- let e = Lpe(), t = lpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function Spe() {
+ let e = Ape(), t = npe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ D.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var Ape = /* @__PURE__ */ D.createElement(kpe, null), jpe = class extends D.Component {
+var Cpe = /* @__PURE__ */ D.createElement(Spe, null), wpe = class extends D.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -43203,7 +43203,7 @@ var Ape = /* @__PURE__ */ D.createElement(kpe, null), jpe = class extends D.Comp
error: e.error
};
}
- static contextType = vpe;
+ static contextType = dpe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -43224,30 +43224,30 @@ var Ape = /* @__PURE__ */ D.createElement(kpe, null), jpe = class extends D.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = Tpe(e.digest);
+ let t = vpe(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(VB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(HB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(UB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(WB.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(JB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(YB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(XB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(ZB.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ D.createElement(Mpe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ D.createElement(Tpe, { error: e }, t) : t;
}
-}, XB = /* @__PURE__ */ new WeakMap();
-function Mpe({ children: e, error: t }) {
- let { basename: n, navigator: r } = D.useContext(zB);
+}, rV = /* @__PURE__ */ new WeakMap();
+function Tpe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = D.useContext(KB);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = wpe(t.digest);
+ let e = _pe(t.digest);
if (e) {
- let i = XB.get(t);
+ let i = rV.get(t);
if (i) throw i;
- let a = dpe(e.location, n), o = a.absoluteURL || a.to;
- if (FB(e.location, o, NB(r), "allow-explicit"), hpe(o)) throw Error("Invalid redirect location");
- if (jB && !XB.get(t)) {
+ let a = ipe(e.location, n), o = a.absoluteURL || a.to;
+ if (HB(e.location, o, BB(r), "allow-explicit"), cpe(o)) throw Error("Invalid redirect location");
+ if (RB && !rV.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));
- throw XB.set(t, n), n;
+ throw rV.set(t, n), n;
}
}
return /* @__PURE__ */ D.createElement("meta", {
@@ -43258,11 +43258,11 @@ function Mpe({ children: e, error: t }) {
}
return e;
}
-function Npe({ routeContext: e, match: t, children: n }) {
- let r = D.useContext(LB);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(VB.Provider, { value: e }, /* @__PURE__ */ D.createElement(HB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(UB.Provider, { value: t.route.id }, n)));
+function Epe({ routeContext: e, match: t, children: n }) {
+ let r = D.useContext(WB);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(JB.Provider, { value: e }, /* @__PURE__ */ D.createElement(YB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(XB.Provider, { value: t.route.id }, n)));
}
-function Ppe(e, t = [], n) {
+function Dpe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -43273,7 +43273,7 @@ function Ppe(e, t = [], n) {
let i = e, a = r?.errors;
if (a != null) {
let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);
- pB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
+ bB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
}
let o = !1, s = -1;
if (n && r) {
@@ -43293,16 +43293,16 @@ function Ppe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: upe(r.matches),
+ pattern: rpe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Ape, o && (s < 0 && c === 0 ? (zpe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Cpe, o && (s < 0 && c === 0 ? (Mpe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Npe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Epe, {
match: n,
routeContext: {
outlet: e,
@@ -43312,7 +43312,7 @@ function Ppe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(jpe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(wpe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -43327,44 +43327,44 @@ function Ppe(e, t = [], n) {
}) : h();
}, null);
}
-function ZB(e) {
+function iV(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function Fpe(e) {
- let t = D.useContext(LB);
- return pB(t, ZB(e)), t;
+function Ope(e) {
+ let t = D.useContext(WB);
+ return bB(t, iV(e)), t;
}
-function Ipe(e) {
- let t = D.useContext(RB);
- return pB(t, ZB(e)), t;
+function kpe(e) {
+ let t = D.useContext(GB);
+ return bB(t, iV(e)), t;
}
-function QB(e) {
- let t = D.useContext(UB);
- return pB(t, `${e} can only be used on routes that contain a unique "id"`), t;
+function aV(e) {
+ let t = D.useContext(XB);
+ return bB(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function Lpe() {
- let e = D.useContext(WB), t = Ipe("useRouteError"), n = QB("useRouteError");
+function Ape() {
+ let e = D.useContext(ZB), t = kpe("useRouteError"), n = aV("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function Rpe() {
- let { router: e } = Fpe("useNavigate"), t = QB("useNavigate"), n = D.useRef(!1);
+function jpe() {
+ let { router: e } = Ope("useNavigate"), t = aV("useNavigate"), n = D.useRef(!1);
return D.useLayoutEffect(() => {
n.current = !0;
}), D.useCallback(async (r, i = {}) => {
- mB(n.current, JB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ xB(n.current, tV), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var $B = {};
-function zpe(e, t, n) {
- !t && !$B[e] && ($B[e] = !0, mB(!1, n));
+var oV = {};
+function Mpe(e, t, n) {
+ !t && !oV[e] && (oV[e] = !0, xB(!1, n));
}
-D.memo(Bpe);
-function Bpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = D.useContext(LB);
- return pB(a, "You must render this element inside a <DataRouterContext.Provider> element"), YB(e, void 0, {
+D.memo(Npe);
+function Npe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = D.useContext(WB);
+ return bB(a, "You must render this element inside a <DataRouterContext.Provider> element"), nV(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -43372,11 +43372,11 @@ function Bpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function eV(e) {
- pB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
+function sV(e) {
+ bB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function Vpe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- pB(!KB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function Ppe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ bB(!$B(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = D.useMemo(() => ({
basename: s,
navigator: i,
@@ -43389,9 +43389,9 @@ function Vpe({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = vB(n));
+ typeof n == "string" && (n = TB(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = D.useMemo(() => {
- let e = TB(l, s);
+ let e = MB(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -43413,27 +43413,27 @@ function Vpe({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return mB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(zB.Provider, { value: c }, /* @__PURE__ */ D.createElement(BB.Provider, {
+ return xB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(KB.Provider, { value: c }, /* @__PURE__ */ D.createElement(qB.Provider, {
children: t,
value: h
}));
}
-function tV({ children: e, location: t }) {
- return Ope(nV(e), t);
+function cV({ children: e, location: t }) {
+ return xpe(lV(e), t);
}
D.Component;
-function nV(e, t = []) {
+function lV(e, t = []) {
let n = [];
return D.Children.forEach(e, (e, r) => {
if (!D.isValidElement(e)) return;
let i = [...t, r];
if (e.type === D.Fragment) {
- n.push.apply(n, nV(e.props.children, i));
+ n.push.apply(n, lV(e.props.children, i));
return;
}
- pB(e.type === eV, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
+ bB(e.type === sV, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
let a = e.props;
- pB(!a.index || !a.children, "An index route cannot have child routes.");
+ bB(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -43452,17 +43452,17 @@ function nV(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = nV(a.children, i)), n.push(o);
+ a.children && (o.children = lV(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/react/components/board-navigation-link.tsx
-function Hpe(e) {
+function Fpe(e) {
return /* @__PURE__ */ (0, O.jsx)("a", { ...e });
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Upe(e) {
+function Ipe(e) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -43476,7 +43476,7 @@ function Upe(e) {
})
});
}
-function Wpe(e) {
+function Lpe(e) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -43490,7 +43490,7 @@ function Wpe(e) {
})
});
}
-function rV(e) {
+function uV(e) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -43504,54 +43504,54 @@ function rV(e) {
}
//#endregion
//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function Gpe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function Rpe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = D.Children.toArray(e).filter(D.isValidElement);
return /* @__PURE__ */ (0, O.jsx)("nav", {
ref: r,
"aria-label": t,
- className: oF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
+ className: dF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, O.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(Wpe, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(Lpe, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
})
});
}
-function iV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function dV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t && /* @__PURE__ */ (0, O.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
}), e] });
if (i) return /* @__PURE__ */ (0, O.jsx)("li", {
"aria-current": "page",
- className: oF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
+ className: dF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
children: o
});
- let s = oF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);
+ let s = dF("-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, O.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, O.jsx)(Hpe, {
+ children: n ? /* @__PURE__ */ (0, O.jsx)(Fpe, {
href: n,
className: s,
children: o
}) : /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
onClick: r,
- className: oF("cursor-pointer", s),
+ className: dF("cursor-pointer", s),
children: o
})
});
}
//#endregion
//#region src/react/boardui/components/foundations/direction/direction.tsx
-function aV() {
- return vS().direction;
+function fV() {
+ return SS().direction;
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var oV = [
+var pV = [
"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",
@@ -43559,11 +43559,11 @@ var oV = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), Kpe = "w-[266px]", qpe = "flex w-full flex-col gap-1 outline-none", sV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), cV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), zpe = "w-[266px]", Bpe = "flex w-full flex-col gap-1 outline-none", mV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), hV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/base/tree-view/tree-view.tsx
-function Jpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = aV(), l = (0, D.useContext)(TI), u = l === SI && !s.dragAndDropHooks ? uV : l;
+function Vpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+ let c = fV(), l = (0, D.useContext)(OI), u = l === TI && !s.dragAndDropHooks ? _V : l;
return /* @__PURE__ */ (0, O.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -43580,23 +43580,23 @@ function Jpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, O.jsx)(TI.Provider, {
+ children: /* @__PURE__ */ (0, O.jsx)(OI.Provider, {
value: u,
- children: /* @__PURE__ */ (0, O.jsx)(Ade, {
+ children: /* @__PURE__ */ (0, O.jsx)(Cde, {
...s,
ref: o,
selectionMode: n,
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => oF("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 === uV ? "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) => dF("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 === _V ? "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 lV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = aV();
- return /* @__PURE__ */ (0, O.jsxs)(Nde, {
+function gV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
+ let d = fV();
+ return /* @__PURE__ */ (0, O.jsxs)(Ede, {
...u,
ref: l,
textValue: t,
@@ -43604,11 +43604,11 @@ function lV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
paddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,
...typeof c == "function" ? c(e) : c
}),
- className: (e) => oF("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, O.jsx)(Mde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? Tz : wz : ife);
+ className: (e) => dF("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, O.jsx)(Tde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? Mz : jz : Zde);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(Xpe, {
+ /* @__PURE__ */ (0, O.jsx)(Upe, {
state: l,
id: u,
level: c,
@@ -43618,20 +43618,20 @@ function lV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, O.jsx)(jI, {
+ children: [t ? /* @__PURE__ */ (0, O.jsx)(PI, {
slot: "chevron",
isDisabled: s,
className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, O.jsx)(xz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Oz, {
"aria-hidden": !0,
- className: oF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
+ className: dF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
}) : /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
- className: oF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
+ className: dF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
}), f && /* @__PURE__ */ (0, O.jsx)(f, {
"aria-hidden": !0,
- className: oF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
+ className: dF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
})]
}),
/* @__PURE__ */ (0, O.jsx)("span", {
@@ -43646,24 +43646,24 @@ function lV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var uV = {
- ...SI,
- CollectionRoot: Ype
+var _V = {
+ ...TI,
+ CollectionRoot: Hpe
};
-function Ype({ collection: e, ...t }) {
- let n = (0, D.useContext)(gz);
- return n ? /* @__PURE__ */ (0, O.jsx)(Pv, {
+function Hpe({ collection: e, ...t }) {
+ let n = (0, D.useContext)(Cz);
+ return n ? /* @__PURE__ */ (0, O.jsx)(Lv, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(Zpe, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(Wpe, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, O.jsx)(SI.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, O.jsx)(TI.CollectionRoot, {
collection: e,
...t
});
}
-function Xpe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function Upe({ 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;
@@ -43696,7 +43696,7 @@ function Xpe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
height: "7",
viewBox: `0 0 ${i} 7`,
fill: "none",
- className: oF("absolute start-0", a === "rtl" && "-scale-x-100"),
+ className: dF("absolute start-0", a === "rtl" && "-scale-x-100"),
style: { top: "calc(50% - 6px)" },
children: /* @__PURE__ */ (0, O.jsx)("path", {
d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,
@@ -43722,9 +43722,9 @@ function Xpe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function Zpe({ state: e, children: t }) {
- let n = jv(), r = ky(), [i, a] = (0, D.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Ly.div, {
+function Wpe({ state: e, children: t }) {
+ let n = Pv(), r = Ny(), [i, a] = (0, D.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Vy.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -43763,7 +43763,7 @@ function Zpe({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, O.jsx)(gz.Provider, {
+ children: /* @__PURE__ */ (0, O.jsx)(Cz.Provider, {
value: n ? e : i,
children: t
})
@@ -43771,7 +43771,7 @@ function Zpe({ state: e, children: t }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var dV = {
+var vV = {
md: {
box: "size-4",
glyph: "size-4",
@@ -43785,11 +43785,11 @@ var dV = {
gap: "gap-1.5"
}
};
-function fV({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = dV[t], c = n || r, l = o && !a;
+function yV({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = vV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
- className: oF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? oF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : oF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: dF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? dF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : dF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -43813,24 +43813,24 @@ function fV({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function pV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = dV[n];
- return /* @__PURE__ */ (0, O.jsx)(GI, {
+function bV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = vV[n];
+ return /* @__PURE__ */ (0, O.jsx)(JI, {
ref: r,
...i,
- className: (t) => oF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(fV, {
+ className: (t) => dF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(yV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, O.jsx)("span", {
- className: oF(a.label, "text-text-primary"),
+ className: dF(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function mV() {
+function xV() {
let e = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
$a(e.current);
@@ -43838,13 +43838,13 @@ function mV() {
}
//#endregion
//#region src/history/settings-route.ts
-var hV = {
+var SV = {
appearance: "外观与导航",
playback: "浏览与播放",
jav: "JAV 与新作",
search: "搜索与推荐",
content: "内容显示"
-}, gV = {
+}, CV = {
library: "媒体库与入库",
subscriptions: "来源与订阅",
downloads: "下载渠道",
@@ -43852,37 +43852,37 @@ var hV = {
maintenance: "应用与维护",
diagnostics: "系统诊断"
};
-function _V(e) {
- return gV[e.split("/")[2]] || gV.library;
+function wV(e) {
+ return CV[e.split("/")[2]] || CV.library;
}
-var vV = ["/settings", ...Object.keys(hV).map((e) => `/settings/${e}`)], yV = (e) => vV.includes(e);
-function bV(e) {
- return hV[e.split("/")[2]] || hV.appearance;
+var TV = ["/settings", ...Object.keys(SV).map((e) => `/settings/${e}`)], EV = (e) => TV.includes(e);
+function DV(e) {
+ return SV[e.split("/")[2]] || SV.appearance;
}
-function xV(e) {
+function OV(e) {
return `/settings/${Object.entries({
- ...hV,
- ...gV
+ ...SV,
+ ...CV
}).find(([, t]) => t === e)?.[0] || "appearance"}`;
}
-var SV = (e) => {
+var kV = (e) => {
let t = e?.settingsBackground;
return t && typeof t.pathname == "string" ? t : null;
-}, CV = [
+}, AV = [
"/assets/:id",
"/posts/:id",
"/works/:code"
-], Qpe = [
+], Gpe = [
"mix",
"parts",
"editions",
"playlist"
];
-function wV(e, t = "") {
+function jV(e, t = "") {
let n = new URL(e, "https://peach.invalid");
e = n.pathname, t ||= n.search;
- for (let n of CV) {
- let r = SB(n, e);
+ for (let n of AV) {
+ let r = kB(n, e);
if (!r) continue;
if (n === "/works/:code") {
let e = r.params.code || "";
@@ -43899,7 +43899,7 @@ function wV(e, t = "") {
let a = Number(i[0]);
if (!Number.isSafeInteger(a) || a <= 0) return null;
if (n === "/assets/:id") {
- let e = new URLSearchParams(t), r = Qpe.filter((t) => e.has(t));
+ let e = new URLSearchParams(t), r = Gpe.filter((t) => e.has(t));
if (r.length === 1) {
let t = r[0], i = e.get(t), o = Number(i);
if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {
@@ -43923,8 +43923,8 @@ function wV(e, t = "") {
}
return null;
}
-var TV = (e, t = "") => wV(e, t)?.target ?? null, EV = (e) => yV(e.split(/[?#]/)[0]) || CV.some((t) => SB(t, e.split(/[?#]/)[0]) !== null);
-function DV(e) {
+var MV = (e, t = "") => jV(e, t)?.target ?? null, NV = (e) => EV(e.split(/[?#]/)[0]) || AV.some((t) => kB(t, e.split(/[?#]/)[0]) !== null);
+function PV(e) {
let t = e?.backgroundLocation;
return typeof t?.pathname == "string" ? {
pathname: t.pathname,
@@ -43932,35 +43932,35 @@ function DV(e) {
...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}
} : null;
}
-var OV = null, kV = null;
-function AV() {
+var FV = null, IV = null;
+function LV() {
let { pathname: e, search: t, hash: n } = window.location;
- EV(e) || (OV = {
+ NV(e) || (FV = {
pathname: e,
search: t,
...n ? { hash: n } : {}
});
}
-function jV() {
- OV = null, kV = null;
+function RV() {
+ FV = null, IV = null;
}
-function $pe(e) {
- let t = DV(e);
- t && (OV = t, kV = t.pathname + t.search + (t.hash || ""));
+function Kpe(e) {
+ let t = PV(e);
+ t && (FV = t, IV = t.pathname + t.search + (t.hash || ""));
}
-function MV() {
- let e = kV;
- return kV = null, e;
+function zV() {
+ let e = IV;
+ return IV = null, e;
}
-function NV(e) {
- return OV ? {
- backgroundLocation: { ...OV },
+function BV(e) {
+ return FV ? {
+ backgroundLocation: { ...FV },
overlay: e
} : void 0;
}
//#endregion
//#region src/history/canonical-path.ts
-function PV(e) {
+function VV(e) {
let t = new URL(e, "https://peach.invalid");
for (let [e, n] of [
[/^\/item\/(\d+)$/, "/assets/"],
@@ -43984,16 +43984,16 @@ function PV(e) {
}
//#endregion
//#region src/history/route-meta.ts
-var FV = {
+var HV = {
"/settings": {
title: "设置",
refresh: "skip"
},
- ...Object.fromEntries(Object.entries(hV).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(SV).map(([e, t]) => [`/settings/${e}`, {
title: t,
refresh: "skip"
}])),
- ...Object.fromEntries(Object.entries(gV).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(CV).map(([e, t]) => [`/settings/${e}`, {
title: t,
section: "configuration",
refresh: "reopen"
@@ -44124,13 +44124,13 @@ var FV = {
title: "播放墙"
}
};
-function IV(e) {
- if (Object.hasOwn(FV, e)) return FV[e];
- let t = wV(e);
- if (t) return FV[t.path];
+function UV(e) {
+ if (Object.hasOwn(HV, e)) return HV[e];
+ let t = jV(e);
+ if (t) return HV[t.path];
let [n, ...r] = e.split("/").filter(Boolean);
if (!n) return null;
- if (!r.length) return Object.hasOwn(FV, `/${n}`) ? FV[`/${n}`] : null;
+ if (!r.length) return Object.hasOwn(HV, `/${n}`) ? HV[`/${n}`] : null;
let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Nt({
performers: "performer",
studios: "studio",
@@ -44139,126 +44139,126 @@ function IV(e) {
series: "series",
tags: "tag"
}[n] || "", Number(r[0])) : r.join("/");
- return Object.hasOwn(FV, i) ? {
- ...FV[i],
+ return Object.hasOwn(HV, i) ? {
+ ...HV[i],
title: a || "资料"
} : null;
}
//#endregion
//#region src/history/managed.ts
-var LV = () => {}, RV = new Promise((e) => {
- LV = e;
+var WV = () => {}, GV = new Promise((e) => {
+ WV = e;
});
-RV.catch(() => {});
-var zV = null, BV = /* @__PURE__ */ new Map(), VV = /* @__PURE__ */ new Map(), HV = 0, UV = /* @__PURE__ */ new Set();
-function eme(e) {
- LV(e);
+GV.catch(() => {});
+var KV = null, qV = /* @__PURE__ */ new Map(), JV = /* @__PURE__ */ new Map(), YV = 0, XV = /* @__PURE__ */ new Set();
+function qpe(e) {
+ WV(e);
}
-function WV(e) {
- return BV.get(e) ?? null;
+function ZV(e) {
+ return qV.get(e) ?? null;
}
-function GV(e) {
- return !!e && (BV.has(e) || VV.has(e));
+function QV(e) {
+ return !!e && (qV.has(e) || JV.has(e));
}
-var KV = () => [...BV.values()];
-function tme(e) {
- return UV.add(e), () => {
- UV.delete(e);
+var $V = () => [...qV.values()];
+function Jpe(e) {
+ return XV.add(e), () => {
+ XV.delete(e);
};
}
-function qV(e) {
- let t = KV();
- for (let n of [...UV]) n(t, e);
+function eH(e) {
+ let t = $V();
+ for (let n of [...XV]) n(t, e);
}
-async function JV(e, t, n) {
+async function tH(e, t, n) {
let { container: r } = n;
- if (XV(r), !n.isCurrent()) return !1;
- HV += 1;
+ if (rH(r), !n.isCurrent()) return !1;
+ YV += 1;
let i = {
- revision: HV,
+ revision: YV,
controller: new AbortController()
};
- VV.set(r, i);
- let a = zV;
- zV = null, a?.();
- let o = await RV;
- if (VV.get(r) !== i) return !1;
+ JV.set(r, i);
+ let a = KV;
+ KV = null, a?.();
+ let o = await GV;
+ if (JV.get(r) !== i) return !1;
try {
await o(e, t, i.controller.signal);
} catch {
if (i.controller.signal.aborted) return !1;
}
- if (VV.get(r) !== i || (VV.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : nme(r);
- return BV.set(r, {
+ if (JV.get(r) !== i || (JV.delete(r), !n.isCurrent())) return !1;
+ let s = n.place ? n.place(r) : Ype(r);
+ return qV.set(r, {
path: e,
props: t,
revision: i.revision,
container: r,
host: s,
resident: !!n.resident
- }), qV(!0), !0;
+ }), eH(!0), !0;
}
-function nme(e) {
+function Ype(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
-function YV(e, t) {
- let n = e ? BV.get(e) : void 0;
- n && (BV.set(n.container, {
+function nH(e, t) {
+ let n = e ? qV.get(e) : void 0;
+ n && (qV.set(n.container, {
...n,
props: {
...n.props,
...t
}
- }), qV(!1));
+ }), eH(!1));
}
-function XV(e, ...t) {
+function rH(e, ...t) {
let n = [];
for (let r of /* @__PURE__ */ new Set([e, ...t])) {
- let e = VV.get(r);
- e && (e.controller.abort(), VV.delete(r));
- let t = BV.get(r);
- t && (BV.delete(r), n.push(t));
+ let e = JV.get(r);
+ e && (e.controller.abort(), JV.delete(r));
+ let t = qV.get(r);
+ t && (qV.delete(r), n.push(t));
}
if (n.length) {
- qV(!0);
+ eH(!0);
for (let e of n) e.resident || e.host.remove();
}
}
-function rme() {
- let [e, ...t] = /* @__PURE__ */ new Set([...BV.keys(), ...VV.keys()]);
- e && XV(e, ...t);
+function Xpe() {
+ let [e, ...t] = /* @__PURE__ */ new Set([...qV.keys(), ...JV.keys()]);
+ e && rH(e, ...t);
}
-function ime(e, t) {
- let n = BV.get(e);
- n?.revision === t && (BV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
- qV(!1);
+function Zpe(e, t) {
+ let n = qV.get(e);
+ n?.revision === t && (qV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
+ eH(!1);
}));
}
//#endregion
//#region src/history/index.ts
-var ZV = Ffe({ v5Compat: !0 }), QV = 0, $V = 0, eH = {
- action: ZV.action,
- location: ZV.location,
- seq: QV,
- openEpoch: $V,
+var iH = Ofe({ v5Compat: !0 }), aH = 0, oH = 0, sH = {
+ action: iH.action,
+ location: iH.location,
+ seq: aH,
+ openEpoch: oH,
claimed: !0
-}, tH = /* @__PURE__ */ new Set(), nH = !1, rH = !0;
-ZV.listen(({ action: e, location: t }) => {
- let n = t.pathname + t.search + t.hash, r = PV(n);
- r !== n && (window.history.replaceState(window.history.state, "", r), t = ZV.location), QV += 1, nH || ($V += 1), e !== "REPLACE" && (rH = !1), eH = {
+}, cH = /* @__PURE__ */ new Set(), lH = !1, uH = !0;
+iH.listen(({ action: e, location: t }) => {
+ let n = t.pathname + t.search + t.hash, r = VV(n);
+ r !== n && (window.history.replaceState(window.history.state, "", r), t = iH.location), aH += 1, lH || (oH += 1), e !== "REPLACE" && (uH = !1), sH = {
action: e,
location: t,
- seq: QV,
- openEpoch: $V,
- claimed: nH
+ seq: aH,
+ openEpoch: oH,
+ claimed: lH
};
- for (let e of [...tH]) e(eH);
+ for (let e of [...cH]) e(sH);
});
-function iH(e) {
- if (typeof e == "string") return PV(new URL(e, window.location.href).href);
- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = PV(t.href);
+function dH(e) {
+ if (typeof e == "string") return VV(new URL(e, window.location.href).href);
+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = VV(t.href);
if (n === t.pathname + t.search + t.hash) return e;
let r = new URL(n, window.location.origin);
return {
@@ -44268,52 +44268,52 @@ function iH(e) {
hash: r.hash
};
}
-var aH = {
+var fH = {
get navigation() {
- return eH;
+ return sH;
},
listen(e) {
- return tH.add(e), () => {
- tH.delete(e);
+ return cH.add(e), () => {
+ cH.delete(e);
};
},
- createHref: (e) => ZV.createHref(e),
- createURL: (e) => ZV.createURL(e),
- encodeLocation: (e) => ZV.encodeLocation(e),
- go: (e) => ZV.go(e),
- push: (e, t) => ZV.push(iH(e), t),
- replace: (e, t) => ZV.replace(iH(e), t)
+ createHref: (e) => iH.createHref(e),
+ createURL: (e) => iH.createURL(e),
+ encodeLocation: (e) => iH.encodeLocation(e),
+ go: (e) => iH.go(e),
+ push: (e, t) => iH.push(dH(e), t),
+ replace: (e, t) => iH.replace(dH(e), t)
};
-function oH(e, { replace: t = !1, state: n } = {}) {
- let r = new URL(e, window.location.href), i = PV(`${r.pathname}${r.search}${r.hash}`);
- nH = !0;
+function pH(e, { replace: t = !1, state: n } = {}) {
+ let r = new URL(e, window.location.href), i = VV(`${r.pathname}${r.search}${r.hash}`);
+ lH = !0;
try {
- t ? ZV.replace(i, n) : ZV.push(i, n);
+ t ? iH.replace(i, n) : iH.push(i, n);
} finally {
- nH = !1;
+ lH = !1;
}
}
-var sH = () => rH;
-function cH() {
- if (yV(eH.location.pathname)) {
- let e = rH ? null : SV(eH.location.state);
- return e ? DV(e.state) || e : null;
+var mH = () => uH;
+function hH() {
+ if (EV(sH.location.pathname)) {
+ let e = uH ? null : kV(sH.location.state);
+ return e ? PV(e.state) || e : null;
}
- return rH ? null : DV(eH.location.state);
+ return uH ? null : PV(sH.location.state);
}
//#endregion
//#region src/react/providers.tsx
-var lH = null;
-function ame() {
- return lH?.isConnected || (lH = document.createElement("div"), lH.className = "peach-react", lH.dataset.reactOverlays = "", document.body.append(lH)), lH;
+var gH = null;
+function Qpe() {
+ return gH?.isConnected || (gH = document.createElement("div"), gH.className = "peach-react", gH.dataset.reactOverlays = "", document.body.append(gH)), gH;
}
-function uH({ children: e }) {
+function _H({ children: e }) {
return /* @__PURE__ */ (0, O.jsx)(j, {
client: H,
- children: /* @__PURE__ */ (0, O.jsx)(Ete, {
+ children: /* @__PURE__ */ (0, O.jsx)(Cte, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, O.jsx)(TT, {
- getContainer: ame,
+ children: /* @__PURE__ */ (0, O.jsx)(jT, {
+ getContainer: Qpe,
children: e
})
})
@@ -44321,26 +44321,26 @@ function uH({ children: e }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function ome(e) {
+function $pe(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 sme = (e) => {
+var eme = (e) => {
switch (e) {
- case "success": return ume;
- case "info": return fme;
- case "warning": return dme;
- case "error": return pme;
+ case "success": return rme;
+ case "info": return ame;
+ case "warning": return ime;
+ case "error": return ome;
default: return null;
}
-}, cme = Array(12).fill(0), lme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {
+}, tme = Array(12).fill(0), nme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, cme.map((e, t) => /*#__PURE__*/ D.createElement("div", {
+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, tme.map((e, t) => /*#__PURE__*/ D.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), ume = /*#__PURE__*/ D.createElement("svg", {
+})))), rme = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44351,7 +44351,7 @@ var sme = (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"
-})), dme = /*#__PURE__*/ D.createElement("svg", {
+})), ime = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -44362,7 +44362,7 @@ var sme = (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"
-})), fme = /*#__PURE__*/ D.createElement("svg", {
+})), ame = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44373,7 +44373,7 @@ var sme = (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"
-})), pme = /*#__PURE__*/ D.createElement("svg", {
+})), ome = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44384,7 +44384,7 @@ var sme = (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"
-})), mme = /*#__PURE__*/ D.createElement("svg", {
+})), sme = /*#__PURE__*/ D.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -44405,7 +44405,7 @@ var sme = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), hme = () => {
+})), cme = () => {
let [e, t] = D.useState(document.hidden);
return D.useEffect(() => {
let e = () => {
@@ -44413,7 +44413,7 @@ var sme = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, gme = 1, _me = 100, dH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : gme++, fH = new class {
+}, lme = 1, ume = 100, vH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lme++, yH = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -44423,10 +44423,10 @@ var sme = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - _me;
+ let e = this.toasts.length - ume;
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 = dH(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = vH(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({
@@ -44501,7 +44501,7 @@ var sme = (e) => {
type: "default",
message: e
});
- else if (yme(e) && !e.ok) {
+ else if (fme(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" && !D.isValidElement(r) ? r : { message: r };
this.create({
@@ -44545,7 +44545,7 @@ var sme = (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 = dH(t);
+ let n = vH(t);
return this.create({
...t,
jsx: e(n),
@@ -44554,34 +44554,34 @@ var sme = (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();
}
-}(), vme = (e, t) => fH.message(e, t), yme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", pH = Object.assign(vme, {
- success: fH.success,
- info: fH.info,
- warning: fH.warning,
- error: fH.error,
- custom: fH.custom,
- message: fH.message,
- promise: fH.promise,
- dismiss: fH.dismiss,
- loading: fH.loading
+}(), dme = (e, t) => yH.message(e, t), fme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", bH = Object.assign(dme, {
+ success: yH.success,
+ info: yH.info,
+ warning: yH.warning,
+ error: yH.error,
+ custom: yH.custom,
+ message: yH.message,
+ promise: yH.promise,
+ dismiss: yH.dismiss,
+ loading: yH.loading
}, {
- getHistory: () => fH.toasts,
- getToasts: () => fH.getActiveToasts()
+ getHistory: () => yH.toasts,
+ getToasts: () => yH.getActiveToasts()
});
-ome("[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 mH(e) {
+$pe("[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 xH(e) {
return e.label !== void 0;
}
-var bme = 3, xme = "24px", Sme = "16px", hH = 4e3, Cme = 356, wme = 14, Tme = 45, Eme = 200;
-function gH(...e) {
+var pme = 3, mme = "24px", hme = "16px", SH = 4e3, gme = 356, _me = 14, vme = 45, yme = 200;
+function CH(...e) {
return e.filter(Boolean).join(" ");
}
-function Dme(e) {
+function bme(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var Ome = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [ee, N] = D.useState(!1), [te, P] = D.useState(!1), [ne, F] = D.useState(!1), [re, ie] = D.useState(!1), [ae, oe] = D.useState(0), [se, ce] = D.useState(0), le = D.useRef(n.duration || y || hH), ue = D.useRef(null), de = D.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = D.useMemo(() => n.duration || y || hH, [n.duration, y]), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(0), Te = D.useRef(null), [Ee, De] = b.split("-"), Oe = D.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = hme(), Ae = D.useMemo(() => e.swipeDirections ?? Dme(b), [e.swipeDirections, b]), je = n.invert || t, Me = me === "loading";
+var xme = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [ee, N] = D.useState(!1), [te, P] = D.useState(!1), [ne, F] = D.useState(!1), [re, ie] = D.useState(!1), [ae, oe] = D.useState(0), [se, ce] = D.useState(0), le = D.useRef(n.duration || y || SH), ue = D.useRef(null), de = D.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = D.useMemo(() => n.duration || y || SH, [n.duration, y]), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(0), Te = D.useRef(null), [Ee, De] = b.split("-"), Oe = D.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = cme(), Ae = D.useMemo(() => e.swipeDirections ?? bme(b), [e.swipeDirections, b]), je = n.invert || t, Me = me === "loading";
Ce.current = D.useMemo(() => ye * x + Oe, [ye, Oe]), D.useEffect(() => {
le.current = xe;
}, [xe]), D.useEffect(() => {
@@ -44622,7 +44622,7 @@ var Ome = (e) => {
let Ne = D.useCallback(() => {
N(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, Eme);
+ }, yme);
}, [
n,
d,
@@ -44653,18 +44653,18 @@ var Ome = (e) => {
}, [Ne, n.delete]);
function Pe() {
return w?.loading ? /*#__PURE__*/ D.createElement("div", {
- className: gH(C?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: CH(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": me === "loading"
- }, w.loading) : /*#__PURE__*/ D.createElement(lme, {
- className: gH(C?.loader, n?.classNames?.loader),
+ }, w.loading) : /*#__PURE__*/ D.createElement(nme, {
+ className: CH(C?.loader, n?.classNames?.loader),
visible: me === "loading"
});
}
- let Fe = n.icon || w?.[me] || sme(me);
+ let Fe = n.icon || w?.[me] || eme(me);
return /*#__PURE__*/ D.createElement("li", {
tabIndex: 0,
ref: de,
- className: gH(_, _e, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),
+ className: CH(_, _e, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -44707,7 +44707,7 @@ var Ome = (e) => {
if (ne || !ge) return;
Te.current = null;
let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Tme || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), F(!0);
+ if ((E === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= vme || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), F(!0);
else {
var o, s;
(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), P(!1), O(null);
@@ -44746,46 +44746,46 @@ var Ome = (e) => {
onClick: Me || !ge ? () => {} : () => {
Ne(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: gH(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? mme) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {
+ className: CH(C?.closeButton, n?.classNames?.closeButton)
+ }, w?.close ?? sme) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {
"data-icon": "",
- className: gH(C?.icon, n?.classNames?.icon)
+ className: CH(C?.icon, n?.classNames?.icon)
}, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ D.createElement("div", {
"data-content": "",
- className: gH(C?.content, n?.classNames?.content)
+ className: CH(C?.content, n?.classNames?.content)
}, /*#__PURE__*/ D.createElement("div", {
"data-title": "",
- className: gH(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__*/ D.createElement("div", {
"data-description": "",
- className: gH(v, ve, C?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && mH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {
+ className: CH(v, ve, C?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && xH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- mH(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());
+ xH(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());
},
- className: gH(C?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && mH(n.action) ? /*#__PURE__*/ D.createElement("button", {
+ className: CH(C?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && xH(n.action) ? /*#__PURE__*/ D.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- mH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());
+ xH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());
},
- className: gH(C?.actionButton, n?.classNames?.actionButton)
+ className: CH(C?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function _H() {
+function wH() {
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 kme(e, t) {
+function Sme(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Sme : xme;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? hme : mme;
function o(e) {
[
"top",
@@ -44806,11 +44806,11 @@ function kme(e, t) {
}) : o(a);
}), n;
}
-var vH = /*#__PURE__*/ D.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 = bme, toastOptions: g, dir: _ = _H(), gap: v = wme, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [ee, N] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = D.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ne = D.useRef(null), F = D.useRef(!1), re = D.useCallback((e) => {
- C((t) => (t.find((t) => t.id === e.id)?.delete || fH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var TH = /*#__PURE__*/ D.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 = pme, toastOptions: g, dir: _ = wH(), gap: v = _me, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [ee, N] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = D.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ne = D.useRef(null), F = D.useRef(!1), re = D.useCallback((e) => {
+ C((t) => (t.find((t) => t.id === e.id)?.delete || yH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return D.useEffect(() => fH.subscribe((e) => {
+ return D.useEffect(() => yH.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
C((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -44879,7 +44879,7 @@ var vH = /*#__PURE__*/ D.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return w.length ? /*#__PURE__*/ D.createElement("ol", {
key: t,
- dir: _ === "auto" ? _H() : _,
+ dir: _ === "auto" ? wH() : _,
tabIndex: -1,
ref: te,
className: c,
@@ -44889,10 +44889,10 @@ var vH = /*#__PURE__*/ D.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${Cme}px`,
+ "--width": `${gme}px`,
"--gap": `${v}px`,
...m,
- ...kme(l, u)
+ ...Sme(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, ne.current &&= (ne.current.focus({ preventScroll: !0 }), null));
@@ -44910,7 +44910,7 @@ var vH = /*#__PURE__*/ D.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Ome, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(xme, {
key: n.id,
icons: y,
index: i,
@@ -44940,19 +44940,19 @@ var vH = /*#__PURE__*/ D.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), yH = "/api/library-processing", bH = ["library-processing"], Ame = (e, t, n) => {
+}), EH = "/api/library-processing", DH = ["library-processing"], Cme = (e, t, n) => {
let r = new URLSearchParams({
estimate: "1",
stage: e.stage || "all"
});
- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), B(`${yH}?${r}`, t);
-}, xH = (e) => !!e && [
+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), B(`${EH}?${r}`, t);
+}, OH = (e) => !!e && [
"running",
"pausing",
"paused"
].includes(e.status);
-function SH(e) {
- if (!xH(e)) return "";
+function kH(e) {
+ if (!OH(e)) return "";
if (e.status === "paused") return "已暂停,继续后更新预估";
if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";
if (e.stalled) return "等待当前文件响应,剩余时间待更新";
@@ -44962,18 +44962,18 @@ function SH(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 CH = (e) => B(yH, e);
-async function wH(e) {
+var AH = (e) => B(EH, e);
+async function jH(e) {
await H.fetchQuery({
- queryKey: bH,
- queryFn: () => CH(e)
+ queryKey: DH,
+ queryFn: () => AH(e)
});
}
-var jme = 2e3, Mme = 1e4, TH = "连接中断,正在重新读取处理进度";
-function EH(e, t) {
- return xH(e) ? jme : t ? Mme : !1;
+var wme = 2e3, Tme = 1e4, MH = "连接中断,正在重新读取处理进度";
+function NH(e, t) {
+ return OH(e) ? wme : t ? Tme : !1;
}
-var Nme = {
+var Eme = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -44981,25 +44981,25 @@ var Nme = {
fetching_cover: "采集缺失封面",
generating_preview: "生成视频预览",
writing_candidates: "保存待确认资料"
-}, DH = {
+}, PH = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Pme(e) {
- let t = Object.entries(e).filter(([e, t]) => DH[e] && t > 0).map(([e, t]) => `${DH[e]} ${t.toLocaleString()} 部`);
+function Dme(e) {
+ let t = Object.entries(e).filter(([e, t]) => PH[e] && t > 0).map(([e, t]) => `${PH[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function Fme(e) {
+function Ome(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = Nme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${MF(e.waited_seconds)}` : "";
+ let t = Eme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${FF(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function Ime(e) {
- let t = e.total ? `${NF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return Fme(e) + (t ? ` · ${t}` : "");
+function kme(e) {
+ let t = e.total ? `${IF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ return Ome(e) + (t ? ` · ${t}` : "");
}
-function Lme(e) {
+function Ame(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45013,23 +45013,23 @@ function Lme(e) {
log: e.issues_log || ""
} : null;
}
-var OH = "peach.library-processing.announced", Rme = 120;
-function kH(e) {
+var FH = "peach.library-processing.announced", jme = 120;
+function IH(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < Rme;
+ return !!e.job_id && t >= 0 && t < jme;
}
-function zme(e, t, n) {
- if (e.status === "complete" && (n || kH(e))) {
+function Mme(e, t, n) {
+ if (e.status === "complete" && (n || IH(e))) {
try {
- if (e.job_id && localStorage.getItem(OH) === e.job_id) return;
- e.job_id && localStorage.setItem(OH, e.job_id);
+ if (e.job_id && localStorage.getItem(FH) === e.job_id) return;
+ e.job_id && localStorage.setItem(FH, e.job_id);
} catch {}
e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));
}
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var AH = sF({
+var LH = fF({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -45053,15 +45053,15 @@ var AH = sF({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function jH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = oF(AH.base, AH.size[t], AH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+function RH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = dF(LH.base, LH.size[t], LH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
n ? /* @__PURE__ */ (0, O.jsx)(n, {
- className: AH.icon[t],
+ className: LH.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, O.jsx)(r, {
- className: AH.icon[t],
+ className: LH.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -45088,7 +45088,7 @@ function jH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Bme = {
+var Nme = {
selection: {
type: Df,
duration: .16,
@@ -45100,7 +45100,7 @@ var Bme = {
bounce: 0
}
};
-function MH(e) {
+function zH(e) {
let [t, n] = (0, D.useState)(null);
return (0, D.useLayoutEffect)(() => {
if (!t) return;
@@ -45121,7 +45121,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 = Bne(n, { transform: [r, E] }, Bme[e]);
+ l = Ine(n, { transform: [r, E] }, Nme[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45158,25 +45158,25 @@ function MH(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function NH(e) {
- let t = MH("hover");
- return /* @__PURE__ */ (0, O.jsx)(ER, {
+function BH(e) {
+ let t = zH("hover");
+ return /* @__PURE__ */ (0, O.jsx)(NR, {
...e,
ref: t
});
}
//#endregion
//#region src/react/library-processing/processing-effort.tsx
-var PH = [
+var VH = [
"low",
"standard",
"high"
-], FH = [
+], HH = [
"低占用",
"标准",
"全速"
-], IH = Jz("snail"), LH = Jz("zap");
-function RH({ className: e }) {
+], UH = tB("snail"), WH = tB("zap");
+function GH({ className: e }) {
return /* @__PURE__ */ (0, O.jsxs)("svg", {
className: `processing-effort-double ${e ?? ""}`,
"aria-hidden": "true",
@@ -45207,12 +45207,12 @@ function RH({ className: e }) {
]
});
}
-var Vme = [
- IH,
- LH,
- RH
+var Pme = [
+ UH,
+ WH,
+ GH
];
-function Hme({ animate: e }) {
+function Fme({ animate: e }) {
let [t, n] = (0, D.useState)(document.hidden);
return (0, D.useEffect)(() => {
let e = () => n(document.hidden);
@@ -45244,8 +45244,8 @@ function Hme({ 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, D.useState)(i);
+function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = Math.max(0, VH.indexOf(e)), [a, o] = (0, D.useState)(i);
return (0, D.useEffect)(() => {
t || o(i);
}, [i, t]), /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -45256,7 +45256,7 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-text-tertiary",
children: "处理强度 "
- }), FH[a]]
+ }), HH[a]]
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "processing-effort-scale text-caption-1-regular text-text-tertiary",
@@ -45264,19 +45264,19 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-selected": a === 0 || void 0,
- children: [/* @__PURE__ */ (0, O.jsx)(IH, {}), "最慢"]
+ children: [/* @__PURE__ */ (0, O.jsx)(UH, {}), "最慢"]
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-selected": a === 1 || void 0,
- children: [/* @__PURE__ */ (0, O.jsx)(LH, {}), "标准"]
+ children: [/* @__PURE__ */ (0, O.jsx)(WH, {}), "标准"]
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-selected": a === 2 || void 0,
- children: [/* @__PURE__ */ (0, O.jsx)(RH, {}), "最快"]
+ children: [/* @__PURE__ */ (0, O.jsx)(GH, {}), "最快"]
})
]
}),
- /* @__PURE__ */ (0, O.jsxs)(Ble, {
+ /* @__PURE__ */ (0, O.jsxs)(Nle, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45285,10 +45285,10 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
isDisabled: t,
onChange: o,
onChangeEnd: (e) => {
- e !== i && n(PH[e]);
+ e !== i && n(VH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, O.jsx)(OI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(jI, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -45308,11 +45308,11 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, O.jsx)("i", {})
]
}),
- a === 2 ? /* @__PURE__ */ (0, O.jsx)(Hme, { animate: r }) : null,
- /* @__PURE__ */ (0, O.jsx)(Vle, {
+ a === 2 ? /* @__PURE__ */ (0, O.jsx)(Fme, { animate: r }) : null,
+ /* @__PURE__ */ (0, O.jsx)(Ple, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, O.jsx)(Hle, {
- "aria-label": FH[a],
+ children: /* @__PURE__ */ (0, O.jsx)(Fle, {
+ "aria-label": HH[a],
className: "processing-effort-thumb"
})
})
@@ -45326,8 +45326,8 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
});
}
-function Ume({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, PH.indexOf(e));
+function Ime({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, VH.indexOf(e));
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "processing-effort-trigger",
"data-speed": e,
@@ -45335,28 +45335,28 @@ function Ume({ value: e, busy: t, onChange: n, animate: r = !0 }) {
ref: i,
size: "small",
variant: "secondary",
- "aria-label": `处理速度:${FH[s]}`,
+ "aria-label": `处理速度:${HH[s]}`,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: Vme[s],
- trailingIcon: yz,
+ leadingIcon: Pme[s],
+ trailingIcon: Ez,
onClick: () => {
t || o(!a);
},
- children: FH[s]
+ children: HH[s]
})
- }), /* @__PURE__ */ (0, O.jsx)(pR, {
+ }), /* @__PURE__ */ (0, O.jsx)(bR, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "top start",
offset: 8,
- className: oV,
- children: /* @__PURE__ */ (0, O.jsx)(NH, {
+ className: pV,
+ children: /* @__PURE__ */ (0, O.jsx)(BH, {
"aria-label": "处理速度",
className: "outline-none",
- children: /* @__PURE__ */ (0, O.jsx)(zH, {
+ children: /* @__PURE__ */ (0, O.jsx)(KH, {
value: e,
busy: t,
onChange: n,
@@ -45367,7 +45367,7 @@ function Ume({ value: e, busy: t, onChange: n, animate: r = !0 }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function BH(e = "") {
+function qH(e = "") {
let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);
(0, D.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -45393,10 +45393,10 @@ function BH(e = "") {
}
//#endregion
//#region src/react/library-processing/processing-controls.tsx
-function Wme({ state: e, disabled: t = !1 }) {
- let n = BH(), r = xH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {
- t || n.busy || n.run(e.action, (t) => V(yH, e, "POST", t), (e) => {
- H.setQueryData(bH, e), H.invalidateQueries({ queryKey: bH });
+function Lme({ state: e, disabled: t = !1 }) {
+ let n = qH(), r = OH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {
+ t || n.busy || n.run(e.action, (t) => V(EH, e, "POST", t), (e) => {
+ H.setQueryData(DH, e), H.invalidateQueries({ queryKey: DH });
});
};
return /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -45404,7 +45404,7 @@ function Wme({ state: e, disabled: t = !1 }) {
"data-processing-controls": "",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(Ume, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Ime, {
value: e.speed_mode || "standard",
busy: t || !!n.busy,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -45417,11 +45417,11 @@ function Wme({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: e.status === "paused" ? Az : kz,
+ leadingIcon: e.status === "paused" ? Lz : Iz,
"aria-label": i,
title: i,
disabled: t || !e.job_id || e.status === "pausing",
- ...Xz(n.busy === "pause" || n.busy === "resume"),
+ ...rB(n.busy === "pause" || n.busy === "resume"),
onClick: () => {
e.job_id && a({
action: e.status === "paused" ? "resume" : "pause",
@@ -45438,11 +45438,11 @@ function Wme({ state: e, disabled: t = !1 }) {
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function VH({ toast: e, mode: t, monitor: n }) {
+function JH({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ct({
- queryKey: bH,
- queryFn: ({ signal: e }) => CH(e),
- refetchInterval: (e) => EH(e.state.data, r)
+ queryKey: DH,
+ queryFn: ({ signal: e }) => AH(e),
+ refetchInterval: (e) => NH(e.state.data, r)
}), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;
return (0, D.useEffect)(() => {
if (!c) return;
@@ -45452,8 +45452,8 @@ function VH({ toast: e, mode: t, monitor: n }) {
"running",
"pausing",
"paused"
- ].includes(n) && !xH(c);
- r && o(c), (r || t === "notice") && zme(c, e, r);
+ ].includes(n) && !OH(c);
+ r && o(c), (r || t === "notice") && Mme(c, e, r);
}, [
c,
t,
@@ -45466,38 +45466,38 @@ function VH({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/components/card.tsx
-var Gme = "min-w-0", Kme = {
+var Rme = "min-w-0", zme = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, qme = {
+}, Bme = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Jme = {
+}, Vme = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Yme = {
+}, Hme = {
none: "",
default: "p-5"
-}, Xme = "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", Zme = "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 = {}) {
+}, Ume = "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", Wme = "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 YH(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 [
- Gme,
- Kme[t],
- qme[s],
- Yme[n],
- a ? Jme[a] : "",
- r ? Xme : "",
- i ? Zme : "",
+ Rme,
+ zme[t],
+ Bme[s],
+ Hme[n],
+ a ? Vme[a] : "",
+ r ? Ume : "",
+ i ? Wme : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function UH({ label: e }) {
+function XH({ label: e }) {
return /* @__PURE__ */ (0, O.jsxs)("p", {
role: "status",
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
@@ -45517,21 +45517,21 @@ function UH({ label: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var WH = 100, Qme = .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 ZH = 100, Gme = .4;
+function QH({ 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 * ZH;
return /* @__PURE__ */ (0, O.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 ${ZH} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, O.jsx)("rect", {
- width: WH,
+ width: ZH,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -45542,7 +45542,7 @@ function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, O.jsx)("rect", {
x: o(e),
- width: Qme,
+ width: Gme,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -45551,27 +45551,27 @@ function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function KH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function $H({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : HH({
+ className: r ? "flex flex-col gap-1.5" : YH({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(GH, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QH, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, O.jsx)(UH, { label: e })
+ })] }) : /* @__PURE__ */ (0, O.jsx)(XH, { label: e })
});
}
//#endregion
//#region src/react/library-processing/processing-line.tsx
-function qH(e) {
+function eU(e) {
let [t, n] = (0, D.useState)({
snapshot: e,
seconds: 0
@@ -45587,17 +45587,17 @@ function qH(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return Ime(a ? {
+ return kme(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function $me({ state: e }) {
- return qH(e);
+function Kme({ state: e }) {
+ return eU(e);
}
-function ehe({ state: e }) {
- let t = qH(e);
- return /* @__PURE__ */ (0, O.jsx)(KH, {
+function qme({ state: e }) {
+ let t = eU(e);
+ return /* @__PURE__ */ (0, O.jsx)($H, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -45606,7 +45606,7 @@ function ehe({ state: e }) {
}
//#endregion
//#region src/react/components/collapse-region.tsx
-function JH({ open: e, children: t, ...n }) {
+function tU({ open: e, children: t, ...n }) {
let r = (0, D.useRef)(null), i = (0, D.useRef)(!1);
return (0, D.useLayoutEffect)(() => {
let t = r.current;
@@ -45617,7 +45617,7 @@ function JH({ open: e, children: t, ...n }) {
children: t
});
}
-function YH(e) {
+function nU(e) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
...e,
"aria-hidden": !0,
@@ -45632,22 +45632,169 @@ function YH(e) {
});
}
//#endregion
+//#region src/diagnostics-skeleton.ts
+function rU() {
+ let e = (e) => Wo({
+ label: e,
+ variant: "secondary",
+ attrs: "disabled data-skeleton-action"
+ }), t = (e) => `<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3"><div class="flex flex-col gap-4 py-4 pr-3">${e}</div></div>`, n = "<span class=\"skeleton h-5 w-1/3\"></span><span class=\"skeleton h-4 w-2/3\"></span>", r = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p>${t}</section>`;
+ return `<div data-skeleton="diagnostics" aria-busy="true" aria-label="正在读取系统诊断" class="flex min-w-0 flex-col gap-6"><div aria-hidden="true" inert class="flex flex-col gap-6">
+ <div class="flex flex-wrap justify-end gap-2">${e("下载诊断报告")}${e("重新检查")}</div>
+ ${r("需要关注", t(`<div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex min-w-0 flex-1 flex-col gap-2">${n}<span class="skeleton h-4 w-1/2"></span></div>${e("打开相关页面")}</div>`))}
+ ${r("库健康", t(n))}
+ ${r("来源会话", `<div class="flex flex-col gap-3">${t(n)}${t(n)}</div>`)}
+ </div></div>`;
+}
+//#endregion
+//#region src/react/settings/library-policy-copy.ts
+var iU = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Jme = [
+ "自动补全",
+ "仅使用本地资料",
+ "自定义"
+], Yme = [
+ [
+ "读本地 NFO 和图片",
+ "✓",
+ "✓",
+ "✓"
+ ],
+ [
+ "读取视频信息、生成九宫格",
+ "✓",
+ "✓",
+ "可选"
+ ],
+ [
+ "联网补资料",
+ "✓",
+ "—",
+ "可选"
+ ],
+ [
+ "联网补封面",
+ "✓",
+ "—",
+ "可选"
+ ],
+ [
+ "联网补人物图片",
+ "✓",
+ "—",
+ "可选"
+ ]
+], Xme = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", aU = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", oU = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", sU = "只填域名,留空用默认地址", cU = "disabled data-skeleton-action", lU = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, uU = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, dU = (e, t = "primary") => Wo({
+ label: e,
+ variant: t,
+ attrs: cU
+}), Zme = (e) => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${e}</div>`, fU = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, pU = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? Zme(n) : ""}</div></section>`, mU = (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>`, hU = (e, t = "", n = "ui-configuration-skeleton-toggle") => mU(e, t, `<span class="skeleton ${n}"></span>`), gU = (e, t = "4em") => mU(e, "", lU(t)), _U = (e) => `<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${e}px"></span>`, vU = (e, t) => `<div class="flex w-full flex-col items-start gap-1"><span class="text-body-medium text-text-primary">${e}</span>${uU()}<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span></div>`, yU = "peach.configuration.media-shape.v1", bU = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";
+function Qme(e) {
+ try {
+ localStorage.setItem(yU, JSON.stringify(e));
+ } catch {}
+}
+var xU = "peach.configuration.section-heights.v1";
+function SU(e, t) {
+ try {
+ let n = JSON.parse(localStorage.getItem(xU) || "{}");
+ localStorage.setItem(xU, JSON.stringify({
+ ...n,
+ [e]: Math.round(t)
+ }));
+ } catch {}
+}
+function CU(e, t) {
+ try {
+ let n = JSON.parse(localStorage.getItem(xU) || "{}")[e];
+ return typeof n == "number" && n > 0 && n < 4e3 ? n : t;
+ } catch {
+ return t;
+ }
+}
+var wU = {
+ credentials: {
+ key: "source-credentials",
+ fallback: 1498
+ },
+ indexers: {
+ key: "indexers",
+ fallback: 18
+ },
+ javBrowser: {
+ key: "jav-browser",
+ fallback: 100
+ }
+}, TU = (e) => CU(wU[e].key, wU[e].fallback);
+function $me() {
+ try {
+ let e = JSON.parse(localStorage.getItem(yU) || "null"), t = Array.isArray(e?.folders) ? e.folders.filter((e) => Number.isInteger(e) && e > 0).slice(0, 12) : [];
+ if (t.length) return {
+ folders: t,
+ cloud: e?.cloud === !0,
+ discovery: e?.discovery === !0
+ };
+ } catch {}
+ return {
+ folders: [1],
+ cloud: !1,
+ discovery: !1
+ };
+}
+var EU = (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>`, ehe = (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">${uU()}</span>${Wo({
+ glyph: "folder-search",
+ variant: "secondary",
+ attrs: cU
+})}</div>
+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${EU("来源", Ko(lU("6em")), "w-full @lg:w-60")}${EU("读取策略", Ko(lU("4em")), "w-full @lg:w-32")}${e > 1 ? EU("移到媒体库", Ko(lU("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, the = (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>${Wo({
+ label: "自动识别",
+ variant: "secondary",
+ attrs: cU
+})}${uU()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(lU("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${ehe(t).repeat(e)}<div class="flex">${Wo({
+ label: "添加文件夹",
+ variant: "secondary",
+ attrs: cU
+})}</div></div></div>`, nhe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${iU}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rhe = "<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>", DU = () => {
+ let e = $me();
+ return pU("媒体库与目录", fU(`${nhe}<div class="flex flex-col gap-4">${e.folders.map((t) => the(t, e.folders.length)).join("")}</div>
+ <div class="self-start">${dU("添加媒体库", "secondary")}</div>
+ <p class="text-body-2-regular text-text-secondary">${aU}</p>
+ ${e.cloud ? rhe : ""}<span class="text-body-medium text-text-primary">${lU("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${dU("保存配置")}`) + (e.cloud ? pU("CloudDrive 代理", fU(`<p class="text-body-2-regular text-text-secondary">${bU}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${CU("cloud-proxy", 96)}px"></span>`), dU("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${CU("push-discovery", 323)}px">${pU("自动发现新文件", fU(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${lU("8em")}</span>`) + hU("发现新文件后自动入库") + hU("监视本机文件夹") + hU("接收 CloudDrive2 通知"), dU("保存配置"))}</div>` : "") + pU("番号识别规则", fU(`${lU("90%")}${lU("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), dU("保存配置")) + pU("视频预览", hU("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + hU("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + hU("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+};
+function ihe(e) {
+ switch (e) {
+ case "系统诊断": return rU();
+ case "媒体库与入库": return DU();
+ case "来源与订阅": return `<div>${dU("采集来源与登录状态", "secondary")}</div>` + pU("来源凭据", fU(_U(TU("credentials")))) + pU("关注采集", mU("自动检查更新", "", "<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>") + gU("订阅源拉取") + hU("首次采集范围", "", "ui-configuration-skeleton-select") + gU("头像刷新") + gU("favicon 刷新")) + pU("资源搜索", fU(_U(TU("indexers"))), dU("添加索引器", "secondary") + dU("保存配置")) + pU("作品资料站点", fU(`<p class="text-body-2-regular text-text-secondary">${oU}</p>${vU("JavDB 地址", sU)}${vU("MISSAV 地址", sU)}`), dU("保存配置"));
+ case "下载渠道": return pU("云下载", fU(`${lU("35%")}${uU()}${uU()}${uU()}${uU()}`), dU("保存配置")) + pU("PikPak 账号", fU(`${uU()}${uU()}`), dU("登录账号"));
+ case "网络与访问": return pU("本机访问端口", fU(uU("128px")), dU("保存配置")) + pU("Peach 代理", hU("连接方式", "", "ui-configuration-skeleton-select"), dU("保存配置")) + pU("访问密码", fU(uU()), dU("保存配置")) + pU("公网访问", fU(`${lU("60%")}${uU()}`));
+ case "应用与维护": return pU("检查更新", fU(`${lU("40%")}${lU("40%")}${lU("40%")}${lU("40%")}`), dU("检查更新")) + pU("自动更新", hU("自动检查新版本") + hU("自动下载更新") + hU("检查频率", "", "ui-configuration-skeleton-select"), dU("保存配置")) + pU("开机自启", hU("开机后启动 Peach") + hU("只启动托盘,不打开网页") + hU("在桌面创建快捷方式"), dU("保存配置")) + pU("视频播放", hU("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + pU("数据上传", hU("发送版本统计与错误诊断(推荐)") + hU("馆藏与口味明细上传")) + pU("运行信息", fU(`${lU("80%")}${lU("60%")}${lU("40%")}`));
+ default: return DU();
+ }
+}
+function ahe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(CV).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">${ihe(e)}</div></div></div>`;
+}
+//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function XH({ className: e, children: t }) {
+function OU({ className: e, children: t }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
- className: oF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: dF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function ZH({ className: e, children: t }) {
+function kU({ className: e, children: t }) {
return /* @__PURE__ */ (0, O.jsx)("p", {
- className: oF("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: dF("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function the({ label: e, description: t, children: n }) {
+function ohe({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
- className: oF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: dF("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, O.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, O.jsx)("p", {
@@ -45662,7 +45809,7 @@ function the({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function QH({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function AU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, O.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -45670,12 +45817,12 @@ function QH({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, O.jsx)(ZH, { children: o })
+ children: /* @__PURE__ */ (0, O.jsx)(kU, { children: o })
}), /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, O.jsx)(ZH, { children: o }), /* @__PURE__ */ (0, O.jsx)(XH, { children: a })] });
+ }) : /* @__PURE__ */ (0, O.jsx)(kU, { children: o }), /* @__PURE__ */ (0, O.jsx)(OU, { children: a })] });
return i ? /* @__PURE__ */ (0, O.jsx)("form", {
id: n,
"aria-label": e,
@@ -45690,13 +45837,13 @@ function QH({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function nhe({ children: e }) {
+function she({ children: e }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function $H({ divided: e = !1, children: t }) {
+function jU({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",
children: t
@@ -45705,21 +45852,27 @@ function $H({ divided: e = !1, children: t }) {
children: t
});
}
-function rhe({ title: e, label: t, height: n }) {
- return /* @__PURE__ */ (0, O.jsx)(QH, {
+function che({ title: e, label: t, body: n, actions: r }) {
+ return /* @__PURE__ */ (0, O.jsxs)(AU, {
title: e,
- children: /* @__PURE__ */ (0, O.jsx)($H, { children: /* @__PURE__ */ (0, O.jsx)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)(jU, { children: /* @__PURE__ */ (0, O.jsx)("div", {
"data-skeleton": !0,
"aria-busy": "true",
"aria-label": t,
children: /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-(--skeleton-h) w-full rounded-2lg bg-background-tertiary-default",
- style: { "--skeleton-h": `${n}px` }
+ style: { "--skeleton-h": `${TU(n)}px` }
})
- }) })
+ }) }), r ? /* @__PURE__ */ (0, O.jsx)(MU, { children: r }) : null]
});
}
-function ihe({ status: e, children: t }) {
+function lhe(e, t) {
+ let n = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ n.current && SU(wU[e].key, n.current.offsetHeight);
+ }, t), n;
+}
+function MU({ status: e, children: t }) {
return /* @__PURE__ */ (0, O.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, O.jsx)("div", {
@@ -45728,34 +45881,34 @@ function ihe({ status: e, children: t }) {
}) : null, t]
});
}
-function eU({ role: e, children: t }) {
+function NU({ role: e, children: t }) {
return /* @__PURE__ */ (0, O.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function tU({ children: e }) {
+function PU({ children: e }) {
return /* @__PURE__ */ (0, O.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function nU({ children: e }) {
+function FU({ children: e }) {
return /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function ahe({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, O.jsx)(jH, {
+function uhe({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, O.jsx)(RH, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: Cz,
+ trailingIcon: Az,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -45763,13 +45916,13 @@ function ahe({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function ohe({ children: e }) {
+function dhe({ children: e }) {
return /* @__PURE__ */ (0, O.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function she({ term: e, children: t }) {
+function fhe({ term: e, children: t }) {
return /* @__PURE__ */ (0, O.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, O.jsx)("dt", {
@@ -45781,7 +45934,7 @@ function she({ term: e, children: t }) {
})]
});
}
-function rU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
+function IU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
let s = (0, D.useId)(), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(!1), [d, f] = (0, D.useState)(n ?? t);
return (0, D.useLayoutEffect)(() => {
n !== void 0 && n !== d && c.current && l.current && (to(c.current, l.current, n), f(n));
@@ -45797,12 +45950,12 @@ function rU({ 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, O.jsx)(xz, {
+ i ? null : /* @__PURE__ */ (0, O.jsx)(Oz, {
"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, O.jsx)(xz, {
+ i ? /* @__PURE__ */ (0, O.jsx)(Oz, {
"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
@@ -45812,13 +45965,13 @@ function rU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
id: s,
inert: !d,
children: /* @__PURE__ */ (0, O.jsx)("div", {
- className: oF("flex flex-col gap-2 pt-3", o),
+ className: dF("flex flex-col gap-2 pt-3", o),
children: r
})
})]
});
}
-function che({ name: e }) {
+function phe({ name: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -45828,35 +45981,35 @@ function che({ name: e }) {
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
}
-function iU({ mark: e }) {
+function LU({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, O.jsx)(che, { name: e });
+ }) : /* @__PURE__ */ (0, O.jsx)(phe, { name: e });
}
//#endregion
//#region src/react/components/source-label.tsx
-var aU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, lhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {
+var RU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, mhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, O.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, O.jsx)(iU, { mark: t })
+ children: /* @__PURE__ */ (0, O.jsx)(LU, { mark: t })
});
}]));
-function uhe({ className: e }) {
+function hhe({ className: e }) {
return /* @__PURE__ */ (0, O.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, O.jsx)(iU, { mark: "database" })
+ children: /* @__PURE__ */ (0, O.jsx)(LU, { mark: "database" })
});
}
-var oU = (e) => lhe[aU(e)] ?? uhe;
-function dhe({ site: e, label: t }) {
+var zU = (e) => mhe[RU(e)] ?? hhe;
+function ghe({ site: e, label: t }) {
let [n, r] = (0, D.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;
return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(iU, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {
+ children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(LU, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {
src: i,
alt: "",
className: "size-(--icon-inline) shrink-0 object-contain",
@@ -45864,11 +46017,11 @@ function dhe({ site: e, label: t }) {
}), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]
});
}
-function sU({ source: e, label: t }) {
- let n = aU(e);
+function BU({ source: e, label: t }) {
+ let n = RU(e);
return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(iU, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(LU, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 truncate",
children: t
})]
@@ -45876,13 +46029,13 @@ function sU({ source: e, label: t }) {
}
//#endregion
//#region src/react/library-processing/processing-traffic.tsx
-var cU = (e) => vn(e).replace(/\s/g, ""), lU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : cU(e), fhe = (e, t) => {
- if (e === t) return cU(t);
+var VU = (e) => vn(e).replace(/\s/g, ""), HU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : VU(e), _he = (e, t) => {
+ if (e === t) return VU(t);
let [n, r] = vn(e).split(" "), [i, a] = vn(t).split(" ");
- return r === a ? `${n}-${i}${a}` : `${cU(e)}-${cU(t)}`;
-}, uU = (e, t, n) => e === void 0 ? fhe(t, n) : `${e > 0 ? "约 " : ""}${cU(e)}`;
-function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
- let i = mV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;
+ return r === a ? `${n}-${i}${a}` : `${VU(e)}-${VU(t)}`;
+}, UU = (e, t, n) => e === void 0 ? _he(t, n) : `${e > 0 ? "约 " : ""}${VU(e)}`;
+function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
+ let i = xV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;
if (!e) return null;
let l = (e) => e.toLocaleString("zh-CN");
return /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -45919,25 +46072,25 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, O.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(Ez, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Nz, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]
}),
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-title-3-semibold text-text-primary",
- children: uU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
+ children: UU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
}),
/* @__PURE__ */ (0, O.jsxs)("p", { children: [
e.unknown_route_estimated_bytes ? "已确认代理" : "代理",
" ",
- uU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
+ UU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
] }),
t ? null : /* @__PURE__ */ (0, O.jsxs)("p", { children: [
"已用 ",
- /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", cU(e.used_bytes)] }),
+ /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", VU(e.used_bytes)] }),
" · 代理 ",
- cU(e.metered_used_bytes)
+ VU(e.metered_used_bytes)
] })
]
}), e.disk ? /* @__PURE__ */ (0, O.jsxs)("section", {
@@ -45946,25 +46099,25 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, O.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(wfe, {
+ children: [/* @__PURE__ */ (0, O.jsx)(_fe, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]
}),
/* @__PURE__ */ (0, O.jsxs)("p", {
className: "text-title-3-semibold text-text-primary",
- children: ["约 ", cU(e.disk.estimated_bytes)]
+ children: ["约 ", VU(e.disk.estimated_bytes)]
}),
- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", lU(e.disk.temporary_bytes)] }) : null,
+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", HU(e.disk.temporary_bytes)] }) : null,
e.disk.volumes.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, O.jsxs)("p", { children: [
e.path,
" 剩余 ",
- e.free_bytes == null ? "未取得" : cU(e.free_bytes)
+ e.free_bytes == null ? "未取得" : VU(e.free_bytes)
] }), e.can_fit === !1 ? /* @__PURE__ */ (0, O.jsxs)("p", {
role: "status",
- children: ["空间不足,还差 ", cU(e.shortfall_bytes || 0)]
+ children: ["空间不足,还差 ", VU(e.shortfall_bytes || 0)]
}) : null]
}, e.path)),
e.disk.cache_unknown ? /* @__PURE__ */ (0, O.jsx)("p", {
@@ -45980,7 +46133,7 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
className: "self-start",
"aria-expanded": c,
"aria-controls": s,
- trailingIcon: c ? Hde : yz,
+ trailingIcon: c ? Fde : Ez,
onClick: () => {
o(!c), r?.(!c);
},
@@ -45999,12 +46152,12 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-start justify-between gap-2",
- children: [e.root ? /* @__PURE__ */ (0, O.jsx)(sU, {
+ children: [e.root ? /* @__PURE__ */ (0, O.jsx)(BU, {
source: e.location,
label: e.label
}) : /* @__PURE__ */ (0, O.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, O.jsx)(iU, { mark: "globe" }), e.label]
+ children: [/* @__PURE__ */ (0, O.jsx)(LU, { mark: "globe" }), e.label]
}), /* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0",
children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"
@@ -46026,7 +46179,7 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
"待补资料 ",
l(e.workload.pending_jav_titles),
" 部 · 平均约 ",
- lU(e.workload.metadata_average_bytes || 0),
+ HU(e.workload.metadata_average_bytes || 0),
"/部"
]
}) : null,
@@ -46036,8 +46189,8 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
"已用",
e.unobserved.length ? "约" : "",
" ",
- cU(e.used_bytes)
- ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", uU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
+ VU(e.used_bytes)
+ ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", UU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
})
]
}, e.key))
@@ -46049,15 +46202,15 @@ function dU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var fU = "peach.library-processing.collapsed";
-function pU(e) {
+var GU = "peach.library-processing.collapsed";
+function KU(e) {
try {
- return !e || sessionStorage.getItem(fU) !== e;
+ return !e || sessionStorage.getItem(GU) !== e;
} catch {
return !0;
}
}
-function phe({ value: e, max: t }) {
+function vhe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, O.jsxs)("svg", {
role: "progressbar",
@@ -46087,14 +46240,14 @@ function phe({ value: e, max: t }) {
})]
});
}
-function mU({ state: e, problem: t = "", measure: n = !1 }) {
- let [r, i] = (0, D.useState)(() => pU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = xH(e);
+function qU({ state: e, problem: t = "", measure: n = !1 }) {
+ let [r, i] = (0, D.useState)(() => KU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = OH(e);
(0, D.useEffect)(() => {
- i(pU(e?.job_id)), s(!1);
+ i(KU(e?.job_id)), s(!1);
}, [e?.job_id]);
let d = () => {
try {
- r && e?.job_id ? sessionStorage.setItem(fU, e.job_id) : sessionStorage.removeItem(fU);
+ r && e?.job_id ? sessionStorage.setItem(GU, e.job_id) : sessionStorage.removeItem(GU);
} catch {}
r && s(!1), i(!r);
};
@@ -46116,20 +46269,20 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
"data-processing-tone": l ? "error" : f ? "warning" : "neutral",
"aria-label": "扫描任务",
role: l ? "alert" : "status",
- className: oF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
+ className: dF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- u && e?.total ? /* @__PURE__ */ (0, O.jsx)(phe, {
+ u && e?.total ? /* @__PURE__ */ (0, O.jsx)(vhe, {
value: e.checked || 0,
max: e.total
- }) : l || f ? /* @__PURE__ */ (0, O.jsx)(tfe, {
+ }) : l || f ? /* @__PURE__ */ (0, O.jsx)(Jde, {
"aria-hidden": !0,
className: "size-5 shrink-0"
- }) : /* @__PURE__ */ (0, O.jsx)(ffe, {
+ }) : /* @__PURE__ */ (0, O.jsx)(afe, {
"aria-hidden": !0,
className: "size-5 shrink-0"
}),
@@ -46141,14 +46294,14 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
}), u ? /* @__PURE__ */ (0, O.jsx)("p", {
"data-processing-eta": "",
className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",
- children: SH(e)
+ children: kH(e)
}) : null]
}),
/* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: YH,
+ leadingIcon: nU,
"data-processing-toggle": "",
"data-collapse-upward": "",
"aria-label": r ? "收起任务详情" : "展开任务详情",
@@ -46157,20 +46310,20 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
onClick: d
})
]
- }), /* @__PURE__ */ (0, O.jsx)(dU, {
+ }), /* @__PURE__ */ (0, O.jsx)(WU, {
traffic: e?.traffic,
detailsOpen: o,
onDetailsChange: s
})]
}),
- /* @__PURE__ */ (0, O.jsx)(JH, {
+ /* @__PURE__ */ (0, O.jsx)(tU, {
id: a,
open: r,
"data-processing-body": "",
children: /* @__PURE__ */ (0, O.jsx)("div", {
className: "pt-3",
children: /* @__PURE__ */ (0, O.jsxs)("div", {
- className: oF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),
+ className: dF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),
children: [
e?.steps?.length ? /* @__PURE__ */ (0, O.jsx)("ol", {
"aria-label": "处理步骤",
@@ -46178,16 +46331,16 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
children: e.steps.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
"data-processing-step": e.status,
"aria-current": e.status === "current" ? "step" : void 0,
- className: oF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
+ className: dF("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, O.jsx)(Jde, {
+ e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Vde, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, O.jsx)(Yde, {
+ }) : /* @__PURE__ */ (0, O.jsx)(Hde, {
"aria-hidden": !0,
- className: oF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
+ className: dF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, O.jsx)(fw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, O.jsx)(vw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46200,7 +46353,7 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
}) : null,
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)($me, { state: e }))
+ children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(Kme, { state: e }))
}),
u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {
className: "text-caption-1-regular text-text-tertiary",
@@ -46216,13 +46369,13 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2 pt-3",
- children: [/* @__PURE__ */ (0, O.jsx)(jH, {
+ children: [/* @__PURE__ */ (0, O.jsx)(RH, {
href: "/data-cleanup#libraryProcessing",
variant: "secondary",
size: "small",
- trailingIcon: bz,
+ trailingIcon: Dz,
children: t || l ? "打开扫描与采集" : "任务详情"
- }), u ? /* @__PURE__ */ (0, O.jsx)(Wme, {
+ }), u ? /* @__PURE__ */ (0, O.jsx)(Lme, {
state: e,
disabled: !!t
}) : null]
@@ -46230,32 +46383,32 @@ function mU({ state: e, problem: t = "", measure: n = !1 }) {
]
});
}
-function mhe(e) {
- let { job: t } = VH(e);
- return /* @__PURE__ */ (0, O.jsx)(mU, {
+function yhe(e) {
+ let { job: t } = JH(e);
+ return /* @__PURE__ */ (0, O.jsx)(qU, {
state: t.data,
- problem: t.isError ? t.data ? TH : jn(t.error) : ""
+ problem: t.isError ? t.data ? MH : jn(t.error) : ""
});
}
//#endregion
//#region src/react/library-processing/library-processing-dock.tsx
-var hU = "peach-library-processing";
-function hhe({ toast: e }) {
- let { job: t, settled: n } = VH({
+var JU = "peach-library-processing";
+function bhe({ toast: e }) {
+ let { job: t, settled: n } = JH({
toast: e,
mode: "notice"
- }), r = (0, D.useRef)(""), i = t.data, a = t.isError ? i ? TH : jn(t.error) : "";
+ }), r = (0, D.useRef)(""), i = t.data, a = t.isError ? i ? MH : jn(t.error) : "";
return (0, D.useEffect)(() => {
- let e = xH(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || kH(i));
- !e && (!a && !o || r.current === t) ? pH.dismiss(hU) : pH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {
+ let e = OH(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || IH(i));
+ !e && (!a && !o || r.current === t) ? bH.dismiss(JU) : bH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, O.jsx)(mU, {
+ children: /* @__PURE__ */ (0, O.jsx)(qU, {
state: i,
problem: a,
measure: !0
})
}), {
- id: hU,
+ id: JU,
toasterId: "processing",
duration: Infinity,
dismissible: !e,
@@ -46270,20 +46423,20 @@ function hhe({ toast: e }) {
a,
n
]), (0, D.useEffect)(() => () => {
- pH.dismiss(hU);
+ bH.dismiss(JU);
}, []), null;
}
//#endregion
//#region src/react/network-banner.tsx
-var ghe = ["network-status"], _he = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function vhe(e) {
+var xhe = ["network-status"], She = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function Che(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function yhe() {
+function whe() {
let e = Ct({
- queryKey: ghe,
+ queryKey: xhe,
queryFn: ({ signal: e }) => B("/api/network-status", e),
- refetchInterval: (e) => vhe(e.state.data),
+ refetchInterval: (e) => Che(e.state.data),
retry: !1
}), t = document.querySelector("[data-network-banner]");
return e.data?.state !== "offline" || !t ? null : (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {
@@ -46294,7 +46447,7 @@ function yhe() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, O.jsx)("p", { children: _he })] }), /* @__PURE__ */ (0, O.jsx)("a", {
+ }), /* @__PURE__ */ (0, O.jsx)("p", { children: She })] }), /* @__PURE__ */ (0, O.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
@@ -46302,21 +46455,21 @@ function yhe() {
}
//#endregion
//#region src/react/router/pages/settings.tsx
-function bhe() {
- let e = (0, D.useContext)(bU), { pathname: t } = qB();
+function The() {
+ let e = (0, D.useContext)($U), { pathname: t } = eV();
return (0, D.useEffect)(() => {
- e?.openSettings?.(bV(t));
+ e?.openSettings?.(DV(t));
}, [e, t]), (0, D.useEffect)(() => () => {
queueMicrotask(() => {
- yV(aH.navigation.location.pathname) || e?.closeSettings?.();
+ EV(fH.navigation.location.pathname) || e?.closeSettings?.();
});
}, [e]), null;
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var gU = () => Hl, xhe = () => Ul;
-function She() {
- let e = (0, D.useContext)(bU), t = (0, D.useSyncExternalStore)($l, xhe), n = (0, D.useSyncExternalStore)($l, gU);
+var YU = () => Hl, Ehe = () => Ul;
+function Dhe() {
+ let e = (0, D.useContext)($U), t = (0, D.useSyncExternalStore)($l, Ehe), n = (0, D.useSyncExternalStore)($l, YU);
return (0, D.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -46331,11 +46484,11 @@ function She() {
e
]), null;
}
-function _U(e, t = !1) {
- let n = (0, D.useSyncExternalStore)($l, gU), r = (0, D.useRef)(void 0);
+function XU(e, t = !1) {
+ let n = (0, D.useSyncExternalStore)($l, YU), r = (0, D.useRef)(void 0);
if (r.current === void 0) {
- let { claimed: e } = aH.navigation;
- r.current = Hl === 0 || sH() ? "boot" : e && !t ? null : "history";
+ let { claimed: e } = fH.navigation;
+ r.current = Hl === 0 || mH() ? "boot" : e && !t ? null : "history";
}
let i = (0, D.useRef)(e);
(0, D.useEffect)(() => {
@@ -46351,22 +46504,22 @@ function _U(e, t = !1) {
}));
}, [n]);
}
-function Che() {
- let e = (0, D.useContext)(bU), t = (0, D.useRef)(e);
+function Ohe() {
+ let e = (0, D.useContext)($U), t = (0, D.useRef)(e);
return (0, D.useLayoutEffect)(() => {
t.current = e;
- }, [e]), _U((t) => {
- let n = aH.navigation.location, { pathname: r, search: i } = yV(n.pathname) && SV(n.state) || n, a = TV(r, i);
- e && a && (jV(), t || $pe(aH.navigation.location.state), e.openOverlay(a));
+ }, [e]), XU((t) => {
+ let n = fH.navigation.location, { pathname: r, search: i } = EV(n.pathname) && kV(n.state) || n, a = MV(r, i);
+ e && a && (RV(), t || Kpe(fH.navigation.location.state), e.openOverlay(a));
}, !0), (0, D.useEffect)(() => () => {
queueMicrotask(() => {
- EV(aH.navigation.location.pathname) || t.current?.closeStage();
+ NV(fH.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function whe({ path: e }) {
- yU();
- let { location: t, seq: n, action: r } = aH.navigation, i = yV(t.pathname) ? SV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({
+function khe({ path: e }) {
+ QU();
+ let { location: t, seq: n, action: r } = fH.navigation, i = EV(t.pathname) ? kV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({
identity: a,
seq: i?.seq ?? n,
navigationSeq: n,
@@ -46377,162 +46530,162 @@ function whe({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, O.jsx)(Che, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, O.jsx)(Ohe, {}, `${e} ${o.current.seq}`);
}
-function The() {
- let e = (0, D.useContext)(bU);
- return _U(() => {
+function Ahe() {
+ let e = (0, D.useContext)($U);
+ return XU(() => {
e?.follow?.ground();
}), null;
}
-function Ehe() {
- return /* @__PURE__ */ (0, O.jsx)(The, {}, yU());
+function jhe() {
+ return /* @__PURE__ */ (0, O.jsx)(Ahe, {}, QU());
}
//#endregion
//#region src/react/router/router.tsx
-var vU = (0, D.createContext)(0), yU = () => (0, D.useContext)(vU), bU = (0, D.createContext)(null);
-function Dhe({ children: e }) {
- let [t, n] = (0, D.useState)(() => aH.navigation);
- return (0, D.useLayoutEffect)(() => (n(aH.navigation), aH.listen((e) => {
+var ZU = (0, D.createContext)(0), QU = () => (0, D.useContext)(ZU), $U = (0, D.createContext)(null);
+function Mhe({ children: e }) {
+ let [t, n] = (0, D.useState)(() => fH.navigation);
+ return (0, D.useLayoutEffect)(() => (n(fH.navigation), fH.listen((e) => {
(0, Et.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, O.jsx)(vU.Provider, {
+ })), []), /* @__PURE__ */ (0, O.jsx)(ZU.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, O.jsx)(Vpe, {
+ children: /* @__PURE__ */ (0, O.jsx)(Ppe, {
location: t.location,
navigationType: t.action,
- navigator: aH,
+ navigator: fH,
children: e
})
});
}
-function Ohe({ target: e }) {
- let t = Epe();
+function Nhe({ target: e }) {
+ let t = ype();
return (0, D.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function khe(e, t, n) {
+function Phe(e, t, n) {
let r = new URL(e, window.location.href);
P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function Ahe() {
- let e = (0, D.useContext)(bU), [t, n] = (0, D.useState)(KV), r = (0, D.useRef)(null);
- (0, D.useLayoutEffect)(() => (n(KV()), tme((e, t) => {
+function Fhe() {
+ let e = (0, D.useContext)($U), [t, n] = (0, D.useState)($V), r = (0, D.useRef)(null);
+ (0, D.useLayoutEffect)(() => (n($V()), Jpe((e, t) => {
t ? (0, Et.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, D.useMemo)(() => (t) => {
- e && r.current && khe(t, e, r.current);
+ e && r.current && Phe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Ohe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(jhe, {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Nhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Ihe, {
entry: t,
- children: /* @__PURE__ */ (0, O.jsx)(Mhe, {
+ children: /* @__PURE__ */ (0, O.jsx)(Lhe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var jhe = class extends D.Component {
+var Ihe = class extends D.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- ime(this.props.entry.container, this.props.entry.revision);
+ Zpe(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, Mhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {
- return J6(e.path) ? (0, Et.createPortal)(zke(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, Lhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {
+ return J6(e.path) ? (0, Et.createPortal)(Jke(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function Nhe({ children: e }) {
- let t = qB();
- yU();
- let n = cH(), r = yV(t.pathname) && !sH() ? SV(t.state) : null;
+function Rhe({ children: e }) {
+ let t = eV();
+ QU();
+ let n = hH(), r = EV(t.pathname) && !mH() ? kV(t.state) : null;
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsxs)(tV, {
+ /* @__PURE__ */ (0, O.jsxs)(cV, {
location: n ?? t,
children: [
- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: t.element
}, e)),
- Object.entries(Fke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ Object.entries(Wke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: t.element
}, e)),
- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: t.element
}, e)),
- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: t.element
}, e)),
- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: t.element
}, e)),
- q6.map((e) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ q6.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: V6["/"].element
}, e)),
- Object.entries(Ike).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ Object.entries(Gke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: t.element
}, e)),
- CV.map((e) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ AV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(Ehe, {}) : V6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(jhe, {}) : V6["/"].element
}, e)),
- vV.map((e) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ TV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
element: null
}, e)),
- /* @__PURE__ */ (0, O.jsx)(eV, {
+ /* @__PURE__ */ (0, O.jsx)(sV, {
path: "*",
element: e
})
]
}),
- /* @__PURE__ */ (0, O.jsxs)(tV, {
+ /* @__PURE__ */ (0, O.jsxs)(cV, {
location: r ?? t,
- children: [CV.map((e) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ children: [AV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
- element: /* @__PURE__ */ (0, O.jsx)(whe, { path: e })
- }, e)), /* @__PURE__ */ (0, O.jsx)(eV, {
+ element: /* @__PURE__ */ (0, O.jsx)(khe, { path: e })
+ }, e)), /* @__PURE__ */ (0, O.jsx)(sV, {
path: "*",
element: null
})]
}),
- /* @__PURE__ */ (0, O.jsxs)(tV, { children: [vV.map((e) => /* @__PURE__ */ (0, O.jsx)(eV, {
+ /* @__PURE__ */ (0, O.jsxs)(cV, { children: [TV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {
path: e,
- element: /* @__PURE__ */ (0, O.jsx)(bhe, {})
- }, e)), /* @__PURE__ */ (0, O.jsx)(eV, {
+ element: /* @__PURE__ */ (0, O.jsx)(The, {})
+ }, e)), /* @__PURE__ */ (0, O.jsx)(sV, {
path: "*",
element: null
})] })
] });
}
-function Phe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, O.jsxs)(uH, { children: [n, /* @__PURE__ */ (0, O.jsx)(bU.Provider, {
+function zhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, O.jsxs)(_H, { children: [n, /* @__PURE__ */ (0, O.jsx)($U.Provider, {
value: t,
- children: /* @__PURE__ */ (0, O.jsxs)(Dhe, { children: [
- /* @__PURE__ */ (0, O.jsx)(Ahe, {}),
- /* @__PURE__ */ (0, O.jsx)(She, {}),
- r && t ? /* @__PURE__ */ (0, O.jsx)(hhe, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, O.jsx)(yhe, {}) : null,
- /* @__PURE__ */ (0, O.jsx)(Nhe, { children: e })
+ children: /* @__PURE__ */ (0, O.jsxs)(Mhe, { children: [
+ /* @__PURE__ */ (0, O.jsx)(Fhe, {}),
+ /* @__PURE__ */ (0, O.jsx)(Dhe, {}),
+ r && t ? /* @__PURE__ */ (0, O.jsx)(bhe, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, O.jsx)(whe, {}) : null,
+ /* @__PURE__ */ (0, O.jsx)(Rhe, { children: e })
] })
})] });
}
-var Fhe = { onCaughtError: (e) => {
+var Bhe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Ihe(e, t, n) {
+function Vhe(e, t, n) {
(0, D.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -46546,7 +46699,7 @@ function Ihe(e, t, n) {
n
]);
}
-function Lhe(e, t) {
+function Hhe(e, t) {
let n = (0, D.useRef)(!1);
return (0, D.useEffect)(() => {
if (!e) return;
@@ -46560,33 +46713,33 @@ function Lhe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var xU = (0, D.createContext)("md");
-function SU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var eW = (0, D.createContext)("md");
+function tW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);
- Ihe(d, () => f(!1), [l, u]);
- let p = Lhe(d, l);
- return /* @__PURE__ */ (0, O.jsx)(Oue, {
+ Vhe(d, () => f(!1), [l, u]);
+ let p = Hhe(d, l);
+ return /* @__PURE__ */ (0, O.jsx)(xue, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: oF("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(jI, {
+ className: dF("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(PI, {
ref: l,
- className: oF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, O.jsx)(jue, {
- className: oF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: dF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, O.jsx)(wue, {
+ className: dF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, O.jsx)(Upe, { className: oF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, O.jsx)(pR, {
+ }), /* @__PURE__ */ (0, O.jsx)(Ipe, { className: dF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, O.jsx)(bR, {
ref: u,
isNonModal: !0,
offset: 4,
- className: oF(Kpe, oV, "p-2", n),
- children: /* @__PURE__ */ (0, O.jsx)(Xle, {
+ className: dF(zpe, pV, "p-2", n),
+ children: /* @__PURE__ */ (0, O.jsx)(Ule, {
items: a,
- className: oF(qpe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, O.jsx)(xU.Provider, {
+ className: dF(Bpe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, O.jsx)(eW.Provider, {
value: r,
children: i
})
@@ -46594,24 +46747,24 @@ function SU({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function CU({ className: e, children: t, ...n }) {
- let r = (0, D.useContext)(xU);
- return /* @__PURE__ */ (0, O.jsx)($le, {
+function nW({ className: e, children: t, ...n }) {
+ let r = (0, D.useContext)(eW);
+ return /* @__PURE__ */ (0, O.jsx)(Kle, {
...n,
- className: (t) => oF(sV, 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) => dF(mV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/catalog-folders/catalog-folders.ts
-var wU = {
+var rW = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function TU(e, t = "", n = "") {
+function iW(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -46623,15 +46776,15 @@ function TU(e, t = "", n = "") {
queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)
};
}
-function EU(e, t) {
+function aW(e, t) {
let n = new URLSearchParams(e.search);
for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);
return e.pathname + (n.size ? `?${n}` : "");
}
//#endregion
//#region src/react/catalog-folders/folder-rule-dialog.tsx
-function Rhe({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, D.useContext)(bU), a = BH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {
+function Uhe({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, D.useContext)($U), a = qH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -46660,7 +46813,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, O.jsx)(Uz, {
+ return g ? null : /* @__PURE__ */ (0, O.jsx)(Xz, {
isOpen: !0,
onOpenChange: (e) => {
!e && !w && r();
@@ -46674,7 +46827,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, O.jsx)(FI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(RI, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -46682,7 +46835,7 @@ function Rhe({ 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, O.jsx)(Yz, {
+ }), /* @__PURE__ */ (0, O.jsx)(nB, {
label: "关闭目录用途",
onPress: () => {
w || r();
@@ -46694,20 +46847,20 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, O.jsx)(Iz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(SU, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Uz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(tW, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(wU).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(CU, {
+ children: Object.entries(rW).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(nW, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Hz, {
+ o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -46718,7 +46871,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: w,
isRequired: !0
}),
- /* @__PURE__ */ (0, O.jsx)(pV, {
+ /* @__PURE__ */ (0, O.jsx)(bV, {
isSelected: u,
isDisabled: w,
onChange: (e) => {
@@ -46726,7 +46879,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, O.jsx)(pV, {
+ /* @__PURE__ */ (0, O.jsx)(bV, {
isSelected: f,
isDisabled: w,
onChange: (e) => {
@@ -46763,9 +46916,9 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
children: e.name
}, e.id))
}) : null,
- m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "warning",
- extra: /* @__PURE__ */ (0, O.jsx)(rU, {
+ extra: /* @__PURE__ */ (0, O.jsx)(IU, {
summary: "查看归属冲突",
children: /* @__PURE__ */ (0, O.jsx)("ul", {
className: "mt-2 flex flex-col gap-2",
@@ -46783,7 +46936,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
}) : null
]
}) : null,
- a.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ a.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: a.error
}) : null
@@ -46798,7 +46951,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
onClick: () => {
w || C();
},
- ...Xz(a.busy === "remove"),
+ ...rB(a.busy === "remove"),
children: "移除规则"
}) : null,
/* @__PURE__ */ (0, O.jsx)(q, {
@@ -46810,13 +46963,13 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
}),
m ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "primary",
- ...Xz(a.busy === "save"),
+ ...rB(a.busy === "save"),
onClick: S,
children: T("save", "正在保存") || "保存目录用途"
}) : /* @__PURE__ */ (0, O.jsx)(q, {
variant: "primary",
disabled: o !== "category" && !c.trim(),
- ...Xz(a.busy === "preview"),
+ ...rB(a.busy === "preview"),
onClick: () => {
x();
},
@@ -46830,7 +46983,7 @@ function Rhe({ folder: e, rule: t, revision: n, close: r }) {
}
//#endregion
//#region src/react/catalog-folders/use-folder-sticky-offset.ts
-function zhe(e, t) {
+function Whe(e, t) {
(0, D.useLayoutEffect)(() => {
if (!e) return;
let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {
@@ -46854,35 +47007,35 @@ function zhe(e, t) {
}
//#endregion
//#region src/react/catalog-folders/catalog-folders-page.tsx
-function DU() {
- return KB() ? /* @__PURE__ */ (0, O.jsx)(Bhe, {}) : null;
+function oW() {
+ return $B() ? /* @__PURE__ */ (0, O.jsx)(Ghe, {}) : null;
}
-function Bhe() {
- let e = qB(), t = (0, D.useContext)(bU);
+function Ghe() {
+ let e = eV(), t = (0, D.useContext)($U);
if (!Qt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
- return /* @__PURE__ */ (0, O.jsx)(KF, {
+ return /* @__PURE__ */ (0, O.jsx)(YF, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
- icon: wz,
- onClick: () => t?.navigate(EU(e, r ? {
+ icon: jz,
+ onClick: () => t?.navigate(aW(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function Vhe({ children: e, enabled: t }) {
- return KB() ? /* @__PURE__ */ (0, O.jsx)(Hhe, {
+function Khe({ children: e, enabled: t }) {
+ return $B() ? /* @__PURE__ */ (0, O.jsx)(qhe, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e });
}
-function Hhe({ children: e, enabled: t }) {
- let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = qB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
+function qhe({ children: e, enabled: t }) {
+ let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = eV(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "entity-folder-workspace",
"data-folder-workspace": "",
@@ -46901,7 +47054,7 @@ function Hhe({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, O.jsx)(OU, {
+ n && i ? /* @__PURE__ */ (0, O.jsx)(sW, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -46909,14 +47062,14 @@ function Hhe({ children: e, enabled: t }) {
]
});
}
-function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = qB(), i = (0, D.useContext)(bU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = eV(), i = (0, D.useContext)($U), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- zhe(o, e);
+ Whe(o, e);
let c = a.get("folder") || "", l = Ct({
- ...TU(s, c),
+ ...iW(s, c),
enabled: o
}), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");
if ((0, D.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {
@@ -46930,11 +47083,11 @@ function OU({ 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(EU(r, {
+ d(!1), i.navigate(aW(r, {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(Whe, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(lW, {
scope: s,
selected: c,
current: _,
@@ -46951,21 +47104,21 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, O.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, O.jsx)(KF, {
+ children: /* @__PURE__ */ (0, O.jsx)(YF, {
"aria-label": "打开文件夹目录",
- icon: _fe,
+ icon: ufe,
size: "small",
onClick: () => d(!0)
})
}),
- /* @__PURE__ */ (0, O.jsxs)(Gpe, {
+ /* @__PURE__ */ (0, O.jsxs)(Rpe, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, O.jsx)(iV, {
+ children: [/* @__PURE__ */ (0, O.jsx)(dV, {
current: !c,
onClick: () => g(""),
- icon: wz,
+ icon: jz,
children: "全部文件夹"
- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(iV, {
+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(dV, {
current: t === _.ancestors.length - 1,
onClick: () => g(e.id),
children: /* @__PURE__ */ (0, O.jsx)("span", {
@@ -46975,15 +47128,15 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, O.jsx)(KF, {
+ _?.selected ? /* @__PURE__ */ (0, O.jsx)(YF, {
"aria-label": "设置目录用途",
- icon: cfe,
+ icon: tfe,
size: "small",
onClick: () => p(!0)
}) : null
]
}),
- l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -46995,7 +47148,7 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}),
children: jn(l.error)
}) : null,
- _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Gz, {
+ _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Qz, {
tone: "warning",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -47007,14 +47160,14 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}) : null,
_?.selected ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, O.jsx)(pV, {
+ children: [/* @__PURE__ */ (0, O.jsx)(bV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate(EU(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(aW(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${wU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${rW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, O.jsx)("div", {
@@ -47024,13 +47177,13 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-children",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))
}) : null,
- _?.children.length ? /* @__PURE__ */ (0, O.jsx)(Uhe, {
+ _?.children.length ? /* @__PURE__ */ (0, O.jsx)(cW, {
nodes: _.children,
go: g
}, c) : null
]
}), h),
- /* @__PURE__ */ (0, O.jsxs)(Uz, {
+ /* @__PURE__ */ (0, O.jsxs)(Xz, {
isOpen: u,
onOpenChange: d,
width: "form",
@@ -47040,7 +47193,7 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, O.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, O.jsx)(Yz, {
+ }), /* @__PURE__ */ (0, O.jsx)(nB, {
label: "关闭文件夹目录",
onPress: () => d(!1)
})]
@@ -47049,7 +47202,7 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Rhe, {
+ f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Uhe, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -47057,7 +47210,7 @@ function OU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function Uhe({ nodes: e, go: t }) {
+function cW({ nodes: e, go: t }) {
let [n, r] = (0, D.useState)(!1), i = (0, D.useId)(), a = n ? e : e.slice(0, 12);
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-2",
@@ -47068,7 +47221,7 @@ function Uhe({ nodes: e, go: t }) {
children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: wz,
+ leadingIcon: jz,
onClick: () => t(e.id),
children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "truncate",
@@ -47085,28 +47238,28 @@ function Uhe({ nodes: e, go: t }) {
}) : null]
});
}
-function Whe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Ct(TU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = Ct({
- ...TU(e, "", u),
+function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+ let a = Ct(iW(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = Ct({
+ ...iW(e, "", u),
enabled: !!u.trim()
- }), f = mV();
+ }), f = xV();
(0, D.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 = xt({ queries: p.map((t) => TU(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = xt({ queries: p.map((t) => iW(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, O.jsx)(lV, {
+ return /* @__PURE__ */ (0, O.jsx)(gV, {
id: e.id,
label: e.name,
- icon: wz,
- expandedIcon: Tz,
+ icon: jz,
+ expandedIcon: Mz,
iconClassName: "size-(--icon-inline)",
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(lV, {
+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(gV, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -47122,15 +47275,15 @@ function Whe({ 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, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
- leadingIcon: Nz,
+ leadingIcon: Bz,
value: c,
onChange: l,
size: "small"
}),
- v ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ v ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -47165,20 +47318,20 @@ function Whe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
"aria-busy": "true",
className: "h-8 skeleton-sheen",
"aria-label": "正在查找文件夹"
- }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: jn(d.error)
}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: wz,
+ leadingIcon: jz,
onClick: () => {
l(""), r(e.id);
},
children: e.name
- }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Kz, {
+ }, e.id)) : /* @__PURE__ */ (0, O.jsx)($z, {
size: "compact",
- icon: Nz,
+ icon: Bz,
title: "没有匹配的文件夹",
actions: /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
@@ -47187,7 +47340,7 @@ function Whe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}),
children: "换个目录名称试试。"
})
- }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(Jpe, {
+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(Vpe, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: o,
@@ -47195,11 +47348,11 @@ function Whe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
selectedKeys: new Set(t ? [t] : []),
onSelectionChange: _,
children: a.data?.roots.map(g)
- }) : /* @__PURE__ */ (0, O.jsx)(Kz, {
+ }) : /* @__PURE__ */ (0, O.jsx)($z, {
size: "compact",
- icon: wz,
+ icon: jz,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, O.jsx)(cI, {
+ actions: /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -47213,54 +47366,54 @@ function Whe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function Ghe(e) {
- let t = YF(MH("selection"));
- return /* @__PURE__ */ (0, O.jsx)(mz, {
+function uW(e) {
+ let t = QF(zH("selection"));
+ return /* @__PURE__ */ (0, O.jsx)(xz, {
...e,
ref: t
});
}
-function kU(e) {
- let t = YF(MH("selection"));
- return /* @__PURE__ */ (0, O.jsx)(NR, {
+function dW(e) {
+ let t = QF(zH("selection"));
+ return /* @__PURE__ */ (0, O.jsx)(BR, {
...e,
ref: t
});
}
-var AU = "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", jU = "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", Khe = "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", MU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", NU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+var fW = "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", pW = "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", mW = "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", hW = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", gW = "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)";
//#endregion
//#region src/react/catalog-grid/catalog-view-toggle.tsx
-function PU() {
- let e = CM();
- return /* @__PURE__ */ (0, O.jsxs)(NR, {
+function _W() {
+ let e = DM();
+ return /* @__PURE__ */ (0, O.jsxs)(BR, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: xM,
+ onChange: TM,
"data-entity-layout": "",
- className: MU,
- children: [/* @__PURE__ */ (0, O.jsx)(PR, {
+ className: hW,
+ children: [/* @__PURE__ */ (0, O.jsx)(VR, {
value: "cards",
"aria-label": "卡片",
- className: NU,
+ className: gW,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, O.jsx)("span", {
title: "卡片",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, O.jsx)(Oz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {
"aria-hidden": "true",
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, O.jsx)(PR, {
+ }), /* @__PURE__ */ (0, O.jsx)(VR, {
value: "list",
"aria-label": "列表",
- className: NU,
+ className: gW,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, O.jsx)("span", {
title: "列表",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, O.jsx)(hfe, {
+ children: /* @__PURE__ */ (0, O.jsx)(cfe, {
"aria-hidden": "true",
className: "size-4"
})
@@ -47270,8 +47423,8 @@ function PU() {
}
//#endregion
//#region src/react/components/icon-swap.tsx
-function FU({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = lx();
+function vW({ a: e, b: t, state: n, className: r }) {
+ let { isFocusVisible: i } = px();
return /* @__PURE__ */ (0, O.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -47287,115 +47440,115 @@ function FU({ a: e, b: t, state: n, className: r }) {
})]
});
}
-function IU({ className: e }) {
- return /* @__PURE__ */ (0, O.jsx)(FU, {
- a: Vde,
- b: Bde,
+function yW({ className: e }) {
+ return /* @__PURE__ */ (0, O.jsx)(vW, {
+ a: Pde,
+ b: Nde,
className: e
});
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var LU = (e) => typeof e == "string" ? e : "", RU = (e) => e.aliases;
-function zU(e, t = "") {
+var bW = (e) => typeof e == "string" ? e : "", xW = (e) => e.aliases;
+function SW(e, t = "") {
let n = gi(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function BU(e, t = "") {
+function CW(e, t = "") {
let n = z(kr(t || e)), r = gi(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 VU = (e) => LU(e.title).trim() || "未命名内容", HU = (e, t) => Or(e, RU(t));
-function UU(e) {
+var wW = (e) => bW(e.title).trim() || "未命名内容", TW = (e, t) => Or(e, xW(t));
+function EW(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 = LU(n.entity_name);
+ let n = t[0], r = bW(n.entity_name);
return Mt("creator", r, n.entity_id), r;
}
-function WU(e, t) {
+function DW(e, t) {
let { src: n, fallback: r } = Ar(e), i = kr(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 GU(e, t, n) {
- let r = RU(n), i = e.credit, a = i?.poster;
+function OW(e, t, n) {
+ let r = xW(n), i = e.credit, a = i?.poster;
if (!a) {
let n = Or(t, r);
return {
- author: n || LU(e.author) || LU(e.source_label) || "创作者未取得",
- avatar: WU(t, n),
+ author: n || bW(e.author) || bW(e.source_label) || "创作者未取得",
+ avatar: DW(t, n),
credited: "",
- entityName: UU(t)
+ entityName: EW(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 && Or(c, r) || a;
return {
author: l,
- avatar: WU(c, l),
+ avatar: DW(c, l),
credited: i.credited || "",
- entityName: UU(c)
+ entityName: EW(c)
};
}
-function KU(e, t = e.primary) {
+function kW(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 = LU(e.primary.version);
+ let i = bW(e.primary.version);
i && n.push(r("version", z(i)));
- let a = LU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = bW(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function qU(e, t = e.primary) {
+function AW(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]) => zU(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => SW(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 JU(e, t) {
- let n = LU(e.media_error);
+function jW(e, t) {
+ let n = bW(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var qhe = 864e5, Jhe = (e, t) => {
+var MW = 864e5, NW = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > qhe;
+ return Number.isFinite(n) && n - t > MW;
};
-function YU(e, t) {
- let n = LU(e.published_at);
+function PW(e, t) {
+ let n = bW(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Gn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: Jhe(n, t) ? " · 晚于现在" : ""
+ suffix: NW(n, t) ? " · 晚于现在" : ""
};
}
-function XU(e, t = Date.now()) {
- let n = YU(e, t);
+function FW(e, t = Date.now()) {
+ let n = PW(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function ZU(e, t = Date.now()) {
- let n = YU(e, t);
+function IW(e, t = Date.now()) {
+ let n = PW(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 QU = /* @__PURE__ */ new Set(), $U = [], eW = null;
-function tW() {
- if (eW = null, !$U.length) return;
- let e = $U.splice(0, 200);
+var LW = /* @__PURE__ */ new Set(), RW = [], zW = null;
+function BW() {
+ if (zW = null, !RW.length) return;
+ let e = RW.splice(0, 200);
R("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), $U.length && (eW = setTimeout(tW, 800));
+ }).catch(() => {}), RW.length && (zW = setTimeout(BW, 800));
}
-function nW(e, t, n, r) {
+function VW(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- QU.has(i) || (QU.add(i), $U.push(t === null ? {
+ LW.has(i) || (LW.add(i), RW.push(t === null ? {
item: e,
width: n,
height: r
@@ -47404,26 +47557,26 @@ function nW(e, t, n, r) {
width: n,
height: r,
media: t
- }), eW ||= setTimeout(tW, 800));
+ }), zW ||= setTimeout(BW, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var rW = (e) => e === "videos", iW = () => /* @__PURE__ */ (0, O.jsx)("span", {
+var HW = (e) => e === "videos", UW = () => /* @__PURE__ */ (0, O.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), aW = Jz("shuffle"), oW = Jz("arrow-up"), sW = Jz("arrow-down");
-function cW(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = rW(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), WW = tB("shuffle"), GW = tB("arrow-up"), KW = tB("arrow-down");
+function qW(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = HW(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, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = oI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = oI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = oI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
+ })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = lI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = lI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = lI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, D.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(pW, {
+ }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QW, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, O.jsx)($F, {
+ }), /* @__PURE__ */ (0, O.jsx)(nI, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -47452,19 +47605,19 @@ function cW(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(fW, {
+ n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ZW, {
keys: n,
view: t,
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, O.jsx)(iW, {}) : null] }) : null,
- T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(uW, {
+ }), d ? /* @__PURE__ */ (0, O.jsx)(UW, {}) : null] }) : null,
+ T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YW, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, O.jsx)(iW, {})] }) : null,
+ }), /* @__PURE__ */ (0, O.jsx)(UW, {})] }) : null,
/* @__PURE__ */ (0, O.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -47485,11 +47638,11 @@ function cW(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, O.jsx)(iW, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(UW, {}) : null]
}), /* @__PURE__ */ (0, O.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(tI, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(iI, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -47498,17 +47651,17 @@ function cW(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(dW, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(XW, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, O.jsx)(mW, { ...e })
+ bottom: /* @__PURE__ */ (0, O.jsx)($W, { ...e })
})] });
}
-var lW = [[
+var JW = [[
"videos",
"视频",
"play",
@@ -47519,7 +47672,7 @@ var lW = [[
"pics",
"image"
]];
-function uW({ head: e, row: t, glide: n, onMedia: r }) {
+function YW({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
ref: t,
role: "group",
@@ -47527,7 +47680,7 @@ function uW({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: lW.map(([t, i, a, o]) => {
+ children: JW.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -47545,7 +47698,7 @@ function uW({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function dW({ head: e, actions: t }) {
+function XW({ head: e, actions: t }) {
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -47555,10 +47708,10 @@ function dW({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: zU(n) }
+ dangerouslySetInnerHTML: { __html: SW(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(iW, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(tI, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(UW, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(iI, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -47571,7 +47724,7 @@ function dW({ head: e, actions: t }) {
}, e.k))
] });
}
-function fW({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function ZW({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -47619,7 +47772,7 @@ function fW({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function pW({ items: e, hidden: t, actions: n }) {
+function QW({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -47639,7 +47792,7 @@ function pW({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function mW(e) {
+function $W(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, O.jsxs)("button", {
@@ -47651,27 +47804,27 @@ function mW(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, O.jsx)(hW, {
+ /* @__PURE__ */ (0, O.jsx)(eG, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, O.jsx)(lB, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(vW, {
+ /* @__PURE__ */ (0, O.jsx)(gB, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(rG, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(xW, {
+ t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(oG, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(bW, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(aG, {
head: e.online,
actions: o
}) : null
] });
}
-function hW({ text: e, busy: t }) {
+function eG({ text: e, busy: t }) {
return /* @__PURE__ */ (0, O.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, O.jsx)("span", {
@@ -47681,22 +47834,22 @@ function hW({ text: e, busy: t }) {
}) : e
});
}
-function gW({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, O.jsx)(NR, {
+function tG({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, O.jsx)(BR, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: MU,
+ className: hW,
children: r.map(([e, t, n]) => {
- let r = Jz(n);
- return /* @__PURE__ */ (0, O.jsx)(PR, {
+ let r = tB(n);
+ return /* @__PURE__ */ (0, O.jsx)(VR, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: NU,
+ className: gW,
children: /* @__PURE__ */ (0, O.jsx)("span", {
title: t,
className: "contents",
@@ -47706,38 +47859,38 @@ function gW({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function _W({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, O.jsx)(ZF, {
+function nG({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, O.jsx)(eI, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: aW,
+ icon: WW,
onPress: e
});
}
-function vW({ head: e, actions: t }) {
- let n = CM();
+function rG({ head: e, actions: t }) {
+ let n = DM();
return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(_W, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(gW, {
+ /* @__PURE__ */ (0, O.jsx)(nG, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(tG, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, O.jsx)(PU, {}),
- /* @__PURE__ */ (0, O.jsx)(DU, {}),
- /* @__PURE__ */ (0, O.jsx)(yW, {
+ /* @__PURE__ */ (0, O.jsx)(_W, {}),
+ /* @__PURE__ */ (0, O.jsx)(oW, {}),
+ /* @__PURE__ */ (0, O.jsx)(iG, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function yW({ sorts: e, onSort: t }) {
+function iG({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -47745,20 +47898,20 @@ function yW({ 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, O.jsx)(FU, {
- a: oW,
- b: sW,
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(vW, {
+ a: GW,
+ b: KW,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
}, e.key)) });
}
-function bW({ head: e, actions: t }) {
+function aG({ head: e, actions: t }) {
return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(_W, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gW, {
+ /* @__PURE__ */ (0, O.jsx)(nG, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(tG, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -47778,27 +47931,27 @@ function bW({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, O.jsx)(yW, {
+ /* @__PURE__ */ (0, O.jsx)(iG, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function xW({ head: e, actions: t, helpers: n }) {
+function oG({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, D.useState)(!1), a = (0, D.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, D.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, O.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, O.jsx)(_W, {
+ e.shuffle ? /* @__PURE__ */ (0, O.jsx)(nG, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, O.jsx)(gW, {
+ /* @__PURE__ */ (0, O.jsx)(tG, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -47814,31 +47967,31 @@ function xW({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var SW = "";
-function CW(e) {
- let t = !e.tiers, n = jW(e.comboHost);
+var sG = "";
+function cG(e) {
+ let t = !e.tiers, n = gG(e.comboHost);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(pW, {
+ n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(QW, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, O.jsx)(EW, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(wW, { ...e })
+ /* @__PURE__ */ (0, O.jsx)(dG, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(lG, { ...e })
]
});
}
-function wW(e) {
- let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = oI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function lG(e) {
+ let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = lI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, D.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = MW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = _G(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, D.useLayoutEffect)(() => {
let e = a.current?.closest("[data-catalog-frame]");
if (!e) return;
@@ -47855,7 +48008,7 @@ function wW(e) {
e.sorts
]), (0, D.useLayoutEffect)(() => {
ms(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, O.jsx)($F, {
+ }, [f]), /* @__PURE__ */ (0, O.jsx)(nI, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -47899,17 +48052,17 @@ function wW(e) {
}), /* @__PURE__ */ (0, O.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(OW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(TW, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(pG, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(uG, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(kW, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(mG, { ...e })
});
}
-function TW({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, O.jsxs)(tI, {
+function uG({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)(iI, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -47920,12 +48073,12 @@ function TW({ tag: e, onPress: t }) {
})]
});
}
-function EW(e) {
+function dG(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = MW(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = MW(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = _G(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = _G(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, D.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -47938,7 +48091,7 @@ function EW(e) {
children: [u ? /* @__PURE__ */ (0, O.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, O.jsx)(OW, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, O.jsx)(pG, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -47955,18 +48108,18 @@ function EW(e) {
}) : null, d ? /* @__PURE__ */ (0, O.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, O.jsx)(OW, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, O.jsx)(pG, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, O.jsx)(DW, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, O.jsx)(fG, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function DW({ studio: e }) {
+function fG({ studio: e }) {
let [t, n] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsx)("span", {
"data-tier-mark": "",
@@ -47984,7 +48137,7 @@ function DW({ studio: e }) {
}) : e.fallback
});
}
-function OW({ kind: e }) {
+function pG({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -48000,37 +48153,37 @@ function OW({ kind: e }) {
children: [/* @__PURE__ */ (0, O.jsx)("span", {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function kW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = CM(), [o, s] = (0, D.useState)(!1);
+function mG({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+ let a = DM(), [o, s] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, O.jsx)(AW, { count: e }), /* @__PURE__ */ (0, O.jsx)(lB, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, O.jsx)(hG, { count: e }), /* @__PURE__ */ (0, O.jsx)(gB, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, O.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(_W, {
+ /* @__PURE__ */ (0, O.jsx)(nG, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(gW, {
+ n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(tG, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, O.jsx)(PU, {}),
- /* @__PURE__ */ (0, O.jsx)(DU, {}),
- /* @__PURE__ */ (0, O.jsx)(yW, {
+ /* @__PURE__ */ (0, O.jsx)(_W, {}),
+ /* @__PURE__ */ (0, O.jsx)(oW, {}),
+ /* @__PURE__ */ (0, O.jsx)(iG, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function AW({ count: e }) {
+function hG({ count: e }) {
let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, D.useLayoutEffect)(() => {
if (e === !1) return;
@@ -48039,7 +48192,7 @@ function AW({ count: e }) {
return;
}
let i = t.current;
- i && (SW && i.dataset.popCount === void 0 && (i.dataset.popCount = SW), SW = r, ds(i, r));
+ i && (sG && i.dataset.popCount === void 0 && (i.dataset.popCount = sG), sG = r, ds(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, O.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, O.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -48055,7 +48208,7 @@ function AW({ count: e }) {
})
}, "skeleton");
}
-function jW(e) {
+function gG(e) {
let [t, n] = (0, D.useState)(null);
return (0, D.useLayoutEffect)(() => {
if (!e) return;
@@ -48065,7 +48218,7 @@ function jW(e) {
};
}, [e]), t;
}
-function MW(e, t, n, r, i) {
+function _G(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -48109,8 +48262,8 @@ function MW(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-var NW = "100% 0px";
-function PW(e, t) {
+var vG = "100% 0px";
+function yG(e, t) {
let [n, r] = (0, D.useState)(e ? "skeleton" : "none"), [i] = (0, D.useState)(() => e ? t() : ""), a = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
a.current && Ts(a.current);
@@ -48136,7 +48289,7 @@ function PW(e, t) {
fading: n === "fade"
};
}
-function FW({ message: e, onRetry: t }) {
+function bG({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -48150,7 +48303,7 @@ function FW({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function IW({ artwork: e, identity: t = e.html, relayout: n }) {
+function xG({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, D.useState)({
identity: t,
artwork: e
@@ -48170,64 +48323,64 @@ function IW({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/library-catalog.ts
-var LW = "peach.library-colors.v1", RW = null, zW = /* @__PURE__ */ new Set();
-function BW() {
+var SG = "peach.library-colors.v1", CG = null, wG = /* @__PURE__ */ new Set();
+function TG() {
try {
- let e = JSON.parse(localStorage.getItem(LW) || "{}");
+ let e = JSON.parse(localStorage.getItem(SG) || "{}");
return e && typeof e == "object" ? e : {};
} catch {
return {};
}
}
-function VW(e) {
- RW = e;
+function EG(e) {
+ CG = e;
try {
- localStorage.setItem(LW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
+ localStorage.setItem(SG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
} catch {}
- zW.forEach((t) => t(e));
+ wG.forEach((t) => t(e));
}
-function HW() {
- return RW;
+function DG() {
+ return CG;
}
-function UW(e) {
- return zW.add(e), () => {
- zW.delete(e);
+function OG(e) {
+ return wG.add(e), () => {
+ wG.delete(e);
};
}
//#endregion
//#region src/react/components/library-tint.ts
-var WW = /* @__PURE__ */ new Map(), GW = !1, KW = /* @__PURE__ */ new Set();
-function qW(e) {
+var kG = /* @__PURE__ */ new Map(), AG = !1, jG = /* @__PURE__ */ new Set();
+function MG(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 JW(e) {
- WW = e;
+function NG(e) {
+ kG = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...WW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${qW(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...kG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${MG(e.color)}}`).join("\n");
}
-function YW(e) {
- JW(e), KW.forEach((e) => e());
+function PG(e) {
+ NG(e), jG.forEach((e) => e());
}
-var XW = (e) => new Map(e.map((e) => [e.id, {
+var FG = (e) => new Map(e.map((e) => [e.id, {
id: e.id,
name: e.name,
icon: No[e.icon || ""] || e.icon || "database",
location: e.roots?.[0]?.location || "",
color: e.color || ""
-}])), ZW = !1;
-function QW() {
- if (ZW) return;
- ZW = !0, UW((e) => YW(XW(e)));
- let e = HW();
+}])), IG = !1;
+function LG() {
+ if (IG) return;
+ IG = !0, OG((e) => PG(FG(e)));
+ let e = DG();
if (e) {
- JW(XW(e));
+ NG(FG(e));
return;
}
- let t = Object.entries(BW()).filter(([, e]) => e);
- t.length && JW(new Map(t.map(([e, t]) => [e, {
+ let t = Object.entries(TG()).filter(([, e]) => e);
+ t.length && NG(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
icon: "database",
@@ -48235,35 +48388,35 @@ function QW() {
color: t
}])));
}
-function $W() {
- GW || HW() || (GW = !0, B("/api/libraries").then((e) => VW(e.libraries || [])).catch(() => {
- GW = !1;
+function RG() {
+ AG || DG() || (AG = !0, B("/api/libraries").then((e) => EG(e.libraries || [])).catch(() => {
+ AG = !1;
}));
}
-function eG(e, t) {
- let n = WW.get(e) ?? {
+function zG(e, t) {
+ let n = kG.get(e) ?? {
id: e,
name: "",
icon: "database",
location: "",
color: ""
};
- YW(new Map([...WW, [e, {
+ PG(new Map([...kG, [e, {
...n,
color: t
}]]));
}
-function tG(e) {
- return KW.add(e), () => {
- KW.delete(e);
+function BG(e) {
+ return jG.add(e), () => {
+ jG.delete(e);
};
}
-function nG({ names: e = !1 } = {}) {
- return QW(), e && $W(), (0, D.useSyncExternalStore)(tG, () => WW, () => WW);
+function VG({ names: e = !1 } = {}) {
+ return LG(), e && RG(), (0, D.useSyncExternalStore)(BG, () => kG, () => kG);
}
//#endregion
//#region src/react/components/row-click.ts
-var rG = [
+var HG = [
"a",
"button",
"input",
@@ -48276,46 +48429,46 @@ var rG = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function iG(e, t) {
+function UG(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(rG);
+ let r = n.closest(HG);
return !r || !t.contains(r) || r === t;
}
-function aG(e) {
+function WG(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var oG = 9 / 16, sG = "未命名视频";
-function cG({ name: e }) {
+var GG = 9 / 16, KG = "未命名视频";
+function qG({ name: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
}
-var lG = {
+var JG = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, uG = {
+}, YG = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function dG({ item: e }) {
+function XG({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && uG[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && YG[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function fG({ item: e, actions: t }) {
+function ZG({ item: e, actions: t }) {
let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -48334,10 +48487,10 @@ function fG({ item: e, actions: t }) {
children: i
}) : null] });
}
-function pG(e, t, n) {
- return t === "short" ? oG : DA(n);
+function QG(e, t, n) {
+ return t === "short" ? GG : MA(n);
}
-function mG(e) {
+function $G(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Xa(e), s = i[0] || "", c = Ia(e);
return {
avatar: r ? /* @__PURE__ */ (0, O.jsx)("div", {
@@ -48369,7 +48522,7 @@ function mG(e) {
"data-entity-kind": "performer",
"data-entity-name": s,
title: s,
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -48379,16 +48532,16 @@ function mG(e) {
"data-entity-kind": t,
"data-entity-name": n,
title: n,
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
}) : /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
})
};
}
-function hG() {
+function eK() {
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -48407,7 +48560,7 @@ function hG() {
})]
});
}
-function gG({ item: e, actions: t, on: n, onChange: r }) {
+function tK({ item: e, actions: t, on: n, onChange: r }) {
let [i, a] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-later": "",
@@ -48422,11 +48575,11 @@ function gG({ item: e, actions: t, on: n, onChange: r }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: n ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: n ? "check" : "bookmark-plus" })
})
});
}
-function _G({ reason: e }) {
+function nK({ reason: e }) {
let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {
ref: t,
@@ -48440,15 +48593,15 @@ function _G({ reason: e }) {
e.stopPropagation(), r(!0);
},
children: e
- }), /* @__PURE__ */ (0, O.jsx)(pR, {
+ }), /* @__PURE__ */ (0, O.jsx)(bR, {
triggerRef: t,
isOpen: n,
onOpenChange: r,
placement: "top",
offset: 8,
containerPadding: 12,
- className: oV,
- children: /* @__PURE__ */ (0, O.jsx)(ER, {
+ className: pV,
+ children: /* @__PURE__ */ (0, O.jsx)(NR, {
"data-media-reason-dialog": "",
"aria-label": "推荐理由",
className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -48456,20 +48609,20 @@ function _G({ reason: e }) {
})
})] });
}
-function vG(e, t) {
+function rK(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 yG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
- let l = (0, D.useRef)(null), [u, d] = (0, D.useState)(null), f = u?.id === e.id ? u.on : !!e.watch_later, p = nG(), m = e.library_id && p.get(e.library_id)?.color ? e.library_id : void 0, h = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), g = (0, D.useRef)(e);
- g.current = e;
- let _ = (0, D.useCallback)((e) => {
- let t = g.current;
- l.current && l.current !== e && ll(l.current), l.current = e, e && (!t.medium || t.medium === "video") && dl(e, t);
- }, []), v = e.part_group || null, y = e.edition_group || null, b = !!(v || y), x = n.active && e.is_jav ? n.size : "small", S = Ka(e, x, !1, n.javImage), C = x === "small" ? S.html : Ka(e, "small", !1, n.javImage).html, w = v?.title || e.name || "", T = o.displayName(e, w).trim() || sG, E = o.titleHtml(e, w).trim() || z(sG), k = v?.total_size ?? e.size, A = v?.total_duration ?? e.duration, j = !v && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: M, who: ee } = mG(e), N = (e.follow_tags || e.tags || []).slice(0, 3), te = (t) => {
+function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
+ let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = VG(), 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, D.useRef)(e);
+ _.current = e;
+ let v = (0, D.useCallback)((e) => {
+ let t = _.current;
+ u.current && u.current !== e && ll(u.current), u.current = e, e && (!t.medium || t.medium === "video") && dl(e, t);
+ }, []), y = l && e.part_group || null, b = l && e.edition_group || null, x = !!(y || b), S = n.active && e.is_jav ? n.size : "small", C = Ka(e, S, !1, n.javImage), w = S === "small" ? C.html : Ka(e, "small", !1, n.javImage).html, T = y?.title || e.name || "", E = o.displayName(e, T).trim() || KG, k = o.titleHtml(e, T).trim() || z(KG), A = y?.total_size ?? e.size, j = y?.total_duration ?? e.duration, M = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: ee, who: N } = $G(e), te = (e.follow_tags || e.tags || []).slice(0, 3), P = (t) => {
let n = t.target;
if (n.closest("[data-media-reason-dialog]")) return;
- let r = l.current;
+ let r = u.current;
if (!r) return;
if (i || t.shiftKey || t.ctrlKey || t.metaKey) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
@@ -48489,17 +48642,17 @@ function yG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
s.openUnowned();
return;
}
- let u = n.closest("[data-tag]");
- u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
- }, P = pG(e, t, n), ne = /* @__PURE__ */ (0, O.jsxs)("div", {
+ let l = n.closest("[data-tag]");
+ l && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);
+ }, ne = QG(e, t, n), F = /* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-pic": "",
- "data-pic-portrait": P === oG ? "" : void 0,
- style: { "--card-ratio": String(P) },
+ "data-pic-portrait": ne === GG ? "" : void 0,
+ style: { "--card-ratio": String(ne) },
children: [
- S.html ? /* @__PURE__ */ (0, O.jsx)(IW, {
- artwork: S,
- identity: C,
- relayout: (e) => tl(e, x)
+ C.html ? /* @__PURE__ */ (0, O.jsx)(xG, {
+ artwork: C,
+ identity: w,
+ relayout: (e) => tl(e, S)
}) : /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-nopic": "",
children: "无预览"
@@ -48510,61 +48663,61 @@ function yG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
}),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "check" })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "check" })
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]
}),
- v && !y ? /* @__PURE__ */ (0, O.jsx)("span", {
+ y && !b ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-group": "",
- children: `${Number(v.count).toLocaleString()} 卷`
+ children: `${Number(y.count).toLocaleString()} 卷`
}) : null,
- y ? /* @__PURE__ */ (0, O.jsx)("span", {
+ b ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-group": "",
- title: y.editions.join(" · "),
- children: `${Number(y.count).toLocaleString()} 个版本`
+ title: b.editions.join(" · "),
+ children: `${Number(b.count).toLocaleString()} 个版本`
}) : null,
/* @__PURE__ */ (0, O.jsx)("span", {
"data-media-duration": "",
- children: gn(A)
+ children: gn(j)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(fG, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(ZG, {
item: e,
actions: s
}) : null,
- j > 0 ? /* @__PURE__ */ (0, O.jsx)("div", {
+ M > 0 ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-progress": "",
role: "progressbar",
"aria-label": "观看进度",
"aria-valuemin": 0,
"aria-valuemax": 100,
- "aria-valuenow": Math.round(j * 100),
- children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${(j * 100).toFixed(1)}%` } })
+ "aria-valuenow": Math.round(M * 100),
+ children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${(M * 100).toFixed(1)}%` } })
}) : e.leave_ratio == null ? null : /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-scrub": "",
children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, O.jsx)(hG, {}),
- f || h.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsx)(eK, {}),
+ p || g.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-status": "",
- children: [f ? /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [p ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-status": "later",
title: "稍后看",
"aria-label": "稍后看",
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "bookmark" })
- }) : null, h.length ? /* @__PURE__ */ (0, O.jsx)("span", {
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "bookmark" })
+ }) : null, g.length ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-status": "flagged",
- title: `已标记:${h.join("、")}`,
- "aria-label": `已标记:${h.join("、")}`,
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "heart" })
+ title: `已标记:${g.join("、")}`,
+ "aria-label": `已标记:${g.join("、")}`,
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "heart" })
}) : null]
}) : null,
- i ? null : /* @__PURE__ */ (0, O.jsx)(gG, {
+ i ? null : /* @__PURE__ */ (0, O.jsx)(tK, {
item: e,
actions: s,
- on: f,
- onChange: (t) => d({
+ on: p,
+ onChange: (t) => f({
id: e.id,
on: t
})
@@ -48575,76 +48728,76 @@ function yG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), vG(l.current, -a);
+ e.stopPropagation(), rK(u.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), vG(l.current, a);
+ e.stopPropagation(), rK(u.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "expand" })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "expand" })
})
]
})
]
});
return /* @__PURE__ */ (0, O.jsxs)("article", {
- ref: _,
+ ref: v,
"data-media-card": "",
"data-id": e.id,
"data-variant": t,
- "data-watch-later": f ? "" : void 0,
- "data-library": m,
+ "data-watch-later": p ? "" : void 0,
+ "data-library": h,
"data-jav-item": e.is_jav ? "" : void 0,
- "data-part-seed": v ? v.seed_id : void 0,
- "data-stacked": b ? "" : void 0,
+ "data-part-seed": y ? y.seed_id : void 0,
+ "data-stacked": x ? "" : void 0,
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
- onClick: te,
- onMouseDown: aG,
+ onClick: P,
+ onMouseDown: WG,
children: [
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-media-open": "",
"data-open": "",
- "aria-label": `打开 ${T}${y ? "版本" : v ? "分卷" : "详情"}`
+ "aria-label": `打开 ${E}${b ? "版本" : y ? "分卷" : "详情"}`
}),
- b ? /* @__PURE__ */ (0, O.jsx)("div", {
+ x ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-stack": "",
- children: ne
- }) : ne,
+ children: F
+ }) : F,
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-meta": "",
- children: [M, /* @__PURE__ */ (0, O.jsxs)("div", {
+ children: [ee, /* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-media-title": "",
"data-open": "",
- dangerouslySetInnerHTML: e.disposal === "trash" ? void 0 : { __html: E },
+ dangerouslySetInnerHTML: e.disposal === "trash" ? void 0 : { __html: k },
children: e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-title-text": "",
- dangerouslySetInnerHTML: { __html: E }
+ dangerouslySetInnerHTML: { __html: k }
}) : null
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-byline": "",
children: [
- ee,
+ N,
e.why && t !== "next" ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-why": "",
title: e.why,
@@ -48654,17 +48807,17 @@ function yG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
"data-media-release": "",
dateTime: e.release_date,
title: e.release_date,
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "calendar" }), e.release_date]
}) : null,
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "hard-drive" }), Number(k) > 0 ? vn(Number(k)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "hard-drive" }), Number(A) > 0 ? vn(Number(A)) : "大小未知"]
})
]
}),
- t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(_G, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {
+ t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(nK, { reason: e.why }) : null : te.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-tags": "",
- children: N.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {
+ children: te.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-media-tag": "",
disabled: !!e.follow_item_id,
@@ -48672,15 +48825,15 @@ function yG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, O.jsx)(dG, { item: e })
+ /* @__PURE__ */ (0, O.jsx)(XG, { item: e })
]
})]
})
]
});
}
-function bG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : lG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function aK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : JG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, O.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -48692,14 +48845,14 @@ function bG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: aG,
+ onMouseDown: WG,
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-art": "thumb",
@@ -48711,13 +48864,13 @@ function bG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
}),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: "check" })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "check" })
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, O.jsx)(cG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, O.jsx)(fG, {
+ n ? null : /* @__PURE__ */ (0, O.jsx)(ZG, {
item: e,
actions: i
})
@@ -48728,7 +48881,7 @@ function bG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, O.jsx)(cG, { name: u })
+ children: /* @__PURE__ */ (0, O.jsx)(qG, { name: u })
}), /* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-text": "",
children: [
@@ -48756,29 +48909,29 @@ function bG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, O.jsx)(dG, { item: e })
+ /* @__PURE__ */ (0, O.jsx)(XG, { item: e })
]
})]
})]
});
}
-function xG(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(bG, { ...e }) : /* @__PURE__ */ (0, O.jsx)(yG, { ...e });
+function oK(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(aK, { ...e }) : /* @__PURE__ */ (0, O.jsx)(iK, { ...e });
}
-var SG = (0, D.memo)(xG), CG = 1100, wG = 340, TG = 5e3;
-function EG(e, t, n) {
+var sK = (0, D.memo)(oK), cK = 1100, lK = 340, uK = 5e3;
+function dK(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, TG);
+ }, s = () => o(!1), c = setTimeout(s, uK);
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 DG({ load: e, canFlip: t, referrerPolicy: n }) {
+function fK({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, D.useState)([]), [a, o] = (0, D.useState)(0), [s, c] = (0, D.useState)(null), l = (0, D.useRef)({
live: !1,
generation: 0,
@@ -48820,11 +48973,11 @@ function DG({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => EG(t, e, n)));
+ let s = await Promise.all(a.map((t) => dK(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, CG);
+ p(), e.cycle = setInterval(p, cK);
}));
};
return (0, D.useEffect)(() => d, [d]), {
@@ -48833,7 +48986,7 @@ function DG({ 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(wG, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(lK, () => {
e.armed = null, m();
});
},
@@ -48844,8 +48997,8 @@ function DG({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var OG = Jz("play");
-function kG({ src: e }) {
+var pK = tB("play");
+function mK({ src: e }) {
let [t, n] = (0, D.useState)(!1);
return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {
"data-mix-poster": "",
@@ -48858,8 +49011,8 @@ function kG({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var AG = "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 jG({ faces: e, fallback: t, onOpenEntity: n }) {
+var hK = "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 gK({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {
@@ -48867,18 +49020,18 @@ function jG({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${AG} cursor-pointer outline-none`,
+ className: `${hK} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: Ra(e.name, e, ya(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, O.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${AG} mt-0.5`,
+ className: `${hK} mt-0.5`,
children: t
});
}
-function MG({ 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 = DG({
+function _K({ 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 = fK({
load: i,
canFlip: a
}), x = (0, D.useRef)(b.onPointerLeave);
@@ -48905,11 +49058,11 @@ function MG({ 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, O.jsx)(IW, {
+ f?.html ? /* @__PURE__ */ (0, O.jsx)(xG, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, O.jsx)(kG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, O.jsx)(mK, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -48939,7 +49092,7 @@ function MG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, O.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, O.jsx)(OG, {
+ children: [/* @__PURE__ */ (0, O.jsx)(pK, {
"aria-hidden": !0,
className: "size-(--icon-inline)"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -48952,8 +49105,8 @@ function MG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, O.jsx)(OG, {})
- }) : /* @__PURE__ */ (0, O.jsx)(jG, {
+ children: /* @__PURE__ */ (0, O.jsx)(pK, {})
+ }) : /* @__PURE__ */ (0, O.jsx)(gK, {
faces: o,
fallback: Sn(e),
onOpenEntity: s
@@ -48977,7 +49130,7 @@ function MG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/video-wall/folia/blockReflows.ts
-var NG = [
+var vK = [
[
[
{
@@ -52538,7 +52691,7 @@ var NG = [
}
]
]
-], PG = [
+], yK = [
[
{
x: 0,
@@ -52835,89 +52988,89 @@ var NG = [
rows: 2
}
]
-], FG = (e) => e.map((e) => ({
+], bK = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), IG = (e) => e.map((e) => ({
+})), xK = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), LG = [
+})), SK = [
(e) => e,
- FG,
- IG,
- (e) => FG(IG(e))
-], RG = PG.flatMap((e) => LG.map((t) => t(e))), zG = NG.flatMap((e) => LG.map((t) => e.map(t)));
-RG.length;
-var BG = (e, t) => {
+ bK,
+ xK,
+ (e) => bK(xK(e))
+], CK = yK.flatMap((e) => SK.map((t) => t(e))), wK = vK.flatMap((e) => SK.map((t) => e.map(t)));
+CK.length;
+var TK = (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;
-}, VG = (e, t) => {
- let n = PG.length;
- return ((e + t * 2) % n + n) % n * LG.length + BG(e, t) % LG.length;
-}, HG = (e, t) => RG[VG(e, t)], UG = (e, t, n) => n < 0 || n >= 12 ? null : zG[VG(e, t)][n], WG = 103.36, GG = 6.08, KG = 12 * WG, qG = 8 * WG, JG = 12, YG = (e, t) => (e % t + t) % t, XG = (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 ZG(e, t) {
- let n = Math.max(1, Math.ceil(e / JG)), r = t ? 3 : Math.min(3, n);
+}, EK = (e, t) => {
+ let n = yK.length;
+ return ((e + t * 2) % n + n) % n * SK.length + TK(e, t) % SK.length;
+}, DK = (e, t) => CK[EK(e, t)], OK = (e, t, n) => n < 0 || n >= 12 ? null : wK[EK(e, t)][n], kK = 103.36, AK = 6.08, jK = 12 * kK, MK = 8 * kK, NK = 12, PK = (e, t) => (e % t + t) % t, FK = (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 IK(e, t) {
+ let n = Math.max(1, Math.ceil(e / NK)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * KG,
- height: Math.ceil(n / r) * qG
+ width: r * jK,
+ height: Math.ceil(n / r) * MK
};
}
-function QG(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = HG(e, t)[n];
+function LK(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = DK(e, t)[n];
return {
- x: e * KG + r * WG,
- y: t * qG + i * WG,
- width: a * WG - GG,
- height: o * WG - GG
+ x: e * jK + r * kK,
+ y: t * MK + i * kK,
+ width: a * kK - AK,
+ height: o * kK - AK
};
}
-function $G(e) {
+function RK(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function eK(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 >= JG) return null;
- let o = ZG(e, t), s = o.height / qG;
+ ].every(Number.isInteger) || a < 0 || a >= NK) return null;
+ let o = IK(e, t), s = o.height / MK;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : YG(r, o.columns), l = ((t ? i : YG(i, s)) * o.columns + c) * JG + a;
+ let c = t ? r : PK(r, o.columns), l = ((t ? i : PK(i, s)) * o.columns + c) * NK + a;
return t && l >= e ? null : {
- ...QG(r, i, a),
+ ...LK(r, i, a),
index: l % e,
key: n
};
}
-function tK(e, t) {
+function BK(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / JG);
- return eK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % JG}`);
+ let n = Math.floor(t / NK);
+ return zK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % NK}`);
}
-function nK(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = UG(r, i, a);
+function VK(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = OK(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * KG + e.x * WG,
- y: i * qG + e.y * WG,
- width: e.cols * WG - GG,
- height: e.rows * WG - GG
+ x: r * jK + e.x * kK,
+ y: i * MK + e.y * kK,
+ width: e.cols * kK - AK,
+ height: e.rows * kK - AK
}]));
}
-function rK(e) {
+function HK(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / JG), i = QG(e % 3, Math.floor(e / 3), r % JG);
+ let e = Math.floor(r / NK), i = LK(e % 3, Math.floor(e / 3), r % NK);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * KG - GG : t,
+ width: e >= 36 ? 3 * jK - AK : t,
height: n
};
}
-function iK(e, t, n, r) {
+function UK(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 {
@@ -52926,22 +53079,22 @@ function iK(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function aK(e, t, n, r) {
+function WK(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 = ZG(e, t), s = o.height / qG, c = [];
- for (let n = Math.floor(a.y / qG); n <= Math.floor((a.y + a.height) / qG); n += 1) for (let r = Math.floor(a.x / KG); r <= Math.floor((a.x + a.width) / KG); r += 1) {
+ }, o = IK(e, t), s = o.height / MK, c = [];
+ for (let n = Math.floor(a.y / MK); n <= Math.floor((a.y + a.height) / MK); n += 1) for (let r = Math.floor(a.x / jK); r <= Math.floor((a.x + a.width) / jK); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : YG(r, o.columns), l = t ? n : YG(n, s);
- for (let s = 0; s < JG; s += 1) {
- let u = (l * o.columns + i) * JG + s;
+ let i = t ? r : PK(r, o.columns), l = t ? n : PK(n, s);
+ for (let s = 0; s < NK; s += 1) {
+ let u = (l * o.columns + i) * NK + s;
if (t && u >= e) continue;
- let d = QG(r, n, s);
- XG(d, a) && c.push({
+ let d = LK(r, n, s);
+ FK(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -52950,7 +53103,7 @@ function aK(e, t, n, r) {
}
return c;
}
-var oK = class {
+var GK = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -52962,7 +53115,7 @@ var oK = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : eK(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : zK(t, !1, e);
return r ? {
...r,
index: n
@@ -52992,7 +53145,7 @@ var oK = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * KG,
+ x: (e + 2) * jK,
y: 0
};
}
@@ -53005,10 +53158,10 @@ var oK = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / KG)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / jK)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, sK = [
+}, KK = [
"q",
"performer",
"series",
@@ -53023,17 +53176,17 @@ var oK = class {
"dur_max",
"region"
];
-function cK(e = {}) {
- return sK.some((t) => !!e[t]);
+function qK(e = {}) {
+ return KK.some((t) => !!e[t]);
}
//#endregion
//#region src/react/video-wall/use-wall-camera.ts
-var lK = {
+var JK = {
x: 16,
y: 16,
scale: 1
};
-function uK(e, t, n = lK, r = !1) {
+function YK(e, t, n = JK, r = !1) {
let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)({
width: 0,
height: 0
@@ -53053,7 +53206,7 @@ function uK(e, t, n = lK, r = !1) {
let f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, D.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = iK(e, o.current, rK(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = UK(e, o.current, HK(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));
@@ -53124,7 +53277,7 @@ function uK(e, t, n = lK, 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 = Rne(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = Pne(0, 1, {
duration: .42,
ease: [
.22,
@@ -53153,7 +53306,7 @@ function uK(e, t, n = lK, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...lK }, !0);
+ g(), _({ ...JK }, !0);
},
pan: (e, t) => {
g(), _({
@@ -53215,17 +53368,17 @@ function uK(e, t, n = lK, r = !1) {
}
//#endregion
//#region src/react/video-wall/wall-motion.ts
-var dK = {
+var XK = {
type: "spring",
stiffness: 300,
damping: 34
-}, fK = {
+}, ZK = {
delay: .14,
duration: .24
};
//#endregion
//#region src/react/video-wall/use-wall-playback.ts
-function pK(e, t, n) {
+function QK(e, t, n) {
let [r, i] = (0, D.useState)({
paused: !0,
time: 0,
@@ -53267,15 +53420,15 @@ function pK(e, t, n) {
}
//#endregion
//#region src/react/video-wall/wall-controls.tsx
-function mK({ 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 = ky(), x = pK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function $K({ 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 = Ny(), x = QK(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(Wt(e));
}
};
- return /* @__PURE__ */ (0, O.jsxs)(Ly.div, {
+ return /* @__PURE__ */ (0, O.jsxs)(Vy.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -53285,7 +53438,7 @@ function mK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : fK,
+ transition: b ? { duration: 0 } : ZK,
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -53293,7 +53446,7 @@ function mK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group
type: "button",
"data-wall-play": "",
"data-wall-pause": w ? void 0 : "",
- ...Xz(C),
+ ...rB(C),
"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",
title: w ? "播放" : "暂停",
onClick: () => void T(),
@@ -53343,7 +53496,7 @@ function mK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group
}),
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
- ...Xz(d),
+ ...rB(d),
"aria-label": u ? "移出稍后看" : "稍后看",
title: "稍后看",
"aria-pressed": u,
@@ -53390,7 +53543,7 @@ function mK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function hK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function eq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, D.useRef)(null), l = (0, D.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -53426,7 +53579,7 @@ function hK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function gK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function tq({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, O.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -53449,7 +53602,7 @@ function gK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var _K = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {
+var nq = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -53459,28 +53612,28 @@ var _K = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {
});
//#endregion
//#region src/react/video-wall/wall-queue.tsx
-function vK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function rq({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, O.jsx)(hK, {
+ children: /* @__PURE__ */ (0, O.jsx)(eq, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(gK, {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(tq, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? fN(e.part_label) : "",
+ e.part_label ? _N(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, O.jsx)(IW, { artwork: Ka(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, O.jsx)(xG, { artwork: Ka(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, O.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, O.jsx)("span", { children: [
e.edition_label,
- e.part_label ? fN(e.part_label) : "",
+ e.part_label ? _N(e.part_label) : "",
gn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -53489,7 +53642,7 @@ function vK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
}
//#endregion
//#region src/react/video-wall/wall-route.ts
-function yK(e = `${location.pathname}${location.search}`, t = {}) {
+function iq(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",
@@ -53504,18 +53657,18 @@ function yK(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function bK(e = `${location.pathname}${location.search}`) {
+function aq(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of sK) t.delete(e);
+ for (let e of KK) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function xK() {
- let e = new URLSearchParams(aH.navigation.location.search).get("returnTo") || "/";
- aH.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
+function oq() {
+ let e = new URLSearchParams(fH.navigation.location.search).get("returnTo") || "/";
+ fH.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
-var SK = /* @__PURE__ */ new Map(), CK = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var sq = /* @__PURE__ */ new Map(), cq = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = Ka(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -53528,7 +53681,7 @@ var SK = /* @__PURE__ */ new Map(), CK = (0, D.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, O.jsx)(IW, {
+ children: /* @__PURE__ */ (0, O.jsx)(xG, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && Vc(e, r);
@@ -53536,31 +53689,31 @@ var SK = /* @__PURE__ */ new Map(), CK = (0, D.memo)(function({ item: e, image:
})
});
});
-function wK({ 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 lq({ 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, D.useState)(() => {
- let e = SK.get(f);
+ let e = sq.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, D.useState)(() => m?.exploration || new oK()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, ee] = (0, D.useState)(!1), N = w?.edition_group ? {
+ }), [h] = (0, D.useState)(() => m?.exploration || new GK()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, ee] = (0, D.useState)(!1), N = w?.edition_group ? {
kind: "editions",
seedId: w.edition_group.seed_id
} : w?.part_group ? {
kind: "parts",
seedId: w.part_group.seed_id
} : null, te = Ct({
- queryKey: KM(N || {
+ queryKey: ZM(N || {
kind: "parts",
seedId: 0
}),
enabled: !!N,
- queryFn: ({ signal: e }) => tN(N, {
+ queryFn: ({ signal: e }) => oN(N, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), P = N ? te.data : void 0, ne = P?.items.find((e) => e.id === iN(P, A || w?.id || null)) || w, F = uK(e.length, t && !!e.length, m?.camera || {
+ }), P = N ? te.data : void 0, ne = P?.items.find((e) => e.id === lN(P, A || w?.id || null)) || w, F = YK(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), re = ky(), [ie, ae] = (0, D.useState)(!!m);
+ }, !!w), re = Ny(), [ie, ae] = (0, D.useState)(!!m);
(0, D.useEffect)(() => {
if (!e.length || ie || re) return;
let t = setTimeout(() => ae(!0), 1100);
@@ -53577,7 +53730,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
(0, D.useLayoutEffect)(() => {
document.body.append(Ce), F.viewport.current?.focus({ preventScroll: !0 });
}, [Ce]), (0, D.useEffect)(() => () => Ce.remove(), [Ce]);
- let [we, Te] = (0, D.useState)(() => EV(aH.navigation.location.pathname)), [Ee, De] = (0, D.useState)(m?.image || d), Oe = (0, D.useRef)(null), ke = (0, D.useRef)(p), Ae = (0, D.useRef)(!!e.length);
+ let [we, Te] = (0, D.useState)(() => NV(fH.navigation.location.pathname)), [Ee, De] = (0, D.useState)(m?.image || d), Oe = (0, D.useRef)(null), ke = (0, D.useRef)(p), Ae = (0, D.useRef)(!!e.length);
Ae.current = !!e.length;
let je = (0, D.useRef)({
selectedId: w?.id || null,
@@ -53594,17 +53747,17 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Me = () => {
- Ae.current && (SK.delete(f), SK.set(f, {
+ Ae.current && (sq.delete(f), sq.set(f, {
...je.current,
camera: F.snapshot(),
exploration: h
- }), SK.size > 8 && SK.delete(SK.keys().next().value));
+ }), sq.size > 8 && sq.delete(sq.keys().next().value));
};
(0, D.useLayoutEffect)(Me);
- let Ne = aK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, F.view.camera, F.view.size), Pe = i ? Ne.map((e) => ({
+ let Ne = WK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, F.view.camera, F.view.size), Pe = i ? Ne.map((e) => ({
...e,
index: -1
- })) : t ? Ne : h.assign(Ne, e.length, n), Fe = w && (t ? eK(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? nK(e.length, t, Fe) : /* @__PURE__ */ new Map();
+ })) : t ? Ne : h.assign(Ne, e.length, n), Fe = w && (t ? zK(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? VK(e.length, t, Fe) : /* @__PURE__ */ new Map();
Fe && !Pe.some((e) => e.key === Fe.key) && Pe.push(Fe);
let Le = (e = !1) => {
C.current?.abort(), C.current = null, S.current?.(e), S.current = null, ce(null), fe(!1);
@@ -53621,8 +53774,8 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
t,
p,
i
- ]), (0, D.useEffect)(() => aH.listen((e) => {
- let t = EV(e.location.pathname);
+ ]), (0, D.useEffect)(() => fH.listen((e) => {
+ let t = NV(e.location.pathname);
t && (C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1)), Te(t);
}), []), (0, D.useEffect)(() => () => {
C.current?.abort(), S.current?.(!0), Me();
@@ -53643,7 +53796,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
w?.id !== n.id && Le(!1), Oe.current = {
key: r.key,
id: n.id
- }, me(""), ue(null), T(n), k(r.key), j(null), ee(!1), Se(!1), F.reveal(nK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, me(""), ue(null), T(n), k(r.key), j(null), ee(!1), Se(!1), F.reveal(VK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Be = () => {
ne && y.current && (Me(), Le(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));
}, Ve = async (e = ne) => {
@@ -53665,7 +53818,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && fe(!1);
}
}, He = () => {
- let e = aN(P || null, se || 0);
+ let e = uN(P || null, se || 0);
e && (j(e.id), Ve(e));
};
(0, D.useEffect)(() => {
@@ -53687,7 +53840,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = F.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (F.view.size.width / 2 - r.x) / r.scale,
y: (F.view.size.height / 2 - r.y) / r.scale
- }, o = t ? tK(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? BK(e.length, i) : h.nearest(e.length, i, a);
o && (ze(n, o), ue(n.id));
}, Ke = async () => {
if (!(r || g.current)) {
@@ -53779,7 +53932,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, O.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, O.jsx)(CK, {
+ children: /* @__PURE__ */ (0, O.jsx)(cq, {
item: w,
image: Ee,
big: !0
@@ -53787,7 +53940,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, O.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, O.jsx)(CK, {
+ children: /* @__PURE__ */ (0, O.jsx)(cq, {
item: w,
image: Ee,
big: !0
@@ -53816,7 +53969,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Ze.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Xe(Ze).startsWith(Ze.code) ? Xe(Ze).slice(Ze.code.length).trim() : Xe(Ze) }) : null,
/* @__PURE__ */ (0, O.jsx)("span", { children: Ze.performers?.join(" · ") || Ze.creator || "未归属" }),
- P ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Ze.edition_label, Ze.part_label ? fN(Ze.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ P ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Ze.edition_label, Ze.part_label ? _N(Ze.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, O.jsx)("button", {
@@ -53833,7 +53986,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
pe || N && te.error && !P ? /* @__PURE__ */ (0, O.jsxs)("div", {
"data-wall-play-error": "",
- children: [/* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: pe || Wt(te.error)
}), te.error && !P ? /* @__PURE__ */ (0, O.jsx)(q, {
@@ -53843,7 +53996,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, O.jsx)(mK, {
+ /* @__PURE__ */ (0, O.jsx)($K, {
item: Ze,
playing: se,
frame: b,
@@ -53865,7 +54018,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: He,
error: me
}),
- M ? /* @__PURE__ */ (0, O.jsx)(vK, {
+ M ? /* @__PURE__ */ (0, O.jsx)(rq, {
items: Ue,
activeId: Ze.id,
kind: P?.kind || "wall",
@@ -53881,7 +54034,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: we,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? ee(!1) : w ? Re() : xe ? Se(!1) : xK());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? ee(!1) : w ? Re() : xe ? Se(!1) : oq());
},
children: [
/* @__PURE__ */ (0, O.jsx)("button", {
@@ -53889,7 +54042,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: xK,
+ onClick: oq,
children: /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -53907,7 +54060,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
variant: "ghost",
- onClick: () => aH.push(bK()),
+ onClick: () => fH.push(aq()),
children: "清除筛选"
})]
}) : null,
@@ -53919,7 +54072,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
onSubmit: (e) => {
e.preventDefault();
let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();
- n ? t.set("q", n) : t.delete("q"), Me(), aH.push(`/wall?${t}`), Se(!1);
+ n ? t.set("q", n) : t.delete("q"), Me(), fH.push(`/wall?${t}`), Se(!1);
},
children: [/* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -53933,18 +54086,18 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, O.jsxs)(kU, {
+ /* @__PURE__ */ (0, O.jsxs)(dW, {
"aria-label": "播放墙图片",
value: Ee,
onChange: De,
- className: AU,
- children: [/* @__PURE__ */ (0, O.jsx)(PR, {
+ className: fW,
+ children: [/* @__PURE__ */ (0, O.jsx)(VR, {
value: "cover",
- className: jU,
+ className: pW,
children: "封面"
- }), /* @__PURE__ */ (0, O.jsx)(PR, {
+ }), /* @__PURE__ */ (0, O.jsx)(VR, {
value: "thumbnail",
- className: jU,
+ className: pW,
children: "缩略图"
})]
}),
@@ -54016,7 +54169,7 @@ function wK({ 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 = Ie.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + F.view.camera.x / F.view.camera.scale) + Math.max(0, t.y + F.view.camera.y / F.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, O.jsx)(Ly.article, {
+ return /* @__PURE__ */ (0, O.jsx)(Vy.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -54037,7 +54190,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: oe && !re && !r && ie ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: re ? { duration: 0 } : {
- layout: dK,
+ layout: XK,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -54070,7 +54223,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), ze(n, t, !1));
},
children: r ? Qe : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(CK, {
+ /* @__PURE__ */ (0, O.jsx)(cq, {
item: n,
image: Ee,
ratio: i.width / i.height
@@ -54096,7 +54249,7 @@ function wK({ 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, O.jsx)(Ly.span, {
+ /* @__PURE__ */ (0, O.jsx)(Vy.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: re ? 0 : .24 }
@@ -54108,7 +54261,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
!i && a ? /* @__PURE__ */ (0, O.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: a
}), /* @__PURE__ */ (0, O.jsx)(q, {
@@ -54135,7 +54288,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, O.jsx)(_W, {
+ children: /* @__PURE__ */ (0, O.jsx)(nG, {
busy: r,
onPress: () => void Je()
})
@@ -54145,20 +54298,20 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: /* @__PURE__ */ (0, O.jsxs)(q, {
size: "small",
variant: "secondary",
- ...Xz(r),
+ ...rB(r),
onClick: () => void Ke(),
children: [r ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns() } }) : null, "载入更多"]
})
}) : null,
he ? /* @__PURE__ */ (0, O.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: he
}), /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
variant: "ghost",
- ...Xz(r),
+ ...rB(r),
onClick: () => void Ke(),
children: "立即重试"
})]
@@ -54182,7 +54335,7 @@ function wK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
//#endregion
//#region src/catalog-onboarding.ts
-var TK = [
+var uq = [
"loc",
"creator",
"performer",
@@ -54200,19 +54353,19 @@ var TK = [
"jav",
"thumb"
];
-function EK(e = typeof location > "u" ? "/" : location.href) {
+function dq(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
- ...TK,
+ ...uq,
"q",
"category",
"cat"
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function DK(e, t) {
+async function fq(e, t) {
let n = new URLSearchParams();
- for (let t of TK) e[t] && n.set(t, e[t]);
+ for (let t of uq) 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 || [],
@@ -54223,9 +54376,9 @@ async function DK(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function OK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function pq({ 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 os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? z(EK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
+ if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? z(dq()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -54244,17 +54397,17 @@ function OK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
}
//#endregion
//#region src/react/video-wall/wall-empty.ts
-function kK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
- return e ? r || OK() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${bK()}">清除筛选</a>` });
+function mq({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+ return e ? r || pq() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${aq()}">清除筛选</a>` });
}
//#endregion
//#region src/react/library-processing/processing-actions.tsx
-function AK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function hq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
let [a, o] = (0, D.useState)(t), [s, c] = (0, D.useState)(), [l, u] = (0, D.useState)("");
return (0, D.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
try {
- let o = await Ame(e, t.signal, a);
+ let o = await Cme(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(() => {
@@ -54272,7 +54425,7 @@ function AK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
children: [
/* @__PURE__ */ (0, O.jsx)("div", {
className: "flex justify-center",
- children: /* @__PURE__ */ (0, O.jsx)(zH, {
+ children: /* @__PURE__ */ (0, O.jsx)(KH, {
value: a,
busy: i,
onChange: (e) => {
@@ -54280,7 +54433,7 @@ function AK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}
})
}),
- s ? /* @__PURE__ */ (0, O.jsx)(dU, {
+ s ? /* @__PURE__ */ (0, O.jsx)(WU, {
traffic: s,
initial: !0
}) : null,
@@ -54292,7 +54445,7 @@ function AK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
]
});
}
-function jK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {
+function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {
let a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(r);
(0, D.useEffect)(() => () => o.current?.close(), []);
let [u, d] = (0, D.useState)(!1), f = {
@@ -54350,7 +54503,7 @@ function jK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
});
};
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(AK, {
+ s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(hq, {
command: s.command,
dialog: s.dialog,
speed: r,
@@ -54359,11 +54512,11 @@ function jK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
l.current = e;
}
}), s.host) : null,
- s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(jH, {
+ s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(RH, {
href: "/settings/library",
size: "small",
variant: "primary",
- trailingIcon: bz,
+ trailingIcon: Dz,
disabled: e,
onClick: (e) => {
s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();
@@ -54375,30 +54528,30 @@ function jK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, O.jsx)(q, {
- ...Xz(e),
+ ...rB(e),
onClick: () => m(f.command),
children: f.label
}), /* @__PURE__ */ (0, O.jsx)(q, {
ref: a,
iconOnly: !0,
- leadingIcon: yz,
+ leadingIcon: Ez,
"aria-label": "更多同步方式",
"aria-haspopup": "dialog",
"aria-expanded": u,
- ...Xz(e),
+ ...rB(e),
onClick: () => {
e || d(!u);
}
})]
}),
- /* @__PURE__ */ (0, O.jsx)(pR, {
+ /* @__PURE__ */ (0, O.jsx)(bR, {
triggerRef: a,
isOpen: u,
onOpenChange: d,
placement: "bottom end",
offset: 4,
- className: oV,
- children: /* @__PURE__ */ (0, O.jsx)(NH, {
+ className: pV,
+ children: /* @__PURE__ */ (0, O.jsx)(BH, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
children: p.map(({ label: e, description: t, command: r }) => {
@@ -54407,7 +54560,7 @@ function jK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
type: "button",
disabled: i,
title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: oF(sV, cV, "text-body-2-medium"),
+ className: dF(mV, hV, "text-body-2-medium"),
onClick: () => m(r),
children: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -54424,48 +54577,48 @@ function jK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
}
//#endregion
//#region src/react/library-processing/library-completion.tsx
-function MK(e, t) {
+function _q(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) && !Ka(e, "small", !1, t).html).map((e) => e.id))];
}
-function NK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, O.jsx)(PK, {
+function vq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)(yq, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function PK({ assetIds: e, onComplete: t, className: n }) {
+function yq({ assetIds: e, onComplete: t, className: n }) {
let r = Ct({
- queryKey: bH,
- queryFn: ({ signal: e }) => CH(e),
- refetchInterval: (e) => EH(e.state.data, !0)
+ queryKey: DH,
+ queryFn: ({ signal: e }) => AH(e),
+ refetchInterval: (e) => NH(e.state.data, !0)
}), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = wt({
- mutationFn: (t) => V(yH, {
+ mutationFn: (t) => V(EH, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- a(e.job_id || null), H.setQueryData(bH, e), H.invalidateQueries({ queryKey: bH });
+ a(e.job_id || null), H.setQueryData(DH, e), H.invalidateQueries({ queryKey: DH });
}
}), u = r.data;
if ((0, D.useEffect)(() => {
- u && i && u.job_id === i && !xH(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 && !OH(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
- ]), xH(u)) return null;
- let d = l.isPending || xH(u), f = l.error ? jn(l.error) : r.error ? TH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
+ ]), OH(u)) return null;
+ let d = l.isPending || OH(u), f = l.error ? jn(l.error) : r.error ? MH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
return /* @__PURE__ */ (0, O.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
- className: oF("@container", n),
- children: /* @__PURE__ */ (0, O.jsxs)(Gz, {
+ className: dF("@container", n),
+ children: /* @__PURE__ */ (0, O.jsxs)(Qz, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, O.jsx)(jK, {
+ children: /* @__PURE__ */ (0, O.jsx)(gq, {
busy: d,
metadataOnly: u?.metadata_only,
onRun: (e) => {
@@ -54476,10 +54629,10 @@ function PK({ assetIds: e, onComplete: t, className: n }) {
children: [
p,
" ",
- /* @__PURE__ */ (0, O.jsx)(jH, {
+ /* @__PURE__ */ (0, O.jsx)(RH, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: bz,
+ trailingIcon: Dz,
children: f ? "打开扫描与采集" : "查看处理详情"
})
]
@@ -54488,32 +54641,32 @@ function PK({ assetIds: e, onComplete: t, className: n }) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/FlexRender.js
-function FK(e) {
- return IK(e) || typeof e == "function" || LK(e);
+function bq(e) {
+ return xq(e) || typeof e == "function" || Sq(e);
}
-function IK(e) {
+function xq(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function LK(e) {
+function Sq(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function RK(e, t) {
- return e == null ? null : FK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;
+function Cq(e, t) {
+ return e == null ? null : bq(e) ? /* @__PURE__ */ D.createElement(e, t) : e;
}
-function zK(e) {
+function wq(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? RK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : RK(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? Cq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : Cq(n.cell, t.getContext());
}
- return "header" in e && e.header ? RK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? RK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? Cq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? Cq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
//#endregion
//#region node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function BK({ update: e, notify: t, unwatched: n }) {
+function Tq({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -54631,7 +54784,7 @@ function BK({ update: e, notify: t, unwatched: n }) {
}
//#endregion
//#region node_modules/@tanstack/store/dist/atom.js
-function VK(e, t, n) {
+function Eq(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -54639,38 +54792,38 @@ function VK(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var HK = [], UK = 0, { link: WK, unlink: GK, propagate: KK, checkDirty: qK, shallowPropagate: JK } = /* @__PURE__ */ BK({
+var Dq = [], Oq = 0, { link: kq, unlink: Aq, propagate: jq, checkDirty: Mq, shallowPropagate: Nq } = /* @__PURE__ */ Tq({
update(e) {
return e._update();
},
notify(e) {
- HK[XK++] = e, e.flags &= -3;
+ Dq[Fq++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, eq(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, zq(e));
}
-}), YK = 0, XK = 0, ZK, QK = 0;
-function $K(e) {
+}), Pq = 0, Fq = 0, Iq, Lq = 0;
+function Rq(e) {
try {
- ++QK, e();
+ ++Lq, e();
} finally {
- --QK || tq();
+ --Lq || Bq();
}
}
-function eq(e) {
+function zq(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = GK(n, e);
+ for (; n !== void 0;) n = Aq(n, e);
}
-function tq() {
- if (!(QK > 0)) {
- for (; YK < XK;) {
- let e = HK[YK];
- HK[YK++] = void 0, e.notify();
+function Bq() {
+ if (!(Lq > 0)) {
+ for (; Pq < Fq;) {
+ let e = Dq[Pq];
+ Dq[Pq++] = void 0, e.notify();
}
- YK = 0, XK = 0;
+ Pq = 0, Fq = 0;
}
}
-function nq(e, t) {
+function Vq(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -54679,53 +54832,53 @@ function nq(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return ZK !== void 0 && WK(i, ZK, UK), i._snapshot;
+ return Iq !== void 0 && kq(i, Iq, Oq), i._snapshot;
},
subscribe(e) {
- let t = VK(e), n = { current: !1 }, r = rq(() => {
- i.get(), n.current ? (ZK = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = Eq(e), n = { current: !1 }, r = Hq(() => {
+ i.get(), n.current ? (Iq = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = ZK, o = t?.compare ?? Object.is;
- if (n) ZK = i, ++UK, i.depsTail = void 0;
+ let a = Iq, o = t?.compare ?? Object.is;
+ if (n) Iq = i, ++Oq, 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 {
- ZK = a, n && (i.flags &= -5), eq(i);
+ Iq = a, n && (i.flags &= -5), zq(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && qK(i.deps, i)) {
+ if (e & 16 || e & 32 && Mq(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && JK(e);
+ e !== void 0 && Nq(e);
}
} else e & 32 && (i.flags = e & -33);
- return ZK !== void 0 && WK(i, ZK, UK), i._snapshot;
+ return Iq !== void 0 && kq(i, Iq, Oq), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (KK(e), JK(e), tq());
+ e !== void 0 && (jq(e), Nq(e), Bq());
}
}, i;
}
-function rq(e) {
+function Hq(e) {
let t = () => {
- let t = ZK;
- ZK = n, ++UK, n.depsTail = void 0, n.flags = 6;
+ let t = Iq;
+ Iq = n, ++Oq, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- ZK = t, n.flags &= -5, eq(n);
+ Iq = t, n.flags &= -5, zq(n);
}
}, n = {
deps: void 0,
@@ -54735,17 +54888,17 @@ function rq(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && qK(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && Mq(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, eq(this);
+ this.flags = 0, this.depsTail = void 0, zq(this);
}
};
return t(), n;
}
//#endregion
//#region node_modules/@tanstack/store/dist/shallow.js
-function iq(e, t) {
+function Uq(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) {
@@ -54759,18 +54912,18 @@ function iq(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = aq(e);
- if (n.length !== aq(t).length) return !1;
+ let n = Wq(e);
+ if (n.length !== Wq(t).length) return !1;
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;
return !0;
}
-function aq(e) {
+function Wq(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var oq = /* @__PURE__ */ o(((e) => {
- var t = v(), n = Bx();
+var Gq = /* @__PURE__ */ o(((e) => {
+ var t = v(), n = Wx();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -54814,28 +54967,28 @@ var oq = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), sq = /* @__PURE__ */ o(((e, t) => {
- t.exports = oq();
-})), cq = sq();
-function lq(e, t) {
+})), Kq = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Gq();
+})), qq = Kq();
+function Jq(e, t) {
return e === t;
}
-function uq(e, t = (e) => e, n) {
- let r = n?.compare ?? lq, i = (0, D.useCallback)((t) => {
+function Yq(e, t = (e) => e, n) {
+ let r = n?.compare ?? Jq, i = (0, D.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, D.useCallback)(() => e.get(), [e]);
- return (0, cq.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, qq.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/Subscribe.js
-function dq(e) {
- let t = uq(e.source, e.selector, { compare: iq });
+function Xq(e) {
+ let t = Yq(e.source, e.selector, { compare: Uq });
return typeof e.children == "function" ? e.children(t) : e.children;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function fq(e) {
+function Zq(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
@@ -54843,7 +54996,7 @@ function fq(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function pq(e) {
+function Qq(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -54873,7 +55026,7 @@ function pq(e) {
}
};
}
-function mq(e, t = Object.is) {
+function $q(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -54887,29 +55040,29 @@ function mq(e, t = Object.is) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/reactivity.js
-function hq() {
- return pq({
- createAtom: nq,
- batch: $K
+function eJ() {
+ return Qq({
+ createAtom: Vq,
+ batch: Rq
});
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/utils.js
-function gq(e, t) {
+function tJ(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function _q(e) {
- if (Array.isArray(e)) return e.map(_q);
+function nJ(e) {
+ if (Array.isArray(e)) return e.map(nJ);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? yq() : {}, r = Object.keys(e);
+ let n = t === null ? iJ() : {}, 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: _q(e[i]),
+ value: nJ(e[i]),
writable: !0
});
}
@@ -54917,7 +55070,7 @@ function _q(e) {
}
return e;
}
-function vq(e, t) {
+function rJ(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -54925,53 +55078,53 @@ function vq(e, t) {
}
return e;
}
-function yq() {
+function iJ() {
return Object.create(null);
}
-function bq(e, t) {
+function aJ(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function xq(e, t) {
+function oJ(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => gq(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => tJ(n, e));
};
}
-function Sq(e) {
+function sJ(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 Cq(e) {
+function cJ(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var wq = 3;
-function Tq(e, t) {
- return Eq(e, t, wq);
+var lJ = 3;
+function uJ(e, t) {
+ return dJ(e, t, lJ);
}
-function Eq(e, t, n) {
+function dJ(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !Sq(e) || !Sq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = Cq(e), i = Cq(t);
+ if (n <= 0 || !sJ(e) || !sJ(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = cJ(e), i = cJ(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) || !Eq(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !dJ(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function Dq(e, t, n, r = Tq) {
+function fJ(e, t, n, r = uJ) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = gq(n, e);
+ let t = tJ(n, e);
return r(e, t) ? e : t;
});
}
-function Oq(e) {
+function pJ(e) {
return e instanceof Function;
}
-function kq(e, t) {
+function Jhe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -54981,7 +55134,7 @@ function kq(e, t) {
};
return r(e), n;
}
-var Aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var Yhe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -54995,23 +55148,23 @@ var Aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCom
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function jq(e) {
+function mJ(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function Mq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function hJ({ 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 Aq({
+ return Yhe({
...a,
...o
});
}
-function Nq(e, t = "_") {
+function gJ(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -55019,10 +55172,10 @@ function Nq(e, t = "_") {
parentName: n
};
}
-function Pq(e, t, n) {
+function _J(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = Nq(r);
- t[n] = a ? Mq({
+ let { fnKey: n, fnName: o } = gJ(r);
+ t[n] = a ? hJ({
memoDeps: a,
fn: i,
fnName: o,
@@ -55031,15 +55184,15 @@ function Pq(e, t, n) {
}) : i;
}
}
-function Fq(e, t, n, r) {
+function vJ(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = Nq(i);
+ let { fnKey: r, fnName: s } = gJ(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = Mq({
+ this[i] = hJ({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -55055,18 +55208,18 @@ function Fq(e, t, n, r) {
};
}
}
-function Iq(e, t, n, ...r) {
+function yJ(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function Lq(e) {
+function Xhe(e) {
return e.row.getValue(e.column.id);
}
-function Rq(e) {
+function Zhe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function zq(e) {
+function Qhe(e) {
return {
table: e.table,
column: e.column,
@@ -55078,19 +55231,19 @@ function zq(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var Bq = { assignCellPrototype: (e, t) => {
- Fq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => Lq(e) },
- cell_renderValue: { fn: (e) => Rq(e) },
+var $he = { assignCellPrototype: (e, t) => {
+ vJ("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => Xhe(e) },
+ cell_renderValue: { fn: (e) => Zhe(e) },
cell_getContext: {
- fn: (e) => zq(e),
+ fn: (e) => Qhe(e),
memoDeps: (e) => [e]
}
});
} };
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function Vq(e) {
+function ege(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -55098,7 +55251,7 @@ function Vq(e) {
}
return e._columnPrototype;
}
-function Hq(e, t, n, r) {
+function tge(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -55118,7 +55271,7 @@ function Hq(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = Vq(e), u = Object.create(l);
+ let l = ege(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);
@@ -55126,47 +55279,47 @@ function Hq(e, t, n, r) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function Uq(e) {
+function bJ(e) {
return e.getIsVisible?.() ?? !0;
}
-function Wq(e) {
+function nge(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function Gq(e, t) {
+function xJ(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function Kq(e, t, n, r) {
+function SJ(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function qq(e, t) {
+function CJ(e, t) {
return e._expandRows?.(t) ?? t;
}
-function Jq(e) {
+function rge(e) {
e.autoResetExpanded?.();
}
-function Yq(e) {
+function wJ(e) {
e.autoResetPageIndex?.();
}
-function Xq(e) {
+function ige(e) {
e.autoResetSorting?.();
}
-function Zq(e) {
+function age(e) {
e.autoResetCellSelection?.();
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function Qq(e) {
+function oge(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function $q(e) {
+function sge(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return Gq(e.table, t);
+ return xJ(e.table, t);
}
return [e];
}
-function eJ(e) {
+function cge(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -55177,54 +55330,54 @@ function eJ(e) {
...e.options.defaultColumn
};
}
-function tJ(e, t, n, r = 0) {
+function TJ(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 = Hq(e, o, r, n), c = o;
- s.columns = c.columns ? tJ(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = tge(e, o, r, n), c = o;
+ s.columns = c.columns ? TJ(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function nJ(e) {
- return tJ(e, e.options.columns);
+function lge(e) {
+ return TJ(e, e.options.columns);
}
-function rJ(e) {
+function uge(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
-function iJ(e) {
- let t = yq(), n = e.getAllFlatColumns();
+function dge(e) {
+ let t = iJ(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function aJ(e) {
- return Gq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+function fge(e) {
+ return xJ(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
-function oJ(e) {
- let t = yq(), n = e.getAllLeafColumns();
+function pge(e) {
+ let t = iJ(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function sJ(e, t) {
+function mge(e, t) {
return e.getAllFlatColumnsById()[t];
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var cJ = {
+var hge = {
assignColumnPrototype: (e, t) => {
- Fq("coreColumnsFeature", e, t, {
+ vJ("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => Qq(e),
+ fn: (e) => oge(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => $q(e),
+ fn: (e) => sge(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -55235,25 +55388,25 @@ var cJ = {
});
},
constructTableAPIs: (e) => {
- Pq("coreColumnsFeature", e, {
+ _J("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => eJ(e),
+ fn: () => cge(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => nJ(e),
+ fn: () => lge(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => rJ(e),
+ fn: () => uge(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => iJ(e),
+ fn: () => dge(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => aJ(e),
+ fn: () => fge(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -55262,16 +55415,16 @@ var cJ = {
]
},
table_getAllLeafColumnsById: {
- fn: () => oJ(e),
+ fn: () => pge(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => sJ(e, t) }
+ table_getColumn: { fn: (t) => mge(e, t) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function lJ(e) {
+function gge(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -55279,8 +55432,8 @@ function lJ(e) {
}
return e._headerPrototype;
}
-function uJ(e, t, n) {
- let r = lJ(e), i = Object.create(r);
+function EJ(e, t, n) {
+ let r = gge(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);
@@ -55288,30 +55441,30 @@ function uJ(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function dJ(e, t = 1) {
+function DJ(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- Uq(i) && i.columns.length && (n = Math.max(n, dJ(i.columns, t + 1)));
+ bJ(i) && i.columns.length && (n = Math.max(n, DJ(i.columns, t + 1)));
}
return n;
}
-function fJ(e, t) {
+function _ge(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function Yhe(e, t, n, r) {
+function vge(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 Xhe(e, t) {
+function yge(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function pJ(e, t, n, r, i, a) {
+function OJ(e, t, n, r, i, a) {
let o = {
depth: t,
- id: fJ(r, t),
+ id: _ge(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -55319,10 +55472,10 @@ function pJ(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 = uJ(n, u, {
- id: Yhe(r, t, u.id, a.id),
+ let e = EJ(n, u, {
+ id: vge(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(Xhe(s, u)) : void 0,
+ placeholderId: d ? String(yge(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -55331,18 +55484,18 @@ function pJ(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 && pJ(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && OJ(s, t - 1, n, r, i, a);
}
-function mJ(e) {
+function kJ(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!Uq(n.column)) continue;
+ if (!bJ(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- mJ(n.subHeaders);
+ kJ(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- Uq(t.column) && (r += t.colSpan);
+ bJ(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -55352,38 +55505,38 @@ function mJ(e) {
} else n.rowSpan = 1;
}
}
-function Zhe(e, t, n, r) {
- let i = dJ(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = uJ(n, t[e], {
+function bge(e, t, n, r) {
+ let i = DJ(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = EJ(n, t[e], {
depth: i,
index: e
}));
- return pJ(s, i - 1, n, r, a, o), a.reverse(), mJ(a[0]?.headers ?? []), a;
+ return OJ(s, i - 1, n, r, a, o), a.reverse(), kJ(a[0]?.headers ?? []), a;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function hJ(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) hJ(e.subHeaders[n], t);
+function AJ(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) AJ(e.subHeaders[n], t);
t.push(e);
}
-function Qhe(e) {
+function xge(e) {
let t = [];
- return hJ(e, t), t;
+ return AJ(e, t), t;
}
-function $he(e) {
+function Sge(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function ege(e) {
- return Zhe(e.getAllColumns(), Kq(e, Wq(e), (e) => e.id), e);
+function Cge(e) {
+ return bge(e.getAllColumns(), SJ(e, nge(e), (e) => e.id), e);
}
-function tge(e) {
+function wge(e) {
return [...e.getHeaderGroups()].reverse();
}
-function nge(e) {
+function Tge(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -55391,7 +55544,7 @@ function nge(e) {
}
return n;
}
-function rge(e) {
+function Ege(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -55401,23 +55554,23 @@ function rge(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var ige = {
+var Dge = {
assignHeaderPrototype: (e, t) => {
- Fq("coreHeadersFeature", e, t, {
+ vJ("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => Qhe(e),
+ fn: (e) => xge(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => $he(e),
+ fn: (e) => Sge(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- Pq("coreHeadersFeature", e, {
+ _J("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => ege(e),
+ fn: () => Cge(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -55428,15 +55581,15 @@ var ige = {
]
},
table_getFooterGroups: {
- fn: () => tge(e),
+ fn: () => wge(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => nge(e),
+ fn: () => Tge(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => rge(e),
+ fn: () => Ege(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
@@ -55444,7 +55597,7 @@ var ige = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function age(e) {
+function Oge(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -55452,102 +55605,102 @@ function age(e) {
}
return e._rowPrototype;
}
-var oge = (e, t, n, r, i, a, o) => {
- let s = age(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = yq(), c._valuesCache = yq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var kge = (e, t, n, r, i, a, o) => {
+ let s = Oge(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = iJ(), c._valuesCache = iJ(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
let l = e._rowInstanceInitFns;
for (let e = 0; e < l.length; e++) l[e](c);
return c;
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function sge() {
- return (e) => Mq({
+function Age() {
+ return (e) => hJ({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => cge(e, e.options.data),
- onAfterUpdate: jq(() => {
- Jq(e), Yq(e), Xq(e), Zq(e);
+ fn: () => jge(e, e.options.data),
+ onAfterUpdate: mJ(() => {
+ rge(e), wJ(e), ige(e), age(e);
})
});
}
-function gJ(e, t, n, r = 0, i) {
+function jJ(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = oge(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 = gJ(e, t, c.originalSubRows, r + 1, c)));
+ let s = n[o], c = kge(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 = jJ(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function cge(e, t) {
+function jge(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: iJ()
};
- return n.rows = gJ(e, n, t), n;
+ return n.rows = jJ(e, n, t), n;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function lge(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? sge()(e)), e._rowModels.coreRowModel();
+function Mge(e) {
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Age()(e)), e._rowModels.coreRowModel();
}
-function uge(e) {
+function Nge(e) {
return e.getCoreRowModel();
}
-function dge(e) {
+function Pge(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 fge(e) {
+function Fge(e) {
return e.getFilteredRowModel();
}
-function pge(e) {
+function Ige(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 mge(e) {
+function Lge(e) {
return e.getGroupedRowModel();
}
-function hge(e) {
+function Rge(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 gge(e) {
+function zge(e) {
return e.getSortedRowModel();
}
-function _ge(e) {
+function Bge(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 vge(e) {
+function Vge(e) {
return e.getExpandedRowModel();
}
-function yge(e) {
+function Hge(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 bge(e) {
+function Uge(e) {
return e.getPaginatedRowModel();
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var xge = { constructTableAPIs: (e) => {
- Pq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => lge(e) },
- table_getPreFilteredRowModel: { fn: () => uge(e) },
- table_getFilteredRowModel: { fn: () => dge(e) },
- table_getPreGroupedRowModel: { fn: () => fge(e) },
- table_getGroupedRowModel: { fn: () => pge(e) },
- table_getPreSortedRowModel: { fn: () => mge(e) },
- table_getSortedRowModel: { fn: () => hge(e) },
- table_getPreExpandedRowModel: { fn: () => gge(e) },
- table_getExpandedRowModel: { fn: () => _ge(e) },
- table_getPrePaginatedRowModel: { fn: () => vge(e) },
- table_getPaginatedRowModel: { fn: () => yge(e) },
- table_getRowModel: { fn: () => bge(e) }
+var Wge = { constructTableAPIs: (e) => {
+ _J("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => Mge(e) },
+ table_getPreFilteredRowModel: { fn: () => Nge(e) },
+ table_getFilteredRowModel: { fn: () => Pge(e) },
+ table_getPreGroupedRowModel: { fn: () => Fge(e) },
+ table_getGroupedRowModel: { fn: () => Ige(e) },
+ table_getPreSortedRowModel: { fn: () => Lge(e) },
+ table_getSortedRowModel: { fn: () => Rge(e) },
+ table_getPreExpandedRowModel: { fn: () => zge(e) },
+ table_getExpandedRowModel: { fn: () => Bge(e) },
+ table_getPrePaginatedRowModel: { fn: () => Vge(e) },
+ table_getPaginatedRowModel: { fn: () => Hge(e) },
+ table_getRowModel: { fn: () => Uge(e) }
});
} };
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function Sge(e) {
+function Gge(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -55555,8 +55708,8 @@ function Sge(e) {
}
return e._cellPrototype;
}
-function Cge(e, t, n) {
- let r = Sge(n), i = Object.create(r);
+function Kge(e, t, n) {
+ let r = Gge(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);
@@ -55564,40 +55717,40 @@ function Cge(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function wge(e) {
+function qge(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function Tge(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? qq(e, t).rows : t.rows;
+function Jge(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? CJ(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function Ege(e, t) {
- if (bq(e._valuesCache, t)) return e._valuesCache[t];
+function Yge(e, t) {
+ if (aJ(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 Dge(e, t) {
- if (bq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function Xge(e, t) {
+ if (aJ(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 Oge(e, t) {
+function Zge(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function kge(e) {
- return kq(e.subRows, (e) => e.subRows);
+function Qge(e) {
+ return Jhe(e.subRows, (e) => e.subRows);
}
-function Age(e) {
+function $ge(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 jge(e) {
+function e_e(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function Mge(e) {
+function t_e(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -55606,71 +55759,71 @@ function Mge(e) {
}
return t.reverse();
}
-function Nge(e) {
+function n_e(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 = Cge(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = Kge(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function Pge(e) {
- let t = yq(), n = e.getAllCells();
+function r_e(e) {
+ let t = iJ(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function Fge(e, t, n, r) {
+function i_e(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function Ige(e, t, n) {
+function a_e(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var Lge = {
+var o_e = {
assignRowPrototype: (e, t) => {
- Fq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => wge(e) },
+ vJ("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => qge(e) },
row_getAllCellsByColumnId: {
- fn: (e) => Pge(e),
+ fn: (e) => r_e(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => Nge(e),
+ fn: (e) => n_e(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => kge(e),
+ fn: (e) => Qge(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => jge(e) },
- row_getParentRows: { fn: (e) => Mge(e) },
- row_getUniqueValues: { fn: (e, t) => Dge(e, t) },
- row_getValue: { fn: (e, t) => Ege(e, t) },
- row_renderValue: { fn: (e, t) => Oge(e, t) }
+ row_getParentRow: { fn: (e) => e_e(e) },
+ row_getParentRows: { fn: (e) => t_e(e) },
+ row_getUniqueValues: { fn: (e, t) => Xge(e, t) },
+ row_getValue: { fn: (e, t) => Yge(e, t) },
+ row_renderValue: { fn: (e, t) => Zge(e, t) }
});
},
constructTableAPIs: (e) => {
- Pq("coreRowsFeature", e, {
+ _J("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => Tge(e),
+ fn: () => Jge(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => Fge(t, e, n, r) },
- table_getRow: { fn: (t, n) => Ige(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => i_e(t, e, n, r) },
+ table_getRow: { fn: (t, n) => a_e(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => Age(e),
+ fn: () => $ge(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
@@ -55678,7 +55831,7 @@ var Lge = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function _J(e, t, n = (e, t) => e === t) {
+function MJ(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) {
@@ -55689,13 +55842,13 @@ function _J(e, t, n = (e, t) => e === t) {
}
});
}
-function vJ(e, t, n = (e, t) => e === t) {
+function NJ(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- _J(e, t, n), e._reactivity.commit?.();
+ MJ(e, t, n), e._reactivity.commit?.();
});
}
-function Rge(e) {
- let t = _q(e.initialState);
+function s_e(e) {
+ let t = nJ(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -55706,7 +55859,7 @@ function Rge(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function zge(e, t) {
+function c_e(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -55738,28 +55891,28 @@ function zge(e, t) {
}
});
}
-function yJ(e, t, n) {
- let r = zge(e, gq(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && vJ(e, r.state ?? null);
+function PJ(e, t, n) {
+ let r = c_e(e, tJ(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && NJ(e, r.state ?? null);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var Bge = {
- coreCellsFeature: Bq,
- coreColumnsFeature: cJ,
- coreHeadersFeature: ige,
- coreRowModelsFeature: xge,
- coreRowsFeature: Lge,
+var l_e = {
+ coreCellsFeature: $he,
+ coreColumnsFeature: hge,
+ coreHeadersFeature: Dge,
+ coreRowModelsFeature: Wge,
+ coreRowsFeature: o_e,
coreTablesFeature: { constructTableAPIs: (e) => {
- Pq("coreTablesFeature", e, {
- table_reset: { fn: () => Rge(e) },
- table_setOptions: { fn: (t) => yJ(e, t) }
+ _J("coreTablesFeature", e, {
+ table_reset: { fn: () => s_e(e) },
+ table_setOptions: { fn: (t) => PJ(e, t) }
});
} }
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function bJ() {
+function FJ() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -55775,22 +55928,22 @@ function bJ() {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function xJ(e) {
+function IJ(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function Vge(e, t = {}) {
+function u_e(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), _q(t);
+ }), nJ(t);
}
-function Hge(e) {
+function d_e(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: {
- ...Bge,
+ ...l_e,
..._
},
_headerGroupInstanceInitFns: [],
@@ -55828,7 +55981,7 @@ function Hge(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = Vge(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = u_e(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -55836,14 +55989,14 @@ function Hge(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 && bq(i, n)) {
+ if (i && aJ(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- _J(v), v.store = fq(t.createReadonlyAtom(() => {
+ MJ(v), v.store = Zq(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -55851,7 +56004,7 @@ function Hge(e) {
}
return e;
}, {
- compare: iq,
+ compare: Uq,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -55862,108 +56015,108 @@ function Hge(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function Uge() {
- return yq();
+function f_e() {
+ return iJ();
}
-function SJ(e, t) {
- wJ(e) && EJ(e.table, (n) => {
- let r = Object.assign(yq(), n), i = t ?? !Iq(e, "getIsVisible", CJ), a = e.getLeafColumns();
+function LJ(e, t) {
+ zJ(e) && VJ(e.table, (n) => {
+ let r = Object.assign(iJ(), n), i = t ?? !yJ(e, "getIsVisible", RJ), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- wJ(t) && (r[t.id] = i);
+ zJ(t) && (r[t.id] = i);
}
return r;
});
}
-function CJ(e) {
+function RJ(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => Iq(e, "getIsVisible", CJ)) : (bq(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => yJ(e, "getIsVisible", RJ)) : (aJ(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function wJ(e) {
+function zJ(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function Wge(e) {
+function p_e(e) {
return (t) => {
- SJ(e, t.target.checked);
+ LJ(e, t.target.checked);
};
}
-function Gge(e) {
+function m_e(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- Iq(r.column, "getIsVisible", CJ) && n.push(r);
+ yJ(r.column, "getIsVisible", RJ) && n.push(r);
}
- return Kq(e.table, n, (e) => e.column.id, () => Iq(e, "getVisibleCellsByColumnId", TJ));
+ return SJ(e.table, n, (e) => e.column.id, () => yJ(e, "getVisibleCellsByColumnId", BJ));
}
-function TJ(e) {
- let t = yq(), n = e.getAllCells();
+function BJ(e) {
+ let t = iJ(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- Iq(r.column, "getIsVisible", CJ) && (t[r.column.id] = r);
+ yJ(r.column, "getIsVisible", RJ) && (t[r.column.id] = r);
}
return t;
}
-function Kge(e) {
- return e.getAllFlatColumns().filter((e) => Iq(e, "getIsVisible", CJ));
+function h_e(e) {
+ return e.getAllFlatColumns().filter((e) => yJ(e, "getIsVisible", RJ));
}
-function qge(e) {
- return e.getAllLeafColumns().filter((e) => Iq(e, "getIsVisible", CJ));
+function g_e(e) {
+ return e.getAllLeafColumns().filter((e) => yJ(e, "getIsVisible", RJ));
}
-function EJ(e, t) {
- Dq(e, "columnVisibility", t);
+function VJ(e, t) {
+ fJ(e, "columnVisibility", t);
}
-function Jge(e, t) {
- EJ(e, t ? yq() : Object.assign(yq(), _q(e.initialState.columnVisibility ?? {})));
+function __e(e, t) {
+ VJ(e, t ? iJ() : Object.assign(iJ(), nJ(e.initialState.columnVisibility ?? {})));
}
-function DJ(e, t) {
- t ??= !OJ(e);
- let n = yq(), r = e.getAllLeafColumns();
+function HJ(e, t) {
+ t ??= !UJ(e);
+ let n = iJ(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !wJ(i);
+ n[i.id] = t || !zJ(i);
}
- EJ(e, n);
+ VJ(e, n);
}
-function OJ(e) {
- return !e.getAllLeafColumns().some((e) => !Iq(e, "getIsVisible", CJ));
+function UJ(e) {
+ return !e.getAllLeafColumns().some((e) => !yJ(e, "getIsVisible", RJ));
}
-function Yge(e) {
- return e.getAllLeafColumns().some((e) => Iq(e, "getIsVisible", CJ));
+function v_e(e) {
+ return e.getAllLeafColumns().some((e) => yJ(e, "getIsVisible", RJ));
}
-function Xge(e) {
+function y_e(e) {
return (t) => {
- DJ(e, t.target.checked);
+ HJ(e, t.target.checked);
};
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var kJ = {
+var WJ = {
getInitialState: (e) => ({
- columnVisibility: Uge(),
+ columnVisibility: f_e(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: xq("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: oJ("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- Fq("columnVisibilityFeature", e, t, {
+ vJ("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => CJ(e),
+ fn: (e) => RJ(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => wJ(e) },
- column_getToggleVisibilityHandler: { fn: (e) => Wge(e) },
- column_toggleVisibility: { fn: (e, t) => SJ(e, t) }
+ column_getCanHide: { fn: (e) => zJ(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => p_e(e) },
+ column_toggleVisibility: { fn: (e, t) => LJ(e, t) }
});
},
assignRowPrototype: (e, t) => {
- Fq("columnVisibilityFeature", e, t, {
+ vJ("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => Gge(e),
+ fn: (e) => m_e(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -55971,15 +56124,15 @@ var kJ = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => TJ(e),
+ fn: (e) => BJ(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- Pq("columnVisibilityFeature", e, {
+ _J("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => Kge(e),
+ fn: () => h_e(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -55989,7 +56142,7 @@ var kJ = {
]
},
table_getVisibleLeafColumns: {
- fn: () => qge(e),
+ fn: () => g_e(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -55998,51 +56151,51 @@ var kJ = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => EJ(e, t) },
- table_resetColumnVisibility: { fn: (t) => Jge(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => DJ(e, t) },
- table_getIsAllColumnsVisible: { fn: () => OJ(e) },
- table_getIsSomeColumnsVisible: { fn: () => Yge(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => Xge(e) }
+ table_setColumnVisibility: { fn: (t) => VJ(e, t) },
+ table_resetColumnVisibility: { fn: (t) => __e(e, t) },
+ table_toggleAllColumnsVisible: { fn: (t) => HJ(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => UJ(e) },
+ table_getIsSomeColumnsVisible: { fn: () => v_e(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => y_e(e) }
});
}
-}, AJ = 0, jJ = 10;
-function MJ() {
+}, GJ = 0, KJ = 10;
+function qJ() {
return {
- pageIndex: AJ,
- pageSize: jJ
+ pageIndex: GJ,
+ pageSize: KJ
};
}
-function Zge(e) {
+function b_e(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? AJ) === AJ) return;
- FJ(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? GJ) === GJ) return;
+ XJ(e, !0);
}
}
-function NJ(e, t) {
- Dq(e, "pagination", t);
+function JJ(e, t) {
+ fJ(e, "pagination", t);
}
-function Qge(e, t) {
- NJ(e, t ? MJ() : _q(e.initialState.pagination ?? MJ()));
+function x_e(e, t) {
+ JJ(e, t ? qJ() : nJ(e.initialState.pagination ?? qJ()));
}
-function PJ(e, t) {
- NJ(e, (n) => {
- let r = gq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function YJ(e, t) {
+ JJ(e, (n) => {
+ let r = tJ(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) {
- PJ(e, t ? AJ : e.initialState.pagination?.pageIndex ?? AJ);
+function XJ(e, t) {
+ YJ(e, t ? GJ : e.initialState.pagination?.pageIndex ?? GJ);
}
-function $ge(e, t) {
- IJ(e, t ? jJ : e.initialState.pagination?.pageSize ?? jJ);
+function S_e(e, t) {
+ ZJ(e, t ? KJ : e.initialState.pagination?.pageSize ?? KJ);
}
-function IJ(e, t) {
- NJ(e, (e) => {
- let n = Math.max(1, gq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function ZJ(e, t) {
+ JJ(e, (e) => {
+ let n = Math.max(1, tJ(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -56050,233 +56203,233 @@ function IJ(e, t) {
};
});
}
-function e_e(e) {
- let t = LJ(e), n = [];
+function C_e(e) {
+ let t = QJ(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
-function t_e(e) {
+function w_e(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
-function n_e(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? AJ, n = LJ(e);
+function T_e(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? GJ, n = QJ(e);
return n === -1 || n !== 0 && t < n - 1;
}
-function r_e(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? AJ, n = LJ(e);
+function E_e(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? GJ, n = QJ(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
-function i_e(e) {
- return PJ(e, (e) => e - 1);
+function D_e(e) {
+ return YJ(e, (e) => e - 1);
}
-function a_e(e) {
- return PJ(e, (e) => e + 1);
+function O_e(e) {
+ return YJ(e, (e) => e + 1);
}
-function o_e(e) {
- return PJ(e, 0);
+function k_e(e) {
+ return YJ(e, 0);
}
-function s_e(e) {
- let t = LJ(e);
- if (!(!Number.isFinite(t) || t <= 0)) return PJ(e, t - 1);
+function A_e(e) {
+ let t = QJ(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return YJ(e, t - 1);
}
-function LJ(e) {
+function QJ(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = RJ(e), r = e.atoms.pagination?.get()?.pageSize ?? jJ;
+ let n = $J(e), r = e.atoms.pagination?.get()?.pageSize ?? KJ;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function RJ(e) {
+function $J(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var zJ = {
+var eY = {
getInitialState: (e) => ({
...e,
pagination: {
- ...MJ(),
+ ...qJ(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: xq("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: oJ("pagination", e) }),
constructTableAPIs: (e) => {
- Pq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => Zge(e) },
- table_setPagination: { fn: (t) => NJ(e, t) },
- table_resetPagination: { fn: (t) => Qge(e, t) },
- table_setPageIndex: { fn: (t) => PJ(e, t) },
- table_resetPageIndex: { fn: (t) => FJ(e, t) },
- table_setPageSize: { fn: (t) => IJ(e, t) },
- table_getPageCount: { fn: () => LJ(e) },
- table_resetPageSize: { fn: (t) => $ge(e, t) },
- table_getPageOptions: { fn: () => e_e(e) },
- table_getCanPreviousPage: { fn: () => t_e(e) },
- table_getCanNextPage: { fn: () => n_e(e) },
- table_getCanLastPage: { fn: () => r_e(e) },
- table_previousPage: { fn: () => i_e(e) },
- table_nextPage: { fn: () => a_e(e) },
- table_firstPage: { fn: () => o_e(e) },
- table_lastPage: { fn: () => s_e(e) },
- table_getRowCount: { fn: () => RJ(e) }
+ _J("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => b_e(e) },
+ table_setPagination: { fn: (t) => JJ(e, t) },
+ table_resetPagination: { fn: (t) => x_e(e, t) },
+ table_setPageIndex: { fn: (t) => YJ(e, t) },
+ table_resetPageIndex: { fn: (t) => XJ(e, t) },
+ table_setPageSize: { fn: (t) => ZJ(e, t) },
+ table_getPageCount: { fn: () => QJ(e) },
+ table_resetPageSize: { fn: (t) => S_e(e, t) },
+ table_getPageOptions: { fn: () => C_e(e) },
+ table_getCanPreviousPage: { fn: () => w_e(e) },
+ table_getCanNextPage: { fn: () => T_e(e) },
+ table_getCanLastPage: { fn: () => E_e(e) },
+ table_previousPage: { fn: () => D_e(e) },
+ table_nextPage: { fn: () => O_e(e) },
+ table_firstPage: { fn: () => k_e(e) },
+ table_lastPage: { fn: () => A_e(e) },
+ table_getRowCount: { fn: () => $J(e) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function c_e() {
- return yq();
+function j_e() {
+ return iJ();
}
-function BJ(e, t) {
+function tY(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function l_e(e, t) {
- e._lastSelectedRowId = null, BJ(e, t ? yq() : Object.assign(yq(), _q(e.initialState.rowSelection ?? {})));
+function M_e(e, t) {
+ e._lastSelectedRowId = null, tY(e, t ? iJ() : Object.assign(iJ(), nJ(e.initialState.rowSelection ?? {})));
}
-function VJ(e, t, n) {
- e._lastSelectedRowId = null, BJ(e, (r) => {
- if (t = t === void 0 ? !Iq(e, "getIsAllRowsSelected", WJ) : t, n?.deselectAll && !t) return yq();
- let i = Object.assign(yq(), r), a = e.getPreGroupedRowModel().flatRows;
+function nY(e, t, n) {
+ e._lastSelectedRowId = null, tY(e, (r) => {
+ if (t = t === void 0 ? !yJ(e, "getIsAllRowsSelected", aY) : t, n?.deselectAll && !t) return iJ();
+ let i = Object.assign(iJ(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- eY(t, e) && (i[t.id] = !0);
+ hY(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- XJ(e) && delete i[e.id];
+ dY(e) && delete i[e.id];
});
return i;
});
}
-function HJ(e, t, n) {
- e._lastSelectedRowId = null, BJ(e, (r) => {
- let i = t === void 0 ? !Iq(e, "getIsAllPageRowsSelected", GJ) : t;
- if (n?.deselectAll && !i) return yq();
- let a = Object.assign(yq(), r);
+function rY(e, t, n) {
+ e._lastSelectedRowId = null, tY(e, (r) => {
+ let i = t === void 0 ? !yJ(e, "getIsAllPageRowsSelected", oY) : t;
+ if (n?.deselectAll && !i) return iJ();
+ let a = Object.assign(iJ(), r);
return e.getRowModel().rows.forEach((t) => {
- $J(a, t.id, i, !0, e, !0);
+ mY(a, t.id, i, !0, e, !0);
}), a;
});
}
-function u_e(e) {
+function N_e(e) {
return e.getCoreRowModel();
}
-function d_e(e) {
+function P_e(e) {
let t = e.getCoreRowModel();
- return Iq(e, "getIsSomeRowsSelected", KJ) ? rY(t, e) : {
+ return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: iJ()
};
}
-function f_e(e) {
+function F_e(e) {
let t = e.getFilteredRowModel();
- return Iq(e, "getIsSomeRowsSelected", KJ) ? rY(t, e) : {
+ return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: iJ()
};
}
-function p_e(e) {
+function I_e(e) {
let t = e.getSortedRowModel();
- return Iq(e, "getIsSomeRowsSelected", KJ) ? rY(t, e) : {
+ return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: iJ()
};
}
-function UJ(e) {
+function iY(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function WJ(e) {
+function aY(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) => !iY(t, n) && eY(t, e)) && (r = !1);
+ t.some((t) => !yY(t, n) && hY(t, e)) && (r = !1);
}
return r;
}
-function GJ(e) {
+function oY(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 (iY(a, n)) !i && eY(a, r) && (i = !0);
- else if (eY(a, r)) return !1;
+ if (yY(a, n)) !i && hY(a, r) && (i = !0);
+ else if (hY(a, r)) return !1;
}
return i;
}
-function KJ(e) {
- return Iq(e, "getSelectedRowIds", UJ).length > 0;
+function sY(e) {
+ return yJ(e, "getSelectedRowIds", iY).length > 0;
}
-function m_e(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => XJ(e)).some((e) => JJ(e) || Iq(e, "getIsSomeSelected", YJ));
+function L_e(e) {
+ return e.getPaginatedRowModel().flatRows.filter((e) => dY(e)).some((e) => lY(e) || yJ(e, "getIsSomeSelected", uY));
}
-function h_e(e) {
+function R_e(e) {
return (t) => {
- VJ(e, t.target.checked);
+ nY(e, t.target.checked);
};
}
-function g_e(e) {
+function z_e(e) {
return (t) => {
- HJ(e, t.target.checked);
+ rY(e, t.target.checked);
};
}
-function qJ(e, t, n) {
- let r = JJ(e);
- BJ(e.table, (i) => {
+function cY(e, t, n) {
+ let r = lY(e);
+ tY(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(yq(), i);
- return $J(a, e.id, t, (n?.selectChildren ?? !0) && QJ(e), e.table), !t && n?.deselectParents && tY(a, e), a;
+ let a = Object.assign(iJ(), i);
+ return mY(a, e.id, t, (n?.selectChildren ?? !0) && pY(e), e.table), !t && n?.deselectParents && gY(a, e), a;
});
}
-function JJ(e) {
- return iY(e, e.table.atoms.rowSelection?.get() ?? {});
+function lY(e) {
+ return yY(e, e.table.atoms.rowSelection?.get() ?? {});
}
-function YJ(e) {
- return aY(e) === "some";
+function uY(e) {
+ return bY(e) === "some";
}
-function __e(e) {
- return aY(e) === "all";
+function B_e(e) {
+ return bY(e) === "all";
}
-function XJ(e) {
+function dY(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function ZJ(e) {
+function fY(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function QJ(e) {
+function pY(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function v_e(e, t) {
- let n = XJ(e);
+function V_e(e, t) {
+ let n = dY(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 && QJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !y_e(e, s, o, t)) && qJ(e, o, t), a._lastSelectedRowId = e.id;
+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && pY(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !H_e(e, s, o, t)) && cY(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function y_e(e, t, n, r) {
+function H_e(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 || !QJ(s) || !QJ(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !pY(s) || !pY(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return BJ(a, (e) => {
- let t = Object.assign(yq(), e);
+ return tY(a, (e) => {
+ let t = Object.assign(iJ(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- XJ(s) && QJ(s) && ($J(t, s.id, n, i, a), !n && r?.deselectParents && tY(t, s));
+ dY(s) && pY(s) && (mY(t, s.id, n, i, a), !n && r?.deselectParents && gY(t, s));
}
return t;
}), !0;
}
-function $J(e, t, n, r, i, a) {
+function mY(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (QJ(o) || Object.keys(e).forEach((t) => delete e[t]), XJ(o) && (e[t] = !0)) : (!a || XJ(o)) && delete e[t], r && o.subRows.length && ZJ(o) && o.subRows.forEach((t) => $J(e, t.id, n, r, i, a));
+ n ? (pY(o) || Object.keys(e).forEach((t) => delete e[t]), dY(o) && (e[t] = !0)) : (!a || dY(o)) && delete e[t], r && o.subRows.length && fY(o) && o.subRows.forEach((t) => mY(e, t.id, n, r, i, a));
}
-function eY(e, t) {
- if (!XJ(e)) return !1;
+function hY(e, t) {
+ if (!dY(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -56292,7 +56445,7 @@ function eY(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!ZJ(r)) {
+ if (!fY(r)) {
s = !1;
break;
}
@@ -56300,43 +56453,43 @@ function eY(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function tY(e, t) {
+function gY(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 nY(e, t, n, r) {
+function _Y(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = iY(o, t);
+ let o = e[a], s = yY(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = nY(o.subRows, t, n, r);
+ let e = _Y(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- vq(t, o), t.subRows = e, i.push(t);
+ rJ(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function rY(e, t) {
- let n = [], r = yq(), i = t.atoms.rowSelection?.get() ?? {};
+function vY(e, t) {
+ let n = [], r = iJ(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: nY(e.rows, i, n, r),
+ rows: _Y(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function iY(e, t) {
- return !!(bq(t, e.id) && t[e.id]);
+function yY(e, t) {
+ return !!(aJ(t, e.id) && t[e.id]);
}
-function aY(e) {
+function bY(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 (XJ(o) && (i = !0, iY(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = aY(o);
+ if (dY(o) && (i = !0, yY(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = bY(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
@@ -56344,7 +56497,7 @@ function aY(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var oY = {
+var xY = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -56352,11 +56505,11 @@ var oY = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: c_e(),
+ rowSelection: j_e(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: xq("rowSelection", e),
+ onRowSelectionChange: oJ("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -56367,11 +56520,11 @@ var oY = {
}
}),
assignRowPrototype: (e, t) => {
- Fq("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => qJ(e, t, n) },
- row_getIsSelected: { fn: (e) => JJ(e) },
+ vJ("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => cY(e, t, n) },
+ row_getIsSelected: { fn: (e) => lY(e) },
row_getIsSomeSelected: {
- fn: (e) => YJ(e),
+ fn: (e) => uY(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -56379,44 +56532,44 @@ var oY = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => __e(e),
+ fn: (e) => B_e(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => XJ(e) },
- row_getCanSelectSubRows: { fn: (e) => ZJ(e) },
- row_getCanMultiSelect: { fn: (e) => QJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => v_e(e, t) }
+ row_getCanSelect: { fn: (e) => dY(e) },
+ row_getCanSelectSubRows: { fn: (e) => fY(e) },
+ row_getCanMultiSelect: { fn: (e) => pY(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => V_e(e, t) }
});
},
constructTableAPIs: (e) => {
- Pq("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => BJ(e, t) },
- table_resetRowSelection: { fn: (t) => l_e(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => VJ(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => HJ(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => u_e(e) },
+ _J("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => tY(e, t) },
+ table_resetRowSelection: { fn: (t) => M_e(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => nY(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => rY(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => N_e(e) },
table_getSelectedRowModel: {
- fn: () => d_e(e),
+ fn: () => P_e(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => f_e(e),
+ fn: () => F_e(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => p_e(e),
+ fn: () => I_e(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => UJ(e),
+ fn: () => iY(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => WJ(e),
+ fn: () => aY(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -56425,7 +56578,7 @@ var oY = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => GJ(e),
+ fn: () => oY(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -56434,49 +56587,49 @@ var oY = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => KJ(e),
+ fn: () => sY(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => m_e(e),
+ fn: () => L_e(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => h_e(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => g_e(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => R_e(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => z_e(e) }
});
}
-}, b_e = /([0-9]+)/gm;
+}, U_e = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function x_e(e) {
+function W_e(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 sY = /* @__PURE__ */ x_e({ sort: (e, t) => S_e(e, t) });
-function S_e(e, t) {
+var SY = /* @__PURE__ */ W_e({ sort: (e, t) => G_e(e, t) });
+function G_e(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function C_e() {
+function K_e() {
return [];
}
-function cY(e, t) {
- Dq(e, "sorting", t);
+function CY(e, t) {
+ fJ(e, "sorting", t);
}
-function lY(e, t) {
- cY(e, t ? [] : _q(e.initialState.sorting ?? []));
+function wY(e, t) {
+ CY(e, t ? [] : nJ(e.initialState.sorting ?? []));
}
-function w_e(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && lY(e);
+function q_e(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && wY(e);
}
-function uY(e) {
+function TY(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);
@@ -56484,7 +56637,7 @@ function uY(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(b_e).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(U_e).length > 1)) {
r = "alphanumeric";
break;
}
@@ -56493,9 +56646,9 @@ function uY(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return sY;
+ return SY;
}
-function dY(e) {
+function EY(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);
@@ -56503,14 +56656,14 @@ function dY(e) {
}
return "desc";
}
-function fY(e) {
+function DY(e) {
let t = e.table._rowModelFns.sortFns;
- return Oq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? uY(e) : t?.[e.columnDef.sortFn] ?? sY;
+ return pJ(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? TY(e) : t?.[e.columnDef.sortFn] ?? SY;
}
-function pY(e, t, n) {
- let r = hY(e, n && _Y(e)), i = t !== void 0;
- cY(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 && _Y(e) && n);
+function OY(e, t, n) {
+ let r = AY(e, n && MY(e)), i = t !== void 0;
+ CY(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 && MY(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
@@ -56526,41 +56679,41 @@ function pY(e, t, n) {
}], c;
});
}
-function mY(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? dY(e) === "desc" ? "desc" : "asc";
+function kY(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? EY(e) === "desc" ? "desc" : "asc";
}
-function hY(e, t) {
- let n = mY(e), r = vY(e);
+function AY(e, t) {
+ let n = kY(e), r = NY(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function gY(e) {
+function jY(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function _Y(e) {
+function MY(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function vY(e) {
+function NY(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function T_e(e) {
+function J_e(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
-function E_e(e) {
- cY(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+function Y_e(e) {
+ CY(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
-function D_e(e) {
- let t = gY(e);
+function X_e(e) {
+ let t = jY(e);
return (n) => {
- t && pY(e, void 0, _Y(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && OY(e, void 0, MY(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var yY = {
+var PY = {
getInitialState(e) {
return {
- sorting: C_e(),
+ sorting: K_e(),
...e
};
},
@@ -56573,58 +56726,58 @@ var yY = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: xq("sorting", e),
+ onSortingChange: oJ("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- Fq("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => uY(e) },
- column_getAutoSortDir: { fn: (e) => dY(e) },
- column_getSortFn: { fn: (e) => fY(e) },
- column_toggleSorting: { fn: (e, t, n) => pY(e, t, n) },
- column_getFirstSortDir: { fn: (e) => mY(e) },
- column_getNextSortingOrder: { fn: (e, t) => hY(e, t) },
- column_getCanSort: { fn: (e) => gY(e) },
- column_getCanMultiSort: { fn: (e) => _Y(e) },
- column_getIsSorted: { fn: (e) => vY(e) },
- column_getSortIndex: { fn: (e) => T_e(e) },
- column_clearSorting: { fn: (e) => E_e(e) },
- column_getToggleSortingHandler: { fn: (e) => D_e(e) }
+ vJ("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => TY(e) },
+ column_getAutoSortDir: { fn: (e) => EY(e) },
+ column_getSortFn: { fn: (e) => DY(e) },
+ column_toggleSorting: { fn: (e, t, n) => OY(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => kY(e) },
+ column_getNextSortingOrder: { fn: (e, t) => AY(e, t) },
+ column_getCanSort: { fn: (e) => jY(e) },
+ column_getCanMultiSort: { fn: (e) => MY(e) },
+ column_getIsSorted: { fn: (e) => NY(e) },
+ column_getSortIndex: { fn: (e) => J_e(e) },
+ column_clearSorting: { fn: (e) => Y_e(e) },
+ column_getToggleSortingHandler: { fn: (e) => X_e(e) }
});
},
constructTableAPIs(e) {
- Pq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => w_e(e) },
- table_setSorting: { fn: (t) => cY(e, t) },
- table_resetSorting: { fn: (t) => lY(e, t) }
+ _J("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => q_e(e) },
+ table_setSorting: { fn: (t) => CY(e, t) },
+ table_resetSorting: { fn: (t) => wY(e, t) }
});
}
-}, O_e = typeof window > "u" ? D.useEffect : D.useLayoutEffect;
-function bY(e, t) {
+}, Z_e = typeof window > "u" ? D.useEffect : D.useLayoutEffect;
+function FY(e, t) {
let [{ table: n, rootSource: r }] = (0, D.useState)(() => {
- let t = Hge({
+ let t = d_e({
...e,
features: {
- coreReactivityFeature: hq(),
+ coreReactivityFeature: eJ(),
...e.features
}
});
- return t.Subscribe = ((e) => dq({
+ return t.Subscribe = ((e) => Xq({
...e,
source: e.source ?? t.store
- })), t.FlexRender = zK, {
+ })), t.FlexRender = wq, {
table: t,
- rootSource: mq(t.store, iq)
+ rootSource: $q(t.store, Uq)
};
}), i = n;
- yJ(i, (t) => ({
+ PJ(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = uq(r, t, { compare: iq });
- return O_e(() => {
- r.markCommitted(o), vJ(i, a ?? null, iq);
+ let a = i.options.state, o = r.get(), s = Yq(r, t, { compare: Uq });
+ return Z_e(() => {
+ r.markCommitted(o), NJ(i, a ?? null, Uq);
}), (0, D.useMemo)(() => ({
...n,
options: e,
@@ -56637,19 +56790,19 @@ function bY(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function xY({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function IY({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
- className: oF("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, O.jsx)(Zue, {
+ className: dF("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, O.jsx)(Wue, {
ref: r,
...i,
- className: oF("bui-table", e === "sm" && "bui-table-sm", t)
+ className: dF("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/catalog-grid/catalog-table-columns.ts
-var SY = "peach.catalog-column-widths.v1", CY = "peach.catalog-column-visibility.v1", k_e = {
+var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibility.v1", Q_e = {
select: {
width: 48,
min: 48,
@@ -56715,13 +56868,13 @@ var SY = "peach.catalog-column-widths.v1", CY = "peach.catalog-column-visibility
min: 144,
max: 560
}
-}, A_e = {
+}, $_e = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
-}, j_e = {
+}, eve = {
select: "选择",
name: "作品",
dur: "时长",
@@ -56735,7 +56888,7 @@ var SY = "peach.catalog-column-widths.v1", CY = "peach.catalog-column-visibility
release: "发行时间",
code: "番号",
tags: "标签"
-}, wY = [
+}, zY = [
"select",
"name",
"tags",
@@ -56751,13 +56904,13 @@ var SY = "peach.catalog-column-widths.v1", CY = "peach.catalog-column-visibility
"release"
].map((e) => ({
id: e,
- label: j_e[e],
- ...k_e[e],
+ label: eve[e],
+ ...Q_e[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: A_e[e] !== !1
+ visible: $_e[e] !== !1
}));
-function TY(e) {
+function BY(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -56765,9 +56918,9 @@ function TY(e) {
return {};
}
}
-function M_e() {
- let e = TY(SY), t = TY(CY);
- return wY.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
+function tve() {
+ let e = BY(LY), t = BY(RY);
+ return zY.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,
@@ -56779,31 +56932,31 @@ function M_e() {
}
//#endregion
//#region src/react/library-processing/completion-row.ts
-var EY = "peach.catalog.completion-row";
-function DY() {
+var VY = "peach.catalog.completion-row";
+function HY() {
try {
- return localStorage.getItem(EY) === "1";
+ return localStorage.getItem(VY) === "1";
} catch {
return !1;
}
}
-function N_e(e) {
+function nve(e) {
try {
- e ? localStorage.setItem(EY, "1") : localStorage.removeItem(EY);
+ e ? localStorage.setItem(VY, "1") : localStorage.removeItem(VY);
} catch {}
}
-var P_e = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var rve = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
//#endregion
//#region src/catalog-content-skeleton.ts
-function OY(e) {
+function UY(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 F_e(e) {
- let t = M_e(), 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>${OY(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>` + (DY() ? P_e : "") + `<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 ive(e) {
+ let t = tve(), 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>${UY(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>` + (HY() ? rve : "") + `<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 kY(e, t) {
- return bM() === "list" ? F_e(e) : _s(e, {
+function WY(e, t) {
+ return wM() === "list" ? ive(e) : _s(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
@@ -56811,7 +56964,7 @@ function kY(e, t) {
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function AY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
+function GY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let i = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
let e = i.current?.querySelector(".overflow-x-auto") ?? null;
@@ -56825,9 +56978,9 @@ function AY({ 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 && iG(e, r) && n(r.dataset.key);
+ r && UG(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, O.jsx)(Yue, {
+ children: r ? /* @__PURE__ */ (0, O.jsx)(Hue, {
className: "relative min-w-0",
onResize: r.resize,
onResizeEnd: r.save,
@@ -56837,8 +56990,8 @@ function AY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
}
//#endregion
//#region src/react/components/select.tsx
-function jY({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, O.jsx)(SU, {
+function KY({ prefix: e, renderValue: t, size: n, ...r }) {
+ if (e == null) return /* @__PURE__ */ (0, O.jsx)(tW, {
...r,
size: n,
renderValue: t
@@ -56848,7 +57001,7 @@ function jY({ 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, O.jsx)(SU, {
+ return /* @__PURE__ */ (0, O.jsx)(tW, {
...r,
size: n,
renderValue: a
@@ -56856,7 +57009,7 @@ function jY({ prefix: e, renderValue: t, size: n, ...r }) {
}
//#endregion
//#region src/react/components/table-pagination.tsx
-function MY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function qY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {
"aria-label": r,
"data-pagination-layout": "",
@@ -56896,11 +57049,11 @@ function MY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}
//#endregion
//#region src/react/components/table-controls.tsx
-function NY({ label: e, options: t, sorting: n, onChange: r }) {
+function JY({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsxs)(jY, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(KY, {
"aria-label": `${e}排序`,
prefix: "排序",
selectedKey: i?.id ?? "default",
@@ -56910,10 +57063,10 @@ function NY({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, O.jsx)(CU, {
+ children: [/* @__PURE__ */ (0, O.jsx)(nW, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(CU, {
+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {
id: e.id,
children: e.label
}, e.id))]
@@ -56921,7 +57074,7 @@ function NY({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: IU,
+ leadingIcon: yW,
"data-icon-state": i?.desc ? "b" : "a",
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
@@ -56933,7 +57086,7 @@ function NY({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function PY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
+function YY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-table-pagination": !0,
@@ -56943,7 +57096,7 @@ function PY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`
}), /* @__PURE__ */ (0, O.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, O.jsx)(jY, {
+ children: [/* @__PURE__ */ (0, O.jsx)(KY, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -56958,11 +57111,11 @@ function PY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
20,
50,
100
- ].map((e) => /* @__PURE__ */ (0, O.jsx)(CU, {
+ ].map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
- }), /* @__PURE__ */ (0, O.jsx)(MY, {
+ }), /* @__PURE__ */ (0, O.jsx)(qY, {
label: `${e}分页`,
page: s + 1,
pages: o,
@@ -56976,7 +57129,7 @@ function PY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
}
//#endregion
//#region src/react/components/table-column-preferences.ts
-function FY(e) {
+function XY(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -56984,17 +57137,17 @@ function FY(e) {
return {};
}
}
-function IY(e, t) {
+function ZY(e, t) {
try {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function I_e(e, t) {
+function ave(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, D.useState)(() => {
- let r = FY(e);
+ let r = XY(e);
for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];
return n(r);
});
@@ -57011,7 +57164,7 @@ function I_e(e, t) {
...r,
...Object.fromEntries(t)
});
- i(a), IY(e, a);
+ i(a), ZY(e, a);
},
reset: () => {
i(n({}));
@@ -57021,26 +57174,26 @@ function I_e(e, t) {
}
};
}
-function L_e(e, t, n, r = {}) {
+function ove(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, D.useState)(() => i(FY(e)));
+ }), [a, o] = (0, D.useState)(() => i(XY(e)));
return {
visibility: a,
change: (t) => {
let n = i(typeof t == "function" ? t(a) : t);
- o(n), IY(e, n);
+ o(n), ZY(e, n);
}
};
}
-function LY(e, t, n) {
+function QY(e, t, n) {
let r = (0, D.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 = I_e(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = L_e(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 = ave(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = ove(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,
@@ -57060,16 +57213,16 @@ function LY(e, t, n) {
}
//#endregion
//#region src/react/catalog-grid/catalog-column-widths.ts
-function R_e() {
- return LY("catalog", wY, {
- widths: SY,
- visibility: CY
+function sve() {
+ return QY("catalog", zY, {
+ widths: LY,
+ visibility: RY
});
}
//#endregion
//#region src/react/components/rating-stars.tsx
-var RY = Jz("star");
-function zY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
+var $Y = tB("star");
+function eX({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
let i = Math.max(0, Math.min(5, e)), a = Math.round(i);
return /* @__PURE__ */ (0, O.jsx)("span", {
"data-rating-stars": "",
@@ -57092,16 +57245,16 @@ function zY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
onClick: () => {
n || t(e);
},
- children: n === e ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns("正在保存评分") } }) : /* @__PURE__ */ (0, O.jsx)(RY, {})
+ children: n === e ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns("正在保存评分") } }) : /* @__PURE__ */ (0, O.jsx)($Y, {})
}, e) : /* @__PURE__ */ (0, O.jsx)("span", {
"data-rate": e,
"data-on": String(i >= e),
children: /* @__PURE__ */ (0, O.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, O.jsx)(RY, {}), /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)($Y, {}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-rating-fill": "",
style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },
- children: /* @__PURE__ */ (0, O.jsx)(RY, {})
+ children: /* @__PURE__ */ (0, O.jsx)($Y, {})
})]
})
}, e))
@@ -57109,9 +57262,9 @@ function zY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
}
//#endregion
//#region src/react/catalog-grid/catalog-table-controls.tsx
-function z_e({ item: e, actions: t }) {
- let { rating: n } = e, r = BH(), i = (0, D.useRef)(0), a = UM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- BM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
+function cve({ item: e, actions: t }) {
+ let { rating: n } = e, r = qH(), i = (0, D.useRef)(0), a = JM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ GM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -57123,11 +57276,11 @@ function z_e({ item: e, actions: t }) {
role: "group",
"aria-label": o,
title: o,
- children: [/* @__PURE__ */ (0, O.jsx)(zY, {
+ children: [/* @__PURE__ */ (0, O.jsx)(eX, {
value: a,
onRate: c,
busyStar: r.busy ? Number(r.busy) : void 0
- }), r.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ }), r.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -57140,7 +57293,7 @@ function z_e({ item: e, actions: t }) {
}) : null]
});
}
-function BY(e) {
+function tX(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -57156,7 +57309,7 @@ function BY(e) {
}
//#endregion
//#region src/react/components/table-column-controls.tsx
-function VY({ preferences: e, label: t = "表格" }) {
+function nX({ preferences: e, label: t = "表格" }) {
let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), a = e.columns.filter((e) => !e.required);
return /* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
@@ -57172,18 +57325,18 @@ function VY({ preferences: e, label: t = "表格" }) {
onClick: () => i(!0),
children: "显示列"
}),
- /* @__PURE__ */ (0, O.jsx)(pR, {
+ /* @__PURE__ */ (0, O.jsx)(bR, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: `${oV} overscroll-contain`,
- children: /* @__PURE__ */ (0, O.jsxs)(NH, {
+ className: `${pV} overscroll-contain`,
+ children: /* @__PURE__ */ (0, O.jsxs)(BH, {
"aria-label": `${t}显示列`,
className: "flex w-48 flex-col gap-2 outline-none",
children: [
- a.map((t) => /* @__PURE__ */ (0, O.jsx)(pV, {
+ a.map((t) => /* @__PURE__ */ (0, O.jsx)(bV, {
isSelected: e.visibility[t.id] !== !1,
onChange: (n) => e.change((e) => ({
...e,
@@ -57215,41 +57368,41 @@ function VY({ preferences: e, label: t = "表格" }) {
]
});
}
-function HY({ preferences: e, id: t }) {
+function rX({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(ode, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)($ue, { "aria-label": `调整${n.label}列宽` }) : null;
}
//#endregion
//#region src/react/components/table-selection-header.tsx
-function UY(e, t) {
+function iX(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 WY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
- let { all: i, some: a } = UY(e, n);
- return /* @__PURE__ */ (0, O.jsx)(pV, {
+function aX({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
+ let { all: i, some: a } = iX(e, n);
+ return /* @__PURE__ */ (0, O.jsx)(bV, {
slot: null,
"aria-label": t,
isDisabled: r,
isSelected: i,
isIndeterminate: a,
onChange: () => {
- let t = !UY(e, n).all;
+ let t = !iX(e, n).all;
n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);
}
});
}
//#endregion
//#region src/react/catalog-grid/catalog-list-page.tsx
-var B_e = xJ({
- rowSortingFeature: yY,
- rowSelectionFeature: oY,
- rowPaginationFeature: zJ,
- columnVisibilityFeature: kJ
-}), V_e = [
+var lve = IJ({
+ rowSortingFeature: PY,
+ rowSelectionFeature: xY,
+ rowPaginationFeature: eY,
+ columnVisibilityFeature: WJ
+}), uve = [
{
id: "name",
label: "名称"
@@ -57286,12 +57439,12 @@ var B_e = xJ({
id: "played",
label: "观看时间"
}
-], GY = /* @__PURE__ */ new Map();
-function H_e(e) {
- let t = R_e(), n = nG(), r = wM(e.filters || {}, !1), [i] = (0, D.useState)(() => {
+], oX = /* @__PURE__ */ new Map();
+function dve(e) {
+ let t = sve(), n = VG(), r = OM(e.filters || {}, !1), [i] = (0, D.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, D.useState)(() => GY.get(i) || {
+ }), [a, o] = (0, D.useState)(() => oX.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -57299,7 +57452,7 @@ function H_e(e) {
}
}), { sorting: s, pagination: c } = a;
(0, D.useEffect)(() => {
- GY.set(i, a);
+ oX.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = Ct({
queryKey: [
@@ -57325,9 +57478,9 @@ function H_e(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" ? [] : MK(f, e.layout.javImage), [h] = (0, D.useState)(DY);
+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : _q(f, e.layout.javImage), [h] = (0, D.useState)(HY);
(0, D.useEffect)(() => {
- d.data && !d.isPlaceholderData && N_e(m.length > 0);
+ d.data && !d.isPlaceholderData && nve(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -57359,19 +57512,19 @@ function H_e(e) {
p,
c.pageIndex
]);
- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = bY({
- features: B_e,
+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = FY({
+ features: lve,
columns: (0, D.useMemo)(() => {
- let t = bJ();
+ let t = FJ();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, O.jsx)(WY, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, O.jsx)(aX, {
table: e,
label: "全选本页作品",
disabled: d.isPlaceholderData
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(pV, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(bV, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: d.isPlaceholderData,
@@ -57383,7 +57536,7 @@ function H_e(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(U_e, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(fve, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -57440,7 +57593,7 @@ function H_e(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(z_e, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(cve, {
item: t.original,
actions: e.actions
})
@@ -57461,13 +57614,13 @@ function H_e(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => BY(e.original.last_played)
+ cell: ({ row: e }) => tX(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => BY(e.original.first_seen)
+ cell: ({ row: e }) => tX(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -57527,9 +57680,9 @@ function H_e(e) {
"aria-label": "作品列表工具栏",
children: /* @__PURE__ */ (0, O.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, O.jsx)(VY, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(NY, {
+ children: [/* @__PURE__ */ (0, O.jsx)(nX, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(JY, {
label: "作品列表",
- options: V_e,
+ options: uve,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -57539,21 +57692,21 @@ function H_e(e) {
"data-completion-skeleton": "",
"aria-hidden": "true",
className: "skeleton-sheen"
- }) : null : /* @__PURE__ */ (0, O.jsx)(NK, {
+ }) : null : /* @__PURE__ */ (0, O.jsx)(vq, {
className: "",
assetIds: m
}),
- d.isError ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ d.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, O.jsx)(AY, {
+ /* @__PURE__ */ (0, O.jsx)(GY, {
follow: !0,
preferences: t,
onRowClick: e.selectMode ? (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
} : void 0,
- children: /* @__PURE__ */ (0, O.jsxs)(xY, {
+ children: /* @__PURE__ */ (0, O.jsxs)(IY, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -57564,47 +57717,47 @@ function H_e(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, O.jsxs)(tz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(nz, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(cz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(lz, {
id: e.id,
isRowHeader: e.id === "name",
allowsSorting: e.column.getCanSort(),
...t.columnProps(e.id),
children: ({ sortDirection: n }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [RK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [Cq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, O.jsx)(rV, {})
+ children: /* @__PURE__ */ (0, O.jsx)(uV, {})
}) : null]
- }), /* @__PURE__ */ (0, O.jsx)(HY, {
+ }), /* @__PURE__ */ (0, O.jsx)(rX, {
preferences: t,
id: e.id
})] })
- }, e.id)), /* @__PURE__ */ (0, O.jsx)(nz, {
+ }, e.id)), /* @__PURE__ */ (0, O.jsx)(lz, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
width: t.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, O.jsx)(az, {
+ })] }), /* @__PURE__ */ (0, O.jsx)(fz, {
renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",
- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(cz, {
+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(hz, {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(uz, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: OY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(uz, { "data-table-space": "" })]
- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(cz, {
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(_z, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: UY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(_z, { "data-table-space": "" })]
+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(hz, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(uz, { children: RK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(uz, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(_z, { children: Cq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(_z, { "data-table-space": "" })]
}, e.id))
})]
})
}),
- d.data ? /* @__PURE__ */ (0, O.jsx)(PY, {
+ d.data ? /* @__PURE__ */ (0, O.jsx)(YY, {
label: "作品列表",
total: p,
pagination: c,
@@ -57615,8 +57768,8 @@ function H_e(e) {
]
});
}
-function U_e({ item: e, props: t, disabled: n }) {
- let r = Ka(e, "small", !1, t.layout.javImage), i = e.part_group || null, a = e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = mG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = nG({ 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, O.jsx)("svg", {
+function fve({ item: e, props: t, disabled: n }) {
+ let r = Ka(e, "small", !1, t.layout.javImage), i = e.part_group || null, a = e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = $G(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = VG({ 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, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
@@ -57641,7 +57794,7 @@ function U_e({ item: e, props: t, disabled: n }) {
children: /* @__PURE__ */ (0, O.jsxs)("span", {
"data-list-picture": "",
children: [
- r.html ? /* @__PURE__ */ (0, O.jsx)(IW, {
+ r.html ? /* @__PURE__ */ (0, O.jsx)(xG, {
artwork: r,
relayout: (e) => tl(e, "small")
}) : /* @__PURE__ */ (0, O.jsx)("span", { children: "无预览" }),
@@ -57696,7 +57849,7 @@ function U_e({ item: e, props: t, disabled: n }) {
children: [p?.name ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-list-library": "",
title: `媒体库:${p.name}`,
- children: [/* @__PURE__ */ (0, O.jsx)(iU, { mark: p.icon }), p.name]
+ children: [/* @__PURE__ */ (0, O.jsx)(LU, { mark: p.icon }), p.name]
}) : null, u]
})]
})
@@ -57705,20 +57858,20 @@ function U_e({ item: e, props: t, disabled: n }) {
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function KY(e) {
- let t = CM();
- if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(G_e, { ...e });
- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${wM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(H_e, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(K_e, { ...e }, n);
+function sX(e) {
+ let t = DM();
+ if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(mve, { ...e });
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${OM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(dve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(hve, { ...e }, n);
}
-function W_e({ name: e }) {
+function pve({ name: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
}
-function qY({ children: e, selectMode: t }) {
+function cX({ children: e, selectMode: t }) {
let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1);
return (0, D.useLayoutEffect)(() => {
let e = n.current;
@@ -57734,8 +57887,8 @@ function qY({ children: e, selectMode: t }) {
children: e
});
}
-function G_e(e) {
- let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(SG, {
+function mve(e) {
+ let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(sK, {
item: i,
variant: r,
layout: e.layout,
@@ -57749,13 +57902,13 @@ function G_e(e) {
return r === "next" ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-media-next-row": "",
children: i
- }) : /* @__PURE__ */ (0, O.jsx)(qY, {
+ }) : /* @__PURE__ */ (0, O.jsx)(cX, {
selectMode: e.selectMode,
children: i
});
}
-function K_e(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? jM(e) : AM(e), [s] = (0, D.useState)(() => e.wall ? NM(o.queryKey) : void 0), c = s || (i && e.initial ? {
+function hve(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? FM(e) : PM(e), [s] = (0, D.useState)(() => e.wall ? LM(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -57776,7 +57929,7 @@ function K_e(e) {
(0, D.useEffect)(() => {
l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));
}, [l.isPending]);
- let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => LM(l.data?.pages || [], {
+ let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => VM(l.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -57786,7 +57939,7 @@ function K_e(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || cK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && $G(e.item) ? [e.item] : []), v = a ? [] : MK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = PW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = q_e(e, l.data, d, f, b);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || qK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && RK(e.item) ? [e.item] : []), v = a ? [] : _q(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = yG(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = gve(e, l.data, d, f, b);
(0, D.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -57813,13 +57966,14 @@ function K_e(e) {
let C = (0, D.useCallback)((e, t) => n.open(e, t), [n]), w = (0, D.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, D.useCallback)((e) => n.openShort(e), [n]), E = (0, D.useCallback)(async () => {
let e = await l.fetchNextPage();
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(Y_e, {
+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(vve, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(SG, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(sK, {
item: i.item,
+ grouped: e.groupCollapse !== !1,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
selected: e.selected.has(i.item.id),
@@ -57835,10 +57989,10 @@ function K_e(e) {
"data-grid-reveal": y.fading ? "" : void 0,
children: [
!e.wall && y.layer,
- /* @__PURE__ */ (0, O.jsx)(NK, { assetIds: v }),
+ /* @__PURE__ */ (0, O.jsx)(vq, { assetIds: v }),
(() => {
- if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(wK, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${wM(e.filters || {}, !!e.excludeVertical)}`,
+ if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(lq, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${OM(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
hasMore: !!l.hasNextPage,
@@ -57846,7 +58000,7 @@ function K_e(e) {
loading: l.isPending || !l.data && l.isFetching,
error: !l.data && !l.isPending ? Wt(l.error) : "",
retry: () => void l.refetch(),
- emptyHtml: l.data && !_.length ? kK({
+ emptyHtml: l.data && !_.length ? mq({
libraryEmpty: !!l.data.pages[0]?.libraryEmpty,
matches: m,
hasMore: !!l.hasNextPage,
@@ -57861,7 +58015,7 @@ function K_e(e) {
javImage: r.javImage
}, h ? "finite" : "explore");
if (l.isPending) return null;
- if (!l.data) return /* @__PURE__ */ (0, O.jsx)(FW, {
+ if (!l.data) return /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(l.error),
onRetry: () => void l.refetch()
});
@@ -57878,12 +58032,12 @@ function K_e(e) {
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: mse(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(qY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(J_e, {
+ children: WM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cX, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(_ve, {
cut: t.strip,
props: e,
onOpen: T
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(JY, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(lX, {
entity: i,
load: E,
enabled: () => e.canLoadMore?.() !== !1
@@ -57892,7 +58046,7 @@ function K_e(e) {
]
});
}
-function JY({ entity: e, load: t, enabled: n, children: r }) {
+function lX({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), s = (0, D.useRef)(!1), [c, l] = (0, D.useState)({
busy: !1,
error: ""
@@ -57934,7 +58088,7 @@ function JY({ entity: e, load: t, enabled: n, children: r }) {
if (!e) return;
let t = new IntersectionObserver((e) => {
e.some((e) => e.isIntersecting) && d(!1);
- }, { rootMargin: NW });
+ }, { rootMargin: vG });
return a.current = t, t.observe(e), () => {
t.disconnect(), a.current = null;
};
@@ -57957,21 +58111,24 @@ function JY({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!c.error,
onClick: () => void d(!0),
dangerouslySetInnerHTML: { __html: is(rs) }
- }), c.error ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ }), c.error ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: c.error,
onRetry: () => void d(!0)
}) : null] });
}
-function q_e(e, t, n, r, i) {
- let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)([]);
- return (0, D.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, D.useEffect)(() => {
+function gve(e, t, n, r, i) {
+ let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)({
+ parts: /* @__PURE__ */ new Set(),
+ editions: /* @__PURE__ */ new Set()
+ }), f = (0, D.useRef)([]);
+ return (0, D.useEffect)(() => () => f.current.forEach((e) => e.abort()), []), (0, D.useEffect)(() => {
let n = t?.pages.length || 0;
if (!e.shorts || u.current >= n) return;
u.current = n;
let r = new AbortController();
- d.current.push(r);
+ f.current.push(r);
let i = n - 1;
- B(`/api/items?${zM(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ B(`/api/items?${UM(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -57983,17 +58140,19 @@ function q_e(e, t, n, r, i) {
}, [t]), (0, D.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = RM(n.length - e, f, d);
- if (!p.length) return;
- let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
- l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
- at: m,
+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = HM(n.length - t, m, p);
+ if (!h.length) return;
+ let g = RM(s.items, d.current, e.groupCollapse !== !1);
+ if (l.current = s.more ? l.current + 18 : 0, !g.length) return;
+ let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);
+ o((e) => [...e, {
+ at: _,
total: s.total,
- items: s.items
+ items: g
}]);
}, [s]), a;
}
-function J_e({ cut: e, props: t, onOpen: n }) {
+function _ve({ cut: e, props: t, onOpen: n }) {
let r = (0, D.useRef)(null), { wireDrag: i } = t;
return (0, D.useEffect)(() => {
r.current && i(r.current);
@@ -58009,15 +58168,16 @@ function J_e({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, O.jsx)(W_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, O.jsx)(pve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, O.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(SG, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(sK, {
item: e,
variant: "short",
layout: t.layout,
+ grouped: t.groupCollapse !== !1,
selected: t.selected.has(e.id),
selectMode: t.selectMode,
seekSeconds: t.seekSeconds,
@@ -58028,17 +58188,17 @@ function J_e({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function YY(e, t, n) {
+function uX(e, t, n) {
return qa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function Y_e({ seed: e, layout: t, helpers: n, actions: r }) {
+function vve({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, D.useRef)(/* @__PURE__ */ new Map()), a = (0, D.useRef)(t);
a.current = t;
let o = Qa(e, n.tagLabel), s = (0, D.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => FM(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), YY(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = YY(e, t, !1);
- return /* @__PURE__ */ (0, O.jsx)(MG, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => zM(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), uX(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = uX(e, t, !1);
+ return /* @__PURE__ */ (0, O.jsx)(_K, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -58048,12 +58208,12 @@ function Y_e({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : YY(e, {
+ artworkIdentity: c === "small" ? l.html : uX(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => tl(e, c),
- ratio: pG(e, "grid", t),
+ ratio: QG(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -58065,37 +58225,37 @@ function Y_e({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function XY(e) {
+async function dX(e) {
await H.fetchQuery({
queryKey: Vn,
queryFn: () => Hn(e)
});
}
-var X_e = (e) => (e?.sources ?? []).filter((e) => Vt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Z_e = "/api/duplicates?limit=120", ZY = ["duplicates"], QY = "/api/batch", $Y = (e) => B(Z_e, e), Q_e = /[\s\-_.()[\]【】/\\]/;
-function $_e(e) {
+var yve = (e) => (e?.sources ?? []).filter((e) => Vt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), bve = "/api/duplicates?limit=120", fX = ["duplicates"], pX = "/api/batch", mX = (e) => B(bve, e), xve = /[\s\-_.()[\]【】/\\]/;
+function Sve(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 && !Q_e.test(n[r - 1]);) --r;
+ for (; r > 0 && !xve.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var eve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function tve(e) {
+var Cve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function wve(e) {
await Promise.all([H.fetchQuery({
- queryKey: ZY,
- queryFn: () => $Y(e)
- }), XY(e)]);
+ queryKey: fX,
+ queryFn: () => mX(e)
+ }), dX(e)]);
}
-var nve = {
+var Tve = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, rve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), eX = (e, t) => rve(e, t).filter((t) => e.some((e) => e.location !== t)), ive = (e, t) => t.filter((t) => e.some((e) => eX(e.files, [t]).length));
-function ave(e, t) {
+}, Eve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hX = (e, t) => Eve(e, t).filter((t) => e.some((e) => e.location !== t)), Dve = (e, t) => t.filter((t) => e.some((e) => hX(e.files, [t]).length));
+function Ove(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -58114,12 +58274,12 @@ function ave(e, t) {
}
return n;
}
-function ove(e, t) {
+function kve(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 sve(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(QY, {
+async function Ave(e, t) {
+ for (let n = 0; n < e.length; n += 200) await V(pX, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
@@ -58127,7 +58287,7 @@ async function sve(e, t) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var tX = "/api/media-repair", nX = ["media-repair"], rX = ["media-repair", "libraries"], cve = {
+var gX = "/api/media-repair", _X = ["media-repair"], vX = ["media-repair", "libraries"], jve = {
status: "idle",
library: "",
stage: "",
@@ -58139,41 +58299,41 @@ var tX = "/api/media-repair", nX = ["media-repair"], rX = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, iX = (e) => B(tX, e), aX = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function lve(e) {
+}, yX = (e) => B(gX, e), bX = async (e) => (await B("/api/libraries", e)).libraries || [];
+async function Mve(e) {
await Promise.all([H.fetchQuery({
- queryKey: nX,
- queryFn: () => iX(e)
+ queryKey: _X,
+ queryFn: () => yX(e)
}), H.fetchQuery({
- queryKey: rX,
- queryFn: () => aX(e)
+ queryKey: vX,
+ queryFn: () => bX(e)
})]);
}
-var oX = (e) => Number(e).toLocaleString();
-function uve(e) {
+var xX = (e) => Number(e).toLocaleString();
+function Nve(e) {
if (e.status === "running") {
- let t = e.total ? `${oX(Math.min(e.checked || 0, e.total))} / ${oX(e.total)}` : "准备中";
+ let t = e.total ? `${xX(Math.min(e.checked || 0, e.total))} / ${xX(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${oX(e.repaired)} 部,${oX(e.failed)} 部修不了` : `修好 ${oX(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${xX(e.repaired)} 部,${xX(e.failed)} 部修不了` : `修好 ${xX(e.repaired)} 部` : "";
}
-var dve = (e) => `${oX(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, fve = "/api/quality-goals?limit=200", sX = ["quality-goals"], cX = (e) => B(fve, e);
-async function pve(e) {
+var Pve = (e) => `${xX(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Fve = "/api/quality-goals?limit=200", SX = ["quality-goals"], CX = (e) => B(Fve, e);
+async function Ive(e) {
await H.fetchQuery({
- queryKey: sX,
- queryFn: () => cX(e)
+ queryKey: SX,
+ queryFn: () => CX(e)
});
}
-var mve = (e) => e.has_cover ? ja(e) : `/poster?id=${e.id}&c=4`;
+var Lve = (e) => e.has_cover ? ja(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function lX(e, t, n, r, i, a = i || !e.has(r)) {
+function wX(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/review/review.ts
-var hve = "/api/review", gve = "/api/review/decision", _ve = "/api/review/genre", uX = ["review"], dX = {
+var Rve = "/api/review", zve = "/api/review/decision", Bve = "/api/review/genre", TX = ["review"], EX = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -58183,15 +58343,15 @@ var hve = "/api/review", gve = "/api/review/decision", _ve = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, vve = Object.keys(dX), yve = "metadata_fields", fX = (e) => typeof e == "string" && Object.hasOwn(dX, e), bve = {
+}, Vve = Object.keys(EX), Hve = "metadata_fields", DX = (e) => typeof e == "string" && Object.hasOwn(EX, e), Uve = {
creator_tags: "creator",
western_identity: "creator"
};
-function xve(e, t) {
+function Wve(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 pX(e, t) {
+function OX(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -58208,10 +58368,10 @@ function pX(e, t) {
}
return [...n.values()];
}
-function Sve(e, t, n) {
- return n && pX(e, t).find((e) => e.key === n)?.rows || e;
+function Gve(e, t, n) {
+ return n && OX(e, t).find((e) => e.key === n)?.rows || e;
}
-function Cve(e, t) {
+function Kve(e, t) {
let n = Rn(e.length, 20), r = zn(t, n);
return {
page: r,
@@ -58219,32 +58379,32 @@ function Cve(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function wve(e) {
+function qve(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 Tve(e, t, n, r, i, a) {
- return lX(e, t, n, r, i, a);
+function Jve(e, t, n, r, i, a) {
+ return wX(e, t, n, r, i, a);
}
-function Eve(e, t) {
+function Yve(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function mX(e, t) {
+function kX(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var hX = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function Dve(e, t) {
- let n = mX(e, t), r = hX(e, t);
+var AX = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Xve(e, t) {
+ let n = kX(e, t), r = AX(e, t);
return r ? `${n} · ${r}` : n;
}
-var Ove = (e) => e.reason || e.evidence || e.note || e.decision_note || "", kve = (e) => String(e.tags || "").split("|").filter(Boolean), Ave = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function jve(e) {
+var Zve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Qve = (e) => String(e.tags || "").split("|").filter(Boolean), $ve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function eye(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Mve(e, t, n, r) {
+function tye(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -58260,12 +58420,12 @@ function Mve(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Nve = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", gX = (e) => B(hve, e);
-async function Pve(e) {
- let t = await V(gve, e);
+var nye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", jX = (e) => B(Rve, e);
+async function rye(e) {
+ let t = await V(zve, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- H.setQueryData(uX, (t) => t && {
+ H.setQueryData(TX, (t) => t && {
...t,
sections: {
...t.sections,
@@ -58281,22 +58441,22 @@ async function Pve(e) {
}
return t;
}
-function Fve(e, t) {
- return H.getQueryData(uX)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;
+function iye(e, t) {
+ return H.getQueryData(TX)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;
}
-var Ive = (e, t) => V(_ve, {
+var aye = (e, t) => V(Bve, {
genre: e,
tag: t
});
-async function Lve(e) {
+async function oye(e) {
await H.fetchQuery({
- queryKey: uX,
- queryFn: () => gX(e)
+ queryKey: TX,
+ queryFn: () => jX(e)
});
}
-function Rve(e, t) {
+function sye(e, t) {
let n = new Set(t);
- n.size && H.setQueryData(uX, (t) => {
+ n.size && H.setQueryData(TX, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -58312,228 +58472,228 @@ function Rve(e, t) {
};
});
}
-var zve = () => H.invalidateQueries({
- queryKey: uX,
+var cye = () => H.invalidateQueries({
+ queryKey: TX,
exact: !0
});
-function Bve(e, t) {
+function lye(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Gn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Vve = "/api/links", _X = "/api/links/check", vX = "/api/links/prune", yX = ["links"], bX = ["links", "check"], xX = ["links", "prune"], Hve = {
+var uye = "/api/links", MX = "/api/links/check", NX = "/api/links/prune", PX = ["links"], FX = ["links", "check"], IX = ["links", "prune"], dye = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function SX(e) {
+async function LX(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var CX = (e) => B(Vve, e), wX = (e) => V(_X, { status_only: !0 }, "POST", e), Uve = ({ retry: e, checkId: t }) => SX(V(_X, e ? {
+var RX = (e) => B(uye, e), zX = (e) => V(MX, { status_only: !0 }, "POST", e), fye = ({ retry: e, checkId: t }) => LX(V(MX, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), TX = (e) => B(vX, e), Wve = ({ checkId: e, ids: t }) => SX(V(vX, {
+} : { restart: !0 })), BX = (e) => B(NX, e), pye = ({ checkId: e, ids: t }) => LX(V(NX, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), EX = (e) => Number(e || 0).toLocaleString(), Gve = (e) => `已删除 ${EX(e.removed)} 条;${e.marked ? `已隐退女优的 ${EX(e.marked)} 条留作不可点的记录;` : ""}保留 ${EX(e.recovered)} 条未确认失效的链接。`;
-function Kve(e) {
+})), VX = (e) => Number(e || 0).toLocaleString(), mye = (e) => `已删除 ${VX(e.removed)} 条;${e.marked ? `已隐退女优的 ${VX(e.marked)} 条留作不可点的记录;` : ""}保留 ${VX(e.recovered)} 条未确认失效的链接。`;
+function hye(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${EX(e.checked)} / ${EX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${VX(e.checked)} / ${VX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/configuration-endpoints.ts
-var DX = "/api/configuration", OX = "/api/pick-folder", kX = "/api/settings", AX = "/api/follow/schedule", jX = "/api/feeds/schedule", MX = "/api/thumbnail-jobs", NX = ["settings"], PX = ["follow-schedule"], FX = ["feed-schedule"], IX = ["thumbnail-jobs"], LX = "/api/media-processing", qve = ["media-processing"], Jve = (e) => B(LX, e), RX = (e) => B(kX, e), Yve = (e) => B(AX, e), Xve = (e) => B(jX, e), Zve = (e) => B(MX, e);
-function Qve(e = H) {
+var HX = "/api/configuration", UX = "/api/pick-folder", WX = "/api/settings", GX = "/api/follow/schedule", KX = "/api/feeds/schedule", qX = "/api/thumbnail-jobs", JX = ["settings"], YX = ["follow-schedule"], XX = ["feed-schedule"], ZX = ["thumbnail-jobs"], QX = "/api/media-processing", gye = ["media-processing"], _ye = (e) => B(QX, e), $X = (e) => B(WX, e), vye = (e) => B(GX, e), yye = (e) => B(KX, e), bye = (e) => B(qX, e);
+function xye(e = H) {
return e.fetchQuery({
- queryKey: NX,
- queryFn: ({ signal: e }) => RX(e),
+ queryKey: JX,
+ queryFn: ({ signal: e }) => $X(e),
staleTime: 0
}).catch(() => null);
}
-function zX() {
+function eZ() {
return wt({
- mutationFn: (e) => V(kX, e),
- onSuccess: (e) => H.setQueryData(NX, e)
+ mutationFn: (e) => V(WX, e),
+ onSuccess: (e) => H.setQueryData(JX, e)
});
}
-function $ve() {
+function Sye() {
return wt({
- mutationFn: (e) => V(AX, {
+ mutationFn: (e) => V(GX, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData(PX, e)
+ onSuccess: (e) => H.setQueryData(YX, e)
});
}
-var eye = {
+var Cye = {
follow: {
- url: `${AX}/run`,
- key: PX
+ url: `${GX}/run`,
+ key: YX
},
feed: {
- url: `${jX}/run`,
- key: FX
+ url: `${KX}/run`,
+ key: XX
}
};
-function tye(e) {
- let { url: t, key: n } = eye[e];
+function wye(e) {
+ let { url: t, key: n } = Cye[e];
return wt({
mutationFn: () => V(t, {}),
onSuccess: (e) => H.setQueryData(n, e)
});
}
-var nye = (e) => e?.running ? 3e3 : !1;
-function rye() {
+var Tye = (e) => e?.running ? 3e3 : !1;
+function Eye() {
return wt({
- mutationFn: (e) => V(MX, { mode: e }),
- onSuccess: (e) => H.setQueryData(IX, e)
+ mutationFn: (e) => V(qX, { mode: e }),
+ onSuccess: (e) => H.setQueryData(ZX, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var iye = "/api/organize", aye = "/api/organize/preview", oye = "/api/organize/apply", sye = "/api/organize/rollback", BX = ["organize"], cye = "/api/organize/example", lye = (e, t, n) => B(`${cye}?${new URLSearchParams({
+var Dye = "/api/organize", Oye = "/api/organize/preview", kye = "/api/organize/apply", Aye = "/api/organize/rollback", tZ = ["organize"], jye = "/api/organize/example", Mye = (e, t, n) => B(`${jye}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), VX = (e) => B(iye, e);
-async function uye(e) {
+})}`, n), nZ = (e) => B(Dye, e);
+async function Nye(e) {
await H.fetchQuery({
- queryKey: BX,
- queryFn: () => VX(e)
+ queryKey: tZ,
+ queryFn: () => nZ(e)
});
}
-var dye = (e) => V(aye, e), fye = (e) => V(OX, { initial: e }), pye = (e) => e.kind === "apply" ? V(oye, {
+var Pye = (e) => V(Oye, e), Fye = (e) => V(UX, { initial: e }), Iye = (e) => e.kind === "apply" ? V(kye, {
...e.request,
confirm: !0
-}) : V(sye, { confirm: !0 });
-async function mye(e) {
- H.setQueryData(BX, (t) => t && {
+}) : V(Aye, { confirm: !0 });
+async function Lye(e) {
+ H.setQueryData(tZ, (t) => t && {
...t,
templates: e
});
try {
- await V(kX, { organizeTemplates: e });
+ await V(WX, { organizeTemplates: e });
} catch {}
}
-var hye = (e, t) => e && {
+var Rye = (e, t) => e && {
...e,
...t
-}, gye = /目录模板|分隔符|盘符|`\.`/;
-function _ye(e) {
+}, zye = /目录模板|分隔符|盘符|`\.`/;
+function Bye(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var HX = (e) => Number(e || 0).toLocaleString();
-function vye(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${HX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${HX(e.counts.change)} 个文件会改名或移动,${HX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var rZ = (e) => Number(e || 0).toLocaleString();
+function Vye(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${rZ(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${rZ(e.counts.change)} 个文件会改名或移动,${rZ(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function yye(e) {
+function Hye(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${HX(r)} 个文件${n ? `,${HX(n)} 行未能退回` : ""}。` : `已整理 ${HX(r)} 个文件${n ? `,${HX(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${rZ(r)} 个文件${n ? `,${rZ(n)} 行未能退回` : ""}。` : `已整理 ${rZ(r)} 个文件${n ? `,${rZ(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var bye = "/api/orphan-records", xye = "/api/orphan-records/attach", UX = ["orphan-records"], Sye = [
+var Uye = "/api/orphan-records", Wye = "/api/orphan-records/attach", iZ = ["orphan-records"], Gye = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], WX = (e) => B(bye, e), Cye = (e, t) => V(xye, {
+], aZ = (e) => B(Uye, e), Kye = (e, t) => V(Wye, {
id: e,
target: t
-}), wye = (e) => V(QY, {
+}), qye = (e) => V(pX, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), Tye = (e) => [
+}), Jye = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], Eye = (e) => [...Sye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Tye(e)].filter(Boolean).join(" · "), Dye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Oye = (e) => [e.name, Dye(e.duration)].filter(Boolean).join(" · "), GX = "/api/resource-sync/scan", KX = "/api/resource-sync/apply", qX = ["resource-sync", "scan"], JX = ["resource-sync", "apply"], YX = (e) => V(GX, {
+], oZ = (e) => [...Gye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Jye(e)].filter(Boolean).join(" · "), Yye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Xye = (e) => [e.name, Yye(e.duration)].filter(Boolean).join(" · "), sZ = "/api/resource-sync/scan", cZ = "/api/resource-sync/apply", lZ = ["resource-sync", "scan"], uZ = ["resource-sync", "apply"], dZ = (e) => V(sZ, {
background: !0,
status_only: !0
-}, "POST", e), kye = () => V(GX, {
+}, "POST", e), Zye = () => V(sZ, {
background: !0,
restart: !0
-}), XX = (e) => B(KX, e), Aye = (e) => V(KX, {
+}), fZ = (e) => B(cZ, e), Qye = (e) => V(cZ, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), ZX = (e) => (e?.sources ?? []).some((e) => Bt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function jye(e) {
- ZX(H.getQueryData(Vn)) && await Promise.all([H.fetchQuery({
- queryKey: qX,
- queryFn: () => YX(e)
+}), pZ = (e) => (e?.sources ?? []).some((e) => Bt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function $ye(e) {
+ pZ(H.getQueryData(Vn)) && await Promise.all([H.fetchQuery({
+ queryKey: lZ,
+ queryFn: () => dZ(e)
}), H.fetchQuery({
- queryKey: JX,
- queryFn: () => XX(e)
+ queryKey: uZ,
+ queryFn: () => fZ(e)
})]);
}
-var Mye = (e) => !!(e?.missing || e?.empty || e?.cache?.files), QX = (e) => Number(e || 0).toLocaleString(), Nye = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", $X = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), eZ = (e) => e.vanish ? `${QX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", tZ = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Pye = (e) => `将永久删除文件已不在盘上的 ${QX($X(e))} 条记录和 ${QX(e.empty)} 个空文件夹,并清理 ${QX(e.cache?.files)} 个闲置缓存。${tZ(e)}${eZ(e)}`, Fye = (e) => `将永久删除文件已不在盘上的 ${QX($X(e))} 条记录(含回收站里的)、${QX(e.empty)} 个空文件夹,并清理 ${QX(e.cache?.files)} 个闲置缓存。来源根目录保留。${tZ(e)}${eZ(e)}`, Iye = (e) => e.online ? [
- `找不到文件 · 共 ${QX(e.total)} 项`,
- e.vanish ? `${QX(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${QX(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${QX(e.total)} 项`;
-function nZ(e) {
+var ebe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), mZ = (e) => Number(e || 0).toLocaleString(), tbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", hZ = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), gZ = (e) => e.vanish ? `${mZ(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", _Z = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", nbe = (e) => `将永久删除文件已不在盘上的 ${mZ(hZ(e))} 条记录和 ${mZ(e.empty)} 个空文件夹,并清理 ${mZ(e.cache?.files)} 个闲置缓存。${_Z(e)}${gZ(e)}`, rbe = (e) => `将永久删除文件已不在盘上的 ${mZ(hZ(e))} 条记录(含回收站里的)、${mZ(e.empty)} 个空文件夹,并清理 ${mZ(e.cache?.files)} 个闲置缓存。来源根目录保留。${_Z(e)}${gZ(e)}`, ibe = (e) => e.online ? [
+ `找不到文件 · 共 ${mZ(e.total)} 项`,
+ e.vanish ? `${mZ(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${mZ(e.empty)} 个` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${mZ(e.total)} 项`;
+function vZ(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 ? `${QX(t.length)} 条记录没有删除(${o})` : "",
- n ? `${QX(n)} 个文件夹没有删除` : "",
- r.length ? `${QX(r.length)} 个缓存没有清理` : ""
+ t.length ? `${mZ(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${mZ(n)} 个文件夹没有删除` : "",
+ r.length ? `${mZ(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Lye = (e, t) => {
- let { rest: n } = nZ(e), r = `已永久删除 ${QX(e.purged)} 条失效记录和 ${QX(e.dirs_removed)} 个空文件夹,清理 ${QX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${QX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${QX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var abe = (e, t) => {
+ let { rest: n } = vZ(e), r = `已永久删除 ${mZ(e.purged)} 条失效记录和 ${mZ(e.dirs_removed)} 个空文件夹,清理 ${mZ(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${mZ(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${mZ(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Rye = "/api/review?counts=1", rZ = ["review", "counts"], zye = "/api/ads?limit=1", iZ = ["junk-summary"], aZ = "/api/items?state=trash&limit=1", oZ = ["trash-summary"], Bye = [
+}, obe = "/api/review?counts=1", yZ = ["review", "counts"], sbe = "/api/ads?limit=1", bZ = ["junk-summary"], xZ = "/api/items?state=trash&limit=1", SZ = ["trash-summary"], cbe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], sZ = (e) => B(Rye, e), cZ = (e) => B(zye, e), lZ = (e) => {
+], CZ = (e) => B(obe, e), wZ = (e) => B(sbe, e), TZ = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${aZ}&library=${encodeURIComponent(t)}` : aZ, e);
-}, uZ = (e) => Number(e || 0).toLocaleString();
-function Vye(e) {
- let t = dX, 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 ? `${xZ}&library=${encodeURIComponent(t)}` : xZ, e);
+}, EZ = (e) => Number(e || 0).toLocaleString();
+function lbe(e) {
+ let t = EX, 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 Hye(e) {
+function ube(e) {
if (!e) return "";
- let t = Bye.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${uZ(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${uZ(e.dismissed_total)}`), t.join(" · ");
-}
-var Uye = [
- [rZ, ({ signal: e }) => sZ(e)],
- [sX, ({ signal: e }) => cX(e)],
- [oZ, ({ signal: e }) => lZ(e)],
- [yX, ({ signal: e }) => CX(e)],
- [bX, ({ signal: e }) => wX(e)],
- [xX, ({ signal: e }) => TX(e)],
- [UX, ({ signal: e }) => WX(e)]
+ let t = cbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${EZ(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${EZ(e.dismissed_total)}`), t.join(" · ");
+}
+var dbe = [
+ [yZ, ({ signal: e }) => CZ(e)],
+ [SX, ({ signal: e }) => CX(e)],
+ [SZ, ({ signal: e }) => TZ(e)],
+ [PX, ({ signal: e }) => RX(e)],
+ [FX, ({ signal: e }) => zX(e)],
+ [IX, ({ signal: e }) => BX(e)],
+ [iZ, ({ signal: e }) => aZ(e)]
];
-async function Wye(e) {
- let t = !!location.hash, n = Uye.map(([n, r]) => {
+async function fbe(e) {
+ let t = !!location.hash, n = dbe.map(([n, r]) => {
if (t) return H.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -58546,23 +58706,23 @@ async function Wye(e) {
await Promise.all([
...n,
H.fetchQuery({
- queryKey: iZ,
- queryFn: () => cZ(e)
+ queryKey: bZ,
+ queryFn: () => wZ(e)
}),
H.fetchQuery({
- queryKey: ZY,
- queryFn: () => $Y(e)
+ queryKey: fX,
+ queryFn: () => mX(e)
}),
- XY(e).then(() => jye(e)),
- wH(e),
- lve(e),
- uye(e)
+ dX(e).then(() => $ye(e)),
+ jH(e),
+ Mve(e),
+ Nye(e)
]);
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var dZ = (e) => ["feed-new", e ?? "home"], Gye = 8, Kye = 1500;
-function qye(e, t, n) {
+var DZ = (e) => ["feed-new", e ?? "home"], pbe = 8, mbe = 1500;
+function hbe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -58573,34 +58733,34 @@ function qye(e, t, n) {
setTimeout(e, n);
})]);
}
-async function Jye(e, t, n) {
- let r = new URLSearchParams({ limit: String(oA().value.feedLimit) });
+async function gbe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(dA().value.feedLimit) });
e && r.set("entity", String(e));
let i = await R(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await qye(s, Gye, Kye), {
+ return n && o.length && await hbe(s, pbe, mbe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var fZ = (e, t, n = !1) => ({
- queryKey: dZ(e),
- queryFn: () => Jye(e, t, n),
+var OZ = (e, t, n = !1) => ({
+ queryKey: DZ(e),
+ queryFn: () => gbe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), pZ = (e, t) => R("/api/feeds/discovery", {
+}), kZ = (e, t) => R("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function Yye(e) {
- H.removeQueries({ queryKey: dZ(null) }), await H.fetchQuery(fZ(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function _be(e) {
+ H.removeQueries({ queryKey: DZ(null) }), await H.fetchQuery(OZ(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var mZ = [
+var AZ = [
"loc",
"creator",
"tag",
@@ -58613,52 +58773,52 @@ var mZ = [
"browse",
"folder",
"folder_recursive"
-], hZ = {
+], jZ = {
media: "videos",
set: 0
-}, gZ = (e, t) => [
+}, MZ = (e, t) => [
"entity",
e,
t
-], Xye = (e, t, n, r) => [
+], vbe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], _Z = (e, t, n, r) => [
+], NZ = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], vZ = (e) => String(e || "").split(",").filter(Boolean), Zye = (e, t) => vZ(e).includes(t);
-function yZ(e, t, n, r, i = 0) {
+], PZ = (e) => String(e || "").split(",").filter(Boolean), ybe = (e, t) => PZ(e).includes(t);
+function FZ(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...vZ(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 mZ) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...PZ(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 AZ) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function bZ(e, t, n, r, i, a, o) {
- let s = yZ(e, t, n, r, i);
+async function IZ(e, t, n, r, i, a, o) {
+ let s = FZ(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 R(`/api/items?${s}`, a ? { signal: a } : {});
}
-var xZ = (e) => {
+var LZ = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = yZ(e.kind, e.name, e.filters, t).toString();
+ }, n = FZ(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: Xye(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => bZ(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: vbe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => IZ(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, SZ = (e, t) => ({
- queryKey: gZ(e, t),
+}, RZ = (e, t) => ({
+ queryKey: MZ(e, t),
queryFn: ({ signal: n }) => R(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Qye(e, t, n, r, i, a) {
+function bbe(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)}` : ""}`;
@@ -58667,10 +58827,10 @@ function Qye(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: _Z(e, t, n, r),
+var zZ = (e, t, n, r) => ({
+ queryKey: NZ(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await R(Qye(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await R(bbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -58683,8 +58843,8 @@ var CZ = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), wZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function $ye(e) {
+}), BZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function xbe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -58695,26 +58855,26 @@ async function $ye(e) {
t,
n
] });
- e.resolvedEntity?.id && H.setQueryData(gZ(t, n), e.resolvedEntity), await Promise.all([
- H.fetchQuery(SZ(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: dZ(Number(t.id)) }), H.fetchQuery(fZ(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(xZ(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(MZ(t, n), e.resolvedEntity), await Promise.all([
+ H.fetchQuery(RZ(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: DZ(Number(t.id)) }), H.fetchQuery(OZ(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ H.fetchQuery(LZ(e)),
+ H.fetchInfiniteQuery(zZ(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(zZ(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var TZ = [
+var VZ = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], EZ = "mb-4 flex flex-wrap gap-2";
-function ebe(e) {
- let t = TZ.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${EZ}">${TZ.map(([e, n]) => Wo({
+], HZ = "mb-4 flex flex-wrap gap-2";
+function Sbe(e) {
+ let t = VZ.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${HZ}">${VZ.map(([e, n]) => Wo({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -58723,43 +58883,43 @@ function ebe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var tbe = "/api/follow/authors", nbe = "/api/follow/tags", rbe = (e) => [
+var Cbe = "/api/follow/authors", wbe = "/api/follow/tags", Tbe = (e) => [
"follow",
"authors",
e
-], ibe = (e, t) => [
+], Ebe = (e, t) => [
"follow",
"tags",
e,
t
];
-function abe(e, t, n) {
+function Dbe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${tbe}?${r}`;
+ return e && r.set("q", e), `${Cbe}?${r}`;
}
-function obe(e, t, n, r) {
+function Obe(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), `${nbe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${wbe}?${i}`;
}
-var sbe = (e, t, n, r) => B(abe(e, t, n), r), cbe = (e, t, n, r, i) => B(obe(e, t, n, r), i), lbe = "/api/index", DZ = {
+var kbe = (e, t, n, r) => B(Dbe(e, t, n), r), Abe = (e, t, n, r, i) => B(Obe(e, t, n, r), i), jbe = "/api/index", UZ = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, ube = {
+}, Mbe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, OZ = [
+}, WZ = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -58769,31 +58929,31 @@ var sbe = (e, t, n, r) => B(abe(e, t, n), r), cbe = (e, t, n, r, i) => B(obe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], kZ = [
+], GZ = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], AZ = {
+], KZ = {
people: 120,
tags: 180
-}, jZ = (e) => e !== "tags", MZ = (e) => e === "studios" || e === "agencies";
-function NZ(e) {
- if (e.kind === "creators" && e.category === "animation") return NZ({
+}, qZ = (e) => e !== "tags", JZ = (e) => e === "studios" || e === "agencies";
+function YZ(e) {
+ if (e.kind === "creators" && e.category === "animation") return YZ({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? kZ : OZ : e.kind === "performers" && t === "local" ? TZ : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? GZ : WZ : e.kind === "performers" && t === "local" ? VZ : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function PZ(e) {
+function XZ(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -58813,50 +58973,50 @@ function PZ(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var FZ = (e, t, n = "all") => [
+var ZZ = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function IZ(e, t, n, r, i) {
+function QZ(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), `${lbe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${jbe}?${a}`;
}
-function LZ(e) {
- let t = e.what === "people" || e.what === "online-authors" ? AZ.people : AZ.tags, n = {
+function $Z(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? KZ.people : KZ.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: FZ(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => B(IZ(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: ZZ(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => B(QZ(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: FZ("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => B(IZ("tags", e.q, e.category, t, n), r)
+ queryKey: ZZ("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => B(QZ("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: rbe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => sbe(e.q, t, n, r)
+ queryKey: Tbe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => kbe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: ibe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => cbe(e.q, e.category, t, n, r)
+ queryKey: Ebe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Abe(e.q, e.category, t, n, r)
};
}
}
-async function dbe(e, t) {
- let n = LZ(PZ(NZ(e)));
+async function Nbe(e, t) {
+ let n = $Z(XZ(YZ(e)));
H.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -58870,13 +59030,13 @@ async function dbe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var fbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], pbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, RZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", mbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, hbe = {
+var Pbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Fbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, eQ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Ibe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Lbe = {
numeric: !0,
sensitivity: "base"
};
-function zZ(e, t) {
+function tQ(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", hbe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Lbe))) {
let e = Sn(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]);
}
@@ -58884,7 +59044,7 @@ function zZ(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var BZ = sF({
+var nQ = fF({
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",
@@ -58903,16 +59063,16 @@ var BZ = sF({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function VZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function rQ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, O.jsx)("span", {
ref: r,
- className: oF(BZ.base, BZ.variant[e], BZ.color[t], n),
+ className: dF(nQ.base, nQ.variant[e], nQ.color[t], n),
...i
});
}
//#endregion
//#region src/react/index/index-people.tsx
-function HZ({ html: e, face: t, company: n, big: r }) {
+function iQ({ html: e, face: t, company: n, big: r }) {
let i = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -58924,18 +59084,18 @@ function HZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var gbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", _be = Jz("rss");
-function UZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var Rbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", zbe = tB("rss");
+function aQ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: HH({
+ className: YH({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${gbe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Rbe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -58944,10 +59104,10 @@ function UZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, O.jsx)(VZ, {
+ children: /* @__PURE__ */ (0, O.jsx)(rQ, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, O.jsx)(_be, {})
+ children: /* @__PURE__ */ (0, O.jsx)(zbe, {})
})
}) : null,
/* @__PURE__ */ (0, O.jsx)("span", {
@@ -58963,24 +59123,24 @@ function UZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function WZ({ kind: e, items: t, layout: n, props: r }) {
- let i = MZ(e), a = n === "big";
+function oQ({ kind: e, items: t, layout: n, props: r }) {
+ let i = JZ(e), a = n === "big";
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || ube[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, O.jsx)(UZ, {
+ let n = t.entity_kind || Mbe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, O.jsx)(aQ, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${mbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${Ibe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, O.jsx)(HZ, {
+ children: /* @__PURE__ */ (0, O.jsx)(iQ, {
html: o.html,
face: o.face,
company: i,
@@ -58990,14 +59150,14 @@ function WZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function vbe({ items: e, layout: t, props: n }) {
+function Bbe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(UZ, {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(aQ, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -59006,7 +59166,7 @@ function vbe({ 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, O.jsx)(HZ, {
+ children: /* @__PURE__ */ (0, O.jsx)(iQ, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -59016,8 +59176,8 @@ function vbe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-tooltip.ts
-var GZ = (e) => e.replace(/\s+/g, " ").trim();
-function KZ(e) {
+var sQ = (e) => e.replace(/\s+/g, " ").trim();
+function cQ(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -59025,12 +59185,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 GZ(n);
+ return sQ(n);
}
-function qZ(e) {
+function lQ(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && KZ(e) && !JZ(e)) {
+ if (e.matches("a") && cQ(e) && !uQ(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -59043,7 +59203,7 @@ function qZ(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 uQ(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);
@@ -59054,19 +59214,19 @@ function JZ(e) {
}
return !1;
}
-function ybe() {
+function Vbe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a = (t) => {
- let n = qZ(t), r = e.getBoundingClientRect();
+ let n = lQ(t), r = e.getBoundingClientRect();
n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);
}, o = () => {
clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;
}, s = (s, c) => {
if (!(s instanceof Element)) return;
let l = s.closest("[title]");
- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (KZ(l) !== GZ(n) || JZ(l)) && (i = setTimeout(() => {
- t === l && l.isConnected && qZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (cQ(l) !== sQ(n) || uQ(l)) && (i = setTimeout(() => {
+ t === l && l.isConnected && lQ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
}, c)));
};
document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {
@@ -59075,33 +59235,33 @@ function ybe() {
e.key === "Escape" && o();
}), document.addEventListener("scroll", (n) => {
if (!t || !Do(n, t)) return;
- let r = qZ(t);
+ let r = lQ(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();
}, !0), window.addEventListener("resize", o);
}
//#endregion
//#region src/board-controls.ts
-function YZ(e) {
+function dQ(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var XZ = /* @__PURE__ */ new WeakSet();
-function bbe() {
- if (XZ.has(document)) return;
- XZ.add(document);
+var fQ = /* @__PURE__ */ new WeakSet();
+function Hbe() {
+ if (fQ.has(document)) return;
+ fQ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(YZ), Sbe(e), xbe(e);
+ e.querySelectorAll("input[type=range]").forEach(dQ), Wbe(e), Ube(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]") && YZ(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && dQ(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && YZ(e.target);
- }), ybe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && dQ(e.target);
+ }), Vbe();
}
-function xbe(e) {
+function Ube(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;
@@ -59125,15 +59285,15 @@ function xbe(e) {
r.observe(e);
});
}
-var ZZ = /* @__PURE__ */ new Map();
-function Sbe(e) {
+var pQ = /* @__PURE__ */ new Map();
+function Wbe(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 = ZZ.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = pQ.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -59142,7 +59302,7 @@ function Sbe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- nc(t, r, a, "x"), r = a, ZZ.set(n, a);
+ nc(t, r, a, "x"), r = a, pQ.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -59159,8 +59319,8 @@ function Sbe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var QZ = "/vendor/swiper/14.3.0/", $Z = null, Cbe = () => $Z ??= Promise.all([new Promise((e, t) => {
- let n = `${QZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var mQ = "/vendor/swiper/14.3.0/", hQ = null, Gbe = () => hQ ??= Promise.all([new Promise((e, t) => {
+ let n = `${mQ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -59174,11 +59334,11 @@ var QZ = "/vendor/swiper/14.3.0/", $Z = null, Cbe = () => $Z ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${QZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${mQ}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 $Z = null, e;
+ throw hQ = null, e;
});
-function wbe(e, t, n) {
+function Kbe(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);
@@ -59199,47 +59359,47 @@ function wbe(e, t, n) {
}
};
}
-var eQ = (e) => {
+var gQ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : vn(t)).replace(" ", "\xA0") : "大小未知";
-}, Tbe = (e) => e.asset?.name || e.name || "未命名图片";
-function Ebe(e, t) {
+}, qbe = (e) => e.asset?.name || e.name || "未命名图片";
+function Jbe(e, t) {
let n = e.asset;
- if (n) return [wn[n.location ?? ""] || n.location || "来源未知", eQ(n.size)].join(" · ");
+ if (n) return [wn[n.location ?? ""] || n.location || "来源未知", gQ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? eQ(e.size) : ""
+ e.size ? gQ(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var tQ = null, nQ = null, Dbe = 0;
-function Obe() {
- return (!nQ || !tQ?.isConnected) && (nQ?.unmount(), tQ = document.createElement("div"), tQ.className = "peach-react", tQ.dataset.photoLightboxHost = "", document.body.append(tQ), nQ = (0, Dt.createRoot)(tQ)), nQ;
+var _Q = null, vQ = null, Ybe = 0;
+function Xbe() {
+ return (!vQ || !_Q?.isConnected) && (vQ?.unmount(), _Q = document.createElement("div"), _Q.className = "peach-react", _Q.dataset.photoLightboxHost = "", document.body.append(_Q), vQ = (0, Dt.createRoot)(_Q)), vQ;
}
-async function rQ(e, t, n) {
+async function yQ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await Cbe();
+ r = await Gbe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Obe();
- (0, Et.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(kbe, {
+ let i = Xbe();
+ (0, Et.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(Zbe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++Dbe)));
+ }, ++Ybe)));
}
-function iQ() {
- nQ && (0, Et.flushSync)(() => nQ.render(null));
+function bQ() {
+ vQ && (0, Et.flushSync)(() => vQ.render(null));
}
-function kbe({ slides: e, index: t, Swiper: n, host: r }) {
+function Zbe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, D.useId)(), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), [_, v] = (0, D.useState)(t), [y, b] = (0, D.useState)(100), [x, S] = (0, D.useState)({}), [C, w] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, D.useState)(!1), [j, M] = (0, D.useState)({
at: t,
text: ""
@@ -59282,7 +59442,7 @@ function kbe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = wbe(e, a, b);
+ i(t, 0), h.current = Kbe(e, a, b);
let m = gc(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();
};
@@ -59299,13 +59459,13 @@ function kbe({ 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) : iQ());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : bQ());
};
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, D.useLayoutEffect)(() => {
- m.current && YZ(m.current);
+ m.current && dQ(m.current);
}, [y]);
let ee = e[_], N = ee.asset ?? null, te = async (e) => {
if (!N || !r || e.getAttribute("aria-busy") === "true") return;
@@ -59336,18 +59496,18 @@ function kbe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), iQ();
+ e.preventDefault(), bQ();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && iQ();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && bQ();
},
children: [
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: iQ,
+ onClick: bQ,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -59483,10 +59643,10 @@ function kbe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: Tbe(ee)
+ children: qbe(ee)
}, _), /* @__PURE__ */ (0, O.jsx)("span", {
"data-photo-detail-meta": "",
- children: Ebe(ee, x[_])
+ children: Jbe(ee, x[_])
})]
}),
/* @__PURE__ */ (0, O.jsx)("button", {
@@ -59525,40 +59685,40 @@ function kbe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function Abe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(jbe, {
+function Qbe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)($be, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(Mbe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(Fbe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(exe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(rxe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var aQ = AZ.people;
-function jbe({ roster: e, props: t }) {
+var xQ = KZ.people;
+function $be({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, D.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, D.useState)(aQ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {
- o((e) => e + aQ);
+ }), [n, r]), [a, o] = (0, D.useState)(xQ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {
+ o((e) => e + xQ);
}, []);
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(WZ, {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(oQ, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, O.jsx)(JY, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, O.jsx)(lX, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function Mbe(e) {
- let t = PW(!e.items, e.skeletonHtml);
+function exe(e) {
+ let t = yG(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, O.jsx)(KY, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, O.jsx)(sX, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -59578,33 +59738,33 @@ function Mbe(e) {
}) : null]
});
}
-var Nbe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var txe = (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 || "官方样张"
-})), oQ = (e) => e.sample === !0, sQ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, cQ = (e) => oQ(e) ? `/sample-thumb?${sQ(e)}` : `/photo-thumb?id=${e.id}`, Pbe = (e) => oQ(e) ? {
- src: `/sample-image?${sQ(e)}`,
- thumb: cQ(e),
+})), SQ = (e) => e.sample === !0, CQ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, wQ = (e) => SQ(e) ? `/sample-thumb?${CQ(e)}` : `/photo-thumb?id=${e.id}`, nxe = (e) => SQ(e) ? {
+ src: `/sample-image?${CQ(e)}`,
+ thumb: wQ(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: cQ(e),
+ thumb: wQ(e),
name: e.name || "",
asset: e
};
-function Fbe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(Nbe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {
+function rxe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(txe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, D.useCallback)((e) => {
- rQ(e, o.map(Pbe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(Ibe, {
+ yQ(e, o.map(nxe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(ixe, {
item: e,
index: t,
lost: s.has(t),
@@ -59622,7 +59782,7 @@ function Fbe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(lQ, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(TQ, {
label: e.code,
title: e.name,
meta: [
@@ -59634,7 +59794,7 @@ function Fbe({ 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, O.jsx)(lQ, {
+ m.length && e.total ? /* @__PURE__ */ (0, O.jsx)(TQ, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -59643,14 +59803,14 @@ function Fbe({ 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, O.jsx)(JY, {
+ e.hasMore ? /* @__PURE__ */ (0, O.jsx)(lX, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function lQ({ label: e, title: t, meta: n }) {
+function TQ({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -59667,7 +59827,7 @@ function lQ({ label: e, title: t, meta: n }) {
]
});
}
-function Ibe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -59676,7 +59836,7 @@ function Ibe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, O.jsx)("img", {
- src: cQ(e),
+ src: wQ(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -59687,9 +59847,9 @@ function Ibe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/background-job.ts
-var Lbe = 2e3, Rbe = (e) => e, zbe = (e, t) => t;
-function uQ(e) {
- let { queryKey: t, jobOf: n = Rbe, withJob: r = zbe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);
+var axe = 2e3, oxe = (e) => e, sxe = (e, t) => t;
+function EQ(e) {
+ let { queryKey: t, jobOf: n = oxe, withJob: r = sxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);
(0, D.useEffect)(() => {
l.current = e;
});
@@ -59698,7 +59858,7 @@ function uQ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? Lbe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? axe : i ?? !1;
}
}), d = wt({
mutationFn: (e) => l.current.start(e),
@@ -59723,14 +59883,14 @@ function uQ(e) {
}
//#endregion
//#region src/react/follow-feed/follow-check.ts
-var dQ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function Bbe(e, t) {
- return t ? dQ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
+var DQ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
+function cxe(e, t) {
+ return t ? DQ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
//#endregion
//#region src/react/follow-feed/follow-check-button.tsx
-function Vbe({ sources: e, report: t }) {
- let n = dQ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = uQ({
+function lxe({ sources: e, report: t }) {
+ let n = DQ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = EQ({
queryKey: sr,
queryFn: ({ signal: e }) => Br(e),
start: (e) => Ur(e),
@@ -59744,12 +59904,12 @@ function Vbe({ sources: e, report: t }) {
children: [/* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
disabled: !n.length,
- ...Xz(s),
+ ...rB(s),
onClick: () => {
n.length && !s && (i(""), o.mutate(n));
},
children: "检查更新"
- }), r ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ }), r ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: r
}) : null]
@@ -59757,8 +59917,8 @@ function Vbe({ sources: e, report: t }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var Hbe = (e) => Number(e) > 0;
-function fQ({ name: e, actions: t, children: n, ...r }) {
+var uxe = (e) => Number(e) > 0;
+function OQ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, O.jsx)("a", {
...r,
href: tn("creator", e),
@@ -59768,15 +59928,15 @@ function fQ({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var pQ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
+var kQ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: BU(e) }
+ dangerouslySetInnerHTML: { __html: CW(e) }
});
-function Ube({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function dxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);
return (0, D.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(pQ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(kQ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -59795,8 +59955,8 @@ function Ube({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function Wbe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ri(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) => nW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Bi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Hi({
+function fxe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ri(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) => VW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Bi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Hi({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -59804,7 +59964,7 @@ function Wbe(e) {
limit: 9
}), S = (0, D.useRef)(x.faces);
S.current = x.faces;
- let C = DG({
+ let C = fK({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -59812,7 +59972,7 @@ function Wbe(e) {
w.current = C.onPointerLeave;
let T = (0, D.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = GU(u, n, i), k = VU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = JU(u, i), ee = qU(t, u), N = u.status === "saved", te = (e) => {
+ }, []), E = OW(u, n, i), k = wW(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = jW(u, i), ee = AW(t, u), N = u.status === "saved", te = (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));
}, P = (e, t) => {
e.stopPropagation(), t();
@@ -59827,7 +59987,7 @@ function Wbe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: te,
- onMouseDown: aG,
+ onMouseDown: WG,
onMouseEnter: C.onPointerEnter,
onMouseLeave: C.onPointerLeave,
children: [
@@ -59841,7 +60001,7 @@ function Wbe(e) {
}), /* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, O.jsx)(Ube, {
+ p ? /* @__PURE__ */ (0, O.jsx)(dxe, {
src: p,
fallback: m,
width: _?.width,
@@ -59849,7 +60009,7 @@ function Wbe(e) {
provider: A,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, O.jsx)(pQ, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, O.jsx)(kQ, { provider: A }),
x.faces.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-mix-faces": "",
hidden: !C.faces.length,
@@ -59869,7 +60029,7 @@ function Wbe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: BU(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: CW(u.provider, u.provider_label) }
}), ee ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: ee }
@@ -59882,7 +60042,7 @@ function Wbe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}) : null,
- Hbe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {
+ uxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-duration": "",
children: gn(u.duration)
}) : null,
@@ -59954,7 +60114,7 @@ function Wbe(e) {
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-meta": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, O.jsx)(fQ, {
+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(OQ, {
name: E.entityName,
actions: l,
"data-media-avatar": "",
@@ -59973,12 +60133,12 @@ function Wbe(e) {
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: KU(t, u) + z(k) }
+ dangerouslySetInnerHTML: { __html: kW(t, u) + z(k) }
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-follow-byline": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, O.jsx)(fQ, {
+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(OQ, {
name: E.entityName,
actions: l,
"data-follow-author": "",
@@ -59991,8 +60151,8 @@ function Wbe(e) {
}),
/* @__PURE__ */ (0, O.jsx)("time", {
dateTime: u.published_at || "",
- title: XU(u),
- children: ZU(u)
+ title: FW(u),
+ children: IW(u)
}),
E.credited ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-credit": "",
@@ -60027,10 +60187,10 @@ function Wbe(e) {
]
});
}
-var mQ = (0, D.memo)(Wbe);
+var AQ = (0, D.memo)(fxe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function Gbe(e, t) {
+function pxe(e, t) {
let n = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => {
let t = n.current;
@@ -60066,27 +60226,27 @@ function Gbe(e, t) {
}
//#endregion
//#region src/react/follow-manage/manage-route.ts
-var Kbe = [
+var mxe = [
"list",
"add",
"feeds"
];
-function hQ(e) {
+function jQ(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: Kbe.find((e) => e === n) || "list",
+ tab: mxe.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 gQ(e) {
+function MQ(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 _Q(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" : gQ({
- tab: t || hQ(e).tab,
+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" : MQ({
+ tab: t || jQ(e).tab,
page: 1,
sort: "",
dir: ""
@@ -60094,10 +60254,10 @@ function _Q(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var vQ = () => /* @__PURE__ */ (0, O.jsx)("span", {
+var PQ = () => /* @__PURE__ */ (0, O.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), qbe = Jz("settings"), yQ = Jz("chevron-down"), Jbe = Jz("history"), Ybe = Jz("arrow-up"), Xbe = Jz("arrow-down"), Zbe = [[
+}), hxe = tB("settings"), FQ = tB("chevron-down"), gxe = tB("history"), _xe = tB("arrow-up"), vxe = tB("arrow-down"), yxe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -60106,7 +60266,7 @@ var vQ = () => /* @__PURE__ */ (0, O.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function Qbe(e, t, n) {
+function bxe(e, t, n) {
return (0, D.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) => {
@@ -60154,7 +60314,7 @@ function Qbe(e, t, n) {
n
]);
}
-function $be(e) {
+function xxe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Ti(t, r), o = Tt(a), s = Ct({
queryKey: Ei,
queryFn: ({ signal: e }) => Di(e)
@@ -60162,7 +60322,7 @@ function $be(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = Qbe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({
+ }), [c, l]), d = bxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({
tags: xl(d.visible.flatMap(ji).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -60188,10 +60348,10 @@ function $be(e) {
m,
i
]);
- let h = txe(e, !!c);
+ let h = Cxe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, O.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, O.jsx)(bQ, {}), /* @__PURE__ */ (0, O.jsx)(FW, {
+ children: [/* @__PURE__ */ (0, O.jsx)(IQ, {}), /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(o.error),
onRetry: () => void o.refetch()
})]
@@ -60204,7 +60364,7 @@ function $be(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, HU(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, TW(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -60213,7 +60373,7 @@ function $be(e) {
ref: h.host,
"data-follow-progress": ""
}, h.generation),
- !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
title: "检查结果",
children: h.report
@@ -60222,7 +60382,7 @@ function $be(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, O.jsx)(bQ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {
+ /* @__PURE__ */ (0, O.jsx)(IQ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "primary",
"data-follow-recheck": "",
"aria-label": "检查每个来源的更新",
@@ -60233,20 +60393,20 @@ function $be(e) {
dangerouslySetInnerHTML: { __html: ns("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, O.jsx)(nxe, {
+ /* @__PURE__ */ (0, O.jsx)(wxe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, O.jsx)(rxe, {
+ /* @__PURE__ */ (0, O.jsx)(Txe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, O.jsx)(ixe, {
+ /* @__PURE__ */ (0, O.jsx)(Exe, {
facets: d,
view: t,
total: v,
@@ -60254,7 +60414,7 @@ function $be(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, O.jsx)(axe, {
+ /* @__PURE__ */ (0, O.jsx)(Dxe, {
conditions: _,
onDrop: (e) => i.route(Ji(t, e)),
onClear: () => g({
@@ -60266,8 +60426,8 @@ function $be(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, O.jsx)(oxe, { count: d.broken.length }) : null,
- /* @__PURE__ */ (0, O.jsx)(sxe, {
+ d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Oxe, { count: d.broken.length }) : null,
+ /* @__PURE__ */ (0, O.jsx)(kxe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -60290,14 +60450,14 @@ function $be(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, O.jsxs)(JY, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, O.jsxs)(lX, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, O.jsx)(yQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(exe, {
+ children: [/* @__PURE__ */ (0, O.jsx)(FQ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Sxe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Wt(o.error) : "",
load: () => {
@@ -60308,7 +60468,7 @@ function $be(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : Jbe,
+ leadingIcon: h.olderBusy ? void 0 : gxe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -60326,7 +60486,7 @@ function $be(e) {
})
] });
}
-function bQ({ children: e }) {
+function IQ({ children: e }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, O.jsx)("h2", {
@@ -60334,30 +60494,30 @@ function bQ({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, O.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, O.jsx)(cI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(dI, {
variant: "secondary",
- leadingIcon: qbe,
+ leadingIcon: hxe,
"data-follow-manage": "",
- href: xQ(),
+ href: LQ(),
children: "管理关注"
}), e]
})]
});
}
-function exe({ busy: e, error: t, load: n }) {
+function Sxe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, O.jsx)(yQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ children: [/* @__PURE__ */ (0, O.jsx)(FQ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: t,
onRetry: n
}) : null] });
}
-function txe(e, t) {
+function Cxe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(!1), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useRef)({
helpers: n,
actions: r
@@ -60419,12 +60579,12 @@ function txe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function nxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function wxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, D.useRef)(null);
(0, D.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => HU(e.authorSources.get(t) || [], n);
+ let o = (t) => TW(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, O.jsx)("div", {
@@ -60432,14 +60592,14 @@ function nxe({ 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 = UU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = EW(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: WU(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: DW(a, o(n)) }
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, O.jsx)(fQ, {
+ return s ? /* @__PURE__ */ (0, O.jsx)(OQ, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -60456,7 +60616,7 @@ function nxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function rxe({ rows: e, pressed: t, props: n, onPick: r }) {
+function Txe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -60477,13 +60637,13 @@ function rxe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = oI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = oI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = lI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = lI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, D.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, O.jsx)($F, {
+ return /* @__PURE__ */ (0, O.jsx)(nI, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -60535,7 +60695,7 @@ function ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, O.jsx)(vQ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsx)(PQ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -60555,7 +60715,7 @@ function ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, O.jsx)(vQ, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, O.jsx)(PQ, {}) : null]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -60568,10 +60728,10 @@ function ixe({ 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: BU(t, n) }
+ dangerouslySetInnerHTML: { __html: CW(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(vQ, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(tI, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(PQ, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(iI, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Yi(e.groups, n)}`,
@@ -60591,18 +60751,18 @@ function ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-readout": "",
children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`
}),
- /* @__PURE__ */ (0, O.jsx)(lB, {
+ /* @__PURE__ */ (0, O.jsx)(gB, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(_W, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gW, {
+ /* @__PURE__ */ (0, O.jsx)(nG, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(tG, {
label: "图片布局",
value: i.photoLayout,
- options: Zbe,
+ options: yxe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
@@ -60632,9 +60792,9 @@ function ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let n = Wi(e, t.sort, t.dir);
n && a(n);
},
- children: [n, r ? /* @__PURE__ */ (0, O.jsx)(FU, {
- a: Ybe,
- b: Xbe,
+ children: [n, r ? /* @__PURE__ */ (0, O.jsx)(vW, {
+ a: _xe,
+ b: vxe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -60645,7 +60805,7 @@ function ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function axe({ conditions: e, onDrop: t, onClear: n }) {
+function Dxe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -60670,19 +60830,19 @@ function axe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function oxe({ count: e }) {
+function Oxe({ count: e }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-broken": "",
- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(xQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(LQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
-var xQ = () => _Q(window.location.search);
-function sxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
- let { view: s, helpers: c } = i, l = s.media === "images", u = PW(e, () => c.listSkeletonHtml(s.media));
+var LQ = () => NQ(window.location.search);
+function kxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+ let { view: s, helpers: c } = i, l = s.media === "images", u = yG(e, () => c.listSkeletonHtml(s.media));
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": u.fading ? "" : void 0,
- children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(cxe, {
+ children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Axe, {
facets: t,
data: n,
context: r,
@@ -60693,29 +60853,29 @@ function sxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function cxe({ 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 Axe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
+ let { view: s, actions: c } = r, l = zQ(r), u = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, d = Gbe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = pxe(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, O.jsx)(mQ, {
+ return /* @__PURE__ */ (0, O.jsx)(AQ, {
group: t,
authorSources: o,
media: s.media,
retryKey: a,
context: n,
- selected: r.selected.has(SQ(t, s)),
+ selected: r.selected.has(RQ(t, s)),
selectMode: r.selectMode,
- busy: l.busy.get(SQ(t, s)) || "",
- failure: l.failures.get(SQ(t, s)) || "",
+ busy: l.busy.get(RQ(t, s)) || "",
+ failure: l.failures.get(RQ(t, s)) || "",
actions: c,
onStatus: l.status,
onSave: l.save
}, `${u}:${s.media}`);
- }) : /* @__PURE__ */ (0, O.jsx)(lxe, {
+ }) : /* @__PURE__ */ (0, O.jsx)(jxe, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -60738,22 +60898,22 @@ function cxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
children: f
});
}
-function SQ(e, t) {
+function RQ(e, t) {
return Ri(e, t.media).id;
}
-function lxe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function jxe({ data: e, filtered: t, clear: n, checkAction: r }) {
let i = !!e.groups.length || t, a = !!e.sources.length;
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz(i ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB(i ? "search-x" : "rss"),
title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",
actions: i ? /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, O.jsx)(cI, {
+ }) : a ? r : /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -60762,12 +60922,12 @@ function lxe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var uxe = {
+var Mxe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function CQ(e) {
+function zQ(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, D.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, D.useState)(() => /* @__PURE__ */ new Map()), c = Ti(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -60790,7 +60950,7 @@ function CQ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(uxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(Mxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(er, {
item: t,
to: i
@@ -60836,9 +60996,9 @@ function CQ(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function dxe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = PW(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(FW, {
+function Nxe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = yG(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(t.error),
onRetry: () => {
t.refetch();
@@ -60849,11 +61009,11 @@ function dxe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, O.jsx)(fxe, {
+ a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Pxe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, O.jsx)(JY, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, O.jsx)(lX, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -60863,8 +61023,8 @@ function dxe(e) {
]
});
}
-function fxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
- let u = CQ({
+function Pxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+ let u = zQ({
view: e,
revision: 0,
actions: c
@@ -60882,7 +61042,7 @@ function fxe({ 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 = Ri(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, O.jsx)(mQ, {
+ return /* @__PURE__ */ (0, O.jsx)(AQ, {
group: e,
authorSources: r && d.byAuthor.get(r) || [],
media: t,
@@ -60895,11 +61055,11 @@ function fxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: u.status,
onSave: u.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, O.jsx)(pxe, {
+ }) : /* @__PURE__ */ (0, O.jsx)(Fxe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: Bbe(n.sources || [], e.author)
+ sources: cxe(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-list": "",
@@ -60908,21 +61068,21 @@ function fxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function pxe({ searched: e, clear: t, actions: n, sources: r }) {
+function Fxe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz(e ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB(e ? "search-x" : "rss"),
title: e ? "当前筛选下没有更新" : "还没有抓到更新",
actions: e ? /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, O.jsx)(Vbe, {
+ }) : r.length ? /* @__PURE__ */ (0, O.jsx)(lxe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, O.jsx)(cI, {
+ }) : /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -60931,7 +61091,7 @@ function pxe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function wQ(e) {
+function BQ(e) {
return {
x0: 0,
y0: 0,
@@ -60939,7 +61099,7 @@ function wQ(e) {
y1: e.height
};
}
-function TQ(e) {
+function VQ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -60947,40 +61107,40 @@ function TQ(e) {
y1: Math.round(e.y1)
};
}
-function EQ(e) {
+function HQ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function DQ(e, t) {
- if (!EQ(e)) return {
+function UQ(e, t) {
+ if (!HQ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return wQ(e);
+ if (t == null || !(t > 0)) return BQ(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 TQ({
+ return VQ({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function mxe(e, t) {
- if (!EQ(e) || !(t > 0)) return wQ(e);
+function Ixe(e, t) {
+ if (!HQ(e) || !(t > 0)) return BQ(e);
let n = Math.min(e.width, e.height * t);
- return TQ({
+ return VQ({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function hxe(e, t, n) {
- if (!EQ(t) || !(n > 0)) return wQ(t);
- let r = OQ(e, t), i = DQ({
+function Lxe(e, t, n) {
+ if (!HQ(t) || !(n > 0)) return BQ(t);
+ let r = WQ(e, t), i = UQ({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -60991,8 +61151,8 @@ function hxe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function OQ(e, t, n = null, r = "width") {
- if (!EQ(t)) return {
+function WQ(e, t, n = null, r = "width") {
+ if (!HQ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -61001,43 +61161,43 @@ function OQ(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 TQ({
+ return VQ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function kQ(e, t, n, r) {
+function GQ(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 TQ({
+ return VQ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function AQ(e, t, n, r = null) {
- if (!EQ(n) || !(t > 0)) return e;
+function KQ(e, t, n, r = null) {
+ if (!HQ(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 OQ({
+ return WQ({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function gxe(e, t, n, r, i = null) {
+function Rxe(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 OQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return WQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function _xe(e, t) {
- return EQ(t) ? {
+function zxe(e, t) {
+ return HQ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -61049,8 +61209,8 @@ function _xe(e, t) {
height: 0
};
}
-function vxe(e, t) {
- if (!EQ(t)) return {
+function Bxe(e, t) {
+ if (!HQ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -61060,7 +61220,7 @@ function vxe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function yxe(e, t) {
+function Vxe(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}%`,
@@ -61069,16 +61229,16 @@ function yxe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function jQ(e, t, n) {
+function qQ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function bxe(e, t) {
+function Hxe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var xxe = .02, MQ = 1.08;
-function NQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var Uxe = .02, JQ = 1.08;
+function YQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);
(0, D.useEffect)(() => {
u(!1);
@@ -61097,8 +61257,8 @@ function NQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: jQ(e, n.clientWidth, r.width),
- dy: jQ(t, n.clientHeight, r.height)
+ dx: qQ(e, n.clientWidth, r.width),
+ dy: qQ(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -61115,22 +61275,22 @@ function NQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let 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(kQ(n.box, o.dx, o.dy, r)) : i(gxe(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(GQ(n.box, o.dx, o.dy, r)) : i(Rxe(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) * xxe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Uxe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(kQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(AQ(n, e.key === "-" ? 1 / MQ : MQ, r, t)));
+ o[e.key] ? (e.preventDefault(), i(GQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(KQ(n, e.key === "-" ? 1 / JQ : JQ, r, t)));
}
- let v = n && r ? _xe(OQ(n, r, t), r) : null, y = v ? bxe(v, d) : !1, b = v ? {
+ let v = n && r ? zxe(WQ(n, r, t), r) : null, y = v ? Hxe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -61149,7 +61309,7 @@ function NQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- EQ({
+ HQ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -61188,7 +61348,7 @@ function NQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(AQ(n, e.deltaY > 0 ? MQ : 1 / MQ, r, t));
+ n && r && i(KQ(n, e.deltaY > 0 ? JQ : 1 / JQ, 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, O.jsx)("span", {
@@ -61211,13 +61371,13 @@ function NQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Sxe = "/api/avatar-choices", PQ = "/api/avatar-pick", Cxe = "/api/avatar-code-cover", FQ = "/api/avatar-frame", wxe = "/avatar-choice", IQ = (e, t) => [
+var Wxe = "/api/avatar-choices", XQ = "/api/avatar-pick", Gxe = "/api/avatar-code-cover", ZQ = "/api/avatar-frame", Kxe = "/avatar-choice", QQ = (e, t) => [
"avatar-choices",
e,
t
-], LQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, RQ = (e, t, n, r = "") => `${wxe}${LQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), zQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Txe = (e, t, n) => B(Sxe + LQ(e, t), n), Exe = (e) => V(Cxe, { code: e });
-async function Dxe(e, t, n) {
- let r = await V(FQ, {
+], $Q = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, e$ = (e, t, n, r = "") => `${Kxe}${$Q(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), t$ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", qxe = (e, t, n) => B(Wxe + $Q(e, t), n), Jxe = (e) => V(Gxe, { code: e });
+async function Yxe(e, t, n) {
+ let r = await V(ZQ, {
kind: e,
id: t,
ref: n.ref
@@ -61230,12 +61390,12 @@ async function Dxe(e, t, n) {
bases: r.bases
};
}
-var Oxe = (e, t, n) => V(FQ, {
+var Xxe = (e, t, n) => V(ZQ, {
kind: e,
id: t,
url: n
-}), kxe = (e, t, n) => BQ(`${FQ}${LQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function BQ(e, t) {
+}), Zxe = (e, t, n) => n$(`${ZQ}${$Q(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function n$(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -61244,17 +61404,17 @@ async function BQ(e, t) {
if (n.ok) return r;
throw new kn(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function VQ(e, t, n) {
+function r$(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? hxe(e.focus, t, n) : DQ(t, n);
+ return e.focus && r ? Lxe(e.focus, t, n) : UQ(t, n);
}
-var Axe = (e) => e.crop && EQ({
+var Qxe = (e) => e.crop && HQ({
width: e.width,
height: e.height
});
-async function jxe(e, t, n) {
+async function $xe(e, t, n) {
if (!("file" in n)) {
- await V(PQ, {
+ await V(XQ, {
kind: e,
id: t,
...n
@@ -61267,19 +61427,19 @@ async function jxe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await BQ(`${PQ}${LQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await n$(`${XQ}${$Q(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var HQ = 2;
-function Mxe(e, t) {
+var i$ = 2;
+function eSe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, HQ).join("」「")}」`}${n.length > HQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, i$).join("」「")}」`}${n.length > i$ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var Nxe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Pxe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Nxe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var tSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function nSe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${tSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var UQ = (e) => e.cast > 1, Fxe = (e) => UQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Ixe = {
+var a$ = (e) => e.cast > 1, rSe = (e) => a$(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, iSe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -61289,7 +61449,7 @@ var UQ = (e) => e.cast > 1, Fxe = (e) => UQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function Lxe(e) {
+function aSe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -61300,19 +61460,19 @@ function Lxe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Rxe = (e) => `${Ixe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (UQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), zxe = 8, Bxe = 3 / 4;
-async function Vxe(e, t, n) {
+var oSe = (e) => `${iSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (a$(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), sSe = 8, cSe = 3 / 4;
+async function lSe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await Dxe(e, t, n.choice) };
- case "code": return { choice: await Exe(n.code) };
- case "url": return { choice: await Oxe(e, t, n.url) };
+ case "choice": return { choice: await Yxe(e, t, n.choice) };
+ case "code": return { choice: await Jxe(n.code) };
+ case "url": return { choice: await Xxe(e, t, n.url) };
case "file": return {
- choice: await kxe(e, t, n.file),
+ choice: await Zxe(e, t, n.file),
file: n.file
};
}
}
-function Hxe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function uSe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -61322,17 +61482,17 @@ function Hxe({ 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, O.jsx)(zde, {
+ children: /* @__PURE__ */ (0, O.jsx)(Mde, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, O.jsx)(Uz, {
+ }), /* @__PURE__ */ (0, O.jsx)(Xz, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, O.jsx)(Uxe, {
+ children: /* @__PURE__ */ (0, O.jsx)(dSe, {
kind: e,
entityId: t,
name: n,
@@ -61341,22 +61501,22 @@ function Hxe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, D.useRef)(null), o = mV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = IQ(e, t), m = (0, D.useRef)(!1), h = Ct({
+function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, D.useRef)(null), o = xV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = QQ(e, t), m = (0, D.useRef)(!1), h = Ct({
queryKey: p,
- queryFn: ({ signal: n }) => Txe(e, t, n),
+ queryFn: ({ signal: n }) => qxe(e, t, n),
retryOnMount: !0
});
(0, D.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: IQ(e, t) });
+ m.current && H.removeQueries({ queryKey: QQ(e, t) });
}, [e, t]);
let g = wt({
- mutationFn: (n) => jxe(e, t, n),
+ mutationFn: (n) => $xe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = wt({
- mutationFn: (n) => Vxe(e, t, n),
+ mutationFn: (n) => lSe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -61377,39 +61537,39 @@ function Uxe({ 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 ? jn(g.error) : "") || (!d && _.error ? jn(_.error) : "") || (h.error ? jn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : Pxe(x), E = !!C && !!h.error && C === jn(h.error), k = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? jn(g.error) : "") || (!d && _.error ? jn(_.error) : "") || (h.error ? jn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : nSe(x), E = !!C && !!h.error && C === jn(h.error), k = h.isPending || S.length > 0;
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, O.jsx)(Wz, { children: /* @__PURE__ */ (0, O.jsx)(Pz, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, O.jsx)(Zz, { children: /* @__PURE__ */ (0, O.jsx)(Vz, { className: "size-6" }) }),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(FI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(RI, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(VZ, {
+ }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(rQ, {
color: "soft",
children: [S.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? Fxe(d.choice) : Mxe(n, x)
+ children: d ? rSe(d.choice) : eSe(n, x)
}),
- T ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ T ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
children: T
}) : null,
- C ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ C ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
action: E ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- ...Xz(h.isFetching),
+ ...rB(h.isFetching),
onClick: () => {
h.isFetching || h.refetch();
},
@@ -61419,14 +61579,14 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, O.jsx)(KF, {
- icon: Sz,
+ /* @__PURE__ */ (0, O.jsx)(YF, {
+ icon: kz,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, O.jsx)(Gxe, {
+ }), d ? /* @__PURE__ */ (0, O.jsx)(pSe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -61446,7 +61606,7 @@ function Uxe({ 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: zxe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: sSe }, (e, t) => /* @__PURE__ */ (0, O.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",
@@ -61459,8 +61619,8 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Rxe(n),
- ...Xz(w),
+ title: oSe(n),
+ ...rB(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
via: "choice",
@@ -61469,8 +61629,8 @@ function Uxe({ 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, O.jsx)(Wxe, {
- src: RQ(e, t, n.ref, zQ(n, n.ref)),
+ /* @__PURE__ */ (0, O.jsx)(fSe, {
+ src: e$(e, t, n.ref, t$(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, O.jsx)("span", {
@@ -61479,15 +61639,15 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, O.jsx)(VZ, {
+ children: /* @__PURE__ */ (0, O.jsx)(rQ, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- UQ(n) ? /* @__PURE__ */ (0, O.jsx)("span", {
+ a$(n) ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, O.jsxs)(VZ, {
+ children: /* @__PURE__ */ (0, O.jsxs)(rQ, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -61509,7 +61669,7 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, O.jsx)(Hz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Yz, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -61519,7 +61679,7 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
type: "submit",
variant: "secondary",
disabled: !l.trim(),
- ...Xz(v("code")),
+ ...rB(v("code")),
children: "取封面来框"
})]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -61528,7 +61688,7 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
/* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
onClick: () => a.current?.click(),
- ...Xz(v("file")),
+ ...rB(v("file")),
children: "从本机选图片"
}),
/* @__PURE__ */ (0, O.jsx)("input", {
@@ -61548,7 +61708,7 @@ function Uxe({ 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, O.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, O.jsx)(Hz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Yz, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -61558,7 +61718,7 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}), /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
disabled: !s.trim(),
- ...Xz(v("url")),
+ ...rB(v("url")),
onClick: () => {
w || _.mutate({
via: "url",
@@ -61572,7 +61732,7 @@ function Uxe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Wxe({ src: e, choice: t }) {
+function fSe({ src: e, choice: t }) {
let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), [a, o] = (0, D.useState)(!1);
(0, D.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -61580,7 +61740,7 @@ function Wxe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = Axe(t) ? yxe(VQ(t, s, Bxe), s) : null, l = r || a ? !0 : void 0;
+ }, c = Qxe(t) ? Vxe(r$(t, s, cSe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -61606,23 +61766,23 @@ function Wxe({ src: e, choice: t }) {
})]
});
}
-function Gxe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = zQ(n, s), m = RQ(e, t, s, p), h = mV();
+function pSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = t$(n, s), m = e$(e, t, s, p), h = xV();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? vxe(d, l) : null;
+ let _ = d && l ? Bxe(d, l) : null;
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.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, O.jsx)(NQ, {
+ children: [m ? /* @__PURE__ */ (0, O.jsx)(YQ, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), EQ(e) && f(s === n.ref ? VQ(n, e, 1) : DQ(e, 1));
+ u(e), HQ(e) && f(s === n.ref ? r$(n, e, 1) : UQ(e, 1));
},
onBox: f
}) : null, o.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
@@ -61636,7 +61796,7 @@ function Gxe({ 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: Lxe(e)
+ children: aSe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -61656,12 +61816,12 @@ function Gxe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
/* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
onClick: i,
- ...Xz(r),
+ ...rB(r),
children: "返回备选图片"
}),
n.crop ? null : /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(r),
+ ...rB(r),
onClick: () => {
r || a(null);
},
@@ -61669,7 +61829,7 @@ function Gxe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}),
/* @__PURE__ */ (0, O.jsx)(q, {
disabled: !d || !l,
- ...Xz(r),
+ ...rB(r),
onClick: () => {
d && !r && a({
ref: s,
@@ -61685,8 +61845,8 @@ function Gxe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/components/source-picture.tsx
-var WQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`, Kxe = { display: "none" };
-function GQ({ item: e, image: t, thumbnail: n = !1 }) {
+var o$ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`, mSe = { display: "none" };
+function s$({ item: e, image: t, thumbnail: n = !1 }) {
let [r, i] = (0, D.useState)(0), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(""), l = t === "cover" && e.has_cover, u = !l && (t !== "cover" || e.source_image), d = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`;
if (!u) {
let r = l ? ja(e, !0) : t === "cover" && !e.source_image ? e.cover_url : "";
@@ -61697,16 +61857,16 @@ function GQ({ item: e, image: t, thumbnail: n = !1 }) {
referrerPolicy: "no-referrer"
}) : n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {
"data-jav-picture-wait": "",
- children: /* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
children: "封面未取得"
})
});
}
- let f = WQ(e.code, t, r);
+ let f = o$(e.code, t, r);
if (s === f) return n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {
"data-jav-picture-wait": "",
- children: /* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -61732,14 +61892,14 @@ function GQ({ item: e, image: t, thumbnail: n = !1 }) {
alt: d,
referrerPolicy: "no-referrer",
hidden: !p,
- style: p ? void 0 : Kxe,
+ style: p ? void 0 : mSe,
onLoad: () => o(f),
onError: () => c(f)
})] });
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function KQ({ code: e, person: t, detail: n = !1 }) {
+function c$({ code: e, person: t, detail: n = !1 }) {
let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(n || typeof IntersectionObserver > "u");
(0, D.useEffect)(() => {
if (!r.current || i) return;
@@ -61753,7 +61913,7 @@ function KQ({ code: e, person: t, detail: n = !1 }) {
"data-source-initial": "",
children: Sn(t.name)
}), i && t.source_actor_id ? /* @__PURE__ */ (0, O.jsx)("img", {
- src: WQ(e, `actor:${t.source_actor_id}`),
+ src: o$(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -61764,8 +61924,8 @@ function KQ({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function qQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, D.useContext)(bU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";
+function l$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, D.useContext)($U), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";
(0, D.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -61797,7 +61957,7 @@ function qQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(KQ, {
+ }), s.map((e, t) => (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(c$, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -61807,7 +61967,7 @@ function qQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-function JQ({ name: e }) {
+function u$({ name: e }) {
let { wide: t, viewBox: n } = Kt(e);
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: n,
@@ -61818,20 +61978,20 @@ function JQ({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function YQ(e, t) {
+function d$(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 XQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function ZQ(e, t, n, r) {
+var f$ = (e) => !!e?.isConnected && e.matches(":popover-open");
+function p$(e, t, n, r) {
let i = (0, D.useRef)(r);
i.current = r, (0, D.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && XQ(n.current) ? YQ(t.current, n.current) : i.current();
+ t.current && f$(n.current) ? d$(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -61845,17 +62005,17 @@ function ZQ(e, t, n, r) {
n
]);
}
-function QQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function m$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = (0, D.useRef)(!1), d = (0, D.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, XQ(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, f$(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !XQ(s.current) && (s.current.showPopover(), YQ(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !f$(s.current) && (s.current.showPopover(), d$(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 ZQ(c, o, s, f), (0, D.useEffect)(() => {
+ return p$(c, o, s, f), (0, D.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -61881,7 +62041,7 @@ function QQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && XQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && f$(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -61899,16 +62059,16 @@ function QQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function qxe({ following: e, busy: t, onToggle: n, tip: r }) {
+function hSe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(!1), u = () => {
- XQ(o.current) && o.current.hidePopover(), c(!1);
+ f$(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !XQ(o.current) && (o.current.showPopover(), YQ(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !f$(o.current) && (o.current.showPopover(), d$(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return ZQ(s, i, o, () => c(!1)), (0, D.useEffect)(() => {
- i.current && XQ(o.current) && YQ(i.current, o.current);
+ return p$(s, i, o, () => c(!1)), (0, D.useEffect)(() => {
+ i.current && f$(o.current) && d$(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, O.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -61917,7 +62077,7 @@ function qxe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, O.jsx)(JQ, { name: "rss" }),
+ /* @__PURE__ */ (0, O.jsx)(u$, { name: "rss" }),
/* @__PURE__ */ (0, O.jsx)("input", {
ref: a,
type: "checkbox",
@@ -61952,29 +62112,29 @@ function qxe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Jxe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function gSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, O.jsxs)(cue, {
+ }, []), /* @__PURE__ */ (0, O.jsxs)(tue, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, O.jsx)(jI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(PI, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, O.jsx)(JQ, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, O.jsx)(pR, {
+ children: /* @__PURE__ */ (0, O.jsx)(u$, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, O.jsx)(bR, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: oV,
+ className: pV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, O.jsxs)(uue, {
+ children: /* @__PURE__ */ (0, O.jsxs)(rue, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(xR, {
+ /* @__PURE__ */ (0, O.jsx)(OR, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -61982,31 +62142,31 @@ function Jxe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(CR, {
+ children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(AR, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, O.jsx)(Gle, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, O.jsx)(xR, { children: /* @__PURE__ */ (0, O.jsxs)(CR, {
+ /* @__PURE__ */ (0, O.jsx)(Rle, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, O.jsx)(OR, { children: /* @__PURE__ */ (0, O.jsxs)(AR, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Yxe = (e) => e === "studio" || e === "agency", $Q = (e) => e === "performer" || e === "creator", Xxe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function Zxe(e) {
+var _Se = (e) => e === "studio" || e === "agency", h$ = (e) => e === "performer" || e === "creator", vSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function ySe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function e$(e) {
+function g$(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -62018,13 +62178,13 @@ function e$(e) {
linked: !1
} : null;
}
-function t$(e, t) {
+function _$(e, t) {
let n = mn(e, "performer"), r = dn(t);
return r && [e.label, n].map(dn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var n$ = (e) => ({ site: sn(e) });
-function Qxe(e, t) {
- let n = e$(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var v$ = (e) => ({ site: sn(e) });
+function bSe(e, t) {
+ let n = g$(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -62034,7 +62194,7 @@ function Qxe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${t$(e, n)} · ${t}`
+ title: `${_$(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -62042,11 +62202,11 @@ function Qxe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if ($Q(t) && e.link_kind !== "social") return {
+ if (h$(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: t$(e, n),
- mark: n$(e)
+ title: _$(e, n),
+ mark: v$(e)
};
if (e.link_kind === "social") {
let t = un(r);
@@ -62054,7 +62214,7 @@ function Qxe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : n$(e)
+ mark: t ? { brand: t } : v$(e)
};
}
return {
@@ -62062,12 +62222,12 @@ function Qxe(e, t) {
url: r,
title: e.label || "",
text: mn(e, t, i),
- mark: n$(e)
+ mark: v$(e)
};
});
- return [...r, ...$xe(a)];
+ return [...r, ...xSe(a)];
}
-function $xe(e) {
+function xSe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -62075,8 +62235,8 @@ function $xe(e) {
sources: t.map((e) => e.label)
}];
}
-var r$ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function eSe(e) {
+var y$ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function SSe(e) {
return [
[
"legal_name",
@@ -62132,7 +62292,7 @@ function eSe(e) {
}]
}] : []);
}
-function tSe(e) {
+function CSe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -62189,14 +62349,14 @@ function tSe(e) {
tags: e.tags
}), t;
}
-function i$(e, t = 4) {
+function b$(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function nSe(e) {
+function wSe(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 ? {
@@ -62207,7 +62367,7 @@ function nSe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function rSe(e) {
+function TSe(e) {
return La({
id: e.id,
hasImage: e.has_image,
@@ -62218,8 +62378,8 @@ function rSe(e) {
standIn: e.avatar_stand_in
});
}
-function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = $Q(e), c = Yxe(e), l = s ? tSe(n.profile) : c ? eSe(n.company_profile) : [], u = Qxe(n, e), d = r$(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);
+function ESe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = h$(e), c = _Se(e), l = s ? CSe(n.profile) : c ? SSe(n.company_profile) : [], u = bSe(n, e), d = y$(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, D.useEffect)(() => {
@@ -62232,7 +62392,7 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, O.jsx)(aSe, {
+ children: [/* @__PURE__ */ (0, O.jsx)(DSe, {
kind: e,
name: t,
helpers: o,
@@ -62240,7 +62400,7 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, O.jsx)(Hxe, {
+ children: /* @__PURE__ */ (0, O.jsx)(uSe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -62255,13 +62415,13 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, O.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(Jxe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(gSe, {
current: n.canonical_name,
- choices: Zxe(n),
+ choices: ySe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, O.jsx)(cB, { item: {
+ n.id ? /* @__PURE__ */ (0, O.jsx)(hB, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -62269,7 +62429,7 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, O.jsx)(oSe, {
+ /* @__PURE__ */ (0, O.jsx)(OSe, {
kind: e,
entity: n,
actions: a
@@ -62290,14 +62450,14 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, O.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(fSe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(PSe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(pSe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(FSe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(lSe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(jSe, {
follow: n.follow,
entity: n,
actions: a
@@ -62306,11 +62466,11 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, O.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(uSe, {
+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(MSe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, O.jsx)(dSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, O.jsx)(NSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -62329,7 +62489,7 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, O.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${z(Sn(e.k))}</span>${rSe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z(Sn(e.k))}</span>${TSe(e)}` }
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -62337,14 +62497,14 @@ function iSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(qQ, {
+ }), i ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(l$, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function aSe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function DSe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${z(Sn(t))}</span>`);
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -62353,8 +62513,8 @@ function aSe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function oSe({ kind: e, entity: t, actions: n }) {
- let r = e$(t), i = (e, t) => (r) => {
+function OSe({ kind: e, entity: t, actions: n }) {
+ let r = g$(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, O.jsx)("a", {
href: tn("agency", r.name, r.id),
@@ -62363,41 +62523,41 @@ function oSe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = nSe(t.name_groups);
+ let e = wSe(t.name_groups);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, O.jsx)(a$, { entity: t }),
+ /* @__PURE__ */ (0, O.jsx)(x$, { entity: t }),
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(cSe, {
+ t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(ASe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, O.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, O.jsx)(JQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, O.jsx)(u$, { name: "id-card" }),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(QQ, {
+ e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(m$, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(o$, {
+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(S$, {
label: e.label,
names: e.names
}, t)) })
@@ -62419,61 +62579,61 @@ function oSe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, O.jsx)(a$, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, O.jsx)(x$, { entity: t }) : null,
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {
href: tn("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, O.jsx)(sSe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, O.jsx)(kSe, { aliases: s }) : null
]
});
}
-function sSe({ aliases: e }) {
- let { shown: t, rest: n } = i$(e, 3);
+function kSe({ aliases: e }) {
+ let { shown: t, rest: n } = b$(e, 3);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(JQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, O.jsx)(u$, { name: "id-card" }),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, O.jsx)(QQ, {
+ n ? /* @__PURE__ */ (0, O.jsx)(m$, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(o$, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(S$, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function cSe({ follow: e, actions: t }) {
+function ASe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -62482,7 +62642,7 @@ function cSe({ follow: e, actions: t }) {
})]
});
}
-function lSe({ follow: e, entity: t, actions: n }) {
+function jSe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, D.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -62496,12 +62656,12 @@ function lSe({ follow: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-entity-held": "",
className: "flex flex-col gap-2",
- children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Gz, {
+ children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Qz, {
tone: "info",
title: `关注里有同名作者 ${e.name}`,
action: /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
- ...Xz(r === e.key),
+ ...rB(r === e.key),
onClick: () => {
a(e.key, e.name);
},
@@ -62516,14 +62676,14 @@ function lSe({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function a$({ entity: e }) {
+function x$({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function o$({ label: e, names: t }) {
+function S$({ label: e, names: t }) {
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, O.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {
@@ -62532,20 +62692,20 @@ function o$({ label: e, names: t }) {
}, t))
})] });
}
-function uSe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(JQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {
+function MSe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function dSe({ tags: e }) {
- let { shown: t, rest: n } = i$(e);
+function NSe({ tags: e }) {
+ let { shown: t, rest: n } = b$(e);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, O.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, O.jsx)(QQ, {
+ }, e)), n ? /* @__PURE__ */ (0, O.jsx)(m$, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -62561,10 +62721,10 @@ function dSe({ tags: e }) {
})
}) : null] });
}
-function s$({ mark: e }) {
+function C$({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, O.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, O.jsx)(JQ, { name: e.brand })
+ children: /* @__PURE__ */ (0, O.jsx)(u$, { name: e.brand })
});
let t = L("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, O.jsx)("span", {
@@ -62572,7 +62732,7 @@ function s$({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function fSe({ link: e }) {
+function PSe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, O.jsx)("a", {
"data-link": "icon",
@@ -62581,19 +62741,19 @@ function fSe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, O.jsx)(s$, { mark: e.mark })
+ children: /* @__PURE__ */ (0, O.jsx)(C$, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, O.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, O.jsx)(s$, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, O.jsx)(C$, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, O.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, O.jsx)(s$, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(C$, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -62605,7 +62765,7 @@ function fSe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, O.jsx)(s$, { mark: e.mark }),
+ /* @__PURE__ */ (0, O.jsx)(C$, { mark: e.mark }),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -62620,7 +62780,7 @@ function fSe({ link: e }) {
});
}
}
-function pSe({ entity: e, actions: t, helpers: n }) {
+function FSe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, D.useState)(!!e.feed?.following), [a, o] = (0, D.useState)(!1), s = (0, D.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -62638,34 +62798,34 @@ function pSe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-entry-marks": "",
- children: [r$(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {
+ children: [y$(e).map((e, t) => /* @__PURE__ */ (0, O.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, O.jsx)(JQ, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(u$, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(qxe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(hSe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Xxe(r)
+ tip: vSe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var mSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function hSe(e, t, n) {
+var ISe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function LSe(e, t, n) {
let [r, i] = (0, D.useState)(() => zi(e));
r.author !== e && i(zi(e));
let [a, o] = (0, D.useState)({
@@ -62744,7 +62904,7 @@ function hSe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: Si,
- seed: mSe()
+ seed: ISe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -62775,8 +62935,8 @@ function hSe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function gSe(e) {
- let { kind: t, name: n } = e, r = Ct(SZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function RSe(e) {
+ let { kind: t, name: n } = e, r = Ct(RZ(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;
@@ -62794,17 +62954,17 @@ function gSe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: jn(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(ySe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(VSe, {
...e,
entity: r.data
});
}
-function c$(e) {
+function w$(e) {
let [t, n] = (0, D.useState)({
key: e,
n: 1
@@ -62816,22 +62976,22 @@ function c$(e) {
};
return n(r), r.n;
}
-var _Se = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function vSe(e, t) {
+var zSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function BSe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function ySe(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 = Tt(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 || wZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function VSe(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 = Tt(zZ(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 || BZ(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
- } : hZ, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);
+ } : jZ, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);
S !== x && (C(x), b("videos"));
- let w = l && y === "people" && u.length ? "people" : v.media, T = hSe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = LSe(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", [k, A] = (0, D.useState)(0), j = xZ(e), M = Ct(j), ee = c$(JSON.stringify([j.queryKey, k])), [N] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = LZ(e), M = Ct(j), ee = w$(JSON.stringify([j.queryKey, k])), [N] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, D.useLayoutEffect)(() => {
s.javContext(N);
}, [s, N]);
@@ -62841,26 +63001,26 @@ function ySe(e) {
}, [e.layout, N]), P = {
jav: e.jav,
seed: e.seed
- }, ne = (0, D.useCallback)((e, r, a) => bZ(t, n, i, P, e, r, a), [ee]), [F, re] = (0, D.useState)({}), ie = v.set, ae = F[ie] || "", oe = Tt({
- ...CZ(t, n, ie, ae),
+ }, ne = (0, D.useCallback)((e, r, a) => IZ(t, n, i, P, e, r, a), [ee]), [F, re] = (0, D.useState)({}), ie = v.set, ae = F[ie] || "", oe = Tt({
+ ...zZ(t, n, ie, ae),
enabled: w === "photos"
- }), se = oe.data?.pages[0], ce = c$(JSON.stringify(_Z(t, n, ie, ae))), le = (0, D.useMemo)(() => {
+ }), se = oe.data?.pages[0], ce = w$(JSON.stringify(NZ(t, n, ie, ae))), le = (0, D.useMemo)(() => {
let e = oe.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: ce,
- codeSets: t.id ? [] : wZ(t),
+ codeSets: t.id ? [] : BZ(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = Ct({
- ...fZ(d, o.feedRowHtml),
+ ...OZ(d, o.feedRowHtml),
enabled: !!d
}), pe = (0, D.useRef)(e.feedRevision);
(0, D.useEffect)(() => {
- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: dZ(d) }));
+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: DZ(d) }));
}, [d, e.feedRevision]);
let me = !!M.data;
(0, D.useEffect)(() => {
@@ -62879,7 +63039,7 @@ function ySe(e) {
he.current = !1;
}, []);
let ge = (0, D.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: gZ(t, n) }), await H.invalidateQueries({ queryKey: [
+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: MZ(t, n) }), await H.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -62913,7 +63073,7 @@ function ySe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(gZ(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(MZ(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -62967,10 +63127,10 @@ function ySe(e) {
let e = await R("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- he.current && await H.invalidateQueries({ queryKey: dZ(d) });
+ he.current && await H.invalidateQueries({ queryKey: DZ(d) });
})();
},
- feedAction: pZ,
+ feedAction: kZ,
avatarPicked: () => {
s.avatarChanged(), ge().then(() => {
he.current && A((e) => e + 1);
@@ -63018,19 +63178,19 @@ function ySe(e) {
(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : hZ));
+ } : jZ));
},
setState: (e) => s.route({
...i,
state: e
- }, hZ),
+ }, jZ),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let r = s.reshuffleVideos(), a = xZ({
+ let r = s.reshuffleVideos(), a = LZ({
kind: t,
name: n,
filters: {
@@ -63044,7 +63204,7 @@ function ySe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = _Se(), a = await H.fetchInfiniteQuery(CZ(t, n, ie, r)).catch(() => null);
+ let r = zSe(), a = await H.fetchInfiniteQuery(zZ(t, n, ie, r)).catch(() => null);
he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({
...e,
[ie]: r
@@ -63079,7 +63239,7 @@ function ySe(e) {
k: e.k,
label: fl(e.k),
n: e.n,
- selected: Zye(i.tag, e.k)
+ selected: ybe(i.tag, e.k)
})), Ee = [
u.length,
!_,
@@ -63114,14 +63274,14 @@ function ySe(e) {
creator: "",
studio: "",
owner: ""
- }, hZ), Pe = "", Fe = !1;
+ }, jZ), Pe = "", Fe = !1;
if (w === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (w === "online") Fe = T.busy, Pe = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (w === "videos") {
Fe = !M.data;
- let e = vZ(i.tag).length;
+ let e = PZ(i.tag).length;
Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : vSe(se, wZ(se).length) : Fe = oe.isPending;
+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : BSe(se, BZ(se).length) : Fe = oe.isPending;
let Ie = (0, D.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -63138,7 +63298,7 @@ function ySe(e) {
u
]);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(iSe, {
+ /* @__PURE__ */ (0, O.jsx)(ESe, {
kind: t,
name: n,
entity: r,
@@ -63148,7 +63308,7 @@ function ySe(e) {
actions: xe,
helpers: Se
}, k),
- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(cW, {
+ (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(qW, {
kind: t,
name: n,
view: w,
@@ -63165,9 +63325,9 @@ function ySe(e) {
actions: Ce,
helpers: we
}), c.filter),
- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(Vhe, {
+ (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(Khe, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(dxe, {
+ children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Nxe, {
view: T.view,
media: T.media,
result: T.result,
@@ -63181,16 +63341,16 @@ function ySe(e) {
actions: e.follow.actions,
canLoadMore: e.canLoadMore,
clearFilters: T.clearFilters
- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: jn(M.error),
onRetry: () => {
M.refetch();
}
- }) : Me ? /* @__PURE__ */ (0, O.jsx)(bSe, {
+ }) : Me ? /* @__PURE__ */ (0, O.jsx)(HSe, {
filtered: je,
onShowAll: Ne,
onOnline: g ? () => Ce.setView("online") : void 0
- }) : /* @__PURE__ */ (0, O.jsx)(Abe, {
+ }) : /* @__PURE__ */ (0, O.jsx)(Qbe, {
kind: t,
name: n,
view: w,
@@ -63222,9 +63382,9 @@ function ySe(e) {
}), c.body)
] });
}
-function bSe({ filtered: e, onShowAll: t, onOnline: n }) {
- return e ? /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz("search"),
+function HSe({ filtered: e, onShowAll: t, onOnline: n }) {
+ return e ? /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
@@ -63232,14 +63392,14 @@ function bSe({ filtered: e, onShowAll: t, onOnline: n }) {
children: "清除筛选"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz("film"),
+ }) : /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB("film"),
title: "还没有视频",
actions: n ? /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, O.jsx)(cI, {
+ }) : /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -63249,40 +63409,40 @@ function bSe({ filtered: e, onShowAll: t, onOnline: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var l$ = ["diagnostics"], u$ = (e) => B("/api/diagnostics", e);
-async function xSe(e) {
+var T$ = ["diagnostics"], E$ = (e) => B("/api/diagnostics", e);
+async function USe(e) {
await H.fetchQuery({
- queryKey: l$,
- queryFn: () => u$(e),
+ queryKey: T$,
+ queryFn: () => E$(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function SSe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Ct(fZ(null, n.feedRowHtml)), a = (0, D.useRef)(t);
+function WSe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = Ct(OZ(null, n.feedRowHtml)), a = (0, D.useRef)(t);
return (0, D.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: dZ(null) }));
- }, [t]), (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(qQ, {
+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: DZ(null) }));
+ }, [t]), (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(l$, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: pZ,
+ act: kZ,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function d$({ value: e }) {
+function D$({ value: e }) {
return /* @__PURE__ */ (0, O.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 CSe = "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 f$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, D.useRef)(null), o = YF(a);
+var GSe = "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 O$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, D.useRef)(null), o = QF(a);
return (0, D.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -63291,7 +63451,7 @@ function f$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
let n = t.offsetLeft, r = n + t.offsetWidth;
n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);
})();
- }, [t]), /* @__PURE__ */ (0, O.jsx)(lF, {
+ }, [t]), /* @__PURE__ */ (0, O.jsx)(mF, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -63306,7 +63466,7 @@ function f$({ 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 ? Jz(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? tB(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
role: "tab",
@@ -63315,7 +63475,7 @@ function f$({ 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: CSe,
+ className: GSe,
onClick: () => {
i || r(e.value);
},
@@ -63326,11 +63486,11 @@ function f$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var p$ = () => /* @__PURE__ */ (0, O.jsx)("span", {
+var k$ = () => /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
-}), m$ = Jz("pencil"), h$ = (e, t) => ({
+}), A$ = tB("pencil"), j$ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -63339,7 +63499,7 @@ var p$ = () => /* @__PURE__ */ (0, O.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function wSe({ tag: e, actions: t }) {
+function KSe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -63348,13 +63508,13 @@ function wSe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": RZ(t.online, e.cat),
+ "data-tag-cat": eQ(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, O.jsx)(p$, {}),
+ /* @__PURE__ */ (0, O.jsx)(k$, {}),
/* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -63365,32 +63525,32 @@ function wSe({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(cB, { item: h$(e, t.online) }),
- t.edit ? /* @__PURE__ */ (0, O.jsx)(sB, {
+ t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(hB, { item: j$(e, t.online) }),
+ t.edit ? /* @__PURE__ */ (0, O.jsx)(mB, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, O.jsx)(m$, {})
+ children: /* @__PURE__ */ (0, O.jsx)(A$, {})
}) : null
]
});
}
-function g$({ groups: e, actions: t }) {
+function M$({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {
"data-alpha-group": r,
- className: HH({
+ className: YH({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, O.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, O.jsx)(d$, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, O.jsx)(D$, { value: n.length })]
}), /* @__PURE__ */ (0, O.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(wSe, {
+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(KSe, {
tag: e,
actions: t
}, e.k))
@@ -63398,26 +63558,26 @@ function g$({ groups: e, actions: t }) {
}, e))
});
}
-var TSe = "\xA0";
-function _$({ tags: e, actions: t }) {
+var qSe = "\xA0";
+function N$({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("span", {
"data-tag-token": "",
- "data-tag-cat": RZ(t.online, e.cat),
+ "data-tag-cat": eQ(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, O.jsxs)("button", {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": RZ(t.online, e.cat),
+ "data-tag-cat": eQ(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, O.jsx)("span", {
className: "min-w-0 truncate",
- children: e.label + TSe
+ children: e.label + qSe
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -63426,16 +63586,16 @@ function _$({ tags: e, actions: t }) {
}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-tag-actions": "",
className: "inline-flex flex-none items-center gap-1",
- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(cB, { item: h$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(sB, {
+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(hB, { item: j$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(mB, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, O.jsx)(m$, {})
+ children: /* @__PURE__ */ (0, O.jsx)(A$, {})
}) : null]
}) : null]
}, e.k))
});
}
-var ESe = [[
+var JSe = [[
"cloud",
"标签云",
"tags"
@@ -63444,28 +63604,28 @@ var ESe = [[
"字母表",
"text-aa"
]];
-function v$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = YF();
- return /* @__PURE__ */ (0, O.jsx)($F, {
+function P$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
+ let d = QF();
+ return /* @__PURE__ */ (0, O.jsx)(nI, {
label: "标签筛选",
topLabel: "标签类型",
top: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [l ? /* @__PURE__ */ (0, O.jsx)("div", {
role: "group",
"aria-label": "标签状态",
className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",
- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(tI, {
+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(iI, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: l.hidden === e,
onPress: () => l.onChange(!!e),
children: t
}, String(e)))
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(tI, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(iI, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : RZ(n, e),
+ "data-tag-cat": e === "all" ? "all" : eQ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, O.jsx)(p$, {}), r]
+ children: [/* @__PURE__ */ (0, O.jsx)(k$, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsx)("span", {
@@ -63486,19 +63646,19 @@ function v$({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, O.jsx)(NR, {
+ /* @__PURE__ */ (0, O.jsx)(BR, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${MU}`,
- children: ESe.map(([e, t, n]) => {
- let r = Jz(n);
- return /* @__PURE__ */ (0, O.jsx)(PR, {
+ className: `ml-auto ${hW}`,
+ children: JSe.map(([e, t, n]) => {
+ let r = tB(n);
+ return /* @__PURE__ */ (0, O.jsx)(VR, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: NU,
+ className: gW,
children: /* @__PURE__ */ (0, O.jsx)("span", {
title: t,
className: "contents",
@@ -63510,13 +63670,13 @@ function v$({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function DSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, O.jsxs)(Ek, {
+function YSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, O.jsxs)(jk, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, O.jsx)(pV, {
+ /* @__PURE__ */ (0, O.jsx)(bV, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, O.jsxs)("span", {
@@ -63548,29 +63708,29 @@ function DSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/toaster.tsx
-var y$ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {
+var F$ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), b$ = null, x$ = { "--floating-radius": "var(--radius-2xl)" };
-function S$() {
- let e = b$;
- b$ = null, e?.root.unmount();
-}
-var C$ = (e, t) => {
- if (b$?.host === e) return;
- S$();
+}), I$ = null, L$ = { "--floating-radius": "var(--radius-2xl)" };
+function R$() {
+ let e = I$;
+ I$ = null, e?.root.unmount();
+}
+var z$ = (e, t) => {
+ if (I$?.host === e) return;
+ R$();
let n = (0, Dt.createRoot)(e);
- b$ = {
+ I$ = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, O.jsxs)(uH, { children: [/* @__PURE__ */ (0, O.jsx)(vH, {
+ }, n.render(/* @__PURE__ */ (0, O.jsxs)(_H, { children: [/* @__PURE__ */ (0, O.jsx)(TH, {
id: "receipts",
position: "bottom-right",
closeButton: !0,
gap: 8,
style: {
- ...x$,
+ ...L$,
"--width": "min(560px, calc(100vw - 48px))"
},
offset: {
@@ -63585,16 +63745,16 @@ var C$ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: y$(t.success, !0),
- error: y$(t.error, !1)
+ success: F$(t.success, !0),
+ error: F$(t.error, !1)
}
- }), /* @__PURE__ */ (0, O.jsx)(vH, {
+ }), /* @__PURE__ */ (0, O.jsx)(TH, {
id: "processing",
position: "bottom-right",
gap: 8,
expand: !0,
style: {
- ...x$,
+ ...L$,
"--width": "min(400px, calc(100vw - 32px))"
},
offset: {
@@ -63609,13 +63769,13 @@ var C$ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, OSe = 6e3, w$ = (e, t) => {
+}, XSe = 6e3, B$ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? pH.error : pH.success, r = t.action;
+ let n = t.alert ? bH.error : bH.success, r = t.action;
n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : OSe,
+ duration: t.timeout > 0 ? t.timeout : XSe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -63623,32 +63783,32 @@ var C$ = (e, t) => {
}
} : void 0
});
-}, T$ = (e) => e.id ?? e.entity_id, E$ = {
+}, V$ = (e) => e.id ?? e.entity_id, H$ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
restore: "恢复标签",
repair: "整理重复标签"
-}, D$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
-async function O$(e, t, n) {
+}, U$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
+async function W$(e, t, n) {
if (n?.aborted) return !1;
let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;
return !(await xc({
- title: E$[e.operation],
+ title: H$[e.operation],
body: i,
- confirmLabel: E$[e.operation],
+ confirmLabel: H$[e.operation],
onConfirm: () => V("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), w$(`tag-management-${Date.now()}`, {
- html: `已${E$[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), B$(`tag-management-${Date.now()}`, {
+ html: `已${H$[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function kSe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function ZSe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, D.useRef)({
operation: e,
selected: t,
@@ -63657,24 +63817,24 @@ function kSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"
scope: i
}), o = (0, D.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? T$(t[0]) : 0
+ target_id: t[0] ? V$(t[0]) : 0
}), [s, c] = (0, D.useState)(null);
return (0, D.useEffect)(() => {
let e = new AbortController(), t = a.current, n = yc({
- title: E$[t.operation],
+ title: H$[t.operation],
confirmLabel: "预览影响范围",
confirmDisabled: !0,
body: "<div class=\"peach-react\" data-tag-editor-fields></div>",
onConfirm: async () => {
let n = {
operation: t.operation,
- ids: t.selected.map(T$),
+ ids: t.selected.map(V$),
...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 D$(n, e.signal)
+ plan: await U$(n, e.signal)
};
}
});
@@ -63685,14 +63845,14 @@ function kSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await O$(r.command, r.plan, e.signal) && t.done();
+ await W$(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(ASe, {
+ }, []), s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(QSe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -63701,8 +63861,8 @@ function kSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"
}
}), s.host) : null;
}
-function ASe({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? T$(t[0]) : 0);
+function QSe({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? V$(t[0]) : 0);
return (0, D.useEffect)(() => {
r({
name: i,
@@ -63715,46 +63875,46 @@ function ASe({ operation: e, selected: t, dialog: n, update: r }) {
e,
t,
r
- ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Hz, {
+ ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Yz, {
autoFocus: !0,
"aria-label": "标签名称",
value: i,
onChange: a,
maxLength: 80
- }) : /* @__PURE__ */ (0, O.jsx)(jY, {
+ }) : /* @__PURE__ */ (0, O.jsx)(KY, {
"aria-label": "保留的标签",
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(T$(t)) === String(e));
- n && s(T$(n));
+ let n = t.find((t) => String(V$(t)) === String(e));
+ n && s(V$(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(CU, {
- id: String(T$(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {
+ id: String(V$(e)),
children: e.k
- }, T$(e)))
+ }, V$(e)))
});
}
//#endregion
//#region src/react/index/tag-manager.tsx
-function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function $Se({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = Ct({
queryKey: ["tag-management", o],
queryFn: ({ signal: e }) => B(`/api/tag-management${s ? "?scope=online" : ""}`, e)
- }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = BH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? kZ : OZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({
+ }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = qH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? GZ : WZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({
...e,
label: e.k
- })), x = n === "alphabet" ? zZ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {
+ })), x = n === "alphabet" ? tQ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {
h.run(e.operation, async (t) => {
let n = s ? {
...e,
scope: o
} : e;
- return O$(n, await D$(n, t), t);
+ return W$(n, await U$(n, t), t);
}, (e) => {
e && f(/* @__PURE__ */ new Set());
});
- }, w = S.map(T$), T = {
+ }, w = S.map(V$), T = {
online: s,
favorites: s,
picked: d,
@@ -63771,7 +63931,7 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
"data-tag-manager": "",
className: "flex min-w-0 flex-col",
children: [
- /* @__PURE__ */ (0, O.jsx)(v$, {
+ /* @__PURE__ */ (0, O.jsx)(P$, {
categories: y,
category: t,
online: s,
@@ -63790,7 +63950,7 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
}
},
actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(rI, {
+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(oI, {
busy: h.busy === "repair",
onPress: () => C({
operation: "repair",
@@ -63798,11 +63958,11 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
}),
children: "整理重复标签"
}) : null,
- v.length ? /* @__PURE__ */ (0, O.jsx)(rI, {
+ v.length ? /* @__PURE__ */ (0, O.jsx)(oI, {
onPress: () => f(new Set(v.map((e) => e.k))),
children: "选择当前结果"
}) : null,
- d.size ? /* @__PURE__ */ (0, O.jsx)(rI, {
+ d.size ? /* @__PURE__ */ (0, O.jsx)(oI, {
onPress: () => f(/* @__PURE__ */ new Set()),
children: "清空选择"
}) : null
@@ -63812,8 +63972,8 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
"aria-busy": "true",
"data-skeleton": "",
className: "h-24 rounded-lg bg-background-tertiary-default",
- children: /* @__PURE__ */ (0, O.jsx)(fw, { children: "正在读取标签" })
- }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: /* @__PURE__ */ (0, O.jsx)(vw, { children: "正在读取标签" })
+ }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -63821,21 +63981,21 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
children: "立即重试"
}),
children: "无法读取标签"
- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(g$, {
+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(M$, {
groups: x,
actions: T
- }) : /* @__PURE__ */ (0, O.jsx)(_$, {
+ }) : /* @__PURE__ */ (0, O.jsx)(N$, {
tags: b,
actions: T
- }) : /* @__PURE__ */ (0, O.jsx)(Gz, {
+ }) : /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
children: "没有符合条件的标签。"
}),
- h.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ h.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: h.error
}) : null,
- /* @__PURE__ */ (0, O.jsxs)(Ek, {
+ /* @__PURE__ */ (0, O.jsxs)(jk, {
label: "标签管理操作",
count: `已选 ${d.size} 个标签`,
visible: d.size > 0,
@@ -63857,7 +64017,7 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
/* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- ...Xz(!!h.busy),
+ ...rB(!!h.busy),
onClick: () => C({
operation: l ? "restore" : "hide",
ids: w
@@ -63866,7 +64026,7 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
})
]
}),
- p ? /* @__PURE__ */ (0, O.jsx)(kSe, {
+ p ? /* @__PURE__ */ (0, O.jsx)(ZSe, {
operation: p,
selected: S,
scope: o,
@@ -63878,7 +64038,7 @@ function jSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor
}
//#endregion
//#region src/react/index/index-page.tsx
-var MSe = [{
+var eCe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -63886,7 +64046,7 @@ var MSe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], NSe = [{
+}], tCe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -63894,7 +64054,7 @@ var MSe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], PSe = [
+}], nCe = [
{
value: "performers",
label: "艺人",
@@ -63910,7 +64070,7 @@ var MSe = [{
label: "在线",
symbol: "rss"
}
-], FSe = {
+], rCe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -63930,20 +64090,20 @@ var MSe = [{
"layout-grid"
]]
};
-function ISe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, O.jsx)(kU, {
- "aria-label": `${DZ[e]}索引版式`,
+function iCe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, O.jsx)(dW, {
+ "aria-label": `${UZ[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none ${AU}`,
- children: FSe[MZ(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = Jz(n);
- return /* @__PURE__ */ (0, O.jsx)(PR, {
+ className: `flex-none ${fW}`,
+ children: rCe[JZ(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = tB(n);
+ return /* @__PURE__ */ (0, O.jsx)(VR, {
value: e,
"aria-label": t,
- className: Khe,
+ className: mW,
children: /* @__PURE__ */ (0, O.jsx)("span", {
title: t,
className: "contents",
@@ -63953,8 +64113,8 @@ function ISe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var LSe = Jz("search");
-function RSe({ label: e, value: t, onQuery: n }) {
+var aCe = tB("search");
+function oCe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);
(0, D.useEffect)(() => {
clearTimeout(o.current), i(t);
@@ -63971,15 +64131,15 @@ function RSe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, O.jsx)(zz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Kz, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, O.jsx)(Vz, {
+ children: /* @__PURE__ */ (0, O.jsx)(Jz, {
type: "search",
- leadingIcon: LSe,
+ leadingIcon: aCe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -63990,14 +64150,14 @@ function RSe({ label: e, value: t, onQuery: n }) {
})
});
}
-function zSe(e) {
- let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => NZ({
+function sCe(e) {
+ let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => YZ({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = DZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
+ })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = UZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
(0, D.useEffect)(() => {
if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;
let t = !0;
@@ -64016,7 +64176,7 @@ function zSe(e) {
...t
};
x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });
- }, C = LZ(PZ(r)), w = Tt({
+ }, C = $Z(XZ(r)), w = Tt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -64025,7 +64185,7 @@ function zSe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: b ? ve : void 0
- }), T = fbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = pbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;
+ }), T = Pbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Fbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;
M && !w.isPlaceholderData && (j.current = {
key: A,
counts: M
@@ -64041,15 +64201,15 @@ function zSe(e) {
T,
f,
v
- ]), ne = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? zZ(P, (t) => v ? t : e.tagLabel(t)) : [], [
+ ]), ne = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? tQ(P, (t) => v ? t : e.tagLabel(t)) : [], [
P,
h,
f,
v
]), F = (t) => {
o(t), e.savePreference({ layout: t });
- }, re = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(f$, {
- tabs: NSe,
+ }, re = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(O$, {
+ tabs: tCe,
value: m,
label: "词表",
onChange: (e) => {
@@ -64059,8 +64219,8 @@ function zSe(e) {
view: e === "online" ? "alphabet" : h
});
}
- }) : MZ(f) ? /* @__PURE__ */ (0, O.jsx)(f$, {
- tabs: MSe,
+ }) : JZ(f) ? /* @__PURE__ */ (0, O.jsx)(O$, {
+ tabs: eCe,
value: f,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -64069,7 +64229,7 @@ function zSe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, ae = (v ? kZ : OZ).filter(te);
+ }, ae = (v ? GZ : WZ).filter(te);
return /* @__PURE__ */ (0, O.jsxs)("div", {
ref: d,
"data-index-page": f,
@@ -64084,23 +64244,23 @@ function zSe(e) {
className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: _
}),
- jZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {
+ qZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",
children: w.isPending || w.isError ? "" : k
}) : null,
- jZ(f) ? /* @__PURE__ */ (0, O.jsx)(ISe, {
+ qZ(f) ? /* @__PURE__ */ (0, O.jsx)(iCe, {
kind: f,
layout: a,
onChange: F
}) : null,
- /* @__PURE__ */ (0, O.jsx)(lB, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, O.jsx)(gB, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),
f === "tags" ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: t ? "primary" : "ghost",
iconOnly: !0,
className: "flex-none",
"data-tag-mode": "",
- leadingIcon: Jz("pencil"),
+ leadingIcon: tB("pencil"),
"aria-label": t ? "返回标签浏览" : "管理标签",
title: t ? "返回标签浏览" : "管理标签",
"aria-pressed": t,
@@ -64108,7 +64268,7 @@ function zSe(e) {
e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, O.jsx)(RSe, {
+ /* @__PURE__ */ (0, O.jsx)(oCe, {
label: `过滤${_}`,
value: p,
onQuery: (e) => {
@@ -64117,8 +64277,8 @@ function zSe(e) {
})
]
}),
- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(f$, {
- tabs: PSe,
+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(O$, {
+ tabs: nCe,
value: y ? "online" : f,
label: "人物名册",
onChange: (t) => {
@@ -64130,7 +64290,7 @@ function zSe(e) {
}
}) : null,
re,
- t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(jSe, {
+ t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)($Se, {
scope: m,
search: p,
category: g,
@@ -64144,8 +64304,8 @@ function zSe(e) {
}, m) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
f === "performers" && m === "local" ? /* @__PURE__ */ (0, O.jsx)("div", {
"aria-label": "身份分类",
- className: EZ,
- children: TZ.filter((e) => e[0] === g || te(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {
+ className: HZ,
+ children: VZ.filter((e) => e[0] === g || te(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {
variant: g === e ? "primary" : "secondary",
size: "small",
"aria-pressed": g === e,
@@ -64153,7 +64313,7 @@ function zSe(e) {
children: t
}, e))
}) : null,
- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(v$, {
+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(P$, {
categories: ae,
category: g,
online: v,
@@ -64178,8 +64338,8 @@ function zSe(e) {
mode: h
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz("alert"),
+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB("alert"),
title: `没能读取${_}`,
actions: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -64188,7 +64348,7 @@ function zSe(e) {
}),
children: Wt(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(VSe, {
+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(lCe, {
kind: f,
filtered: !!p || g !== "all",
online: v || y,
@@ -64197,12 +64357,12 @@ function zSe(e) {
category: "all"
})
});
- if (y) return /* @__PURE__ */ (0, O.jsx)(vbe, {
+ if (y) return /* @__PURE__ */ (0, O.jsx)(Bbe, {
items: T,
layout: a,
props: e
});
- if (jZ(f)) return /* @__PURE__ */ (0, O.jsx)(WZ, {
+ if (qZ(f)) return /* @__PURE__ */ (0, O.jsx)(oQ, {
kind: f,
items: T,
layout: a,
@@ -64213,10 +64373,10 @@ function zSe(e) {
picked: s,
press: ie
};
- return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(g$, {
+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(M$, {
groups: ne,
actions: t
- }) : /* @__PURE__ */ (0, O.jsx)(_$, {
+ }) : /* @__PURE__ */ (0, O.jsx)(N$, {
tags: P,
actions: t
});
@@ -64237,7 +64397,7 @@ function zSe(e) {
}) : null, "载入更多"]
})
}) : null,
- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(DSe, {
+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(YSe, {
count: s.size,
match: l,
onMatch: u,
@@ -64251,16 +64411,16 @@ function zSe(e) {
]
});
}
-var BSe = {
+var cCe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function VSe({ kind: e, filtered: t, online: n, onClear: r }) {
- if (t) return /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz("search"),
+function lCe({ kind: e, filtered: t, online: n, onClear: r }) {
+ if (t) return /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, O.jsx)(q, {
size: "small",
@@ -64269,16 +64429,16 @@ function VSe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : BSe[e], a = /* @__PURE__ */ (0, O.jsx)(cI, {
+ let i = n && e === "performers" ? "创作者" : cCe[e], a = /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: Jz(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: tB(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
- actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cI, {
+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -64286,15 +64446,15 @@ function VSe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var k$ = {
+var G$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, HSe = (e) => k$[e.junk_kind || "other"] || k$.other;
-function USe(e) {
+}, uCe = (e) => G$[e.junk_kind || "other"] || G$.other;
+function dCe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -64305,21 +64465,21 @@ function USe(e) {
glyph: "check"
};
}
-var A$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), WSe = (e, t) => [
+var K$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), fCe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function GSe({ kind: e, view: t }) {
+function pCe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function KSe(e, t) {
- let n = await B(`/api/ads?${GSe(e)}`, t);
+async function mCe(e, t) {
+ let n = await B(`/api/ads?${pCe(e)}`, t);
return {
...n,
items: n.items || []
@@ -64327,19 +64487,19 @@ async function KSe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function j$({ name: e }) {
+function q$({ name: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
}
-var M$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = HSe(e), m = String(e.name || ""), h = USe(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]") || M$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var J$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function hCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = uCe(e), m = String(e.name || ""), h = dCe(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]") || J$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), M$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), J$(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) => {
@@ -64370,7 +64530,7 @@ function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: aG,
+ onMouseDown: WG,
children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-media-pic": "",
@@ -64378,7 +64538,7 @@ function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, O.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, O.jsx)(j$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, O.jsx)(q$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-art": "thumb",
@@ -64390,7 +64550,7 @@ function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, O.jsx)(j$, { name: "check" })
+ children: /* @__PURE__ */ (0, O.jsx)(q$, { name: "check" })
})
]
}),
@@ -64427,7 +64587,7 @@ function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: ns("正在定位") }
- }) : /* @__PURE__ */ (0, O.jsx)(j$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {
+ }) : /* @__PURE__ */ (0, O.jsx)(q$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -64439,7 +64599,7 @@ function qSe({ 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, O.jsx)(j$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(q$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -64451,7 +64611,7 @@ function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, O.jsx)(j$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(q$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -64466,7 +64626,7 @@ function qSe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var JSe = (0, D.memo)(qSe), N$ = [
+var gCe = (0, D.memo)(hCe), Y$ = [
[
"",
"全部",
@@ -64502,41 +64662,41 @@ var JSe = (0, D.memo)(qSe), N$ = [
"其它",
"hard-drive"
]
-], YSe = (e) => N$.find(([t]) => t === e)?.[0] ?? "";
-function P$(e) {
+], _Ce = (e) => Y$.find(([t]) => t === e)?.[0] ?? "";
+function X$(e) {
let t = new URLSearchParams(e);
return {
- kind: YSe(t.get("type")),
+ kind: _Ce(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function F$(e = "", t = "pending") {
+function Z$(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 I$(e) {
+function Q$(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: F$("", "pending")
+ href: Z$("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: F$("", "dismissed")
+ href: Z$("", "dismissed")
};
}
-var L$ = (e) => e === "dismissed" ? "已排除" : "待判断", R$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function XSe({ kind: e, view: t }) {
- let n = N$.map(([n, r, i]) => `<a href="${F$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${R$(i)}${z(r)}</a>`).join(""), r = I$(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(L$(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\"" : ""}>${R$(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var $$ = (e) => e === "dismissed" ? "已排除" : "待判断", e1 = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function vCe({ kind: e, view: t }) {
+ let n = Y$.map(([n, r, i]) => `<a href="${Z$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${e1(i)}${z(r)}</a>`).join(""), r = Q$(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo($$(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\"" : ""}>${e1(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function z$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function t1({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, O.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
@@ -64563,31 +64723,31 @@ function z$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function B$({ name: e }) {
+function n1({ name: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
}
-function V$({ scope: e, count: t }) {
+function r1({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function ZSe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = mV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = oI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? N$.map(([e]) => A$(t, e)).join(",") : ""}`), l = I$(s), u = (e) => {
+function yCe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = xV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = lI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? Y$.map(([e]) => K$(t, e)).join(",") : ""}`), l = Q$(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") || F$()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || Z$()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, O.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, O.jsx)(z$, {
- label: L$(s),
+ children: /* @__PURE__ */ (0, O.jsx)(t1, {
+ label: $$(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -64607,17 +64767,17 @@ function ZSe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- N$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {
- href: F$(e, s),
+ Y$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {
+ href: Z$(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, O.jsx)(B$, { name: r }),
+ /* @__PURE__ */ (0, O.jsx)(n1, { name: r }),
n,
- /* @__PURE__ */ (0, O.jsx)(V$, {
+ /* @__PURE__ */ (0, O.jsx)(r1, {
scope: e,
- count: t ? A$(t, e) : 0
+ count: t ? K$(t, e) : 0
})
]
}, e || "all")),
@@ -64631,9 +64791,9 @@ function ZSe({ 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, O.jsx)(B$, { name: l.glyph }),
+ /* @__PURE__ */ (0, O.jsx)(n1, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, O.jsx)(V$, {
+ /* @__PURE__ */ (0, O.jsx)(r1, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -64646,33 +64806,33 @@ function ZSe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var QSe = Jz("check"), $Se = (e, t) => e[1] === t.view && e[2] === t.kind;
-function eCe(e) {
+var bCe = tB("check"), xCe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function SCe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Ct({
- queryKey: WSe(t, e.revision),
- queryFn: ({ signal: e }) => KSe(t, e),
- placeholderData: (e, n) => n && $Se(n.queryKey, t) ? e : void 0
+ queryKey: fCe(t, e.revision),
+ queryFn: ({ signal: e }) => mCe(t, e),
+ placeholderData: (e, n) => n && xCe(n.queryKey, t) ? e : void 0
});
(0, D.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = tCe(e.countRow), i = n.isPending;
+ let r = CCe(e.countRow), i = n.isPending;
(0, D.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, D.useLayoutEffect)(() => {
r && n.data && ms(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(ZSe, {
+ let { navigate: a } = e.actions, o = r ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(yCe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(nCe, {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(wCe, {
props: e,
data: n.data,
pending: i,
@@ -64680,7 +64840,7 @@ function eCe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function tCe(e) {
+function CCe(e) {
let [t, n] = (0, D.useState)(null);
return (0, D.useLayoutEffect)(() => {
if (!e) return;
@@ -64690,8 +64850,8 @@ function tCe(e) {
};
}, [e]), t;
}
-function nCe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = PW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {
+function wCe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = yG(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -64699,16 +64859,16 @@ function nCe({ 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, O.jsx)(FW, {
+ if (!t) return /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, O.jsx)(Kz, {
- icon: QSe,
+ return /* @__PURE__ */ (0, O.jsx)($z, {
+ icon: bCe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, O.jsx)(cI, {
+ actions: t ? /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -64721,7 +64881,7 @@ function nCe({ 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, O.jsx)(JSe, {
+ children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(gCe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -64730,7 +64890,7 @@ function nCe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(rCe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(TCe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, O.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -64740,14 +64900,14 @@ function nCe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function rCe({ onMore: e }) {
+function TCe({ onMore: e }) {
let t = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
let n = t.current;
if (!n || typeof IntersectionObserver > "u") return;
let r = new IntersectionObserver((t) => {
t.some((e) => e.isIntersecting) && e();
- }, { rootMargin: NW });
+ }, { rootMargin: vG });
return r.observe(n), () => r.disconnect();
}, [e]), /* @__PURE__ */ (0, O.jsx)("div", {
ref: t,
@@ -64758,18 +64918,18 @@ function rCe({ onMore: e }) {
}
//#endregion
//#region src/react/wants/wants.ts
-var H$ = "/api/wants", U$ = ["wants"], iCe = (e) => [
+var i1 = "/api/wants", a1 = ["wants"], ECe = (e) => [
"wants",
"follow",
e
-], aCe = [
+], DCe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], W$ = (e) => B(H$, e);
-function oCe(e, t) {
- H.setQueryData(U$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], o1 = (e) => B(i1, e);
+function OCe(e, t) {
+ H.setQueryData(a1, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -64777,39 +64937,39 @@ function oCe(e, t) {
} : n)
} : n);
}
-var sCe = (e, t) => B(`${H$}?follow=${encodeURIComponent(e)}`, t), G$ = (e, t) => V(H$, {
+var kCe = (e, t) => B(`${i1}?follow=${encodeURIComponent(e)}`, t), s1 = (e, t) => V(i1, {
action: "add",
...e
-}, "POST", t), K$ = (e, t) => V(H$, {
+}, "POST", t), c1 = (e, t) => V(i1, {
action: "remove",
ids: e
-}, "POST", t), cCe = (e, t) => V(H$, {
+}, "POST", t), ACe = (e, t) => V(i1, {
action: "reset",
ids: e
-}, "POST", t), q$ = () => H.invalidateQueries({ queryKey: U$ }), lCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function uCe(e) {
+}, "POST", t), l1 = () => H.invalidateQueries({ queryKey: a1 }), jCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function MCe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var J$ = [
+var u1 = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], Y$ = (e) => J$.some(([t]) => t === e) ? e : "library", dCe = (e) => Y$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function fCe(e) {
+], d1 = (e) => u1.some(([t]) => t === e) ? e : "library", NCe = (e) => d1(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function PCe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/jav.ts
-var X$ = (e, t = "taste", n = "desc") => [
+var f1 = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function Z$(e, t, n = {}) {
+function p1(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -64818,7 +64978,7 @@ function Z$(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 pCe(e, t, n) {
+function FCe(e, t, n) {
let r = Ga({
...e,
is_jav: !0
@@ -64827,84 +64987,84 @@ function pCe(e, t, n) {
let i = z(Na(e));
return Ua(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 mCe(e, t) {
+async function ICe(e, t) {
e === "wants" ? await H.ensureQueryData({
- queryKey: U$,
- queryFn: () => W$(t),
+ queryKey: a1,
+ queryFn: () => o1(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await H.ensureQueryData({
- queryKey: X$("external"),
- queryFn: () => Z$("external", t),
+ queryKey: f1("external"),
+ queryFn: () => p1("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
//#endregion
//#region src/react/components/fieldset-layout.ts
-var Q$ = HH({
+var m1 = YH({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), $$ = {
+}), h1 = {
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"
-}, e1 = {
+}, g1 = {
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 t1(e) {
- return `${Q$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function _1(e) {
+ return `${m1} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
//#endregion
//#region src/management.ts
-var n1 = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", r1 = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", i1 = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", a1 = "disabled data-skeleton-action", hCe = "aria-disabled=\"true\"", o1 = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, s1 = (e, t, n) => `<div class="${$$[n]}"><div class="flex flex-col gap-2">
+var v1 = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", y1 = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", b1 = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", x1 = "disabled data-skeleton-action", LCe = "aria-disabled=\"true\"", S1 = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, C1 = (e, t, n) => `<div class="${h1[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 gCe() {
- return o1(`<section aria-label="扫描与采集" class="${t1("stack")}" data-cleanup-task data-cleanup-processing>
- ${s1("扫描与采集", n1, "stack")}
- <footer class="${e1.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>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({
+function RCe() {
+ return S1(`<section aria-label="扫描与采集" class="${_1("stack")}" data-cleanup-task data-cleanup-processing>
+ ${C1("扫描与采集", v1, "stack")}
+ <footer class="${g1.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>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({
label: "同步媒体库",
- attrs: a1
+ attrs: x1
})}${Wo({
glyph: "chevron-down",
- attrs: `${a1} aria-label="更多同步方式"`
+ attrs: `${x1} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function _Ce() {
- return o1(`<section aria-label="媒体修复" class="${t1("split")}" data-cleanup-task data-cleanup-processing>
- ${s1("媒体修复", r1, "split")}
- <footer class="${e1.split}">${Ko(i1, {
+function zCe() {
+ return S1(`<section aria-label="媒体修复" class="${_1("split")}" data-cleanup-task data-cleanup-processing>
+ ${C1("媒体修复", y1, "split")}
+ <footer class="${g1.split}">${Ko(b1, {
className: "w-48",
- attrs: hCe
+ attrs: LCe
})}${Wo({
label: "开始修复",
- attrs: a1
+ attrs: x1
})}</footer>
</section>`);
}
-function c1() {
+function w1() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = Q$, n = $$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${e1.stack}">${Wo({
+ ], t = m1, n = h1.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${g1.stack}">${Wo({
label: e,
- attrs: a1
+ attrs: x1
})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;
return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${i1}</strong><span class="text-caption-1-regular">${i1}</span></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${b1}</strong><span class="text-caption-1-regular">${b1}</span></div>`).join("")}</div>
<div class="flex flex-col gap-4 max-cleanup-tight:gap-3">
- <div id="libraryProcessing">${gCe()}</div><div id="mediaRepair">${_Ce()}</div>
+ <div id="libraryProcessing">${RCe()}</div><div id="mediaRepair">${zCe()}</div>
<section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(i1)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({
+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(b1)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({
variant: "secondary",
- label: i1,
- attrs: a1
+ label: b1,
+ attrs: x1
})).join("")}</div></div></div>${i("预览")}</section>
</div>
<section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[
@@ -64912,60 +65072,60 @@ function c1() {
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${i1}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${i1}</div></div>${i("检查死链")}</div></section>
+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${b1}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${b1}</div></div>${i("检查死链")}</div></section>
</div></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var vCe = HH({
+var BCe = YH({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), yCe = "border-t border-border-button-default p-4 first:border-t-0";
-function l1({ id: e, gap: t = "none", children: n }) {
+}), VCe = "border-t border-border-button-default p-4 first:border-t-0";
+function T1({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, O.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function u1({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function E1({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, O.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: t1(e),
+ className: _1(e),
children: [/* @__PURE__ */ (0, O.jsx)("div", {
- className: $$[e],
+ className: h1[e],
children: a
}), i ? /* @__PURE__ */ (0, O.jsx)("footer", {
- className: e1[e],
+ className: g1[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/status-label.tsx
-var bCe = {
+var HCe = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function d1({ tone: e = "neutral", ...t }) {
- return /* @__PURE__ */ (0, O.jsx)(VZ, {
+function D1({ tone: e = "neutral", ...t }) {
+ return /* @__PURE__ */ (0, O.jsx)(rQ, {
"data-status-tone": e,
variant: "caption",
- color: bCe[e],
+ color: HCe[e],
...t
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function xCe({ className: e }) {
+function UCe({ className: e }) {
return /* @__PURE__ */ (0, O.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -64978,8 +65138,8 @@ function xCe({ className: e }) {
children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })
});
}
-var SCe = "打开文件管理器失败,请重试";
-function f1({ path: e, prefix: t, className: n, onRevealed: r }) {
+var WCe = "打开文件管理器失败,请重试";
+function O1({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);
(0, D.useEffect)(() => () => {
c.current = !1;
@@ -64990,7 +65150,7 @@ function f1({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof kn ? e.message : SCe);
+ c.current && s(e instanceof kn ? e.message : WCe);
} finally {
c.current && a(!1);
}
@@ -65001,15 +65161,15 @@ function f1({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, O.jsxs)("p", {
- className: oF("min-w-0 break-all", n),
+ className: dF("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, O.jsx)(KF, {
- icon: xCe,
+ }), /* @__PURE__ */ (0, O.jsx)(YF, {
+ icon: UCe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
onClick: () => void l(),
- ...Xz(i)
+ ...rB(i)
})]
}), o ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-error-primary",
@@ -65019,24 +65179,24 @@ function f1({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var CCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", wCe = (e) => {
+var GCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", KCe = (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(",")}。`;
-}, TCe = (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} 部视频预览。` : "") + wCe(e);
-function ECe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Lme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Pme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = mV();
+}, qCe = (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} 部视频预览。` : "") + KCe(e);
+function JCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Ame(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Dme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = xV();
return /* @__PURE__ */ (0, O.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "warning",
title: "处理较慢",
- children: CCe
+ children: GCe
}) : null,
- c ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ c ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
className: "gap-0 p-3",
action: o ? /* @__PURE__ */ (0, O.jsx)(q, {
@@ -65048,7 +65208,7 @@ function ECe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "mt-3 border-t border-current/20 pt-3",
- children: /* @__PURE__ */ (0, O.jsxs)(rU, {
+ children: /* @__PURE__ */ (0, O.jsxs)(IU, {
summary: a.label,
contentClassName: "gap-0",
children: [/* @__PURE__ */ (0, O.jsx)("div", {
@@ -65080,7 +65240,7 @@ function ECe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, O.jsx)(f1, {
+ children: /* @__PURE__ */ (0, O.jsx)(O1, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -65091,17 +65251,17 @@ function ECe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
children: t || e.error || "处理未完成,请重试"
}) : null,
- n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "success",
title: "处理完成",
- children: TCe(n)
+ children: qCe(n)
}) : null,
- !xH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ !OH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
className: "gap-0 p-3",
extra: e.issues_log && !l ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, O.jsx)(f1, {
+ children: /* @__PURE__ */ (0, O.jsx)(O1, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -65113,38 +65273,38 @@ function ECe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function p1(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = VH(e), o = wt({
- mutationFn: (e) => V(yH, e),
+function k1(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = JH(e), o = wt({
+ mutationFn: (e) => V(EH, e),
onSuccess: (e) => {
- a(), H.setQueryData(bH, e), H.invalidateQueries({ queryKey: bH });
+ a(), H.setQueryData(DH, e), H.invalidateQueries({ queryKey: DH });
}
});
(0, D.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? jn(o.error) : r.isError ? r.data ? TH : jn(r.error) : "", l = o.isPending || xH(s), u = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? jn(o.error) : r.isError ? r.data ? MH : jn(r.error) : "", l = o.isPending || OH(s), u = async (e) => {
l || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, O.jsx)(u1, {
+ children: [/* @__PURE__ */ (0, O.jsx)(E1, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(jH, {
+ /* @__PURE__ */ (0, O.jsx)(RH, {
href: "/sources",
size: "small",
- trailingIcon: bz,
+ trailingIcon: Dz,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, O.jsx)(jH, {
+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(RH, {
href: "/review",
size: "small",
- trailingIcon: bz,
+ trailingIcon: Dz,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, O.jsx)(jK, {
+ /* @__PURE__ */ (0, O.jsx)(gq, {
scan: !0,
busy: l,
metadataOnly: s?.metadata_only,
@@ -65155,24 +65315,24 @@ function p1(e) {
children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, O.jsx)(l1, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, O.jsx)(T1, { children: "扫描与采集" }),
/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: n1
+ children: v1
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, O.jsx)(d1, { children: "已暂停" })
- }) : xH(s) ? /* @__PURE__ */ (0, O.jsx)(ehe, { state: s }) : null,
- xH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {
+ children: /* @__PURE__ */ (0, O.jsx)(D1, { children: "已暂停" })
+ }) : OH(s) ? /* @__PURE__ */ (0, O.jsx)(qme, { state: s }) : null,
+ OH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
- children: SH(s)
+ children: kH(s)
}) : null,
- xH(s) ? /* @__PURE__ */ (0, O.jsx)(dU, { traffic: s.traffic }) : null
+ OH(s) ? /* @__PURE__ */ (0, O.jsx)(WU, { traffic: s.traffic }) : null
]
})
- }), /* @__PURE__ */ (0, O.jsx)(ECe, {
+ }), /* @__PURE__ */ (0, O.jsx)(JCe, {
state: s,
problem: c,
settled: i,
@@ -65188,32 +65348,32 @@ function p1(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var DCe = "/api/playlists", m1 = "/api/playlist", h1 = ["playlists"], g1 = (e) => B(DCe, e);
-async function OCe(e) {
+var YCe = "/api/playlists", A1 = "/api/playlist", j1 = ["playlists"], M1 = (e) => B(YCe, e);
+async function XCe(e) {
await H.fetchQuery({
- queryKey: h1,
- queryFn: () => g1(e),
+ queryKey: j1,
+ queryFn: () => M1(e),
staleTime: 0
});
}
-var kCe = () => H.invalidateQueries({
- queryKey: h1,
+var ZCe = () => H.invalidateQueries({
+ queryKey: j1,
exact: !0
-}), ACe = (e) => e.current_asset_id || e.preview_asset_id || null, jCe = (e) => `/poster?id=${e}&c=4`, MCe = (e) => V(m1, {
+}), QCe = (e) => e.current_asset_id || e.preview_asset_id || null, $Ce = (e) => `/poster?id=${e}&c=4`, ewe = (e) => V(A1, {
action: "create",
name: e,
asset_ids: []
-}), NCe = (e, t) => V(m1, {
+}), twe = (e, t) => V(A1, {
action: "rename",
id: e,
name: t
-}), PCe = (e) => V(m1, {
+}), nwe = (e) => V(A1, {
action: "delete",
id: e
-}), FCe = (e) => B(`${m1}?id=${e}`).catch(() => null);
-function ICe(e) {
+}), rwe = (e) => B(`${A1}?id=${e}`).catch(() => null);
+function iwe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(m1, {
+ return V(A1, {
action: "create",
name: e.name,
asset_ids: t,
@@ -65223,53 +65383,53 @@ function ICe(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var _1 = "/api/custom-metadata", v1 = ["custom-metadata"], y1 = (e) => B(_1, e), LCe = "/api/scraping", RCe = "/api/scraping/settings", zCe = "/api/scraping/check", b1 = "/api/scraping/cover", BCe = "/api/scraping/amane-bridge", VCe = "/api/scraping/amane-bridge/check", HCe = "/api/scraping/amane-bridge/rebuild", x1 = ["scraping"], S1 = ["scraping", "cover"], C1 = ["scraping", "amane-bridge"], UCe = 262144, w1 = (e) => B(LCe, e), T1 = (e) => B(b1, e), E1 = (e) => B(BCe, e);
-async function WCe(e) {
+var N1 = "/api/custom-metadata", P1 = ["custom-metadata"], F1 = (e) => B(N1, e), awe = "/api/scraping", owe = "/api/scraping/settings", swe = "/api/scraping/check", I1 = "/api/scraping/cover", cwe = "/api/scraping/amane-bridge", lwe = "/api/scraping/amane-bridge/check", uwe = "/api/scraping/amane-bridge/rebuild", L1 = ["scraping"], R1 = ["scraping", "cover"], z1 = ["scraping", "amane-bridge"], dwe = 262144, B1 = (e) => B(awe, e), V1 = (e) => B(I1, e), H1 = (e) => B(cwe, e);
+async function fwe(e) {
await Promise.all([
H.fetchQuery({
- queryKey: x1,
- queryFn: () => w1(e)
+ queryKey: L1,
+ queryFn: () => B1(e)
}),
H.fetchQuery({
- queryKey: S1,
- queryFn: () => T1(e)
+ queryKey: R1,
+ queryFn: () => V1(e)
}),
H.fetchQuery({
- queryKey: C1,
- queryFn: () => E1(e)
+ queryKey: z1,
+ queryFn: () => H1(e)
}),
H.fetchQuery({
- queryKey: v1,
- queryFn: () => y1(e)
+ queryKey: P1,
+ queryFn: () => F1(e)
})
]);
}
-function GCe(e, t) {
+function pwe(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/search/search.ts
-var D1 = /* @__PURE__ */ new Set([
+var U1 = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), O1 = /* @__PURE__ */ new Set([
+]), W1 = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), k1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function KCe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), G1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function mwe({ 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 || k1(t).includes(k1(e)));
+ }, d = t.filter((t) => !e || G1(t).includes(G1(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -65290,8 +65450,8 @@ function KCe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !O1.has(e.kind)),
- right: e.filter((e) => O1.has(e.kind)),
+ left: e.filter((e) => !W1.has(e.kind)),
+ right: e.filter((e) => W1.has(e.kind)),
empty: !1,
options: l
};
@@ -65341,7 +65501,7 @@ function KCe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !O1.has(e.kind)).map(h), _ = m.filter((e) => O1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !W1.has(e.kind)).map(h), _ = m.filter((e) => W1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -65351,17 +65511,17 @@ function KCe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function qCe(e, t, n = Math.random) {
+function hwe(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) => k1(t) === k1(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => G1(t) === G1(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var JCe = () => ({
+var gwe = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -65379,7 +65539,7 @@ var JCe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), A1 = (e) => KCe({
+}), K1 = (e) => mwe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -65388,18 +65548,18 @@ var JCe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), YCe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), j1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {
+}), _we = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
-function XCe(e) {
+function vwe(e) {
let t = (0, D.useRef)(e);
t.current = e;
let n = (0, D.useRef)(null);
- n.current ??= JCe();
+ n.current ??= gwe();
let r = n.current, i = (0, D.useRef)(null), [, a] = (0, D.useReducer)((e) => e + 1, 0), o = (0, D.useRef)(null);
- o.current ??= ZCe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= ywe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, D.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -65412,7 +65572,7 @@ function XCe(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, O.jsx)($Ce, {
+ let c = K1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(xwe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -65425,7 +65585,7 @@ function XCe(e) {
children: [
/* @__PURE__ */ (0, O.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, O.jsx)("a", {
href: e.href,
- onMouseDown: M1,
+ onMouseDown: J1,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -65444,7 +65604,7 @@ function XCe(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, O.jsx)(QCe, {
+ c.tabs ? /* @__PURE__ */ (0, O.jsx)(bwe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -65471,7 +65631,7 @@ function XCe(e) {
]
});
}
-function ZCe(e, t, n, r) {
+function ywe(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 () => {
@@ -65482,7 +65642,7 @@ function ZCe(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) => k1(e) !== k1(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => G1(e) !== G1(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -65528,9 +65688,9 @@ function ZCe(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : qCe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : hwe(t.pool, o()), t.active = -1;
let a = n();
- a && (YCe(A1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (_we(K1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -65542,7 +65702,7 @@ function ZCe(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() ? K1(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) => {
@@ -65551,7 +65711,7 @@ function ZCe(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" && D1.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" && U1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -65597,13 +65757,13 @@ function ZCe(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => k1(t) !== k1(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => G1(t) !== G1(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function QCe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function bwe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, D.useRef)(null);
(0, D.useLayoutEffect)(() => {
r(i.current);
@@ -65617,9 +65777,9 @@ function QCe({ tabs: e, kind: t, onPick: n, wire: r }) {
"data-pill-variant": "gray",
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, O.jsx)(d$, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, O.jsx)(D$, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, O.jsxs)(lF, {
+ return /* @__PURE__ */ (0, O.jsxs)(mF, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -65628,8 +65788,8 @@ function QCe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var M1 = (e) => e.preventDefault();
-function $Ce({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var J1 = (e) => e.preventDefault();
+function xwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -65641,33 +65801,33 @@ function $Ce({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: M1,
+ onMouseDown: J1,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, O.jsx)(j1, { name: "chevron-right" })
+ /* @__PURE__ */ (0, O.jsx)(q1, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, O.jsx)(j1, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, O.jsx)(q1, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, O.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: M1,
+ onMouseDown: J1,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, O.jsx)(j1, { name: "x" })
+ children: /* @__PURE__ */ (0, O.jsx)(q1, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = D1.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = U1.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -65681,8 +65841,8 @@ function $Ce({ 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: M1,
- children: [/* @__PURE__ */ (0, O.jsx)(N1, {
+ onMouseDown: J1,
+ children: [/* @__PURE__ */ (0, O.jsx)(Y1, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, O.jsxs)("span", {
@@ -65707,9 +65867,9 @@ function $Ce({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: M1,
+ onMouseDown: J1,
children: [
- /* @__PURE__ */ (0, O.jsx)(P1, {
+ /* @__PURE__ */ (0, O.jsx)(X1, {
item: s,
kind: c
}),
@@ -65732,11 +65892,11 @@ function $Ce({ 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: M1,
+ onMouseDown: J1,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, O.jsx)(N1, {
+ children: /* @__PURE__ */ (0, O.jsx)(Y1, {
card: e,
helpers: n
})
@@ -65750,7 +65910,7 @@ function $Ce({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(P1, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(X1, {
item: s,
kind: c
}) : null,
@@ -65763,13 +65923,13 @@ function $Ce({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function N1({ card: e, helpers: t }) {
+function Y1({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, O.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function P1({ item: e, kind: t }) {
+function X1({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, O.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -65789,25 +65949,25 @@ function P1({ item: e, kind: t }) {
}
//#endregion
//#region src/react/settings/configuration.ts
-var F1 = ["configuration"], I1 = (e) => B(DX, e);
-async function ewe(e) {
+var Z1 = ["configuration"], Q1 = (e) => B(HX, e);
+async function Swe(e) {
await H.fetchQuery({
- queryKey: F1,
- queryFn: () => I1(e)
+ queryKey: Z1,
+ queryFn: () => Q1(e)
});
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var L1 = (e) => e.map(([e, t, n]) => n ? [
+var $1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function R1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function e0({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(l);
return f.current = l, (0, D.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, L1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, $1(r), i, {
attr: a,
className: o,
text: s
@@ -65825,13 +65985,13 @@ function R1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function z1({ 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 t0({ 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, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(-1), m = (0, D.useRef)(l);
return m.current = l, (0, D.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = Ao(L1(n), r, { label: t });
+ e.innerHTML = Ao($1(n), r, { label: t });
let i = jo(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -65844,7 +66004,7 @@ function z1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function twe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Cwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)({
onStep: a,
onSettle: o
@@ -65879,7 +66039,7 @@ function twe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var nwe = [
+var wwe = [
[
"strength",
"强度",
@@ -65906,8 +66066,8 @@ var nwe = [
100
]
];
-function rwe({ host: e, spot: t, index: n, glow: r }) {
- let i = uoe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = mV(), [l, u] = (0, D.useState)("all");
+function Twe({ host: e, spot: t, index: n, glow: r }) {
+ let i = aoe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = xV(), [l, u] = (0, D.useState)("all");
(0, D.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -65920,7 +66080,7 @@ function rwe({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = Qk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();
+ r[t].color = rA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();
};
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-glow-stop": t,
@@ -65945,7 +66105,7 @@ function rwe({ host: e, spot: t, index: n, glow: r }) {
children: d
})]
}),
- /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-down" })
+ /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "popmenu",
@@ -65957,7 +66117,7 @@ function rwe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: poe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {
+ children: coe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -65971,7 +66131,7 @@ function rwe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: moe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {
+ children: loe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -65988,8 +66148,8 @@ function rwe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function iwe({ host: e }) {
- let t = e.store.value.homeGlow, n = Gk(t.preset);
+function Ewe({ host: e }) {
+ let t = e.store.value.homeGlow, n = Xk(t.preset);
return /* @__PURE__ */ (0, O.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -66008,10 +66168,10 @@ function iwe({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, O.jsx)("b", {
"data-glow-preset-name": "",
- children: doe(t.preset)
+ children: ooe(t.preset)
})]
}),
- /* @__PURE__ */ (0, O.jsx)(YA, {
+ /* @__PURE__ */ (0, O.jsx)($A, {
store: e.store,
label: "光晕配色"
}),
@@ -66022,7 +66182,7 @@ function iwe({ host: e }) {
}),
/* @__PURE__ */ (0, O.jsx)("div", {
"data-glow-fields": "",
- children: nwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(twe, {
+ children: wwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Cwe, {
field: r,
label: i,
max: a,
@@ -66043,7 +66203,7 @@ function iwe({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = eA(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = aA(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -66062,7 +66222,7 @@ function iwe({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, O.jsx)("div", {
"data-glow-stops": "",
- children: Hk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(rwe, {
+ children: qk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Twe, {
host: e,
spot: n,
index: r,
@@ -66075,7 +66235,7 @@ function iwe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var awe = {
+var Dwe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -66122,22 +66282,22 @@ var awe = {
optional: !0,
fallback: 60
}
-}, B1 = (e) => `peach.number.${e}`;
-function V1(e, t) {
+}, n0 = (e) => `peach.number.${e}`;
+function r0(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function H1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = awe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);
- d.current ||= jk(Number(localStorage.getItem(B1(e))), o, s, n && n > 0 ? n : l);
+function i0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = Dwe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);
+ d.current ||= Ik(Number(localStorage.getItem(n0(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, D.useState)(n ?? 0), [m, h] = (0, D.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, D.useState)(""), v = (0, D.useRef)(null), y = (0, D.useRef)(i);
y.current = i, (0, D.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(B1(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(n0(e), String(d.current)), y.current(d.current)));
}, x = (0, D.useRef)(b);
x.current = b, (0, D.useEffect)(() => {
let e = v.current;
@@ -66147,7 +66307,7 @@ function H1({ 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(B1(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(n0(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, O.jsxs)("div", {
"data-number-setting": "",
@@ -66184,7 +66344,7 @@ function H1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, O.jsxs)("span", {
"aria-hidden": "true",
- children: [c, V1(Number(m), c) ? ` · ${V1(Number(m), c)}` : ""]
+ children: [c, r0(Number(m), c) ? ` · ${r0(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, O.jsx)("small", {
id: `${e}-error`,
@@ -66198,13 +66358,13 @@ function H1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function U1(e) {
- let { mutate: t } = zX();
+function a0(e) {
+ let { mutate: t } = eZ();
return (0, D.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function W1(e, t, n, r) {
+function o0(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -66214,17 +66374,17 @@ function W1(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var owe = "__home__", G1 = (e) => e === "" ? owe : e;
-function swe({ host: e }) {
- let t = U1(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, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {
- let a = W1(n, e, r, i);
+var Owe = "__home__", s0 = (e) => e === "" ? Owe : e;
+function kwe({ host: e }) {
+ let t = a0(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, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {
+ let a = o0(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]) => G1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => s0(e) === o) ?? a[0], y = () => {
h.current && To(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -66245,7 +66405,7 @@ function swe({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", G1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", s0(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -66277,9 +66437,9 @@ function swe({ host: e }) {
/* @__PURE__ */ (0, O.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, O.jsx)(hP, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, O.jsx)(hP, { name: a ?? "" }),
+ /* @__PURE__ */ (0, O.jsx)(bP, { name: a ?? "" }),
/* @__PURE__ */ (0, O.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, O.jsxs)("span", {
@@ -66293,7 +66453,7 @@ function swe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -66303,7 +66463,7 @@ function swe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -66315,11 +66475,11 @@ function swe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, O.jsx)(hP, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "eye-off" })
})
]
})]
- }, G1(e))), /* @__PURE__ */ (0, O.jsxs)("div", {
+ }, s0(e))), /* @__PURE__ */ (0, O.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -66335,13 +66495,13 @@ function swe({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(hP, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, O.jsx)(bP, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(hP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -66352,15 +66512,15 @@ function swe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": G1(e),
+ "data-sidebar-add-option": s0(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(G1(e)), y(), m.current?.focus();
+ s(s0(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, O.jsx)(hP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]
- }, G1(e)))
+ children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]
+ }, s0(e)))
}) : null]
}), /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -66377,13 +66537,13 @@ function swe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var K1 = [
+var c0 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], cwe = [
+], Awe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -66392,7 +66552,7 @@ var K1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], lwe = [["desc", "降序"], ["asc", "升序"]], uwe = [[
+], jwe = [["desc", "降序"], ["asc", "升序"]], Mwe = [[
"cover",
"官方封面",
""
@@ -66400,7 +66560,7 @@ var K1 = [
"thumbnail",
"预览图",
""
-]], dwe = [
+]], Nwe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -66419,88 +66579,88 @@ var K1 = [
"切片",
"隐藏切片"
]
-], fwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", q1 = null, J1 = {
+], Pwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", l0 = null, u0 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, Y1 = 0, X1 = null, Z1 = /* @__PURE__ */ new Set();
-function pwe(e) {
- return Z1.add(e), () => {
- Z1.delete(e);
+}, d0 = 0, f0 = null, p0 = /* @__PURE__ */ new Set();
+function Fwe(e) {
+ return p0.add(e), () => {
+ p0.delete(e);
};
}
-function mwe() {
- for (let e of [...Z1]) e();
+function Iwe() {
+ for (let e of [...p0]) e();
}
-function Q1(e) {
- J1 = {
- ...J1,
+function m0(e) {
+ u0 = {
+ ...u0,
...e
- }, (0, Et.flushSync)(mwe);
+ }, (0, Et.flushSync)(Iwe);
}
-async function hwe(e) {
- let t = J1.epoch, n = await e.configurable();
- J1.open && J1.epoch === t && Q1({ configurable: n });
+async function Lwe(e) {
+ let t = u0.epoch, n = await e.configurable();
+ u0.open && u0.epoch === t && m0({ configurable: n });
}
-function gwe(e = "") {
- let t = q1;
+function Rwe(e = "") {
+ let t = l0;
if (!t) return;
- let n = K1.findIndex(([t]) => t === e);
- if (J1.open && !J1.closing) {
- n >= 0 && n !== J1.tab && Q1({ tab: n });
+ let n = c0.findIndex(([t]) => t === e);
+ if (u0.open && !u0.closing) {
+ n >= 0 && n !== u0.tab && m0({ tab: n });
return;
}
- So(), Y1 += 1, X1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = Qve();
- Q1({
+ So(), d0 += 1, f0 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = xye();
+ m0({
open: !0,
closing: !1,
configurable: null,
- epoch: J1.epoch + 1,
- tab: n >= 0 ? n : J1.tab
+ epoch: u0.epoch + 1,
+ tab: n >= 0 ? n : u0.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), hwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), Lwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function $1(e = !0) {
- if (!J1.open || J1.closing) return;
- let t = ++Y1;
- e && q1?.closed?.(), Q1({ closing: !0 });
+function h0(e = !0) {
+ if (!u0.open || u0.closing) return;
+ let t = ++d0;
+ e && l0?.closed?.(), m0({ closing: !0 });
let n = () => {
- t === Y1 && J1.closing && (Q1({
+ t === d0 && u0.closing && (m0({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), X1 instanceof HTMLElement && document.contains(X1) && X1.focus(), X1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), f0 instanceof HTMLElement && document.contains(f0) && f0.focus(), f0 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var _we = {
- open: gwe,
- close: $1,
- isOpen: () => J1.open,
+var zwe = {
+ open: Rwe,
+ close: h0,
+ isOpen: () => u0.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function vwe(e) {
- return q1 = e, _we;
+function Bwe(e) {
+ return l0 = e, zwe;
}
-function ywe() {
- let e = (0, D.useSyncExternalStore)(pwe, () => J1);
- return q1 ? /* @__PURE__ */ (0, O.jsx)(Swe, {
- host: q1,
+function Vwe() {
+ let e = (0, D.useSyncExternalStore)(Fwe, () => u0);
+ return l0 ? /* @__PURE__ */ (0, O.jsx)(Wwe, {
+ host: l0,
view: e
}) : null;
}
-function bwe(e) {
+function Hwe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(fwe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Pwe)].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 e0 = (e) => `settings-tab-${e}`, t0 = (e) => `settings-group-${e}`;
-function xwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var g0 = (e) => `settings-tab-${e}`, _0 = (e) => `settings-group-${e}`;
+function Uwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(e), l = (0, D.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -66528,7 +66688,7 @@ function xwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = K1.length, r = t;
+ let n = c0.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;
@@ -66557,11 +66717,11 @@ function xwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- K1.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {
+ c0.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
role: "tab",
- id: e0(r),
- "aria-controls": t0(r),
+ id: g0(r),
+ "aria-controls": _0(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -66572,7 +66732,7 @@ function xwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(hP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(_ce, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(bP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(fce, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, O.jsx)("div", {
"data-settings-service": "",
@@ -66583,27 +66743,27 @@ function xwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, O.jsx)(hP, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, O.jsx)(bP, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-right" })
+ /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-right" })
]
})
})
]
});
}
-function n0({ index: e, tab: t, children: n, cards: r = !1 }) {
+function v0({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, O.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: t0(e),
+ id: _0(e),
role: "tabpanel",
- "aria-labelledby": e0(e),
+ "aria-labelledby": g0(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: K1[e][0] }), n]
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: c0[e][0] }), n]
});
}
-function r0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function y0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, O.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, O.jsx)("small", {
@@ -66620,7 +66780,7 @@ function r0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function i0({ title: e, description: t, kind: n, children: r }) {
+function b0({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -66628,7 +66788,7 @@ function i0({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, O.jsx)("small", { children: t }) : t] }), r]
});
}
-function Swe({ host: e, view: t }) {
+function Wwe({ host: e, view: t }) {
(0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -66649,7 +66809,7 @@ function Swe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== J1.tab && (Q1({ tab: t }), e.selectSection?.(K1[t][0]));
+ t !== u0.tab && (m0({ tab: t }), e.selectSection?.(c0[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, O.jsx)("section", {
"data-settings-panel": "",
@@ -66660,9 +66820,9 @@ function Swe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: bwe,
+ onKeyDown: Hwe,
onClick: (e) => {
- e.target === e.currentTarget && $1();
+ e.target === e.currentTarget && h0();
},
children: /* @__PURE__ */ (0, O.jsxs)("div", {
"data-settings-card": "",
@@ -66673,27 +66833,27 @@ function Swe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, O.jsx)("h2", {
id: "settingsTitle",
- children: K1[t.tab][0]
- }), /* @__PURE__ */ (0, O.jsx)(Yz, {
+ children: c0[t.tab][0]
+ }), /* @__PURE__ */ (0, O.jsx)(nB, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => $1()
+ onPress: () => h0()
})]
}),
- /* @__PURE__ */ (0, O.jsx)(xwe, {
+ /* @__PURE__ */ (0, O.jsx)(Uwe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- $1(!1), e.openConfiguration();
+ h0(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, O.jsxs)(n0, {
+ /* @__PURE__ */ (0, O.jsxs)(v0, {
index: 0,
tab: t.tab,
cards: !0,
@@ -66701,9 +66861,9 @@ function Swe({ host: e, view: t }) {
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "主题",
- children: /* @__PURE__ */ (0, O.jsx)(R1, {
+ children: /* @__PURE__ */ (0, O.jsx)(e0, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -66731,7 +66891,7 @@ function Swe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, O.jsx)(r0, {
+ /* @__PURE__ */ (0, O.jsx)(y0, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -66739,7 +66899,7 @@ function Swe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, O.jsx)(r0, {
+ /* @__PURE__ */ (0, O.jsx)(y0, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -66749,7 +66909,7 @@ function Swe({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, O.jsx)(iwe, { host: e }),
+ /* @__PURE__ */ (0, O.jsx)(Ewe, { host: e }),
/* @__PURE__ */ (0, O.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -66761,35 +66921,35 @@ function Swe({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, O.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, O.jsx)(swe, { host: e })
+ children: /* @__PURE__ */ (0, O.jsx)(kwe, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, O.jsx)(wwe, {
+ /* @__PURE__ */ (0, O.jsx)(Kwe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, O.jsx)(Twe, {
+ /* @__PURE__ */ (0, O.jsx)(qwe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, O.jsxs)(n0, {
+ /* @__PURE__ */ (0, O.jsxs)(v0, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, O.jsx)(Owe, {
+ /* @__PURE__ */ (0, O.jsx)(Xwe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, O.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, O.jsx)(H1, {
+ children: /* @__PURE__ */ (0, O.jsx)(i0, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -66799,24 +66959,24 @@ function Swe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "口味与记录",
children: /* @__PURE__ */ (0, O.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, O.jsx)(cI, {
+ children: /* @__PURE__ */ (0, O.jsx)(dI, {
variant: "secondary",
href: "/taste",
- onClick: () => $1(!1),
+ onClick: () => h0(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, O.jsx)(n0, {
+ /* @__PURE__ */ (0, O.jsx)(v0, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, O.jsx)(r0, {
+ children: /* @__PURE__ */ (0, O.jsx)(y0, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -66831,7 +66991,7 @@ function Swe({ host: e, view: t }) {
})
});
}
-function Cwe(e, t) {
+function Gwe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = cs("arrow-up", "arrow-down", "a", {
@@ -66841,9 +67001,9 @@ function Cwe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function wwe({ host: e, tab: t, epoch: n }) {
+function Kwe({ 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, O.jsxs)(n0, {
+ return /* @__PURE__ */ (0, O.jsxs)(v0, {
index: 1,
tab: t,
children: [
@@ -66851,11 +67011,11 @@ function wwe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, O.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, O.jsx)(H1, {
+ children: /* @__PURE__ */ (0, O.jsx)(i0, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -66865,24 +67025,24 @@ function wwe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, O.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, O.jsx)(z1, {
+ children: [/* @__PURE__ */ (0, O.jsx)(t0, {
id: "defaultSortSetting",
label: "默认排序",
- options: cwe,
+ options: Awe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, O.jsx)(z1, {
+ }), /* @__PURE__ */ (0, O.jsx)(t0, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: lwe,
+ options: jwe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -66890,13 +67050,13 @@ function wwe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Cwe(e, o)
+ decorate: (e) => Gwe(e, o)
})]
})
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, O.jsx)(R1, {
+ children: /* @__PURE__ */ (0, O.jsx)(e0, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -66922,16 +67082,16 @@ function wwe({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, O.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, O.jsx)(H1, {
+ children: /* @__PURE__ */ (0, O.jsx)(i0, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = jk(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Ik(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -66940,16 +67100,16 @@ function wwe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, O.jsx)(Dwe, {
+ /* @__PURE__ */ (0, O.jsx)(Ywe, {
host: e,
epoch: n
})
]
});
}
-function Twe({ host: e, tab: t, epoch: n }) {
+function qwe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, O.jsxs)(n0, {
+ return /* @__PURE__ */ (0, O.jsxs)(v0, {
index: 2,
tab: t,
children: [
@@ -66957,13 +67117,13 @@ function Twe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "默认图片",
- children: /* @__PURE__ */ (0, O.jsx)(R1, {
+ children: /* @__PURE__ */ (0, O.jsx)(e0, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: uwe,
+ options: Mwe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -66978,21 +67138,21 @@ function Twe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "显示数量",
children: /* @__PURE__ */ (0, O.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, O.jsx)(H1, {
+ children: /* @__PURE__ */ (0, O.jsx)(i0, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = jk(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Ik(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, O.jsx)(r0, {
+ /* @__PURE__ */ (0, O.jsx)(y0, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -67000,7 +67160,7 @@ function Twe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- dwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Ewe, {
+ Nwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Jwe, {
host: e,
id: t,
settingKey: n,
@@ -67010,8 +67170,8 @@ function Twe({ host: e, tab: t, epoch: n }) {
]
});
}
-function Ewe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = zX(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {
+function Jwe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = eZ(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {
s(t), cc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -67035,10 +67195,10 @@ function Ewe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function Dwe({ host: e, epoch: t }) {
+function Ywe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(r0, {
+ /* @__PURE__ */ (0, O.jsx)(y0, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -67046,7 +67206,7 @@ function Dwe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, O.jsx)(r0, {
+ /* @__PURE__ */ (0, O.jsx)(y0, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -67054,11 +67214,11 @@ function Dwe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, O.jsx)(i0, {
+ /* @__PURE__ */ (0, O.jsx)(b0, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, O.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, O.jsx)(H1, {
+ children: /* @__PURE__ */ (0, O.jsx)(i0, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -67070,18 +67230,18 @@ function Dwe({ host: e, epoch: t }) {
})
] });
}
-function Owe({ host: e, epoch: t }) {
- let n = e.store.value, r = zX();
- return /* @__PURE__ */ (0, O.jsx)(i0, {
+function Xwe({ host: e, epoch: t }) {
+ let n = e.store.value, r = eZ();
+ return /* @__PURE__ */ (0, O.jsx)(b0, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, O.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, O.jsx)(H1, {
+ children: /* @__PURE__ */ (0, O.jsx)(i0, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = jk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Ik(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
@@ -67089,68 +67249,68 @@ function Owe({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var a0 = "__home__", kwe = {
+var x0 = "__home__", Zwe = {
creator: 26,
tag: 30,
tech: 16
-}, o0 = 180, s0 = null, c0 = {
+}, S0 = 180, C0 = null, w0 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, l0 = /* @__PURE__ */ new Set();
-function Awe(e) {
- return l0.add(e), () => {
- l0.delete(e);
+}, T0 = /* @__PURE__ */ new Set();
+function Qwe(e) {
+ return T0.add(e), () => {
+ T0.delete(e);
};
}
-function u0() {
- for (let e of [...l0]) e();
+function E0() {
+ for (let e of [...T0]) e();
}
-var jwe = {
+var $we = {
render(e) {
- c0 = {
- ...c0,
+ w0 = {
+ ...w0,
props: e
- }, (0, Et.flushSync)(u0);
+ }, (0, Et.flushSync)(E0);
},
navChanged() {
- c0 = {
- ...c0,
- epoch: c0.epoch + 1
- }, (0, Et.flushSync)(u0);
+ w0 = {
+ ...w0,
+ epoch: w0.epoch + 1
+ }, (0, Et.flushSync)(E0);
}
};
-function Mwe(e) {
- return s0 = e, c0 = {
- ...c0,
+function eTe(e) {
+ return C0 = e, w0 = {
+ ...w0,
props: {
content: null,
filters: {},
latest: null
}
- }, jwe;
+ }, $we;
}
-function Nwe() {
- let e = (0, D.useSyncExternalStore)(Awe, () => c0);
- return s0 ? /* @__PURE__ */ (0, O.jsx)(Pwe, {
- host: s0,
+function tTe() {
+ let e = (0, D.useSyncExternalStore)(Qwe, () => w0);
+ return C0 ? /* @__PURE__ */ (0, O.jsx)(nTe, {
+ host: C0,
props: e.props,
epoch: e.epoch
}) : null;
}
-function Pwe({ host: e, props: t, epoch: n }) {
+function nTe({ host: e, props: t, epoch: n }) {
let r = (0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, O.jsx)(Fwe, {
+ /* @__PURE__ */ (0, O.jsx)(rTe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, O.jsx)(Lwe, {
+ t.content ? /* @__PURE__ */ (0, O.jsx)(aTe, {
host: e,
content: t.content,
filters: t.filters,
@@ -67158,8 +67318,8 @@ function Pwe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function Fwe({ host: e, epoch: t, version: n }) {
- let r = U1(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, D.useRef)(null), l = (0, D.useRef)(null), u = oI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || a0 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function rTe({ host: e, epoch: t, version: n }) {
+ let r = a0(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, D.useRef)(null), l = (0, D.useRef)(null), u = lI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || x0 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, D.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -67183,7 +67343,7 @@ function Fwe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || a0);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || x0);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -67198,7 +67358,7 @@ function Fwe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : W1(i, n, e, a);
+ let o = n === null ? null : o0(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -67226,16 +67386,16 @@ function Fwe({ host: e, epoch: t, version: n }) {
height: 24,
alt: "",
decoding: "async"
- }) : /* @__PURE__ */ (0, O.jsx)(hP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
- }, t || a0))
+ }) : /* @__PURE__ */ (0, O.jsx)(bP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
+ }, t || x0))
}), v ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var d0 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function Iwe(e) {
+var D0 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function iTe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -67248,7 +67408,7 @@ function Iwe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function Lwe({ host: e, content: t, filters: n, latest: r }) {
+function aTe({ 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, D.useLayoutEffect)(() => {
t.kind === "catalog" && ms(e.scroll, "drawer");
@@ -67257,8 +67417,8 @@ function Lwe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? Rwe(e, t.facets, n, r, i) : zwe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(Bwe, {
+ let a = t.kind === "catalog" ? oTe(e, t.facets, n, r, i) : sTe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(cTe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -67267,11 +67427,11 @@ function Lwe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function Rwe(e, t, n, r, i) {
- let a = Iwe(r), o = (t, r, i) => {
+function oTe(e, t, n, r, i) {
+ let a = iTe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = d0(n, r);
- return /* @__PURE__ */ (0, O.jsx)(m0, {
+ let o = D0(n, r);
+ return /* @__PURE__ */ (0, O.jsx)(A0, {
rows: t,
filterKey: r,
multi: i,
@@ -67281,7 +67441,7 @@ function Rwe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = d0(n, l), p = c.some((e) => f.includes(e.value));
+ let f = D0(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -67293,12 +67453,12 @@ function Rwe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, O.jsx)(Hwe, {
+ body: /* @__PURE__ */ (0, O.jsx)(uTe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: kwe[d],
+ limit: Zwe[d],
filterKey: l,
selected: f,
counts: a,
@@ -67313,7 +67473,7 @@ function Rwe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, O.jsx)(_0, {
+ body: /* @__PURE__ */ (0, O.jsx)(N0, {
host: e,
filters: n
})
@@ -67327,7 +67487,7 @@ function Rwe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, O.jsx)(h0, {
+ body: /* @__PURE__ */ (0, O.jsx)(j0, {
rows: t.followTags,
host: e,
selected: null,
@@ -67336,14 +67496,14 @@ function Rwe(e, t, n, r, i) {
} : null
];
}
-function zwe(e, t, n) {
- let r = t.providers || [], i = d0(n, "provider"), a = new Set(t.selected);
+function sTe(e, t, n) {
+ let r = t.providers || [], i = D0(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, O.jsx)(m0, {
+ body: /* @__PURE__ */ (0, O.jsx)(A0, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -67357,7 +67517,7 @@ function zwe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, O.jsx)(_0, {
+ body: /* @__PURE__ */ (0, O.jsx)(N0, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -67367,7 +67527,7 @@ function zwe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, O.jsx)(h0, {
+ body: /* @__PURE__ */ (0, O.jsx)(j0, {
rows: t.tags,
host: e,
selected: a,
@@ -67376,19 +67536,19 @@ function zwe(e, t, n) {
} : null
];
}
-function f0(e, t) {
+function O0(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function Bwe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => f0(e, n)), u = (0, D.useRef)(!1);
+function cTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => O0(e, n)), u = (0, D.useRef)(!1);
(0, D.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? f0(e, n) : c;
+ let i = u.current ? O0(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) => {
@@ -67409,7 +67569,7 @@ function Bwe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, O.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -67420,7 +67580,7 @@ function Bwe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, O.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, O.jsx)(p0.Provider, {
+ children: /* @__PURE__ */ (0, O.jsx)(k0.Provider, {
value: d,
children: a
})
@@ -67429,15 +67589,15 @@ function Bwe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var p0 = (0, D.createContext)(() => {});
-function Vwe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(hP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {
+var k0 = (0, D.createContext)(() => {});
+function lTe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(bP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, O.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function m0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function A0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -67454,7 +67614,7 @@ function m0({ 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, O.jsx)(Vwe, { dot: e.dot }),
+ /* @__PURE__ */ (0, O.jsx)(lTe, { dot: e.dot }),
/* @__PURE__ */ (0, O.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -67469,8 +67629,8 @@ function m0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function Hwe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, D.useContext)(p0), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);
+function uTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, D.useContext)(k0), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);
p !== e && (m(e), f(null));
let h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, D.useLayoutEffect)(() => {
@@ -67485,7 +67645,7 @@ function Hwe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), ao(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(m0, {
+ }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(A0, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -67510,10 +67670,10 @@ function Hwe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, O.jsx)(hP, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })
}) : null] });
}
-function h0({ rows: e, host: t, selected: n, badges: r }) {
+function j0({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
@@ -67535,10 +67695,10 @@ function h0({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var g0 = (e, t) => e ? Math.min(o0, Number(e) / 60) : t;
-function _0({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [g0(t.dur_min, 0), g0(t.dur_max, o0)]), [c, l] = (0, D.useState)("max");
- i !== r && (a(r), s([g0(t.dur_min, 0), g0(t.dur_max, o0)]));
+var M0 = (e, t) => e ? Math.min(S0, Number(e) / 60) : t;
+function N0({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [M0(t.dur_min, 0), M0(t.dur_max, S0)]), [c, l] = (0, D.useState)("max");
+ i !== r && (a(r), s([M0(t.dur_min, 0), M0(t.dur_max, S0)]));
let [u, d] = o, f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -67551,11 +67711,11 @@ function _0({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, D.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / o0 * 100}%`), e.style.setProperty("--hi", `${d / o0 * 100}%`);
+ e.style.setProperty("--lo", `${u / S0 * 100}%`), e.style.setProperty("--hi", `${d / S0 * 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 / o0 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / S0 * 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`);
});
@@ -67565,7 +67725,7 @@ function _0({ 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 >= o0 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= S0 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-sidebar-duration": "",
@@ -67580,7 +67740,7 @@ function _0({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: o0,
+ max: S0,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -67591,7 +67751,7 @@ function _0({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: o0,
+ max: S0,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -67605,139 +67765,6 @@ function _0({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
//#endregion
-//#region src/diagnostics-skeleton.ts
-function v0() {
- let e = (e) => Wo({
- label: e,
- variant: "secondary",
- attrs: "disabled data-skeleton-action"
- }), t = (e) => `<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3"><div class="flex flex-col gap-4 py-4 pr-3">${e}</div></div>`, n = "<span class=\"skeleton h-5 w-1/3\"></span><span class=\"skeleton h-4 w-2/3\"></span>", r = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p>${t}</section>`;
- return `<div data-skeleton="diagnostics" aria-busy="true" aria-label="正在读取系统诊断" class="flex min-w-0 flex-col gap-6"><div aria-hidden="true" inert class="flex flex-col gap-6">
- <div class="flex flex-wrap justify-end gap-2">${e("下载诊断报告")}${e("重新检查")}</div>
- ${r("需要关注", t(`<div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex min-w-0 flex-1 flex-col gap-2">${n}<span class="skeleton h-4 w-1/2"></span></div>${e("打开相关页面")}</div>`))}
- ${r("库健康", t(n))}
- ${r("来源会话", `<div class="flex flex-col gap-3">${t(n)}${t(n)}</div>`)}
- </div></div>`;
-}
-//#endregion
-//#region src/react/settings/library-policy-copy.ts
-var y0 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Uwe = [
- "自动补全",
- "仅使用本地资料",
- "自定义"
-], Wwe = [
- [
- "读本地 NFO 和图片",
- "✓",
- "✓",
- "✓"
- ],
- [
- "读取视频信息、生成九宫格",
- "✓",
- "✓",
- "可选"
- ],
- [
- "联网补资料",
- "✓",
- "—",
- "可选"
- ],
- [
- "联网补封面",
- "✓",
- "—",
- "可选"
- ],
- [
- "联网补人物图片",
- "✓",
- "—",
- "可选"
- ]
-], Gwe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", b0 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", x0 = "disabled data-skeleton-action", S0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, C0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, w0 = (e, t = "primary") => Wo({
- label: e,
- variant: t,
- attrs: x0
-}), Kwe = (e) => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${e}</div>`, T0 = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, E0 = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? Kwe(n) : ""}</div></section>`, D0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`, O0 = "peach.configuration.media-shape.v1", k0 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";
-function qwe(e) {
- try {
- localStorage.setItem(O0, JSON.stringify(e));
- } catch {}
-}
-var A0 = "peach.configuration.section-heights.v1";
-function Jwe(e, t) {
- try {
- let n = JSON.parse(localStorage.getItem(A0) || "{}");
- localStorage.setItem(A0, JSON.stringify({
- ...n,
- [e]: Math.round(t)
- }));
- } catch {}
-}
-function j0(e, t) {
- try {
- let n = JSON.parse(localStorage.getItem(A0) || "{}")[e];
- return typeof n == "number" && n > 0 && n < 4e3 ? n : t;
- } catch {
- return t;
- }
-}
-function Ywe() {
- try {
- let e = JSON.parse(localStorage.getItem(O0) || "null"), t = Array.isArray(e?.folders) ? e.folders.filter((e) => Number.isInteger(e) && e > 0).slice(0, 12) : [];
- if (t.length) return {
- folders: t,
- cloud: e?.cloud === !0,
- discovery: e?.discovery === !0
- };
- } catch {}
- return {
- folders: [1],
- cloud: !1,
- discovery: !1
- };
-}
-var M0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, Xwe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${C0()}</span>${Wo({
- glyph: "folder-search",
- variant: "secondary",
- attrs: x0
-})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${M0("来源", Ko(S0("6em")), "w-full @lg:w-60")}${M0("读取策略", Ko(S0("4em")), "w-full @lg:w-32")}${e > 1 ? M0("移到媒体库", Ko(S0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, Zwe = (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>${Wo({
- label: "自动识别",
- variant: "secondary",
- attrs: x0
-})}${C0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(S0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${Xwe(t).repeat(e)}<div class="flex">${Wo({
- label: "添加文件夹",
- variant: "secondary",
- attrs: x0
-})}</div></div></div>`, Qwe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${y0}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, $we = "<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>", N0 = () => {
- let e = Ywe();
- return E0("媒体库与目录", T0(`${Qwe}<div class="flex flex-col gap-4">${e.folders.map((t) => Zwe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${w0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${b0}</p>
- ${e.cloud ? $we : ""}<span class="text-body-medium text-text-primary">${S0("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${w0("保存配置")}`) + (e.cloud ? E0("CloudDrive 代理", T0(`<p class="text-body-2-regular text-text-secondary">${k0}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${j0("cloud-proxy", 96)}px"></span>`), w0("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${j0("push-discovery", 323)}px">${E0("自动发现新文件", T0(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${S0("8em")}</span>`) + D0("发现新文件后自动入库") + D0("监视本机文件夹") + D0("接收 CloudDrive2 通知"), w0("保存配置"))}</div>` : "") + E0("番号识别规则", T0(`${S0("90%")}${S0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), w0("保存配置")) + E0("视频预览", D0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + D0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + D0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-};
-function eTe(e) {
- switch (e) {
- case "系统诊断": return v0();
- case "媒体库与入库": return N0();
- case "来源与订阅": return `<div>${w0("采集来源与登录状态", "secondary")}</div>` + E0("来源凭据", T0(`${S0("40%")}${C0()}${S0("70%")}`)) + E0("关注采集", D0("首次采集范围", "", "ui-configuration-skeleton-select") + D0("头像刷新") + D0("favicon 刷新")) + E0("资源搜索", T0(`${S0("40%")}${C0()}`)) + E0("作品资料站点", T0(`${C0()}${C0()}`), w0("保存配置"));
- case "下载渠道": return E0("云下载", T0(`${S0("35%")}${C0()}${C0()}${C0()}${C0()}`), w0("保存配置")) + E0("PikPak 账号", T0(`${C0()}${C0()}`), w0("登录账号"));
- case "网络与访问": return E0("本机访问端口", T0(C0("128px")), w0("保存配置")) + E0("Peach 代理", D0("连接方式", "", "ui-configuration-skeleton-select"), w0("保存配置")) + E0("访问密码", T0(C0()), w0("保存配置")) + E0("公网访问", T0(`${S0("60%")}${C0()}`));
- case "应用与维护": return E0("检查更新", T0(`${S0("40%")}${S0("40%")}${S0("40%")}${S0("40%")}`), w0("检查更新")) + E0("自动更新", D0("自动检查新版本") + D0("自动下载更新") + D0("检查频率", "", "ui-configuration-skeleton-select"), w0("保存配置")) + E0("开机自启", D0("开机后启动 Peach") + D0("只启动托盘,不打开网页") + D0("在桌面创建快捷方式"), w0("保存配置")) + E0("视频播放", D0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + E0("数据上传", D0("发送版本统计与错误诊断(推荐)") + D0("馆藏与口味明细上传")) + E0("运行信息", T0(`${S0("80%")}${S0("60%")}${S0("40%")}`));
- default: return N0();
- }
-}
-function tTe(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(gV).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">${eTe(e)}</div></div></div>`;
-}
-//#endregion
//#region src/react/jav/discovery-sorts.ts
var P0 = [
[
@@ -67747,7 +67774,7 @@ var P0 = [
],
[
"release_date",
- Nk[1],
+ Rk[1],
"按发行日期排序"
],
[
@@ -67766,10 +67793,10 @@ var P0 = [
"按番号排序"
]
];
-function nTe(e) {
+function dTe(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function rTe(e) {
+function fTe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -67795,7 +67822,7 @@ function rTe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var F0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, iTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, I0 = "w-full min-w-0";
+var F0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, pTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, I0 = "w-full min-w-0";
function L0() {
return [
"w-20",
@@ -67806,10 +67833,10 @@ function L0() {
"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 R0(e, t = yA()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${F0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${iTe("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">${F0("80%")}${F0("60%")}${F0("40%")}</div></div>`).join("")}</div>`;
- let n = DA({
- ...EA({
+function R0(e, t = wA()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${F0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${pTe("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">${F0("80%")}${F0("60%")}${F0("40%")}</div></div>`).join("")}</div>`;
+ let n = MA({
+ ...jA({
active: !0,
home: !1,
portrait: !1
@@ -67825,7 +67852,7 @@ function R0(e, t = yA()) {
<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 aTe(e) {
+function mTe(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>${Wo({
@@ -67833,12 +67860,12 @@ function aTe(e) {
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${J$.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">${u1.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}">${Uo("筛选番号、女优或标题", "", 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>${F0("100%")}</div>${R0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${oTe()}${R0(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>${F0("100%")}</div>${R0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${hTe()}${R0(e)}</section>`}</div></div>`;
}
-function oTe() {
- 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="" ${yA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;
+function hTe() {
+ 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="" ${wA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(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>${L0()}</div></div>
@@ -67855,7 +67882,7 @@ function oTe() {
//#endregion
//#region src/management-skeletons.ts
var z0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", B0 = (e = "60%") => `<span class="${z0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, V0 = "disabled data-skeleton-action", H0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function sTe() {
+function gTe() {
let e = [
"馆藏视频",
"看过",
@@ -67896,7 +67923,7 @@ function sTe() {
</section>
</div></div>`;
}
-function cTe() {
+function _Te() {
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 = [
"浏览记录",
"口味维度",
@@ -67952,7 +67979,7 @@ function cTe() {
</div>
</div></div>`;
}
-function lTe() {
+function vTe() {
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="${z0} 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">${B0("70%")}</span>
@@ -67980,7 +68007,7 @@ function lTe() {
${t.repeat(2)}
</div></div>`;
}
-function uTe() {
+function yTe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
<div class="flex min-w-0 gap-4"><span class="${z0} 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">${B0("80%")}</h3><p class="text-body-2-regular">${B0("60%")}</p></div>
@@ -67999,18 +68026,18 @@ function uTe() {
}
//#endregion
//#region src/board-skeleton.ts
-var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dTe = () => `${U0("80%")}${U0("48%")}`, W0 = (e, t) => e.repeat(t), G0 = "disabled data-skeleton-action", K0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, q0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, fTe = "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", J0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, bTe = () => `${U0("80%")}${U0("48%")}`, W0 = (e, t) => e.repeat(t), G0 = "disabled data-skeleton-action", K0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, q0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, xTe = "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", J0 = () => `<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="${fTe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${K0("3em")}</b></div>`).join("")}</div>`, Y0 = [
+].map((e) => `<div class="${xTe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${K0("3em")}</b></div>`).join("")}</div>`, Y0 = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], pTe = (e = "") => Y0.some(([t]) => t === e) ? e : "list", X0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${Y0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Z0 = (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>`, mTe = ({ table: e, sort: t, dir: n }) => {
+], STe = (e = "") => Y0.some(([t]) => t === e) ? e : "list", X0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${Y0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Z0 = (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>`, CTe = ({ table: e, sort: t, dir: n }) => {
let r = Mn.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">${K0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({
glyph: "refresh-cw",
@@ -68045,7 +68072,7 @@ var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dTe
size: "small",
glyph: "trash",
attrs: G0
-})}</span>`, hTe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Z0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${K0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${q0(14, 14)}</span>${q0(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">${K0("113px")}</span>${Q0()}</span></div>`, $0 = (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>${q0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${K0("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">${Wo({
+})}</span>`, wTe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Z0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${K0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${q0(14, 14)}</span>${q0(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">${K0("113px")}</span>${Q0()}</span></div>`, $0 = (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>${q0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${K0("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">${Wo({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
@@ -68062,13 +68089,13 @@ var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dTe
glyph: "chevron-up",
label: "收起",
attrs: G0
-})}</span></span></div><div data-source-divider>${W0(hTe(), e)}</div></section>`, gTe = () => {
+})}</span></span></div><div data-source-divider>${W0(wTe(), e)}</div></section>`, TTe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, _Te = [
+}, ETe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -68076,13 +68103,13 @@ var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dTe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], vTe = {
+], DTe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, yTe = "<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>", bTe = (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>${_Te.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${vTe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${yTe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${W0(`<tr>${[
+}, OTe = "<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>", kTe = (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>${ETe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${DTe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${OTe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${W0(`<tr>${[
Z0(),
`<span class="flex min-w-0 items-center gap-2">${q0(32, 32, !0)}${K0("5em")}</span>`,
K0("10em"),
@@ -68090,37 +68117,37 @@ var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dTe
q0(48, 24),
K0("113px"),
Q0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, xTe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${K0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${q0(204, 32)}</div></div>`, STe = () => `<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">${K0("120px")}</h3>${[
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, ATe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${K0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${q0(204, 32)}</div></div>`, jTe = () => `<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">${K0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${K0(e)}</span>`).join("")}</div>`, CTe = (e) => {
- let t = pTe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${J0()}<div class="flex flex-col gap-6">${X0(t)}<div class="flex flex-col gap-4">${STe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = In(e.followSort, e.followDir), i = e.followPageSize || gTe(), a = n ? bTe(i, r) : `${Z0("全选本页")}<div class="flex flex-col gap-3">${$0(3)}${$0(4)}${$0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${J0()}<div class="flex flex-col gap-6">${X0(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"}">${mTe({
+].map((e) => `<span class="text-body-medium">${K0(e)}</span>`).join("")}</div>`, MTe = (e) => {
+ let t = STe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${J0()}<div class="flex flex-col gap-6">${X0(t)}<div class="flex flex-col gap-4">${jTe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = In(e.followSort, e.followDir), i = e.followPageSize || TTe(), a = n ? kTe(i, r) : `${Z0("全选本页")}<div class="flex flex-col gap-3">${$0(3)}${$0(4)}${$0(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${J0()}<div class="flex flex-col gap-6">${X0(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"}">${CTe({
table: n,
...r
- })}${a}${xTe(n, i)}</div></div></div></div></div>`;
+ })}${a}${ATe(n, i)}</div></div></div></div></div>`;
};
-function wTe() {
- 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">${U0("85%")}${U0("65%")}${W0(dTe(), 4)}</div></aside></div>`;
+function NTe() {
+ 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">${U0("85%")}${U0("65%")}${W0(bTe(), 4)}</div></aside></div>`;
}
-function TTe(e, t = {}) {
+function PTe(e, t = {}) {
let n = "";
- if (e === "/stats") n = sTe();
- else if (e === "/jav") n = aTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = cTe();
- else if (e === "/subscriptions") n = CTe(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in gV) n = tTe(gV[e.split("/")[2]]);
+ if (e === "/stats") n = gTe();
+ else if (e === "/jav") n = mTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = _Te();
+ else if (e === "/subscriptions") n = MTe(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in CV) n = ahe(CV[e.split("/")[2]]);
else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${[
"正在进行",
"本次未执行",
"最近完成"
].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${K0("8em")}</span><span class="text-caption-1-regular">${K0("14em")}</span>${K0("60%")}${K0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${K0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = lTe();
- else if (e === "/quality-goals") n = uTe();
+ else if (e === "/duplicates") n = vTe();
+ else if (e === "/quality-goals") n = yTe();
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>${Wo({
label: "新建",
attrs: G0
@@ -68130,7 +68157,7 @@ function TTe(e, t = {}) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function ETe(e) {
+function FTe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
@@ -68138,7 +68165,7 @@ function ETe(e) {
}
function e2(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return ETe(n ?? t.body);
+ return FTe(n ?? t.body);
}
function t2(e) {
let t = document.getElementById("toasts"), n = e?.open ? e : document.body;
@@ -68146,13 +68173,13 @@ function t2(e) {
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var n2 = (e) => ["follow-item", e], DTe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, OTe = "/api/follow/save", kTe = "/api/follow/media/hide", r2 = class extends Error {
+var n2 = (e) => ["follow-item", e], ITe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, LTe = "/api/follow/save", RTe = "/api/follow/media/hide", r2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
async function i2(e, t) {
- let n = await B(DTe(e), t);
+ let n = await B(ITe(e), t);
for (let t of n.groups || []) {
let r = ji(t).find((t) => t.id === e);
if (r) return {
@@ -68164,7 +68191,7 @@ async function i2(e, t) {
}
throw new r2();
}
-function ATe(e) {
+function zTe(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ji(t.group).find((t) => t.id === e);
@@ -68182,13 +68209,13 @@ async function a2(e, t) {
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? ATe(e.id);
+ } : H.getQueryData(n) ?? zTe(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
queryFn: () => i2(e.id, t)
}), await i;
}
-function jTe(e, t, n, r) {
+function BTe(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 && Bi(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,
@@ -68203,32 +68230,32 @@ function jTe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var MTe = (e) => ji(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), NTe = {
+var VTe = (e) => ji(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), HTe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, PTe = {
+}, UTe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function FTe(e) {
+function WTe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return NTe[t] || t;
+ return HTe[t] || t;
} catch {
return "外部文件页";
}
}
function o2(e, t) {
- return PTe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return UTe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function ITe(e, t, n = "") {
+function GTe(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;
@@ -68237,16 +68264,16 @@ function ITe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var LTe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", RTe = /* @__PURE__ */ new Set([
+var KTe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", qTe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function zTe(e, t) {
+function JTe(e, t) {
let n = s2(e, t);
- return `r34-${RTe.has(n) ? n : "general"}`;
+ return `r34-${qTe.has(n) ? n : "general"}`;
}
var c2 = [
"copyright",
@@ -68255,7 +68282,7 @@ var c2 = [
"general",
"metadata"
];
-function BTe(e, t) {
+function YTe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = c2.indexOf(s2(e, t));
return n < 0 ? c2.length : n;
@@ -68266,12 +68293,12 @@ function l2(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 VTe = (e, t) => ({
+var XTe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), u2 = (e) => e?.size ? { size: e.size } : {};
-function HTe(e, t) {
+function ZTe(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}`,
@@ -68292,7 +68319,7 @@ function HTe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var UTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {
+var QTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -68300,7 +68327,7 @@ var UTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), WTe = [
+}), $Te = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -68310,14 +68337,14 @@ var UTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], GTe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], eEe = (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>${WTe.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>${$Te.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>`, KTe = {
- "/data-cleanup": () => c1(),
- "/resource-sync": () => c1(),
- "/review": () => GTe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, tEe = {
+ "/data-cleanup": () => w1(),
+ "/resource-sync": () => w1(),
+ "/review": () => eEe(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
${d2("正在读取采集来源", {
cards: !0,
@@ -68327,13 +68354,13 @@ var UTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2
})}</div>`
};
function f2(e, { followLayout: t, followSort: n, followDir: r }) {
- return TTe(e, {
+ return PTe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (KTe[e] ?? (() => d2("正在读取页面")))();
+ }) || (tEe[e] ?? (() => d2("正在读取页面")))();
}
var p2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
function m2(e, t) {
@@ -68355,17 +68382,17 @@ function h2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, O.jsx)(FW, {
+ children: /* @__PURE__ */ (0, O.jsx)(bG, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, O.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, O.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, O.jsx)($z, {
size: "compact",
- icon: Fz,
+ icon: Hz,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, O.jsx)(cI, {
+ actions: /* @__PURE__ */ (0, O.jsx)(dI, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -68471,7 +68498,7 @@ function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(qTe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(nEe, {
item: e,
selected: r === t,
onSelect: n,
@@ -68490,7 +68517,7 @@ function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function qTe({ item: e, selected: t, onSelect: n, render: r }) {
+function nEe({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(typeof IntersectionObserver > "u");
return (0, D.useEffect)(() => {
if (!i.current || a) return;
@@ -68517,7 +68544,7 @@ function qTe({ item: e, selected: t, onSelect: n, render: r }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var JTe = (e, t, n) => [
+var rEe = (e, t, n) => [
"follow-feed",
"related",
e,
@@ -68539,7 +68566,7 @@ function v2(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 YTe(e, t, n, r) {
+async function iEe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...zi(i),
status: "new",
@@ -68560,11 +68587,11 @@ async function YTe(e, t, n, r) {
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var y2 = (e) => Number(e) > 0, XTe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
+var y2 = (e) => Number(e) > 0, aEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
}), b2 = L("external-link", "ui-externalmark");
-function ZTe(e) {
+function oEe(e) {
let { id: t, actions: n } = e, r = Ct({
queryKey: n2(t),
queryFn: ({ signal: e }) => i2(t, e)
@@ -68572,10 +68599,10 @@ function ZTe(e) {
queryKey: Ei,
queryFn: ({ signal: e }) => Di(e)
}), a = (0, D.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, D.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, O.jsx)(eEe, {
+ return r.data ? /* @__PURE__ */ (0, O.jsx)(lEe, {
...e,
data: r.data,
- context: VTe(r.data, a),
+ context: XTe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, O.jsx)("div", {
@@ -68586,7 +68613,7 @@ function ZTe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, O.jsx)(x2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? QTe(r.error) ? /* @__PURE__ */ (0, O.jsx)($Te, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(FW, {
+ children: r.isError ? sEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(cEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -68594,8 +68621,8 @@ function ZTe(e) {
})
});
}
-var QTe = (e) => e instanceof r2 || e instanceof kn && e.status === 404;
-function $Te({ onBack: e }) {
+var sEe = (e) => e instanceof r2 || e instanceof kn && e.status === 404;
+function cEe({ onBack: e }) {
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -68613,8 +68640,8 @@ var x2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function eEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = jTe(c, l, n, i), d = oEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({
+function lEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = BTe(c, l, n, i), d = hEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({
key: "",
kind: ""
}), h = {
@@ -68634,7 +68661,7 @@ function eEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? MTe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(T2, {
+ let g = !u.embedded.length && u.collection ? VTe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(T2, {
item: c,
current: u.selected.index,
helpers: o,
@@ -68647,7 +68674,7 @@ function eEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, O.jsx)(rEe, {
+ }) : /* @__PURE__ */ (0, O.jsx)(fEe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -68657,14 +68684,14 @@ function eEe({ 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, O.jsx)(nEe, {
+ children: [/* @__PURE__ */ (0, O.jsx)(dEe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, O.jsx)(iEe, {
+ }, f), /* @__PURE__ */ (0, O.jsx)(pEe, {
item: c,
data: e,
context: t,
@@ -68676,7 +68703,7 @@ function eEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
})]
}), /* @__PURE__ */ (0, O.jsx)(g2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(tEe, {
+ children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(uEe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -68686,10 +68713,10 @@ function eEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function tEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function uEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Ct({
- queryKey: JTe(e.item.id, t, n),
- queryFn: ({ signal: r }) => YTe(e, t, n, r)
+ queryKey: rEe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => iEe(e, t, n, r)
}), [s] = (0, D.useState)(() => d2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
@@ -68712,7 +68739,7 @@ function tEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(mQ, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(AQ, {
variant: "next",
group: e,
media: t,
@@ -68729,8 +68756,8 @@ function tEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function nEe({ 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, D.useRef)(null), p = HTe(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, D.useState)(g), b = (0, D.useRef)({
+function dEe({ 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, D.useRef)(null), p = ZTe(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, D.useState)(g), b = (0, D.useRef)({
item: e,
selected: o
}), x = (0, D.useRef)(i.failed);
@@ -68751,7 +68778,7 @@ function nEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void rQ(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void yQ(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -68759,7 +68786,7 @@ function nEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: zU(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: SW(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, O.jsx)("span", { children: "没有可用预览" })]
}),
u ? /* @__PURE__ */ (0, O.jsx)(_2, {
@@ -68798,18 +68825,18 @@ function w2(e) {
t && e.wireDrag(t);
}, [e]);
}
-function rEe({ group: e, itemId: t, helpers: n, actions: r }) {
+function fEe({ group: e, itemId: t, helpers: n, actions: r }) {
let i = Bi(e), a = w2(n);
- return /* @__PURE__ */ (0, O.jsx)(hK, {
+ return /* @__PURE__ */ (0, O.jsx)(eq, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${VU(e.primary)} · ${i.length} 个视频`,
+ summary: `${wW(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = ITe(e, n, i ? n.provider_label : ""), o = i ? zU(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, O.jsxs)(gK, {
+ let i = e.duplicates.includes(n), a = GTe(e, n, i ? n.provider_label : ""), o = i ? SW(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, O.jsxs)(tq, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
@@ -68831,7 +68858,7 @@ function rEe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, O.jsx)("time", {
dateTime: n.published_at || "",
- children: XU(n)
+ children: FW(n)
})]
})]
}, n.id);
@@ -68849,17 +68876,17 @@ function T2({ 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, O.jsx)(hK, {
+ return /* @__PURE__ */ (0, O.jsx)(eq, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${VU(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(_K, {
+ summary: `${wW(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(nq, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(gK, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(tq, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
@@ -68868,7 +68895,7 @@ function T2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(C2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(S2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, O.jsx)("b", {
"data-middle-truncate": "",
- children: LTe(n)
+ children: KTe(n)
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -68876,13 +68903,13 @@ function T2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function pEe({ 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 = qU(d, e), p = GU(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && dn(e.author) !== dn(p.author) ? e.author : "", h = JU(e, n), g = BTe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = AW(d, e), p = OW(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && dn(e.author) !== dn(p.author) ? e.author : "", h = jW(e, n), g = YTe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -68898,7 +68925,7 @@ function iEe({ 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: KU(d, e) + z(VU(e)) }
+ dangerouslySetInnerHTML: { __html: kW(d, e) + z(wW(e)) }
}), e.url ? /* @__PURE__ */ (0, O.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -68914,7 +68941,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, O.jsx)("span", { children: XU(e) }),
+ /* @__PURE__ */ (0, O.jsx)("span", { children: FW(e) }),
y2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: gn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-follow-badges": "",
@@ -68932,7 +68959,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, O.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(fQ, {
+ children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(OQ, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -68964,7 +68991,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, O.jsx)(aEe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, O.jsx)(mEe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, O.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -68987,7 +69014,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [FTe(e), /* @__PURE__ */ (0, O.jsx)("span", {
+ children: [WTe(e), /* @__PURE__ */ (0, O.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: b2 }
})]
@@ -69089,7 +69116,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(C2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(XTe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(C2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(aEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -69103,7 +69130,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
- "data-tag-cat": zTe(e, t),
+ "data-tag-cat": JTe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -69113,7 +69140,7 @@ function iEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function aEe({ text: e }) {
+function mEe({ text: e }) {
let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);
return (0, D.useLayoutEffect)(() => {
let e = t.current;
@@ -69136,7 +69163,7 @@ function aEe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function oEe(e, t, n) {
+function hEe(e, t, n) {
let r = e.id, i = n2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -69156,7 +69183,7 @@ function oEe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && q$(), t.toast(UTe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && l1(), t.toast(QTe(n), { undo: i === "saved" ? void 0 : async () => {
await V(er, {
item: r,
to: i
@@ -69166,7 +69193,7 @@ function oEe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = wt({
- mutationFn: () => V(OTe, { item: r }),
+ mutationFn: () => V(LTe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -69174,7 +69201,7 @@ function oEe(e, t, n) {
onSettled: () => l("save", !1)
}), m = wt({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(kTe, {
+ await V(RTe, {
item: r,
media: e,
hidden: t
@@ -69190,12 +69217,12 @@ function oEe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Ct({
- queryKey: iCe(r),
- queryFn: ({ signal: e }) => sCe(r, e)
+ queryKey: ECe(r),
+ queryFn: ({ signal: e }) => kCe(r, e)
}).data?.want ?? null, g = wt({
- mutationFn: async (e) => (e ? await K$([e.id]) : await G$({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await c1([e.id]) : await s1({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), q$();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), l1();
},
onError: d,
onSettled: () => l("want", !1)
@@ -69335,7 +69362,7 @@ function O2(e) {
//#region src/react/item-detail/catalog-picture.tsx
function k2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(GQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(s$, {
item: {
code: e.code,
has_cover: !1,
@@ -69349,7 +69376,7 @@ function k2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
src: c,
alt: "",
onError: () => a(!0)
- }) : i ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ }) : i ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -69368,13 +69395,13 @@ function k2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var A2 = (e) => ["jav-detail", e], j2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), sEe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), M2 = (e, t) => H.ensureQueryData({
+var A2 = (e) => ["jav-detail", e], j2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), gEe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), M2 = (e, t) => H.ensureQueryData({
queryKey: A2(e.code),
queryFn: () => j2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function cEe(e, t) {
+function _Ee(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;
@@ -69386,7 +69413,7 @@ var N2 = "peach.external-player.v1", P2 = [
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function lEe(e, t, n) {
+function vEe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
function F2({ id: e }) {
@@ -69396,11 +69423,11 @@ function F2({ id: e }) {
} catch {
return "m3u";
}
- }), [r, i] = (0, D.useState)(null), a = BH();
- return /* @__PURE__ */ (0, O.jsx)(rU, {
+ }), [r, i] = (0, D.useState)(null), a = qH();
+ return /* @__PURE__ */ (0, O.jsx)(IU, {
summary: "外部播放器 / VR",
- children: /* @__PURE__ */ (0, O.jsxs)($H, { children: [
- /* @__PURE__ */ (0, O.jsx)(z1, {
+ children: /* @__PURE__ */ (0, O.jsxs)(jU, { children: [
+ /* @__PURE__ */ (0, O.jsx)(t0, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
options: P2,
@@ -69416,33 +69443,33 @@ function F2({ id: e }) {
}),
/* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(a.busy === "prepare"),
+ ...rB(a.busy === "prepare"),
onClick: () => void a.run("prepare", (t) => V(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({
url: new URL(e.url, location.origin).href,
playlist: new URL(e.playlist, location.origin).href
})),
children: "生成播放链接"
}),
- a.error ? /* @__PURE__ */ (0, O.jsx)(tU, { children: a.error }) : null,
+ a.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsx)("a", {
- href: lEe(t, r.url, r.playlist),
+ href: vEe(t, r.url, r.playlist),
rel: "noreferrer",
children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${P2.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
}),
- /* @__PURE__ */ (0, O.jsx)(eU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
+ /* @__PURE__ */ (0, O.jsx)(NU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
] }) : null
] })
}, e);
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var uEe = sF({
+var yEe = fF({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -69504,23 +69531,23 @@ var uEe = sF({
}
}
});
-function dEe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = uEe[t];
+function bEe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = yEe[t];
return /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
- className: oF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? oF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: dF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? dF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, O.jsx)("span", {
- className: oF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, O.jsx)("span", { className: oF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: dF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: dF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
function I2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, O.jsx)(Nue, {
+ return /* @__PURE__ */ (0, O.jsx)(Eue, {
ref: i,
...a,
- className: (t) => oF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(dEe, {
+ className: (t) => dF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(bEe, {
state: e,
size: n,
shape: r
@@ -69532,7 +69559,7 @@ function I2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var fEe = "/api/cover-crop", pEe = (e, t) => V(fEe, {
+var xEe = "/api/cover-crop", SEe = (e, t) => V(xEe, {
code: e,
box: t
});
@@ -69551,7 +69578,7 @@ function L2({ className: e }) {
children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })
});
}
-function mEe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function CEe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
@@ -69562,12 +69589,12 @@ function mEe({ code: e, coverUrl: t, box: n, onSaved: r }) {
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, O.jsx)(L2, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, O.jsx)(Uz, {
+ }), /* @__PURE__ */ (0, O.jsx)(Xz, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, O.jsx)(hEe, {
+ children: /* @__PURE__ */ (0, O.jsx)(wEe, {
code: e,
coverUrl: t,
box: n,
@@ -69576,9 +69603,9 @@ function mEe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function hEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = mV(), f = wt({
- mutationFn: (t) => pEe(e, t),
+function wEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = xV(), f = wt({
+ mutationFn: (t) => SEe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -69590,19 +69617,19 @@ function hEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : mxe(e, wa);
- c(OQ(t, e, null));
+ } : Ixe(e, wa);
+ c(WQ(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, O.jsx)(Wz, { children: /* @__PURE__ */ (0, O.jsx)(L2, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, O.jsx)(Zz, { children: /* @__PURE__ */ (0, O.jsx)(L2, { className: "size-6" }) }),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, O.jsx)(FI, {
+ /* @__PURE__ */ (0, O.jsx)(RI, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -69611,14 +69638,14 @@ function hEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "text-body-2-regular text-text-secondary",
children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]
}),
- f.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ f.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: jn(f.error)
}) : null
]
}),
- /* @__PURE__ */ (0, O.jsx)(KF, {
- icon: Sz,
+ /* @__PURE__ */ (0, O.jsx)(YF, {
+ icon: kz,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -69628,14 +69655,14 @@ function hEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, O.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, O.jsx)(NQ, {
+ children: /* @__PURE__ */ (0, O.jsx)(YQ, {
src: t,
aspect: l ? wa : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- EQ(e) && p(e);
+ HQ(e) && p(e);
},
onBox: c
})
@@ -69645,7 +69672,7 @@ function hEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
children: [/* @__PURE__ */ (0, O.jsx)(I2, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(OQ(s, a, wa));
+ u(e), e && s && a && c(WQ(s, a, wa));
},
children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -69655,14 +69682,14 @@ function hEe({ 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, O.jsx)(q, {
variant: "secondary",
- ...Xz(m),
+ ...rB(m),
onClick: () => {
m || f.mutate(null);
},
children: "恢复默认"
}), /* @__PURE__ */ (0, O.jsx)(q, {
disabled: !s || !a,
- ...Xz(m),
+ ...rB(m),
onClick: () => {
s && !m && f.mutate(s);
},
@@ -69681,14 +69708,14 @@ var R2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
}), B2 = (e) => Number(e) > 0 ? vn(Number(e)) : "大小未知";
-function gEe(e) {
+function TEe(e) {
let { queue: t, actions: n } = e, r = Ct({
- queryKey: t ? KM(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => tN(t, e.helpers, n),
+ queryKey: t ? ZM(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => oN(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? iN(i, e.id) : t ? null : e.id, o = Ct({
- queryKey: GM(a ?? 0),
- queryFn: ({ signal: e }) => eN(a, e),
+ }), i = t && r.data || null, a = i ? lN(i, e.id) : t ? null : e.id, o = Ct({
+ queryKey: XM(a ?? 0),
+ queryFn: ({ signal: e }) => aN(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -69701,7 +69728,7 @@ function gEe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, O.jsx)(V2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ children: e ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: Wt(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -69711,9 +69738,9 @@ function gEe(e) {
})
});
}
- return /* @__PURE__ */ (0, O.jsx)(_Ee, {
+ return /* @__PURE__ */ (0, O.jsx)(EEe, {
...e,
- item: yse(o.data, i),
+ item: mse(o.data, i),
queue: i
}, o.data.id);
}
@@ -69726,23 +69753,23 @@ var V2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function _Ee(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = NEe(t, r, i.tagLabel), o = (0, D.useRef)(t);
+function EEe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = HEe(t, r, i.tagLabel), o = (0, D.useRef)(t);
(0, D.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, D.useEffect)(() => {
- n?.kind === "playlist" && V(qM, {
+ n?.kind === "playlist" && V(QM, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = Ase(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = aN(n, t.id);
+ let s = Tse(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = uN(n, t.id);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, O.jsx)(vEe, {
+ children: [/* @__PURE__ */ (0, O.jsx)(DEe, {
item: t,
gate: s,
helpers: i,
@@ -69755,7 +69782,7 @@ function _Ee(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, O.jsx)(CEe, {
+ }), /* @__PURE__ */ (0, O.jsx)(MEe, {
item: t,
queue: n,
write: a,
@@ -69764,13 +69791,13 @@ function _Ee(e) {
})]
}), /* @__PURE__ */ (0, O.jsx)(g2, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, O.jsx)(bEe, {
+ queue: n ? /* @__PURE__ */ (0, O.jsx)(kEe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(MEe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(VEe, {
...e,
item: n ? {
...t,
@@ -69779,7 +69806,7 @@ function _Ee(e) {
}) : null
})] });
}
-function vEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function DEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = Ct({
queryKey: A2(e.code || ""),
queryFn: ({ signal: t }) => {
@@ -69865,7 +69892,7 @@ function vEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
className: "relative block h-12 w-20 skeleton-sheen"
}) : /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(f.isFetching),
+ ...rB(f.isFetching),
title: f.data?.message || Wt(f.error),
"aria-label": "立即重试样图",
onClick: () => {
@@ -69874,7 +69901,7 @@ function vEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, O.jsx)(yEe, {
+ t === "offline" ? /* @__PURE__ */ (0, O.jsx)(OEe, {
item: e,
badge: y,
helpers: n,
@@ -69912,7 +69939,7 @@ function vEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
]
});
}
-function yEe({ item: e, badge: t, helpers: n, actions: r }) {
+function OEe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -69937,8 +69964,8 @@ function yEe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function bEe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Ese(e), a = (0, D.useRef)(null), o = SEe(e, t, r), s = (0, D.useRef)(o);
+function kEe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = xse(e), a = (0, D.useRef)(null), o = jEe(e, t, r), s = (0, D.useRef)(o);
s.current = o;
let c = (0, D.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -69946,7 +69973,7 @@ function bEe({ 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 = xEe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {
+ }, [n, e.kind]), l = AEe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -69965,7 +69992,7 @@ function bEe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, O.jsx)(hK, {
+ return /* @__PURE__ */ (0, O.jsx)(eq, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -69974,11 +70001,11 @@ function bEe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, O.jsx)("i", {
- className: `javedition ${wse[i.edition_label] || "censored"}`,
+ className: `javedition ${yse[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && rN(i);
- return /* @__PURE__ */ (0, O.jsxs)(gK, {
+ }) : null, s = e.kind === "playlist" && cN(i);
+ return /* @__PURE__ */ (0, O.jsxs)(tq, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -70017,14 +70044,14 @@ function bEe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? fN(i.part_label) : Qa(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? _N(i.part_label) : Qa(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function xEe(e, t) {
- let n = wt({ mutationFn: (t) => V(qM, {
+function AEe(e, t) {
+ let n = wt({ mutationFn: (t) => V(QM, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -70037,11 +70064,11 @@ function xEe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function SEe(e, t, n) {
- let r = KM({
+function jEe(e, t, n) {
+ let r = ZM({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (H.setQueryData(r, nN(e)), e), a = (t) => V(qM, {
+ }), i = (e) => (H.setQueryData(r, sN(e)), e), a = (t) => V(QM, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = wt({
@@ -70057,8 +70084,8 @@ function SEe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Ose(s, t, r, c);
- if (kse(l, s)) return;
+ let l = Cse(s, t, r, c);
+ if (wse(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -70100,7 +70127,7 @@ function SEe(e, t, n) {
}
};
}
-function CEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function MEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-stage-side": "",
@@ -70108,7 +70135,7 @@ function CEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, O.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(wEe, {
+ /* @__PURE__ */ (0, O.jsx)(NEe, {
item: e,
queue: t,
helpers: r,
@@ -70120,7 +70147,7 @@ function CEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, O.jsx)(EEe, {
+ /* @__PURE__ */ (0, O.jsx)(FEe, {
item: e,
write: n
}),
@@ -70155,24 +70182,24 @@ function CEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, O.jsx)(DEe, {
+ /* @__PURE__ */ (0, O.jsx)(IEe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, O.jsx)(OEe, {
+ /* @__PURE__ */ (0, O.jsx)(LEe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, O.jsx)(NK, {
- assetIds: MK([e], r.javImage()),
+ /* @__PURE__ */ (0, O.jsx)(vq, {
+ assetIds: _q([e], r.javImage()),
onComplete: () => {
- H.invalidateQueries({ queryKey: GM(e.id) });
+ H.invalidateQueries({ queryKey: XM(e.id) });
}
}),
- /* @__PURE__ */ (0, O.jsx)(AEe, { item: e }),
+ /* @__PURE__ */ (0, O.jsx)(zEe, { item: e }),
e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(F2, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-stage-actions": "",
@@ -70267,7 +70294,7 @@ function CEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, O.jsx)(jEe, {
+ /* @__PURE__ */ (0, O.jsx)(BEe, {
item: e,
open: s,
write: n
@@ -70291,8 +70318,8 @@ function CEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function wEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = O2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Dse(e, t);
+function NEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = O2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Sse(e, t);
return /* @__PURE__ */ (0, O.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, O.jsxs)("div", {
@@ -70319,23 +70346,23 @@ function wEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, O.jsx)(YH, {})
+ children: /* @__PURE__ */ (0, O.jsx)(nU, {})
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, O.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, O.jsx)(mEe, {
+ children: /* @__PURE__ */ (0, O.jsx)(CEe, {
code: e.cover_key || e.code || "",
coverUrl: ja(e),
box: e.poster_box || null,
onSaved: (t) => {
H.invalidateQueries({
- queryKey: GM(e.id),
+ queryKey: XM(e.id),
exact: !0
- }), VM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), KM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(TEe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(PEe, {
id: e.id,
actions: r,
onStatus: i
@@ -70345,7 +70372,7 @@ function wEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function TEe({ id: e, actions: t, onStatus: n }) {
+function PEe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, D.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -70378,15 +70405,15 @@ function TEe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "folder-sync" })
})] });
}
-function EEe({ item: e, write: t }) {
- let n = UM(e.rating);
+function FEe({ item: e, write: t }) {
+ let n = JM(e.rating);
return /* @__PURE__ */ (0, O.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": HM(e.rating),
- children: [/* @__PURE__ */ (0, O.jsx)(zY, {
+ "data-value": qM(e.rating),
+ children: [/* @__PURE__ */ (0, O.jsx)(eX, {
value: n,
onRate: (e) => t.rate(e),
busyStar: [
@@ -70400,12 +70427,12 @@ function EEe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, O.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: hse(e.rating)
+ children: use(e.rating)
})]
});
}
-function DEe({ item: e, actions: t }) {
- let n = (0, D.useMemo)(() => bse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function IEe({ item: e, actions: t }) {
+ let n = (0, D.useMemo)(() => hse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
return /* @__PURE__ */ (0, O.jsx)(E2, {
kind: e,
@@ -70451,7 +70478,7 @@ function DEe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: yz,
+ trailingIcon: Ez,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -70476,8 +70503,8 @@ function DEe({ item: e, actions: t }) {
})]
});
}
-function OEe({ item: e, write: t, helpers: n, actions: r }) {
- let i = xse(e, n);
+function LEe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = gse(e, n);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -70499,14 +70526,14 @@ function OEe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, O.jsx)(kEe, {
+ }, e.k)), /* @__PURE__ */ (0, O.jsx)(REe, {
item: e,
write: t,
helpers: n
})]
});
}
-function kEe({ item: e, write: t, helpers: n }) {
+function REe({ item: e, write: t, helpers: n }) {
let r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(-1), h = (0, D.useCallback)(() => {
i.current && To(i.current), c(!1);
}, []);
@@ -70520,7 +70547,7 @@ function kEe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Cse(d, n.tagCandidates(), dN()) : {
+ let g = s ? vse(d, n.tagCandidates(), gN()) : {
recent: [],
results: [],
create: ""
@@ -70543,12 +70570,12 @@ function kEe({ item: e, write: t, helpers: n }) {
} else if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && sN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && fN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, b = -1, x = (t) => {
b += 1;
- let r = b, i = sN(e, t.k);
+ let r = b, i = fN(e, t.k);
return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -70645,8 +70672,8 @@ function kEe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function AEe({ item: e }) {
- let t = jse(e);
+function zEe({ item: e }) {
+ let t = Ese(e);
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -70680,7 +70707,7 @@ function AEe({ item: e }) {
})]
});
}
-function jEe({ item: e, open: t, write: n }) {
+function BEe({ item: e, open: t, write: n }) {
let [r, i] = (0, D.useState)(e.like_reason || ""), a = (0, D.useRef)(null);
(0, D.useEffect)(() => {
t && a.current?.focus();
@@ -70719,10 +70746,10 @@ function jEe({ item: e, open: t, write: n }) {
})]
});
}
-function MEe(e) {
+function VEe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ct({
- queryKey: gse(t.id, n),
- queryFn: async ({ signal: e }) => (await B(vse(t.id, n), e)).items || []
+ queryKey: dse(t.id, n),
+ queryFn: async ({ signal: e }) => (await B(pse(t.id, n), e)).items || []
}), [o] = (0, D.useState)(() => r.relatedSkeletonHtml());
return /* @__PURE__ */ (0, O.jsx)(h2, {
wireDrag: r.wireDrag,
@@ -70732,7 +70759,7 @@ function MEe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, O.jsx)(KY, {
+ children: a.data ? /* @__PURE__ */ (0, O.jsx)(sX, {
mode: "items",
variant: "next",
items: a.data,
@@ -70748,8 +70775,8 @@ function MEe(e) {
}) : /* @__PURE__ */ (0, O.jsx)(z2, { html: o })
});
}
-function NEe(e, t, n) {
- let r = e.id, i = GM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {
+function HEe(e, t, n) {
+ let r = e.id, i = XM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => H.getQueryData(i) || e, p = (e) => {
@@ -70765,7 +70792,7 @@ function NEe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return BM(r, n), t;
+ return GM(r, n), t;
}, m = (e, t) => V(e, {
id: r,
...t
@@ -70780,7 +70807,7 @@ function NEe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(JM, t === void 0 ? { kind: e } : {
+ let n = await m($M, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -70800,21 +70827,21 @@ function NEe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = WM(n, e);
- await _("rate", r), t.toast(r ? `已评 ${UM(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = YM(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${JM(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(pN(e, r), { undo: async () => {
+ t.toast(vN(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => g("later", "更新稍后看", async () => {
- let e = await m(XM, {});
+ let e = await m(tN, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(XM, {})).watch_later });
+ p({ watch_later: (await m(tN, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -70824,9 +70851,9 @@ function NEe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(ZM, { wanted: !e.wanted });
+ }), r = await m(nN, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(ZM, e));
+ n(await m(nN, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -70840,7 +70867,7 @@ function NEe(e, t, n) {
});
u("保存中…");
try {
- o(await m(QM, {
+ o(await m(rN, {
liked: a,
reason: i
}));
@@ -70850,7 +70877,7 @@ function NEe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(QM, r));
+ o(await m(rN, r));
} });
});
},
@@ -70859,30 +70886,30 @@ function NEe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => cN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(YM, {
+ p((t) => pN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(eN, {
operation: "add",
tag: e.k
- }), p((t) => lN(t, e));
+ }), p((t) => mN(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(YM, {
+ let e = await m(eN, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- sN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => lN(e, {
+ fN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => mN(e, {
k: i,
cat: "general"
- })), Sse(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(YM, {
+ })), _se(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(eN, {
operation: "remove",
tag: i
- }), p((e) => cN(e, i));
+ }), p((e) => pN(e, i));
} }));
});
}
@@ -70890,7 +70917,7 @@ function NEe(e, t, n) {
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var H2 = "/api/downloads", U2 = ["downloads"], PEe = "/api/downloads/cancel", FEe = "/api/downloads/postprocess", W2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, IEe = {
+var H2 = "/api/downloads", U2 = ["downloads"], UEe = "/api/downloads/cancel", WEe = "/api/downloads/postprocess", W2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, GEe = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -70900,14 +70927,14 @@ var H2 = "/api/downloads", U2 = ["downloads"], PEe = "/api/downloads/cancel", FE
landed: "lime",
submitted: "neutral"
}, G2 = (e) => {
- let t = e.display_code || e.code || "", { title: n } = pF({
+ let t = e.display_code || e.code || "", { title: n } = vF({
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}`;
-}, K2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", LEe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function REe() {
+}, K2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", KEe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function qEe() {
let e = (0, D.useId)(), t = Tt({
queryKey: [...U2, "pages"],
initialPageParam: null,
@@ -70925,14 +70952,14 @@ function REe() {
className: "text-title-2-medium text-text-primary",
children: "云下载"
}),
- t.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ t.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: jn(t.error)
}) : null,
r.length ? /* @__PURE__ */ (0, O.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(zEe, {
+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(JEe, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -70940,9 +70967,9 @@ function REe() {
t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: yz,
+ leadingIcon: Ez,
className: "self-start",
- ...Xz(t.isFetchingNextPage),
+ ...rB(t.isFetchingNextPage),
onClick: () => {
t.isFetching || t.fetchNextPage();
},
@@ -70951,15 +70978,15 @@ function REe() {
]
});
}
-function zEe({ task: e, writable: t }) {
- let n = A(), r = BH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = K2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
+function JEe({ task: e, writable: t }) {
+ let n = A(), r = qH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = K2(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,
- BF(e.submitted_at)
+ UF(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
n.invalidateQueries({ queryKey: U2 });
}, g = () => {
- r.run("cancel", (t) => V(PEe, { id: e.id }, "POST", t), h);
+ r.run("cancel", (t) => V(UEe, { id: e.id }, "POST", t), h);
}, _ = () => {
let t = {
magnet: e.source_uri,
@@ -70973,12 +71000,12 @@ function zEe({ task: e, writable: t }) {
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
- r.run("postprocess", (t) => V(FEe, { id: e.id }, "POST", t), h);
+ r.run("postprocess", (t) => V(WEe, { id: e.id }, "POST", t), h);
};
return /* @__PURE__ */ (0, O.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: HH({
+ className: YH({
padding: "none",
bordered: "line",
className: p ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -70989,14 +71016,14 @@ function zEe({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(_A) },
+ style: { "--card-ratio": String(SA) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
u?.has_cover ? null : /* @__PURE__ */ (0, O.jsx)("span", {
"data-media-nopic": "",
children: "无封面"
}),
- u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(IW, {
+ u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(xG, {
artwork: {
kind: "cover",
html: Ua(u, "big")
@@ -71026,10 +71053,10 @@ function zEe({ task: e, writable: t }) {
}) : G2(e)
}), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(VZ, {
- color: IEe[e.state] ?? "neutral",
+ children: [/* @__PURE__ */ (0, O.jsx)(rQ, {
+ color: GEe[e.state] ?? "neutral",
children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(VZ, {
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(rQ, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
children: e.postprocess_label
}) : null]
@@ -71039,7 +71066,7 @@ function zEe({ task: e, writable: t }) {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "flex shrink-0",
- children: /* @__PURE__ */ (0, O.jsx)(sU, {
+ children: /* @__PURE__ */ (0, O.jsx)(BU, {
source: e.provider,
label: e.provider_label
})
@@ -71066,7 +71093,7 @@ function zEe({ task: e, writable: t }) {
children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]
})]
}) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(GH, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(QH, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -71076,7 +71103,7 @@ function zEe({ task: e, writable: t }) {
title: e.ledger_path,
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, O.jsx)(tU, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: r.error }) : null,
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-download-actions": "",
className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",
@@ -71101,21 +71128,21 @@ function zEe({ task: e, writable: t }) {
e.cancellable ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- ...Xz(r.busy === "cancel"),
+ ...rB(r.busy === "cancel"),
onClick: g,
children: "取消"
}) : null,
e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- ...Xz(r.busy === "resubmit"),
+ ...rB(r.busy === "resubmit"),
onClick: _,
children: "重新提交"
}) : null,
e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- ...Xz(r.busy === "postprocess"),
+ ...rB(r.busy === "postprocess"),
onClick: y,
children: "重试入库后整理"
}) : null
@@ -71136,7 +71163,7 @@ function zEe({ task: e, writable: t }) {
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, O.jsx)("p", {
className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || LEe(e)
+ children: l || KEe(e)
})
}) : null
]
@@ -71147,18 +71174,18 @@ function zEe({ task: e, writable: t }) {
var q2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), J2 = (e, t) => !!q2(e) && q2(e) === q2(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function BEe({ className: e }) {
+function YEe({ className: e }) {
return /* @__PURE__ */ (0, O.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: ns("") }
});
}
-function VEe(e) {
+function XEe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => VEe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = BH(), b = (0, D.useRef)(null);
+function ZEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => XEe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = qH(), b = (0, D.useRef)(null);
(0, D.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -71195,18 +71222,18 @@ function HEe({ 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, O.jsxs)(eU, { children: [
+ t ? /* @__PURE__ */ (0, O.jsxs)(NU, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? BEe : Nz,
+ leadingIcon: y.busy ? YEe : Bz,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -71216,7 +71243,7 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, O.jsx)(nU, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(SU, {
+ children: [/* @__PURE__ */ (0, O.jsx)(FU, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(tW, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -71224,15 +71251,15 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, O.jsx)(CU, {
+ /* @__PURE__ */ (0, O.jsx)(nW, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, O.jsx)(CU, {
+ /* @__PURE__ */ (0, O.jsx)(nW, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, O.jsx)(CU, {
+ /* @__PURE__ */ (0, O.jsx)(nW, {
id: "uncensored",
children: "无码"
})
@@ -71241,32 +71268,32 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, O.jsx)(Hz, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Yz, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, O.jsx)(Hz, {
+ }), /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, O.jsx)(eU, {
+ y.busy ? /* @__PURE__ */ (0, O.jsx)(NU, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, O.jsx)(tU, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, O.jsx)(eU, {
+ y.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, O.jsx)(NU, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(eU, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(NU, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(eU, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(NU, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
@@ -71276,7 +71303,7 @@ function HEe({ 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, O.jsx)(eU, { children: [
+ /* @__PURE__ */ (0, O.jsx)(NU, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -71301,19 +71328,19 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var UEe = {
+var QEe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
function Y2({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, O.jsx)(Uz, {
+ return /* @__PURE__ */ (0, O.jsx)(Xz, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, O.jsx)(WEe, {
+ children: e ? /* @__PURE__ */ (0, O.jsx)($Ee, {
prefill: e,
close: t,
receipt: n,
@@ -71321,26 +71348,26 @@ function Y2({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function WEe({ prefill: e, close: t, receipt: n, provider: r }) {
+function $Ee({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Ct({
queryKey: U2,
queryFn: ({ signal: e }) => B(`${H2}?limit=50`, e),
refetchInterval: (e) => W2(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, O.jsx)(FI, {
+ children: [/* @__PURE__ */ (0, O.jsx)(RI, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, O.jsx)(q, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Sz,
+ leadingIcon: kz,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, O.jsx)(GEe, {
+ return a ? /* @__PURE__ */ (0, O.jsx)(eDe, {
header: o,
snapshot: a,
prefill: e,
@@ -71353,7 +71380,7 @@ function WEe({ prefill: e, close: t, receipt: n, provider: r }) {
o,
/* @__PURE__ */ (0, O.jsx)("div", {
className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",
- children: i.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: i.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: jn(i.error)
}) : null
@@ -71369,8 +71396,8 @@ function WEe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = BH(), C = (0, D.useRef)(null), w = (e) => {
+function eDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = qH(), C = (0, D.useRef)(null), w = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, O.jsxs)("form", {
@@ -71388,7 +71415,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
};
b(""), S.run("submit", (e) => V(H2, t, "POST", e), (e) => {
o.invalidateQueries({ queryKey: U2 });
- let t = UEe[e.outcome];
+ let t = QEe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
@@ -71417,7 +71444,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, O.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, O.jsx)(eU, { children: [
+ }), _ ? /* @__PURE__ */ (0, O.jsx)(NU, { children: [
_.performers,
_.studio,
_.release_date,
@@ -71425,7 +71452,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, O.jsx)(HEe, {
+ /* @__PURE__ */ (0, O.jsx)(ZEe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
@@ -71440,7 +71467,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
f(e), m(t), C.current?.focus();
}
}),
- /* @__PURE__ */ (0, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
ref: C,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -71452,38 +71479,38 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, O.jsx)(nU, { children: "下载到" }),
- /* @__PURE__ */ (0, O.jsx)(SU, {
+ /* @__PURE__ */ (0, O.jsx)(FU, { children: "下载到" }),
+ /* @__PURE__ */ (0, O.jsx)(tW, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(CU, {
+ children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, O.jsx)(sU, {
+ children: /* @__PURE__ */ (0, O.jsx)(BU, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, O.jsx)(eU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, O.jsx)(NU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
- t.available ? null : /* @__PURE__ */ (0, O.jsx)(Gz, {
+ t.available ? null : /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
children: "云下载只在允许修改数据库的设备上可用。"
}),
- s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Gz, {
+ s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Qz, {
tone: "neutral",
children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, O.jsx)("a", {
href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, O.jsx)(Hz, {
+ /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -71491,7 +71518,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, O.jsx)(Hz, {
+ n.code ? null : /* @__PURE__ */ (0, O.jsx)(Yz, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -71501,7 +71528,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
m(e), J2(e, _?.code) || v(null);
}
}),
- y || S.error ? /* @__PURE__ */ (0, O.jsx)(tU, { children: y || S.error }) : null
+ y || S.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: y || S.error }) : null
]
}),
/* @__PURE__ */ (0, O.jsxs)("div", {
@@ -71513,7 +71540,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}), /* @__PURE__ */ (0, O.jsx)(q, {
type: "submit",
disabled: !d.trim() || !x,
- ...Xz(S.busy === "submit"),
+ ...rB(S.busy === "submit"),
children: "提交下载"
})]
})
@@ -71534,12 +71561,12 @@ function Q2(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function KEe(e, t = Date.now()) {
+function tDe(e, t = Date.now()) {
let n = Q2(e);
return n !== void 0 && Z2(t) > n ? Infinity : X2;
}
function $2(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : KEe(t, n) === Infinity ? Z2(e) > Q2(t) : n - e < X2;
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : tDe(t, n) === Infinity ? Z2(e) > Q2(t) : n - e < X2;
}
//#endregion
//#region src/react/wants/resource-cache.ts
@@ -71562,11 +71589,11 @@ function r4() {
return [];
}
}
-function qEe(e, t) {
+function nDe(e, t) {
let n = r4().find((t) => t.code === e);
return n && $2(n.saved, t) ? n : void 0;
}
-function JEe(e) {
+function rDe(e) {
let t = new Map(r4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
@@ -71575,7 +71602,7 @@ function JEe(e) {
}
return n;
}
-function YEe(e, t) {
+function iDe(e, t) {
if (t.state === "ready" && t4(t)) try {
let n = r4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
localStorage.setItem(e4, JSON.stringify([{
@@ -71587,11 +71614,11 @@ function YEe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function XEe(e) {
+function aDe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? vn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function ZEe(e) {
+function oDe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
@@ -71607,7 +71634,7 @@ function i4({ icon: e, children: t, title: n }) {
});
}
function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = BH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => qEe(h, e.release_date), [h, e.release_date]);
+ let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = qH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => nDe(h, e.release_date), [h, e.release_date]);
(0, D.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -71627,7 +71654,7 @@ function a4({ 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", YEe(h, i), i;
+ return m.current = n && i.state === "busy", iDe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
@@ -71642,7 +71669,7 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
(0, D.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, D.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && oCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && OCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -71679,39 +71706,39 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Mz,
- ...Xz(x),
+ leadingIcon: zz,
+ ...rB(x),
onClick: () => {
x || (m.current = !0, _.refetch());
},
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, O.jsx)(UH, { label: "正在查找资源链接" }) : null,
- S ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ x ? /* @__PURE__ */ (0, O.jsx)(XH, { label: "正在查找资源链接" }) : null,
+ S ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
title: "资源链接未取得",
children: S
}) : null,
- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Gz, {
+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
- children: ZEe(e)
+ children: oDe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(cI, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(dI, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: Cz,
+ trailingIcon: Az,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
children: "查看来源页"
}) : null,
- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
children: "暂未找到资源链接。"
}) : null,
- f.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ f.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
title: "操作未完成",
children: f.error
@@ -71726,7 +71753,7 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, O.jsx)(VZ, {
+ children: [/* @__PURE__ */ (0, O.jsx)(rQ, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -71741,25 +71768,25 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, O.jsx)(i4, {
- icon: mfe,
+ icon: sfe,
children: e.source
}),
/* @__PURE__ */ (0, O.jsx)(i4, {
- icon: Dz,
+ icon: Pz,
title: `来源大小:${e.size}`,
- children: XEe(e.size)
+ children: aDe(e.size)
}),
e.files ? /* @__PURE__ */ (0, O.jsx)(i4, {
- icon: afe,
+ icon: Qde,
children: e.files.replaceAll("個", "个")
}) : null,
/* @__PURE__ */ (0, O.jsx)(i4, {
- icon: Gde,
+ icon: Rde,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(i4, {
- icon: jz,
+ icon: Rz,
children: e
}, e))
]
@@ -71768,11 +71795,11 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-actions": "",
className: "flex flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, O.jsx)(cI, {
+ /* @__PURE__ */ (0, O.jsx)(dI, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: Cz,
+ trailingIcon: Az,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -71781,18 +71808,18 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: rfe,
- ...Xz(f.busy === `copy:${e.id}`),
+ leadingIcon: Xde,
+ ...rB(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
}),
e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "primary",
size: "small",
- leadingIcon: v ? oU(v.key) : Zde,
+ leadingIcon: v ? zU(v.key) : Wde,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
- ...Xz(f.busy === e.id),
+ ...rB(f.busy === e.id),
onClick: () => y(e),
children: r ? "已添加" : "添加下载"
}) : null
@@ -71803,7 +71830,7 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(rU, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(IU, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -71827,7 +71854,7 @@ function s4() {
return [];
}
}
-function QEe(e, t) {
+function sDe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
@@ -71837,7 +71864,7 @@ function QEe(e, t) {
i.length <= 2e6 && localStorage.setItem(o4, i);
} catch {}
}
-function $Ee(e, t) {
+function cDe(e, t) {
let n = s4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
@@ -71849,12 +71876,12 @@ function $Ee(e, t) {
saved: i
} : void 0;
}
-function eDe(e, t, n) {
+function lDe(e, t, n) {
return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && $2(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function tDe(e) {
+function uDe(e) {
let t = (0, D.useRef)(!1), n = Ct({
queryKey: A2(e.code),
queryFn: ({ signal: n }) => {
@@ -71869,14 +71896,14 @@ function tDe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, O.jsx)(nDe, {
+ children: n.data ? /* @__PURE__ */ (0, O.jsx)(dDe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, O.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, O.jsx)(c4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(FW, {
+ children: [/* @__PURE__ */ (0, O.jsx)(c4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(bG, {
message: jn(n.error),
onRetry: r
}) : null]
@@ -71892,7 +71919,7 @@ var c4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function dDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, D.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, D.useEffect)(() => {
@@ -71912,13 +71939,13 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = BH(), m = () => {
- p.run("want", async (e) => d ? (await K$([d], e), null) : (await G$({ code: t.code }, e)).want.id, (t) => {
+ ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = qH(), m = () => {
+ p.run("want", async (e) => d ? (await c1([d], e), null) : (await s1({ code: t.code }, e)).want.id, (t) => {
f(t), H.setQueryData(A2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), q$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), l1(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
@@ -71935,7 +71962,7 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
onClick: () => s(o === -2 ? -1 : -2),
children: [/* @__PURE__ */ (0, O.jsx)(l4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(aDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(GQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(mDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(s$, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
@@ -71944,7 +71971,7 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(GQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(s$, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -71958,7 +71985,7 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, O.jsx)(rDe, { item: t }),
+ /* @__PURE__ */ (0, O.jsx)(fDe, { item: t }),
Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(d4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, O.jsxs)("div", {
className: "mono",
@@ -71974,7 +72001,7 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, O.jsx)(iDe, {
+ /* @__PURE__ */ (0, O.jsx)(pDe, {
item: t,
navigate: n.navigate
}),
@@ -72013,11 +72040,11 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-summary": "",
children: t.summary
}) : null,
- t.message ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ t.message ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(a),
+ ...rB(a),
onClick: i,
children: "立即重试"
}),
@@ -72026,10 +72053,10 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
/* @__PURE__ */ (0, O.jsxs)("div", {
"data-jav-actions": "",
children: [
- t.source_url ? /* @__PURE__ */ (0, O.jsx)(cI, {
+ t.source_url ? /* @__PURE__ */ (0, O.jsx)(dI, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: Cz,
+ trailingIcon: Az,
href: t.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -72039,7 +72066,7 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
variant: "secondary",
disabled: r,
"aria-pressed": !!d,
- ...Xz(!!p.busy),
+ ...rB(!!p.busy),
onClick: m,
children: d ? "取消想要" : "想要"
}),
@@ -72057,16 +72084,16 @@ function nDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
})
]
}),
- p.error ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ p.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, O.jsx)(oDe, {
+ /* @__PURE__ */ (0, O.jsx)(hDe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, O.jsx)(sDe, {
+ /* @__PURE__ */ (0, O.jsx)(gDe, {
item: t,
actions: n,
readOnly: r
@@ -72090,7 +72117,7 @@ var l4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {
title: t,
children: [/* @__PURE__ */ (0, O.jsx)(l4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]
}) : null;
-function rDe({ item: e }) {
+function fDe({ item: e }) {
let { text: t, expanded: n, foldable: r, toggle: i } = O2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-item-title": "",
@@ -72118,7 +72145,7 @@ function rDe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, O.jsx)(YH, {})
+ children: /* @__PURE__ */ (0, O.jsx)(nU, {})
})
})]
});
@@ -72130,13 +72157,13 @@ function d4({ score: e, review: t = !1 }) {
"data-review-rating": t ? "" : void 0,
role: "img",
"aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,
- children: [/* @__PURE__ */ (0, O.jsx)(zY, { value: e }), /* @__PURE__ */ (0, O.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(eX, { value: e }), /* @__PURE__ */ (0, O.jsxs)("span", {
"data-rating-value": "",
children: [e.toFixed(1), " / 5"]
})]
});
}
-function iDe({ item: e, navigate: t }) {
+function pDe({ item: e, navigate: t }) {
let n = (e, n) => t(tn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -72152,7 +72179,7 @@ function iDe({ item: e, navigate: t }) {
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(KQ, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(c$, {
code: e.code,
person: r,
detail: !0
@@ -72178,18 +72205,18 @@ function iDe({ item: e, navigate: t }) {
})]
});
}
-function aDe({ src: e }) {
+function mDe({ src: e }) {
let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(0);
return (0, D.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), gM(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), bM(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
}, [e, i]), /* @__PURE__ */ (0, O.jsx)("div", {
ref: t,
"data-jav-video": "",
- children: n ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ children: n ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
@@ -72202,8 +72229,8 @@ function aDe({ src: e }) {
}) : null
});
}
-function oDe({ code: e, count: t, released: n }) {
- let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => $Ee(e, n), [e, n]), s = (0, D.useRef)(!1), c = Tt({
+function hDe({ code: e, count: t, released: n }) {
+ let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => cDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = Tt({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -72212,12 +72239,12 @@ function oDe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => eDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => lDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await sEe(e, n, t, s.current);
- if (QEe(e, i), !i.ok || i.cache_stale) {
+ let i = await gEe(e, n, t, s.current);
+ if (sDe(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,
@@ -72227,7 +72254,7 @@ function oDe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: cEe
+ getNextPageParam: _Ee
});
(0, D.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -72235,10 +72262,10 @@ function oDe({ 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 ? jn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, O.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, O.jsxs)(rU, {
+ children: /* @__PURE__ */ (0, O.jsxs)(IU, {
trailing: !0,
summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(Kde, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, O.jsx)(zde, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -72287,24 +72314,24 @@ function oDe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, O.jsx)("p", { children: e.content })]
}, e.id)),
- d ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ d ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
action: /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(c.isFetching),
+ ...rB(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
children: "立即重试"
}),
children: d
- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Gz, {
+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Qz, {
tone: "neutral",
children: "暂无评论"
}) : null,
!d && l.length ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(c.isFetching),
+ ...rB(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
@@ -72312,13 +72339,13 @@ function oDe({ code: e, count: t, released: n }) {
}) : null,
c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {
variant: "secondary",
- ...Xz(c.isFetchingNextPage),
+ ...rB(c.isFetchingNextPage),
onClick: () => {
c.isFetchingNextPage || c.fetchNextPage();
},
children: "更多评论"
}) : null,
- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Gz, {
+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Qz, {
tone: "neutral",
children: [
"已显示 ",
@@ -72330,7 +72357,7 @@ function oDe({ code: e, count: t, released: n }) {
})
});
}
-function sDe({ item: e, actions: t, readOnly: n }) {
+function gDe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, D.useState)(!1), a = Ct({
queryKey: U2,
enabled: r,
@@ -72338,7 +72365,7 @@ function sDe({ item: e, actions: t, readOnly: n }) {
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, D.useState)(!1);
return /* @__PURE__ */ (0, O.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, O.jsx)(rU, {
+ children: /* @__PURE__ */ (0, O.jsx)(IU, {
trailing: !0,
summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(l4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
@@ -72363,16 +72390,16 @@ function sDe({ item: e, actions: t, readOnly: n }) {
//#endregion
//#region src/react/stage/stage-player.ts
var f4 = null, p4 = null, m4 = null, h4 = null, g4 = null, _4 = !1, v4 = 0, y4 = null, b4 = () => !1, x4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function cDe(e, t) {
- f4 = e, b4 = () => t.isOpen(), y4 = () => t.requestClose(), Foe({
+function _De(e, t) {
+ f4 = e, b4 = () => t.isOpen(), y4 = () => t.requestClose(), joe({
...e.player,
stage: () => document.getElementById("stage")
- }), Ioe({
+ }), Moe({
inMiniplayer: (e) => p4?.player === e,
kind: (e) => p4?.player === e ? p4.kind : m4?.kind ?? h4?.kind ?? "item",
expand: () => V4(),
toMiniplayer: () => H4()
- }), S4 || (S4 = !0, addEventListener("pagehide", () => eM()));
+ }), S4 || (S4 = !0, addEventListener("pagehide", () => iM()));
}
var S4 = !1;
function C4() {
@@ -72382,10 +72409,10 @@ function C4() {
function w4(e) {
h4 = e;
}
-var lDe = () => h4;
+var vDe = () => h4;
function T4(e, t) {
let { kind: n, item: r, media: i = null } = t, a = x4(n, r.id, i?.index ?? null);
- if (p4 && p4.key === a) return dDe(e, p4);
+ if (p4 && p4.key === a) return bDe(e, p4);
p4 && B4();
let o = {
player: null,
@@ -72397,7 +72424,7 @@ function T4(e, t) {
m4 = 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 = pM(s, {
+ let c = _M(s, {
kind: n,
item: r,
media: i,
@@ -72410,10 +72437,10 @@ function T4(e, t) {
});
return () => {
let e = !!o.player && p4?.player === o.player;
- m4 === o && (m4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), eM());
+ m4 === o && (m4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), iM());
};
}
-async function uDe(e, t, n) {
+async function yDe(e, t, n) {
let r = await R(`/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("这条作品没有可播放的视频");
@@ -72437,9 +72464,9 @@ async function uDe(e, t, n) {
s || (s = !0, e && h4 === a && D4(!0), o(), h4 === a && w4(null));
};
}
-function dDe(e, t) {
+function bDe(e, t) {
let { player: n } = t;
- R4(t), p4 = null, z4(), n.el().classList.remove("vjs-peach-mini"), dM(e), e.append(n.el()), cj(n);
+ R4(t), p4 = null, z4(), n.el().classList.remove("vjs-peach-mini"), hM(e), e.append(n.el()), fj(n);
let r = {
player: n,
kind: t.kind,
@@ -72448,9 +72475,9 @@ function dDe(e, t) {
key: t.key
};
m4 = r;
- let i = fM(n, e);
- return lj(n), () => {
- m4 === r && (m4 = null), i(), p4?.player !== n && (sj() === n && cj(null), Gj(n), eM());
+ let i = gM(n, e);
+ return pj(n), () => {
+ m4 === r && (m4 = null), i(), p4?.player !== n && (dj() === n && fj(null), Yj(n), iM());
};
}
var E4 = () => {
@@ -72463,7 +72490,7 @@ function D4(e) {
let n = m4, r = n?.player, i = h4;
if (!n || !r || r.isDisposed() || !i || !g4) return;
let a = C4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && hDe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && wDe({
player: r,
kind: n.kind,
item: n.item,
@@ -72478,11 +72505,11 @@ function k4(e) {
g4 = e, g4 && I4();
}
var A4 = () => !!p4 && !p4.pending && !p4.player.isDisposed();
-function fDe() {
+function xDe() {
return A4() ? g4?.frame.querySelector("video") ?? null : null;
}
-function pDe() {
- return b4() ? document.getElementById("stage")?.querySelector("video") ?? null : E4()?.el().querySelector("video") ?? fDe();
+function SDe() {
+ return b4() ? document.getElementById("stage")?.querySelector("video") ?? null : E4()?.el().querySelector("video") ?? xDe();
}
function j4(e) {
g4 && (g4.title.textContent = e.title || "", g4.sub.textContent = e.sub || "", g4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -72531,7 +72558,7 @@ function L4(e) {
function R4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function mDe() {
+function CDe() {
let e = g4?.root;
if (!e) return;
let t = e.hidden;
@@ -72552,7 +72579,7 @@ function z4() {
e.style.transform = "";
}
}
-function hDe(e, t) {
+function wDe(e, t) {
if (!g4) return;
let n = {
...e,
@@ -72560,13 +72587,13 @@ function hDe(e, t) {
off: [],
pending: !1
};
- p4 = n, v4++, e.player.el().classList.add("vjs-peach-mini"), g4.frame.prepend(e.player.el()), j4(t), L4(n), mDe(), lj(e.player);
+ p4 = n, v4++, e.player.el().classList.add("vjs-peach-mini"), g4.frame.prepend(e.player.el()), j4(t), L4(n), CDe(), pj(e.player);
}
function B4() {
let e = p4;
e && R4(e), p4 = null, v4++;
let t = e?.player ?? null;
- t && sj() === t && cj(null), Gj(t), t && eM(), g4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), aj(), z4();
+ t && dj() === t && fj(null), Yj(t), t && iM(), g4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), lj(), z4();
}
function V4() {
if (!A4() || !p4) return;
@@ -72576,7 +72603,7 @@ function V4() {
function H4() {
A4() && !b4() ? V4() : b4() && E4() && y4 && (_4 = !0, y4());
}
-function gDe() {
+function TDe() {
let e = p4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -72589,7 +72616,7 @@ function U4(e) {
function W4(e) {
return !(!A4() || !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 || C4().sourceOffline(String(e.root_id || e.location || "")));
}
-async function _De(e) {
+async function EDe(e) {
if (!A4() || !p4 || !g4) return;
let t = ++v4, n = await R(`/api/item?id=${e}`).catch(() => null);
if (t !== v4 || !A4() || !p4 || !g4 || !n || n.error) return;
@@ -72598,7 +72625,7 @@ async function _De(e) {
return;
}
let r = p4;
- R4(r), sj() === r.player && cj(null), Gj(r.player), eM(), g4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ R4(r), dj() === r.player && fj(null), Yj(r.player), iM(), g4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", g4.frame.prepend(i);
let a = {
@@ -72607,14 +72634,14 @@ async function _De(e) {
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- j4(a), pM(i, {
+ j4(a), _M(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
if (t !== v4) {
- r && sj() === r && cj(null), Gj(r);
+ r && dj() === r && fj(null), Yj(r);
return;
}
if (!r) {
@@ -72642,9 +72669,9 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
-}), vDe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, K4 = (e) => (t) => {
+}), DDe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, K4 = (e) => (t) => {
t.stopPropagation(), e();
-}, yDe = (0, D.memo)(function() {
+}, ODe = (0, D.memo)(function() {
let e = (0, D.useRef)(null), t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null);
return (0, D.useLayoutEffect)(() => (k4({
root: e.current,
@@ -72656,7 +72683,7 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => k4(null)), []), (0, D.useEffect)(() => xDe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {
+ }), () => k4(null)), []), (0, D.useEffect)(() => ADe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -72706,8 +72733,8 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: K4(gDe),
- dangerouslySetInnerHTML: vDe
+ onClick: K4(TDe),
+ dangerouslySetInnerHTML: DDe
}),
/* @__PURE__ */ (0, O.jsx)("button", {
ref: o,
@@ -72746,7 +72773,7 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {
})
});
});
-function bDe(e, t, n) {
+function kDe(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
@@ -72768,7 +72795,7 @@ function bDe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function xDe(e, t) {
+function ADe(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 = {
@@ -72794,7 +72821,7 @@ function xDe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), bDe(e, i.dx, i.dy));
+ }, 0), kDe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -72814,25 +72841,25 @@ function t3() {
if (!q4) throw Error("舞台还没有接上宿主(configureStage)");
return q4;
}
-function SDe(e) {
+function jDe(e) {
return Y4.add(e), () => {
Y4.delete(e);
};
}
-function CDe() {
+function MDe() {
for (let e of [...Y4]) e();
}
function n3() {
- (0, Et.flushSync)(CDe);
+ (0, Et.flushSync)(MDe);
}
-function wDe({ view: e }) {
- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(TDe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(yDe, {})] });
+function NDe({ view: e }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(PDe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(ODe, {})] });
}
var r3 = () => /* @__PURE__ */ (0, O.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: wTe() }
+ dangerouslySetInnerHTML: { __html: NTe() }
});
function i3(e) {
let t = e.currentTarget;
@@ -72840,7 +72867,7 @@ function i3(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function TDe({ view: e }) {
+function PDe({ view: e }) {
let t = (0, D.useRef)(null);
(0, D.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
@@ -72848,7 +72875,7 @@ function TDe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(gEe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(tDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(ZTe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(TEe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(uDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(oEe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, O.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -72875,7 +72902,7 @@ function TDe({ view: e }) {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, O.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, O.jsx)(TT, {
+ children: /* @__PURE__ */ (0, O.jsx)(jT, {
getContainer: () => e2(t.current),
children: i
})
@@ -72968,7 +72995,7 @@ function s3(e) {
}
};
}
-function EDe(e, t) {
+function FDe(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 = () => {
@@ -72985,10 +73012,10 @@ function c3(e) {
let t = e3();
return !J4 || J4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function DDe(e) {
+async function IDe(e) {
let t = c3(e.kind);
if (t) {
- await kDe(e, t);
+ await RDe(e, t);
return;
}
J4 && l3({ miniplayer: !1 });
@@ -73001,12 +73028,12 @@ async function DDe(e) {
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? oN(i.props, r.signal) : i.kind === "jav" ? M2(i.props, r.signal) : a2(i.props, r.signal);
+ let a = i.kind === "item" ? dN(i.props, r.signal) : i.kind === "jav" ? M2(i.props, r.signal) : a2(i.props, r.signal);
if (n !== X4 || J4?.request !== e) {
await a.catch(() => {});
return;
}
- let o = ODe(i);
+ let o = LDe(i);
J4 = {
...J4,
phase: o ? "content" : "skeleton"
@@ -73027,31 +73054,31 @@ async function DDe(e) {
J4 = {
...J4,
phase: c ? "content" : "reveal"
- }, n3(), c || EDe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, n3(), c || FDe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();
}
-function ODe(e) {
+function LDe(e) {
if (e.kind === "jav") return !!H.getQueryData(A2(e.props.code));
if (e.kind === "follow") return !!H.getQueryData(n2(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(KM(t)) : null;
+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(ZM(t)) : null;
if (t && !r) return !1;
- let i = r ? iN(r, n) : n;
- return i != null && !!H.getQueryData(GM(i));
+ let i = r ? lN(r, n) : n;
+ return i != null && !!H.getQueryData(XM(i));
}
-async function kDe(e, t) {
+async function RDe(e, t) {
let n = ++X4;
Z4?.abort();
let r = new AbortController();
Z4 = r, $4 = !1;
let i = s3(e);
try {
- i.kind === "item" ? await oN(i.props, r.signal) : i.kind === "jav" ? await M2(i.props, r.signal) : await a2(i.props, r.signal);
+ i.kind === "item" ? await dN(i.props, r.signal) : i.kind === "jav" ? await M2(i.props, r.signal) : await a2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
if (n !== X4 || !J4 || c3(e.kind) !== t) return;
- e.kind === "jav" ? B4() : O4(e.kind, e.id ?? NaN), cl(t), aj(), J4 = {
+ e.kind === "jav" ? B4() : O4(e.kind, e.id ?? NaN), cl(t), lj(), J4 = {
...J4,
request: e,
content: i,
@@ -73060,7 +73087,7 @@ async function kDe(e, t) {
let a = document.activeElement;
(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function ADe() {
+function zDe() {
t2(null);
let e = e3();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
@@ -73075,9 +73102,9 @@ function ADe() {
function l3({ miniplayer: e = !0 } = {}) {
if (X4++, Z4?.abort(), Z4 = null, D4(e), !J4) return;
let t = e3();
- t && cl(t), aj(), t2(null), t?.open && t.close(), J4 = null, Q4 = !1, $4 = !1, n3(), w4(null), document.body.removeAttribute("data-detail-open");
+ t && cl(t), lj(), t2(null), t?.open && t.close(), J4 = null, Q4 = !1, $4 = !1, n3(), w4(null), document.body.removeAttribute("data-detail-open");
}
-function jDe(e) {
+function BDe(e) {
J4 && (J4 = {
...J4,
content: J4.content.kind === "item" ? {
@@ -73095,62 +73122,62 @@ function jDe(e) {
}
}, n3());
}
-function MDe() {
- let e = lDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, t3().player.settings().javImage) : "";
+function VDe() {
+ let e = vDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, t3().player.settings().javImage) : "";
if (!n) return;
let r = E4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var NDe = {
- open: DDe,
- update: jDe,
- exit: ADe,
+var HDe = {
+ open: IDe,
+ update: BDe,
+ exit: zDe,
dispose: l3,
requestClose: a3,
- repaintPoster: MDe,
+ repaintPoster: VDe,
isOpen: () => !!J4,
showing: () => J4 && c3(J4.content.kind) ? J4.content.kind : null,
- activeVideo: () => pDe(),
- mountWallPlayer: uDe,
+ activeVideo: () => SDe(),
+ mountWallPlayer: yDe,
toggleTheater: () => {
- J4 && Mj(!t3().player.settings().theaterMode);
+ J4 && Ij(!t3().player.settings().theaterMode);
},
toggleMiniplayer: () => H4(),
closeMiniplayer: () => B4(),
miniplayerActive: () => A4(),
miniplayerTakesCard: (e) => W4(e),
miniplayerPlay: (e) => {
- _De(e);
+ EDe(e);
}
};
-function PDe(e) {
- return q4 = e, cDe(e, {
+function UDe(e) {
+ return q4 = e, _De(e, {
isOpen: () => !!J4,
requestClose: a3
- }), NDe;
+ }), HDe;
}
-function FDe() {
- let e = (0, D.useSyncExternalStore)(SDe, () => J4);
- return q4 ? /* @__PURE__ */ (0, O.jsx)(wDe, { view: e }) : null;
+function WDe() {
+ let e = (0, D.useSyncExternalStore)(jDe, () => J4);
+ return q4 ? /* @__PURE__ */ (0, O.jsx)(NDe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var IDe = "/api/stats", u3 = ["stats"], d3 = (e) => B(IDe, e);
-async function LDe(e) {
+var GDe = "/api/stats", u3 = ["stats"], d3 = (e) => B(GDe, e);
+async function KDe(e) {
await H.fetchQuery({
queryKey: u3,
queryFn: () => d3(e)
});
}
-var f3 = (e) => e != null && Number.isFinite(e), RDe = (e) => f3(e) ? e.toLocaleString() : "未取得", zDe = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, BDe = (e, t) => {
- let n = zDe(e, t);
+var f3 = (e) => e != null && Number.isFinite(e), qDe = (e) => f3(e) ? e.toLocaleString() : "未取得", JDe = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, YDe = (e, t) => {
+ let n = JDe(e, t);
return !n && f3(e) && e > 0 && f3(t) && t > 0 ? "<1%" : `${n}%`;
}, p3 = (e) => {
if (!f3(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, VDe = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", HDe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function UDe(e, t = 6) {
+}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, XDe = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ZDe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function QDe(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);
@@ -73160,7 +73187,7 @@ function UDe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var WDe = (e) => Math.max(1, ...e) * 1.1, GDe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, KDe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), qDe = {
+var $De = (e) => Math.max(1, ...e) * 1.1, eOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, tOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), nOe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -73168,10 +73195,10 @@ var WDe = (e) => Math.max(1, ...e) * 1.1, GDe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, JDe = (e) => e.map((e) => ({
- name: qDe[e.k] ?? e.k,
+}, rOe = (e) => e.map((e) => ({
+ name: nOe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), YDe = {
+})).sort((e, t) => t.value - e.value), iOe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
@@ -73179,7 +73206,7 @@ var WDe = (e) => Math.max(1, ...e) * 1.1, GDe = (e, t) => e > 0 ? Math.max(e, t
}, g3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), XDe = (e) => g3(e, YDe), ZDe = [
+})), aOe = (e) => g3(e, iOe), oOe = [
[
1,
1,
@@ -73215,7 +73242,7 @@ var WDe = (e) => Math.max(1, ...e) * 1.1, GDe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], QDe = (e) => ZDe.map(([t, n, r]) => ({
+], sOe = (e) => oOe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
}));
@@ -73254,7 +73281,7 @@ function y3(e, t) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function $De(e, t) {
+function cOe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -73278,13 +73305,13 @@ function C3(e, t) {
function w3(e) {
return e.value;
}
-function eOe(e) {
+function lOe(e) {
return e.index;
}
-function tOe(e) {
+function uOe(e) {
return e.nodes;
}
-function nOe(e) {
+function dOe(e) {
return e.links;
}
function T3(e, t) {
@@ -73299,8 +73326,8 @@ function E3({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function rOe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = eOe, c = $De, l, u, d = tOe, f = nOe, p = 6;
+function fOe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = lOe, c = cOe, l, u, d = uOe, f = dOe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -73486,7 +73513,7 @@ function rOe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, iOe = O3 - k3;
+var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, pOe = O3 - k3;
function A3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -73527,7 +73554,7 @@ A3.prototype = j3.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > iOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > pOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
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";
@@ -73545,27 +73572,27 @@ function M3(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function aOe(e) {
+function mOe(e) {
return e[0];
}
-function oOe(e) {
+function hOe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var sOe = Array.prototype.slice;
+var gOe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function cOe(e) {
+function _Oe(e) {
return e.source;
}
-function lOe(e) {
+function vOe(e) {
return e.target;
}
-function uOe(e) {
- var t = cOe, n = lOe, r = aOe, i = oOe, a = null;
+function yOe(e) {
+ var t = _Oe, n = vOe, r = mOe, i = hOe, a = null;
function o() {
- var o, s = sOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = gOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = j3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
@@ -73580,56 +73607,56 @@ function uOe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function dOe(e, t, n, r, i) {
+function bOe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function fOe() {
- return uOe(dOe);
+function xOe() {
+ return yOe(bOe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function pOe(e) {
+function SOe(e) {
return [e.source.x1, e.y0];
}
-function mOe(e) {
+function COe(e) {
return [e.target.x0, e.y1];
}
-function hOe() {
- return fOe().source(pOe).target(mOe);
+function wOe() {
+ return xOe().source(SOe).target(COe);
}
//#endregion
//#region src/react/taste/taste.ts
-var gOe = "/api/taste", N3 = "/api/taste/refresh", _Oe = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], vOe = ["taste", "refresh"], yOe = [
+var TOe = "/api/taste", N3 = "/api/taste/refresh", EOe = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], DOe = ["taste", "refresh"], OOe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], bOe = 2e3, xOe = (e) => e?.stale ? bOe : !1, SOe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], kOe = 2e3, AOe = (e) => e?.stale ? kOe : !1, jOe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", COe = (e, t) => V(P3, {
+}) : "—", MOe = (e, t) => V(P3, {
...e,
window: t
-}), I3 = (e, t) => B(`${gOe}?window=${e}`, t), wOe = (e) => B(N3, e);
-async function TOe(e, t) {
+}), I3 = (e, t) => B(`${TOe}?window=${e}`, t), NOe = (e) => B(N3, e);
+async function POe(e, t) {
await H.fetchQuery({
queryKey: F3(e),
queryFn: () => I3(e, t)
});
}
-var EOe = (e) => V(N3, {
+var FOe = (e) => V(N3, {
window: e,
background: !0
-}), DOe = (e, t) => V(P3, {
+}), IOe = (e, t) => V(P3, {
operation: "remove",
source_key: e,
window: t
});
-async function OOe(e) {
- let t = await fetch(_Oe, {
+async function LOe(e) {
+ let t = await fetch(EOe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -73647,8 +73674,8 @@ async function OOe(e) {
}
return n;
}
-var kOe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function AOe(e) {
+var ROe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function zOe(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", {
@@ -73657,31 +73684,31 @@ function AOe(e) {
}) : L3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var jOe = p3, MOe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), NOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function POe(e) {
+var BOe = p3, VOe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), HOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function UOe(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 FOe(e) {
- let t = e.map(NOe), n = Math.max(1, ...t);
+function WOe(e) {
+ let t = e.map(HOe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var R3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function IOe(e) {
+function GOe(e) {
let t = R3(e, 6);
return t.length < 3 ? [] : t;
}
var z3 = {
width: 720,
height: 435
-}, LOe = {
+}, KOe = {
source: 145,
target: 545
-}, B3 = 30, ROe = 240;
+}, B3 = 30, qOe = 240;
function V3(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
@@ -73689,7 +73716,7 @@ function V3(e, t, n) {
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 zOe(e = []) {
+function JOe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
@@ -73701,7 +73728,7 @@ function zOe(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * B3 + ROe), u = rOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * B3 + qOe), u = fOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -73716,7 +73743,7 @@ function zOe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = hOe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = wOe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -73747,13 +73774,13 @@ function zOe(e = []) {
height: l + z3.height - 404
};
}
-var BOe = (e) => Cn(e, 17), H3 = {
+var YOe = (e) => Cn(e, 17), H3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, VOe = [[
+}, XOe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -73761,7 +73788,7 @@ var BOe = (e) => Cn(e, 17), H3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], HOe = [[
+]], ZOe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -73769,7 +73796,7 @@ var BOe = (e) => Cn(e, 17), H3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], UOe = [[
+]], QOe = [[
"studios",
"厂牌",
"clapperboard"
@@ -73777,7 +73804,7 @@ var BOe = (e) => Cn(e, 17), H3 = {
"agencies",
"事务所",
"briefcase"
-]], WOe = [[
+]], $Oe = [[
"local",
"本地",
"hard-drive"
@@ -73785,7 +73812,7 @@ var BOe = (e) => Cn(e, 17), H3 = {
"online",
"在线",
"rss"
-]], GOe = [
+]], eke = [
[
"performers",
"艺人",
@@ -73801,7 +73828,7 @@ var BOe = (e) => Cn(e, 17), H3 = {
"在线",
"rss"
]
-], KOe = [[
+], tke = [[
"cloud",
"标签云",
"tags"
@@ -73828,12 +73855,12 @@ var G3 = (e, t, n) => as(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), qOe = (e) => `<div class="board-filter-frame" data-filter-frame>
+}), nke = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${dc("tag-view", "标签视图", KOe, e)}</div></div>`;
-function JOe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? HOe : VOe, a) : "";
+ ${dc("tag-view", "标签视图", tke, e)}</div></div>`;
+function rke({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? ZOe : XOe, 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}
@@ -73845,27 +73872,27 @@ function JOe({ 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">${Uo("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? G3(WOe, n, "词表") : e === "performers" || e === "creators" ? G3(GOe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(UOe, e, "公司类型") : ""}
- ${e === "tags" ? qOe(r) : ""}
- ${e === "performers" && n !== "online" ? ebe(i) : ""}
+ ${e === "tags" ? G3($Oe, n, "词表") : e === "performers" || e === "creators" ? G3(eke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(QOe, e, "公司类型") : ""}
+ ${e === "tags" ? nke(r) : ""}
+ ${e === "performers" && n !== "online" ? Sbe(i) : ""}
${vs({
kind: e,
layout: a,
mode: r
})}`;
}
-var YOe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+var ike = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
function K3(e, t, n) {
- let r = JOe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== YOe(r) && (e.innerHTML = r, Ts(e));
+ let r = rke(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== ike(r) && (e.innerHTML = r, Ts(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var XOe = () => Hl, ZOe = () => Dl, q3 = () => document.getElementById("index");
+var ake = () => Hl, oke = () => Dl, q3 = () => document.getElementById("index");
function J3(e, t, n = {}) {
- let r = (0, D.useSyncExternalStore)($l, XOe);
- qB();
- let i = EV(aH.navigation.location.pathname), a = (0, D.useRef)({
+ let r = (0, D.useSyncExternalStore)($l, ake);
+ eV();
+ let i = NV(fH.navigation.location.pathname), a = (0, D.useRef)({
mounted: !0,
epoch: -1,
opens: -1,
@@ -73890,7 +73917,7 @@ function J3(e, t, n = {}) {
let t = a.current;
if (!t.mounted) return;
let n = t.epoch !== e || t.opens !== Hl, r = t.opens !== Hl;
- if (t.epoch = e, t.opens = Hl, EV(aH.navigation.location.pathname)) {
+ if (t.epoch = e, t.opens = Hl, NV(fH.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -73911,13 +73938,13 @@ function J3(e, t, n = {}) {
i
]);
}
-async function QOe(e, t, n, r) {
+async function ske(e, t, n, r) {
let i = q3();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = W3(t, n), s = U3(oA().value.peopleLayout);
- K3(i, o, s), await JV(a, {
+ let o = W3(t, n), s = U3(dA().value.peopleLayout);
+ K3(i, o, s), await tH(a, {
...o,
layout: s,
selectMode: Dl,
@@ -73927,21 +73954,21 @@ async function QOe(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function $Oe(e) {
- let t = q3(), n = t ? WV(t) : null;
+function cke(e) {
+ let t = q3(), n = t ? ZV(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function eke({ epoch: e }) {
- let t = (0, D.useContext)(bU), n = qB(), r = n.pathname.split("/").filter(Boolean)[0];
+function lke({ epoch: e }) {
+ let t = (0, D.useContext)($U), n = eV(), r = n.pathname.split("/").filter(Boolean)[0];
return J3(e, (e, i) => {
- t && QOe(t, r, n.search, i);
- }, { shown: () => $Oe(`/${r}`) }), null;
+ t && ske(t, r, n.search, i);
+ }, { shown: () => cke(`/${r}`) }), null;
}
-function tke() {
- let e = yU(), t = (0, D.useSyncExternalStore)($l, ZOe), n = (0, D.useRef)(t);
+function uke() {
+ let e = QU(), t = (0, D.useSyncExternalStore)($l, oke), n = (0, D.useRef)(t);
return (0, D.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && YV(q3(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, O.jsx)(eke, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && nH(q3(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, O.jsx)(lke, { epoch: e }, e);
}
function Y3(e) {
let t;
@@ -73958,7 +73985,7 @@ function Y3(e) {
} : null;
}
var X3 = /* @__PURE__ */ new WeakMap();
-function nke(e) {
+function dke(e) {
let t = X3.get(e);
return t || (t = {
helpers: {
@@ -73972,10 +73999,10 @@ function nke(e) {
}, X3.set(e, t)), t;
}
function Z3() {
- let e = q3(), t = e ? WV(e) : null;
+ let e = q3(), t = e ? ZV(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function rke(e, t, n, r, i, a, o) {
+async function fke(e, t, n, r, i, a, o) {
let s = q3();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
@@ -73990,7 +74017,7 @@ async function rke(e, t, n, r, i, a, o) {
}, h = t.props(l, u, i), g = {
...h,
hosts: m,
- card: nke(e),
+ card: dke(e),
resolvedEntity: o,
actions: {
...h.actions,
@@ -73999,7 +74026,7 @@ async function rke(e, t, n, r, i, a, o) {
}
}
};
- await JV(`/${c}/*`, g, {
+ await tH(`/${c}/*`, g, {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
@@ -74008,8 +74035,8 @@ async function rke(e, t, n, r, i, a, o) {
behavior: "smooth"
}));
}
-function ike({ target: e }) {
- let t = (0, D.useContext)(bU), n = yU(), r = qB();
+function pke({ target: e }) {
+ let t = (0, D.useContext)($U), n = QU(), r = eV();
return J3(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
@@ -74026,9 +74053,9 @@ function ike({ target: e }) {
}).catch(() => null);
if (!i()) return;
if (s?.redirect) {
- oH(tn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
+ pH(tn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
});
return;
}
@@ -74037,19 +74064,19 @@ function ike({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = tn(e.kind, c, Number(s.id));
- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && rke(t, a, {
+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && fke(t, a, {
...e,
name: c
- }, r.pathname, r.search, i, s) : oH(l + r.search + r.hash, {
+ }, r.pathname, r.search, i, s) : pH(l + r.search + r.hash, {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
});
})();
}, { shown: () => Z3() && !q3()?.hidden }), null;
}
-function ake() {
- let e = Y3(qB().pathname);
- return e ? /* @__PURE__ */ (0, O.jsx)(ike, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function mke() {
+ let e = Y3(eV().pathname);
+ return e ? /* @__PURE__ */ (0, O.jsx)(pke, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/jav/jav-header.tsx
@@ -74067,19 +74094,19 @@ function Q3({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, O.jsx)(f$, {
- tabs: J$.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, O.jsx)(O$, {
+ tabs: u1.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(dCe(e))
+ onChange: (e) => t(NCe(e))
})]
});
}
-function oke({ navigate: e, receipt: t }) {
+function hke({ navigate: e, receipt: t }) {
let [n, r] = (0, D.useState)(null);
return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Q3, {
tab: "library",
@@ -74093,12 +74120,12 @@ function oke({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var ske = () => Hl, $3 = aH.navigation.seq, e6 = aH.navigation.openEpoch, t6 = aH.navigation.location.pathname, n6 = {
+var gke = () => Hl, $3 = fH.navigation.seq, e6 = fH.navigation.openEpoch, t6 = fH.navigation.location.pathname, n6 = {
seq: $3,
claimed: !0,
from: t6
};
-aH.listen((e) => {
+fH.listen((e) => {
n6 = {
seq: e.seq,
claimed: e.openEpoch === e6,
@@ -74107,7 +74134,7 @@ aH.listen((e) => {
});
var r6 = !1;
function i6(e) {
- let { seq: t, openEpoch: n, location: r } = aH.navigation, i = EV(r.pathname), a = cH() ?? r, o = U ?? {};
+ let { seq: t, openEpoch: n, location: r } = fH.navigation, i = NV(r.pathname), a = hH() ?? r, o = U ?? {};
return {
seq: t,
epoch: n,
@@ -74118,7 +74145,7 @@ function i6(e) {
opened: e
};
}
-function cke(e, t, n, r) {
+function _ke(e, t, n, r) {
let i = { ...U };
if (e === "/trash") return {
...i,
@@ -74129,7 +74156,7 @@ function cke(e, t, n, r) {
state: "trash",
q: ""
};
- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = oA().value;
+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = dA().value;
return {
...i,
loc: a.get("loc") ?? r.defaultLoc(),
@@ -74143,7 +74170,7 @@ function cke(e, t, n, r) {
dur_max: a.get("dur_max") || "",
orient: a.get("orient") || "",
state: Xt[e] || a.get("state") || "",
- ...Vk(a.get("sort"), a.get("dir"), o, s),
+ ...Kk(a.get("sort"), a.get("dir"), o, s),
seed: a.get("seed") || (n ? En() : i.seed || En()),
q: a.get("q") || "",
jav: a.get("jav") || "",
@@ -74154,13 +74181,13 @@ function cke(e, t, n, r) {
folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""
};
}
-function lke(e, t) {
+function vke(e, t) {
let n = { ...e }, r = i6(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
if (r.covered) {
- cH() || i.fill();
+ hH() || i.fill();
return;
}
let a = !1;
@@ -74170,41 +74197,41 @@ function lke(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = aH.navigation.action === "POP" && n6.from !== "/");
+ r.epoch !== n.epoch && (a = fH.navigation.action === "POP" && n6.from !== "/");
}
- let { pathname: o, search: s } = aH.navigation.location;
+ let { pathname: o, search: s } = fH.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = P$(s);
- r6 = !0, oH(F$(e, t), { replace: !0 });
+ let { kind: e, view: t } = X$(s);
+ r6 = !0, pH(Z$(e, t), { replace: !0 });
return;
}
let c = r6;
- r6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: cke(o, s, a, i) }), i.open(o, {
+ r6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: _ke(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function uke(e) {
- return Qt(e) || e === "/trash" || EV(e) || e === "/immerse" || !!Y3(e);
+function yke(e) {
+ return Qt(e) || e === "/trash" || NV(e) || e === "/immerse" || !!Y3(e);
}
-function dke() {
- let e = (0, D.useContext)(bU), t = yU(), n = (0, D.useSyncExternalStore)($l, ske), r = qB(), i = (0, D.useRef)(null), a = (0, D.useRef)({
+function bke() {
+ let e = (0, D.useContext)($U), t = QU(), n = (0, D.useSyncExternalStore)($l, gke), r = eV(), i = (0, D.useRef)(null), a = (0, D.useRef)({
mounted: !0,
queued: !1
});
return (0, D.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = i6(!EV(aH.navigation.location.pathname));
+ let n = i6(!NV(fH.navigation.location.pathname));
return !n.covered && n.opens > 0 && (r6 || n6.seq === $3 ? n.opens = -1 : n6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !uke(aH.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !yke(fH.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, D.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && lke(i.current, e);
+ t.queued = !1, t.mounted && i.current && vke(i.current, e);
}));
}, [
t,
@@ -74214,7 +74241,7 @@ function dke() {
]), null;
}
function a6() {
- let { pathname: e, search: t } = qB();
+ let { pathname: e, search: t } = eV();
(0, D.useLayoutEffect)(() => {
if (e !== "/wall") return;
document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");
@@ -74227,15 +74254,15 @@ function a6() {
});
};
}, [e]);
- let n = (0, D.useContext)(bU), r = document.getElementById("javLibraryHeader"), i = Qt(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, D.useContext)($U), r = document.getElementById("javLibraryHeader"), i = Qt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, D.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), EV(e) && !TV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
- /* @__PURE__ */ (0, O.jsx)(dke, {}, e === "/junk-files" ? "/junk-files" : "/"),
- Qt(e) ? /* @__PURE__ */ (0, O.jsx)(OU, {}) : null,
- i && r && n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(oke, {
+ }, [r, i]), NV(e) && !MV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)(bke, {}, e === "/junk-files" ? "/junk-files" : "/"),
+ Qt(e) ? /* @__PURE__ */ (0, O.jsx)(sW, {}) : null,
+ i && r && n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(hke, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null
@@ -74243,21 +74270,21 @@ function a6() {
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var o6 = () => document.getElementById("stats"), fke = () => Jl;
-function pke(e) {
+var o6 = () => document.getElementById("stats"), xke = () => Jl;
+function Ske(e) {
let t = document.createElement("div");
return t.className = "peach-react", gs(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function mke(e, t) {
+async function Cke(e, t) {
let n = o6(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = ql;
- e.surfaceChanged("follow", "/follow"), m2(n, r.skeleton()), await JV("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), m2(n, r.skeleton()), await tH("/follow", r.props(), {
container: n,
isCurrent: t,
- place: pke
+ place: Ske
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -74266,32 +74293,32 @@ async function mke(e, t) {
behavior: "smooth"
});
}
-function hke() {
- let e = o6(), t = e ? WV(e) : null;
+function wke() {
+ let e = o6(), t = e ? ZV(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function gke() {
- let e = (0, D.useContext)(bU);
- return J3(yU(), (t, n) => {
- e && mke(e, n);
+function Tke() {
+ let e = (0, D.useContext)($U);
+ return J3(QU(), (t, n) => {
+ e && Cke(e, n);
}, {
- shown: hke,
+ shown: wke,
onCovered: () => {
- aH.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
+ fH.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
function s6(e) {
- let t = e ? WV(e) : null;
+ let t = e ? ZV(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function _ke(e, t) {
+async function Eke(e, t) {
let n = o6();
n && (e.surfaceChanged("playlists", "/playlists"), m2(n, f2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
- })), await JV("/playlists", { revision: Jl }, {
+ })), await tH("/playlists", { revision: Jl }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -74299,15 +74326,15 @@ async function _ke(e, t) {
behavior: "smooth"
}));
}
-function vke() {
- let e = (0, D.useContext)(bU), t = (0, D.useSyncExternalStore)($l, fke), n = (0, D.useRef)(t);
+function Dke() {
+ let e = (0, D.useContext)($U), t = (0, D.useSyncExternalStore)($l, xke), n = (0, D.useRef)(t);
return (0, D.useEffect)(() => {
if (n.current === t) return;
n.current = t;
let e = o6();
- s6(e) && YV(e, { revision: t });
- }, [t]), J3(yU(), (t, n) => {
- e && _ke(e, n);
+ s6(e) && nH(e, { revision: t });
+ }, [t]), J3(QU(), (t, n) => {
+ e && Eke(e, n);
}, { shown: () => {
let e = o6();
return s6(e) && !e.hidden;
@@ -74315,18 +74342,18 @@ function vke() {
}
//#endregion
//#region src/react/router/pages/immerse.tsx
-function yke() {
- let e = new URLSearchParams(aH.navigation.location.search).get("id");
+function Oke() {
+ let e = new URLSearchParams(fH.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function bke() {
- let e = (0, D.useContext)(bU);
- return _U(() => {
- e?.openImmerse(yke());
+function kke() {
+ let e = (0, D.useContext)($U);
+ return XU(() => {
+ e?.openImmerse(Oke());
}, !0), null;
}
-function xke() {
- return /* @__PURE__ */ (0, O.jsx)(bke, {}, yU());
+function Ake() {
+ return /* @__PURE__ */ (0, O.jsx)(kke, {}, QU());
}
//#endregion
//#region src/ui-kit/anchor-scroll.ts
@@ -74351,12 +74378,12 @@ async function l6(e, t) {
}
//#endregion
//#region src/react/router/pages/managed.tsx
-var Ske = [
+var jke = [
"list",
"add",
"feeds"
-], Cke = () => Hl > 0, u6 = () => (0, D.useSyncExternalStore)($l, Cke), d6 = () => oA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
-function wke(e) {
+], Mke = () => Hl > 0, u6 = () => (0, D.useSyncExternalStore)($l, Mke), d6 = () => dA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
+function Nke(e) {
let t = f6();
return f2(e, {
followLayout: d6(),
@@ -74377,11 +74404,11 @@ function m6(e, t) {
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function Tke(e, t) {
+async function Pke(e, t) {
if (e === "/jav") {
let e = await p6(t);
return t.live ? {
- tab: Y$(f6().get("tab")),
+ tab: d1(f6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -74392,25 +74419,25 @@ async function Tke(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && Zl({ configurationRequestedSection: "网络与访问" });
- let t = f6().get("section") || zl || _V(e);
+ let t = f6().get("section") || zl || wV(e);
return t ? { section: t } : {};
}
if (e === "/review") {
let e = f6().get("category") || "", n = await p6(t);
return t.live ? {
- category: fX(e) ? e : "",
+ category: DX(e) ? e : "",
...m6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
let e = f6(), n = e.get("tab") || "", r = {
- tab: Ske.includes(n) ? n : "list",
+ tab: jke.includes(n) ? n : "list",
page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),
sort: e.get("sort") || "",
dir: e.get("dir") || ""
}, i = await p6(t);
if (!t.live) return null;
- let a = oA().value;
+ let a = dA().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
@@ -74420,12 +74447,12 @@ async function Tke(e, t) {
}
return {};
}
-var Eke = () => {
+var Fke = () => {
window.scrollTo({
top: 0,
behavior: c6()
});
-}, Dke = /* @__PURE__ */ new Set([
+}, Ike = /* @__PURE__ */ new Set([
"/stats",
"/taste",
"/review",
@@ -74433,18 +74460,18 @@ var Eke = () => {
"/tasks",
"/subscriptions"
]);
-async function Oke(e, t, n) {
- let r = aH.navigation.seq, i = () => n.live && aH.navigation.seq === r;
- if (e === "/jav" && Y$(f6().get("tab")) === "library") {
- aH.replace(fCe(window.location.search));
+async function Lke(e, t, n) {
+ let r = fH.navigation.seq, i = () => n.live && fH.navigation.seq === r;
+ if (e === "/jav" && d1(f6().get("tab")) === "library") {
+ fH.replace(PCe(window.location.search));
return;
}
if (e === "/subscriptions" && f6().get("tab") === "wants") {
- oH("/jav?tab=wants", { replace: !0 });
+ pH("/jav?tab=wants", { replace: !0 });
return;
}
if (e === "/subscriptions" && f6().get("tab") === "source") {
- oH("/settings/subscriptions", { replace: !0 });
+ pH("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
@@ -74466,38 +74493,38 @@ async function Oke(e, t, n) {
state: "",
q: "",
jav: ""
- } }), t.clearSearch()), m2(a, wke(e));
- let o = await Tke(e, n);
+ } }), t.clearSearch()), m2(a, Nke(e));
+ let o = await Pke(e, n);
if (!o) return;
- let s = await JV(e, o, {
+ let s = await tH(e, o, {
container: a,
isCurrent: () => n.live
});
- if (s && (n.revision = WV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {
+ if (s && (n.revision = ZV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {
let { hash: t } = window.location;
e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {
- i() && oH("/data-cleanup#libraryProcessing", {
+ i() && pH("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
- }) : t ? l6(t, i) : (Dke.has(e) || e === "/settings/library") && Eke();
+ }) : t ? l6(t, i) : (Ike.has(e) || e === "/settings/library") && Fke();
}
}
function h6({ path: e }) {
- let t = yU();
- qB();
- let n = EV(aH.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);
+ let t = QU();
+ eV();
+ let n = NV(fH.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.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, O.jsx)(kke, {
+ return /* @__PURE__ */ (0, O.jsx)(Rke, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function kke({ path: e, covered: t }) {
- let n = (0, D.useContext)(bU), r = u6(), i = (0, D.useRef)(null);
+function Rke({ path: e, covered: t }) {
+ let n = (0, D.useContext)($U), r = u6(), i = (0, D.useRef)(null);
return (0, D.useEffect)(() => {
- e.startsWith("/settings/") && YV(document.getElementById("stats"), { section: _V(e) });
+ e.startsWith("/settings/") && nH(document.getElementById("stats"), { section: wV(e) });
}, [e]), (0, D.useEffect)(() => {
if (t || !n || !r || i.current) return;
let a = {
@@ -74506,7 +74533,7 @@ function kke({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && Oke(e, n, a);
+ a.live && Lke(e, n, a);
});
}, [r]), (0, D.useEffect)(() => () => {
let e = i.current;
@@ -74514,18 +74541,18 @@ function kke({ path: e, covered: t }) {
e.live = !1, e.controller.abort();
let t = document.getElementById("stats");
queueMicrotask(() => {
- t && e.revision && !t.hidden && WV(t)?.revision === e.revision && XV(t);
+ t && e.revision && !t.hidden && ZV(t)?.revision === e.revision && rH(t);
});
}, []), null;
}
-function Ake() {
+function zke() {
let e = u6(), t = (0, D.useRef)(!1);
return (0, D.useEffect)(() => {
- if (!e || t.current || EV(aH.navigation.location.pathname)) return;
+ if (!e || t.current || NV(fH.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && oH("/data-cleanup#resource-sync", { replace: !0 });
+ n && pH("/data-cleanup#resource-sync", { replace: !0 });
}), () => {
n = !1;
};
@@ -74533,11 +74560,11 @@ function Ake() {
}
//#endregion
//#region src/react/router/route-chunk.ts
-var g6 = [], _6 = "peach.chunkReloadAt", jke = 3e4;
-async function Mke() {
+var g6 = [], _6 = "peach.chunkReloadAt", Bke = 3e4;
+async function Vke() {
try {
let e = Number(sessionStorage.getItem(_6) || 0);
- if (Date.now() - e < jke || !(await fetch("/healthz", {
+ if (Date.now() - e < Bke || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
@@ -74550,7 +74577,7 @@ function v6(e) {
});
return g6.push(r), {
preload: () => r().catch(async (e) => {
- throw await Mke(), e;
+ throw await Vke(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -74558,7 +74585,7 @@ function v6(e) {
}
};
}
-function Nke() {
+function Hke() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
let t = [...g6], n = () => {
@@ -74577,13 +74604,13 @@ async function y6(e, t) {
if (n.status === "rejected") throw n.reason;
}
var b6 = v6(() => import("./peach-app.jav-page-BylXQgrV.js")), x6 = v6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), S6 = v6(() => import("./peach-app.taste-page-C4kidGo2.js")), C6 = v6(() => import("./peach-app.review-page-CPsgIxd6.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), T6 = v6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), E6 = v6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), D6 = v6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), O6 = v6(async () => {
- let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-l4Eg4VIa.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);
+ let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-9ebGwo83.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
}), k6 = v6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), A6 = v6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), j6 = v6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));
-function Pke(e, t, n) {
+function Uke(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
@@ -74593,7 +74620,7 @@ function Pke(e, t, n) {
}
var M6 = (e) => ({
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: e }),
- prefetch: (t, n) => y6(O6, Promise.all([ewe(n), ...e === "/settings/diagnostics" ? [xSe(n)] : []]).then(() => {})),
+ prefetch: (t, n) => y6(O6, Promise.all([Swe(n), ...e === "/settings/diagnostics" ? [USe(n)] : []]).then(() => {})),
page: (t, n) => {
let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();
return /* @__PURE__ */ (0, O.jsx)(r, {
@@ -74609,7 +74636,7 @@ var M6 = (e) => ({
}), N6 = {
"/jav": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/jav" }),
- prefetch: (e, t) => y6(b6, mCe(e.tab, t)),
+ prefetch: (e, t) => y6(b6, ICe(e.tab, t)),
page: (e, t) => {
let { JavPage: n } = b6.get();
return /* @__PURE__ */ (0, O.jsx)(n, {
@@ -74621,7 +74648,7 @@ var M6 = (e) => ({
},
"/stats": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/stats" }),
- prefetch: (e, t) => y6(x6, LDe(t)),
+ prefetch: (e, t) => y6(x6, KDe(t)),
page: (e, t) => {
let { StatsPage: n } = x6.get();
return /* @__PURE__ */ (0, O.jsx)(n, {
@@ -74632,7 +74659,7 @@ var M6 = (e) => ({
},
"/taste": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/taste" }),
- prefetch: (e, t) => y6(S6, TOe("all", t)),
+ prefetch: (e, t) => y6(S6, POe("all", t)),
page: (e, t, n) => {
let { TastePage: r } = S6.get();
return /* @__PURE__ */ (0, O.jsx)(r, {
@@ -74645,7 +74672,7 @@ var M6 = (e) => ({
},
"/review": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/review" }),
- prefetch: (e, t) => y6(C6, Lve(t)),
+ prefetch: (e, t) => y6(C6, oye(t)),
page: (e, t) => {
let { ReviewPage: n } = C6.get();
return /* @__PURE__ */ (0, O.jsx)(n, {
@@ -74660,19 +74687,19 @@ var M6 = (e) => ({
},
"/data-cleanup": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/data-cleanup" }),
- prefetch: (e, t) => y6(w6, Wye(t)),
+ prefetch: (e, t) => y6(w6, fbe(t)),
page: (e, t, n) => {
let { DataCleanupPage: r } = w6.get();
return /* @__PURE__ */ (0, O.jsx)(r, {
failure: t.failure,
- open: (e) => Pke(e, t, n),
+ open: (e) => Uke(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/duplicates" }),
- prefetch: (e, t) => y6(T6, tve(t)),
+ prefetch: (e, t) => y6(T6, wve(t)),
page: (e, t) => {
let { DuplicatesPage: n } = T6.get();
return /* @__PURE__ */ (0, O.jsx)(n, {
@@ -74684,13 +74711,13 @@ var M6 = (e) => ({
},
"/quality-goals": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/quality-goals" }),
- prefetch: (e, t) => y6(E6, pve(t)),
+ prefetch: (e, t) => y6(E6, Ive(t)),
page: (e, t) => {
let { QualityGoalsPage: n } = E6.get();
return /* @__PURE__ */ (0, O.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: hF,
- javDisplayName: mF,
+ javTitleHtml: bF,
+ javDisplayName: yF,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
@@ -74698,7 +74725,7 @@ var M6 = (e) => ({
},
"/sources": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/sources" }),
- prefetch: (e, t) => y6(D6, WCe(t)),
+ prefetch: (e, t) => y6(D6, fwe(t)),
page: (e, t) => {
let { ScrapingPage: n } = D6.get();
return /* @__PURE__ */ (0, O.jsx)(n, { toast: (e) => t.toast(e) });
@@ -74712,7 +74739,7 @@ var M6 = (e) => ({
"/settings/diagnostics": M6("/settings/diagnostics"),
"/tasks": {
element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/tasks" }),
- prefetch: (e, t) => y6(k6, kle(t)),
+ prefetch: (e, t) => y6(k6, wle(t)),
page: () => {
let { ActivityPage: e } = k6.get();
return /* @__PURE__ */ (0, O.jsx)(e, {});
@@ -74732,10 +74759,10 @@ var M6 = (e) => ({
});
}
}
-}, P6 = (e) => Object.hasOwn(N6, e), Fke = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(Ake, {}) } }, Ike = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(xke, {}) } }, F6 = {
+}, P6 = (e) => Object.hasOwn(N6, e), Wke = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(zke, {}) } }, Gke = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(Ake, {}) } }, F6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, O.jsx)(vke, {}),
- prefetch: (e, t) => y6(j6, OCe(t)),
+ element: /* @__PURE__ */ (0, O.jsx)(Dke, {}),
+ prefetch: (e, t) => y6(j6, XCe(t)),
page: (e, t) => {
let { PlaylistsPage: n } = j6.get();
return /* @__PURE__ */ (0, O.jsx)(n, {
@@ -74748,14 +74775,14 @@ var M6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, O.jsx)(gke, {}),
+ element: /* @__PURE__ */ (0, O.jsx)(Tke, {}),
prefetch: (e, t) => Oi(e, t),
- page: (e) => /* @__PURE__ */ (0, O.jsx)($be, { ...e })
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(xxe, { ...e })
}
}, I6 = (e) => Object.hasOwn(F6, e), L6 = {
- element: /* @__PURE__ */ (0, O.jsx)(tke, {}),
- prefetch: (e, t) => dbe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, O.jsx)(zSe, {
+ element: /* @__PURE__ */ (0, O.jsx)(uke, {}),
+ prefetch: (e, t) => Nbe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, O.jsx)(sCe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -74775,9 +74802,9 @@ var M6 = (e) => ({
"/agencies": L6,
"/tags": L6
}, z6 = {
- element: /* @__PURE__ */ (0, O.jsx)(ake, {}),
- prefetch: (e) => $ye(e),
- page: (e) => /* @__PURE__ */ (0, O.jsx)(gSe, { ...e })
+ element: /* @__PURE__ */ (0, O.jsx)(mke, {}),
+ prefetch: (e) => xbe(e),
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(RSe, { ...e })
}, B6 = {
"/performers/*": z6,
"/studios/*": z6,
@@ -74788,59 +74815,59 @@ var M6 = (e) => ({
}, V6 = {
"/": {
element: /* @__PURE__ */ (0, O.jsx)(a6, {}),
- prefetch: (e, t) => MM(e, t),
- page: (e) => /* @__PURE__ */ (0, O.jsx)(KY, { ...e })
+ prefetch: (e, t) => IM(e, t),
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(sX, { ...e })
},
"/junk-files": {
element: /* @__PURE__ */ (0, O.jsx)(a6, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, O.jsx)(eCe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(SCe, { ...e })
}
-}, H6 = (e) => Object.hasOwn(V6, e), Lke = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(mhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(p1, { ...e }), U6 = {
+}, H6 = (e) => Object.hasOwn(V6, e), Kke = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(yhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(k1, { ...e }), U6 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, O.jsx)(CW, { ...e })
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(cG, { ...e })
},
"feed-new": {
- prefetch: (e) => Yye(e),
- page: (e) => /* @__PURE__ */ (0, O.jsx)(SSe, { ...e })
+ prefetch: (e) => _be(e),
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(WSe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => wH(t),
- page: (e) => /* @__PURE__ */ (0, O.jsx)(Lke, { ...e })
+ prefetch: (e, t) => jH(t),
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Kke, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, O.jsx)(XCe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, O.jsx)(vwe, { ...e })
}
}, W6 = (e) => Object.hasOwn(U6, e), G6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(soe, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(noe, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(QA, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(nj, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(hle, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(ule, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(dce, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(oce, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(ywe, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(Vwe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(Nwe, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(tTe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, O.jsx)(FDe, {})
+ page: () => /* @__PURE__ */ (0, O.jsx)(WDe, {})
}
}, K6 = (e) => Object.hasOwn(G6, e), q6 = [
"/",
@@ -74862,87 +74889,87 @@ var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, 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];
}
-function Rke(e, t, n) {
+function qke(e, t, n) {
return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function zke(e, t, n, r) {
+function Jke(e, t, n, r) {
return Y6(e).page(t, n, r);
}
//#endregion
//#region src/react/application-residents.ts
var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();
-function Bke(e) {
+function Yke(e) {
return X6 = e, Z6 && e(Z6), () => {
X6 === e && (X6 = null);
};
}
-function Vke(e) {
- return X6 && (Z6 = e, X6(e), eme(Promise.resolve(Rke)), Nke()), Promise.resolve();
+function Xke(e) {
+ return X6 && (Z6 = e, X6(e), qpe(Promise.resolve(qke)), Hke()), Promise.resolve();
}
async function e8(e, t, n = (e) => e) {
let r = Q6;
- if (t.isConnected || $6.add(t), !await JV(e, {}, {
+ if (t.isConnected || $6.add(t), !await tH(e, {}, {
container: t,
resident: !0,
isCurrent: () => !!X6 && r === Q6,
place: () => n(t)
}) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");
}
-function Hke() {
+function Zke() {
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(), S$();
+ $6.clear(), R$();
}
var t8 = null, n8 = null;
function r8(e) {
return t8 ??= (async () => {
- let t = PDe(e), n = document.createElement("div");
+ let t = UDe(e), n = document.createElement("div");
return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;
})(), t8;
}
var i8 = () => n8, a8 = null, o8 = null;
-function Uke(e) {
+function Qke(e) {
return a8 ??= (async () => {
- let t = uce(e), n = document.createElement("div");
+ let t = ace(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;
})(), a8;
}
var s8 = () => o8, c8 = null, l8 = null;
-function Wke(e) {
+function $ke(e) {
return c8 ??= (async () => {
- let t = vwe(e), n = document.createElement("div");
+ let t = Bwe(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;
})(), c8;
}
var u8 = () => l8, d8 = null, f8 = null;
-function Gke(e) {
+function eAe(e) {
return d8 ??= (async () => {
- let t = Mwe(e);
+ let t = eTe(e);
return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;
})(), d8;
}
var p8 = () => f8, m8 = null, h8 = null;
-function Kke(e) {
+function tAe(e) {
return m8 ??= (async () => {
- let t = mle(e);
+ let t = lle(e);
return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;
})(), m8;
}
var g8 = () => h8, _8 = null, v8 = null;
-function qke(e) {
+function nAe(e) {
return _8 ??= (async () => {
- let t = ooe(e);
+ let t = toe(e);
return await e8("batch-dock", e.root), v8 = t, t;
})(), _8;
}
var y8 = () => v8, b8 = null;
-function Jke(e) {
+function rAe(e) {
return b8 ??= (async () => {
- ZA(e), await e8("glow-picker", e.root);
+ tj(e), await e8("glow-picker", e.root);
})(), b8;
}
function x8(e, t, n, r) {
- C$(e, t), w$(n, r);
+ z$(e, t), B$(n, r);
}
//#endregion
//#region src/application/effects.ts
@@ -75028,7 +75055,7 @@ var S8 = class {
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
}, J = new S8();
-function Yke() {
+function iAe() {
return J.dispose(), J = new S8(), J;
}
//#endregion
@@ -75043,8 +75070,8 @@ var C8 = {
rollSeed: void 0,
seededSample: void 0
};
-function Xke() {
- C$(I("#toasts"), {
+function aAe() {
+ z$(I("#toasts"), {
success: L("check"),
error: L("circle-alert")
}), C8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), C8.toastSeq = 0, C8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
@@ -75091,7 +75118,7 @@ function Xke() {
}
//#endregion
//#region src/react/catalog-grid/catalog-state.ts
-var Zke = [
+var oAe = [
"loc",
"creator",
"studio",
@@ -75112,9 +75139,9 @@ var Zke = [
"folder_recursive"
];
function w8(e, t, n, r = n.defaultSort) {
- return Vk(e, t, n.defaultSort, n.defaultSortDirection, r);
+ return Kk(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function Qke(e, t, n) {
+function sAe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Qt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -75139,18 +75166,18 @@ function Qke(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function $ke(e, t) {
+function cAe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function eAe(e) {
+function lAe(e) {
let t = Yt[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of Zke) {
+ for (let t of oAe) {
let r = e[t];
- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Rk(e.sort ?? "")) && n.set(t, r);
+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Uk(e.sort ?? "")) && n.set(t, r);
}
return !Yt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function tAe(e, t, n) {
+function uAe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -75165,7 +75192,7 @@ function tAe(e, t, n) {
region: "",
state: "",
sort: t.defaultSort,
- dir: Bk(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: Gk(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -75187,7 +75214,7 @@ function T8(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-controller.ts
-var nAe = class {
+var dAe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -75232,16 +75259,16 @@ var nAe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, E8 = 3e4, D8 = 0, rAe = (e, t = D8) => [
+}, E8 = 3e4, D8 = 0, fAe = (e, t = D8) => [
"facets",
e,
t
-], iAe = (e, t, n = D8) => [
+], pAe = (e, t, n = D8) => [
"tops",
e,
t,
n
-], aAe = (e, t = D8) => [
+], mAe = (e, t = D8) => [
"tops",
e,
t
@@ -75250,20 +75277,20 @@ async function O8(e) {
let t = String(e), n = await R(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await R(`/api/tops?${r}`));
}
-function oAe(e, t) {
+function hAe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: rAe(e),
+ queryKey: fAe(e),
queryFn: () => R(`/api/facets${e ? `?${e}` : ""}`),
staleTime: E8
}), H.fetchQuery({
- queryKey: iAe(t, e),
+ queryKey: pAe(t, e),
queryFn: () => O8(t),
staleTime: E8
})]);
}
-function sAe(e) {
+function gAe(e) {
return H.fetchQuery({
- queryKey: aAe(e),
+ queryKey: mAe(e),
queryFn: () => O8(e),
staleTime: E8
});
@@ -75385,11 +75412,11 @@ var A8 = [
"follow",
"activity",
"configuration"
-], cAe = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], _Ae = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), lAe = [...A8, ...N8], uAe = {
+]]), vAe = [...A8, ...N8], yAe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -75426,7 +75453,7 @@ function L8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${la({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function dAe(e) {
+function bAe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Zi(t));
};
@@ -75446,7 +75473,7 @@ function dAe(e) {
}
//#endregion
//#region src/application/source-action.ts
-function fAe(e) {
+function xAe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -75462,18 +75489,18 @@ function fAe(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var R8 = () => Object.fromEntries(mZ.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+var R8 = () => Object.fromEntries(AZ.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
function z8(e, t) {
let n = new URLSearchParams(e), r = R8();
- for (let e of mZ) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of AZ) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Vk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Kk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
function B8(e) {
let t = new URLSearchParams();
- for (let n of mZ) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Rk(e.sort || "")) && t.set(n, e[n]);
+ for (let n of AZ) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Uk(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
function V8(e) {
@@ -75487,11 +75514,11 @@ 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 pAe(e, t, n, r) {
+function SAe(e, t, n, r) {
let i = H8(n, r);
return tn(e, t) + (i ? `?${i}` : "");
}
-function mAe() {
+function CAe() {
let e = "";
return {
fresh(t, n) {
@@ -75513,10 +75540,10 @@ function mAe() {
}
//#endregion
//#region src/react/entity-page/photo-surface.ts
-function hAe(e, t) {
+function wAe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function gAe(e) {
+function TAe(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);
@@ -75539,12 +75566,12 @@ function gAe(e) {
}
//#endregion
//#region src/react/entity-page/entity-controller.ts
-function _Ae(e, t, n) {
+function EAe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(pAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(SAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -75571,7 +75598,7 @@ function _Ae(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = zk(e, n.sort || "new", n.dir || "");
+ let n = c(), i = Wk(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -75623,7 +75650,7 @@ function _Ae(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-loading.ts
-function vAe(e) {
+function DAe(e) {
return async (t, n, r) => {
!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -75632,7 +75659,7 @@ function vAe(e) {
}
//#endregion
//#region src/react/entity-page/entity-portrait.ts
-function yAe(e, t) {
+function OAe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? La({
kind: e,
id: t.id,
@@ -75655,11 +75682,11 @@ function yAe(e, t) {
}
//#endregion
//#region src/react/entity-page/entity-application.ts
-function bAe(e) {
- let t = mAe(), n = {
+function kAe(e) {
+ let t = CAe(), n = {
...e.helpers,
- portraitImg: yAe
- }, r = _Ae(e.controller, n, e.actions);
+ portraitImg: OAe
+ }, r = EAe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -75668,13 +75695,13 @@ function bAe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: vAe(e.loading),
- photos: gAe(e.photos)
+ loading: DAe(e.loading),
+ photos: TAe(e.photos)
};
}
//#endregion
//#region src/card-art/feed-identity.ts
-function xAe(e) {
+function AAe(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 ? "" : Ra(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(tn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -75702,23 +75729,23 @@ var U8 = {
function W8(e) {
return e.has_cover ? Ua(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${is("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ua(e, "big").replace(/ src="[^"]*"/, ` src="${z(Na(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function SAe(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 ? hF({
+function jAe(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 ? bF({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${_A}">${n}
+ ${a}<div class="pic" style="--card-ratio:${SA}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${L("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${L("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${L("check")}</button></div></div>
- <div class="meta">${xAe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${AAe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function CAe() {
+function MAe() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
@@ -75737,7 +75764,7 @@ function q8(e) {
localStorage.setItem(K8, e ? "1" : "0");
} catch {}
}
-function wAe() {
+function NAe() {
try {
let e = localStorage.getItem(K8);
return e === "1" || e !== "0" && null;
@@ -75746,9 +75773,9 @@ function wAe() {
}
}
function J8(e) {
- !e || GV(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())));
+ !e || QV(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 TAe(e, t) {
+function PAe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ts(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -75758,7 +75785,7 @@ function TAe(e, t) {
}
function Y8(e) {
let t = e && !e.error && e.items || [];
- return TAe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(SAe).join("")}</div>`;
+ return PAe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(jAe).join("")}</div>`;
}
function X8(e) {
e && (e9(e), Z.appSettings.feedAutoScroll && Qs(e));
@@ -75766,9 +75793,9 @@ function X8(e) {
function Z8(e) {
return Qt(e) && e !== "/junk-files";
}
-function EAe() {
+function FAe() {
let e = I("#feedNew");
- GV(e) ? YV(e, { revision: ++U8.feedRevision }) : (J8(e), JV("feed-new", {
+ QV(e) ? nH(e, { revision: ++U8.feedRevision }) : (J8(e), tH("feed-new", {
host: e,
revision: U8.feedRevision,
helpers: U8.feedNewHelpers,
@@ -75780,32 +75807,32 @@ function EAe() {
}
function Q8() {
let e = I("#feedNew");
- e.querySelectorAll(".feednewrow").forEach($s), XV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
+ e.querySelectorAll(".feednewrow").forEach($s), rH(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
function $8() {
- U8.feedRevision += 1, YV(I("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });
+ U8.feedRevision += 1, nH(I("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });
}
-function DAe() {
+function IAe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Qs(e) : $s(e));
}
var e5 = 0;
-function OAe([e]) {
+function LAe([e]) {
let t = e.contentRect.width >= U8.HERO_WIDE_PX;
cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {
e5 = 0, I("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function kAe() {
- U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${_A}"></div>
+function RAe() {
+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${SA}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
<div class="s mono"><span class="skeleton">&#8203;</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}/${dn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${dn(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>&#8203;</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {
feedRowHtml: Y8,
wireFeedRow: (e) => X8(e)
- }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, J.resize(OAe).observe(I("#index"));
+ }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, J.resize(LAe).observe(I("#index"));
}
//#endregion
//#region src/entity-skeleton.ts
-function AAe(e, t, n, r = "") {
+function zAe(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">
@@ -75820,9 +75847,9 @@ function AAe(e, t, n, r = "") {
}
//#endregion
//#region src/filter-controls-skeleton.ts
-var t5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Vo(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${MU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${NU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;
+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>` : Vo(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${hW}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${gW}" 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 = bM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";
+ let n = wM(), 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",
"卡片",
@@ -75861,11 +75888,11 @@ var Y = {
application: void 0
};
function a5() {
- let e = WV(I("#index"));
+ let e = ZV(I("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
function o5(e) {
- Y.entityPageCurrent() && YV(I("#index"), e);
+ Y.entityPageCurrent() && nH(I("#index"), e);
}
function s5() {
if (Cl.type === "item") return Cl;
@@ -75882,14 +75909,14 @@ function s5() {
return Cl;
}
function c5(e, t, n = t7()) {
- return wje(n).map(([n, r]) => {
- let i = e === n, a = zk(n, e, t);
+ return Nje(n).map(([n, r]) => {
+ let i = e === n, a = Wk(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Lk(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Lk(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Hk(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Hk(a.sort, a.dir) : ""}排序` : ""
};
});
}
@@ -75897,7 +75924,7 @@ function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
function u5() {
- return hAe({
+ return wAe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !I("#index").hidden,
@@ -75910,12 +75937,12 @@ function d5() {
Y.photos.sync();
}
function f5() {
- u5() ? Noe(CA()) : IA();
+ u5() ? Ooe(OA()) : VA();
}
-function jAe(e) {
+function BAe(e) {
Y.photos.setSize(e);
}
-var p5 = fAe({
+var p5 = xAe({
request: (e) => R("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
@@ -75927,7 +75954,7 @@ async function m5(e) {
let t = { textContent: "" };
return await p5(e, t), t.textContent;
}
-async function MAe(e) {
+async function VAe(e) {
let t = { textContent: "" }, n = [];
return await h5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
@@ -75966,17 +75993,17 @@ async function h5(e, t, n) {
t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);
}
}
-function NAe(e) {
+function HAe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function PAe(e, t) {
+function UAe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
r && J.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));
}
-async function FAe(e, t) {
+async function WAe(e, t) {
let n = yc({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -76018,12 +76045,12 @@ 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>${Ho()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: yA(),
- options: mA
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${L("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${L("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = AAe(e, r, e === "agency" ? vs({
+ value: wA(),
+ options: yA
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${L("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${L("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = zAe(e, r, e === "agency" ? vs({
kind: "performers",
layout: M5.peopleIndexLayout()
- }) : kY("正在读取作品", DA(EA({
+ }) : WY("正在读取作品", MA(jA({
active: n,
home: !1,
portrait: !1
@@ -76045,7 +76072,7 @@ function v5(e) {
function y5(e, t) {
b9(Y.application.fresh(e, t));
}
-function IAe() {
+function GAe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -76067,7 +76094,7 @@ function IAe() {
return e.type === "home" ? U : e.filters;
}, I("#q").value = U.q, X.rememberSearchValue();
}
-function LAe() {
+function KAe() {
Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {
let n = a5();
return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;
@@ -76085,9 +76112,9 @@ function LAe() {
feedRowHtml: Y8,
receipt: (e, t) => C8.actionReceipt(e, t),
failure: (e, t) => C8.actionFailure(e, t),
- aliasForm: (e, t) => FAe(e, t),
- sourceToolsHtml: (e) => NAe(e),
- wireSourceTools: (e, t) => PAe(e, t),
+ aliasForm: (e, t) => WAe(e, t),
+ sourceToolsHtml: (e) => HAe(e),
+ wireSourceTools: (e, t) => UAe(e, t),
comboItems: (e) => F7(e),
sortKeys: (e, t, n) => c5(e, t, n)
}, Y.entityFollowActions = {
@@ -76112,8 +76139,8 @@ function LAe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${L("folder-sync")}</button>`;
}
-function RAe() {
- Y.application = bAe({
+function qAe() {
+ Y.application = kAe({
controller: {
context: () => {
let e = s5();
@@ -76136,12 +76163,12 @@ function RAe() {
preferences: () => ({
revision: Y.entityPageRevision,
feedRevision: U8.feedRevision,
- photoSize: CA(),
- photoLayout: wA(),
- photoLayouts: gA,
+ photoSize: OA(),
+ photoLayout: kA(),
+ photoLayouts: xA,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: yA(),
- javLayouts: mA,
+ javLayout: wA(),
+ javLayouts: yA,
states: X.VIEW_PILLS,
peopleLayout: M5.peopleIndexLayout(),
layout: G7(),
@@ -76163,8 +76190,8 @@ function RAe() {
U.seed = e, Ql();
},
setJavLayout: i7,
- javLayout: yA,
- setPhotoLayout: kA,
+ javLayout: wA,
+ setPhotoLayout: PA,
syncPhotoWalls: d5,
openEntity: y5,
photoViewActive: u5,
@@ -76173,7 +76200,7 @@ function RAe() {
},
syncDensity: f5,
scheduleSticky: d7,
- releasePage: () => XV(I("#index")),
+ releasePage: () => rH(I("#index")),
showMissing: v5,
dropBars: k8
},
@@ -76189,15 +76216,15 @@ function RAe() {
},
photos: {
preferences: () => ({
- size: CA(),
- layout: wA(),
+ size: OA(),
+ layout: kA(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
pushEntity: o5,
pushFollow: T9,
syncDensity: f5,
- storeSize: joe
+ storeSize: Eoe
},
helpers: Y.entityPageHelpers,
actions: {
@@ -76214,7 +76241,7 @@ function RAe() {
//#endregion
//#region src/application/playlists.js
var b5 = { playlistWrite: void 0 };
-function zAe(e, t) {
+function JAe(e, t) {
e === "tag" ? (Zl({ state: {
...U,
tag: t,
@@ -76230,7 +76257,7 @@ function x5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function BAe({ title: e, count: t, save: n }) {
+async function YAe({ title: e, count: t, save: n }) {
let r = yc({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
@@ -76251,7 +76278,7 @@ async function BAe({ title: e, count: t, save: n }) {
}), b9("/playlists");
} }));
}
-async function VAe(e) {
+async function XAe(e) {
let t = ((await R("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ss(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = yc({
title: "加入播放列表",
@@ -76297,16 +76324,16 @@ async function VAe(e) {
}
function S5() {
cl(), i9(!1), U5();
- let e = WV(I("#stats"));
+ let e = ZV(I("#stats"));
e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (H5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));
}
-function HAe(e) {
+function ZAe(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
function C5(e) {
- Zl({ configurationRequestedSection: e }), Q.navigatePath(xV(e));
+ Zl({ configurationRequestedSection: e }), Q.navigatePath(OV(e));
}
-function UAe() {
+function QAe() {
b5.playlistWrite = (e) => R("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
@@ -76326,18 +76353,18 @@ function T5(e, t, n, r, i = !1) {
};
}
function E5(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = lX(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+ let o = n === "follow", s = wX(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
...T5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function WAe(e, t, n, r) {
+function $Ae(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: P$(n).view === "dismissed"
+ junkDismissed: X$(n).view === "dismissed"
};
}
//#endregion
@@ -76360,7 +76387,7 @@ function O5() {
}), T9({
selected: new Set(El),
selectMode: Dl
- }), D5.batchDockProps = eje(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());
+ }), D5.batchDockProps = lje(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());
}
function k5(e, t = !1) {
Zl(T5({
@@ -76368,25 +76395,25 @@ function k5(e, t = !1) {
followSelected: El
}, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), I("#selectMode").setAttribute("aria-pressed", String(Dl)), O5();
}
-function GAe() {
+function eje() {
return [...I5.gridCards()].map((e) => +e.dataset.id);
}
function A5(e, t = !1) {
Zl(E5({
selected: Tl,
followSelected: El
- }, j5(), w5(location.pathname), GAe(), e, t)), k5(!0);
+ }, j5(), w5(location.pathname), eje(), e, t)), k5(!0);
}
-function KAe() {
+function tje() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function qAe(e, t = !1) {
+function nje(e, t = !1) {
Zl(E5({
selected: Tl,
followSelected: El
- }, j5(), "follow", KAe(), e, t)), k5(!0);
+ }, j5(), "follow", tje(), e, t)), k5(!0);
}
-async function JAe(e, t) {
+async function rje(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -76455,7 +76482,7 @@ async function JAe(e, t) {
}
});
}
-async function YAe() {
+async function ije() {
let e = [...Tl];
if (!e.length) return;
let t = yc({
@@ -76487,7 +76514,7 @@ async function YAe() {
let { confirmed: n, result: r } = await t.done;
n && (k5(!1, !0), await o7(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function XAe(e, t) {
+async function aje(e, t) {
let n = [...El];
if (!n.length) return;
let r = {
@@ -76522,7 +76549,7 @@ async function XAe(e, t) {
}
});
}
-async function ZAe(e, t) {
+async function oje(e, t) {
let n = [...Tl];
if (!n.length) return;
let r = {
@@ -76568,8 +76595,8 @@ async function ZAe(e, t) {
}
});
}
-function QAe() {
- qke({
+function sje() {
+ nAe({
root: I("[data-batch-dock]"),
run: (e, t, n) => {
D5.BATCH_RUNNERS[e]?.(t, n);
@@ -76578,7 +76605,7 @@ function QAe() {
e.render(D5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function $Ae() {
+function cje() {
D5.batchDockProps = {
count: 0,
context: "catalog",
@@ -76591,14 +76618,14 @@ function $Ae() {
["other", "其他"],
["none", "撤回判定"]
], D5.BATCH_RUNNERS = {
- batch: JAe,
- region: YAe,
- follow: XAe,
- junk: ZAe,
+ batch: rje,
+ region: ije,
+ follow: aje,
+ junk: oje,
clear: () => k5(!1, !0)
}, J.handler(I("#density"), "onclick", () => {
- u5() ? jAe(CA() === "big" ? "small" : "big") : Moe();
- }), IA(), ol({
+ u5() ? BAe(OA() === "big" ? "small" : "big") : Doe();
+ }), VA(), ol({
selecting: () => Dl,
censored: () => Q7(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
@@ -76618,8 +76645,8 @@ function j5() {
followLastSelectedId: kl
};
}
-function eje() {
- return WAe({
+function lje() {
+ return $Ae({
selected: Tl,
followSelected: El
}, location.pathname, location.search, U.state);
@@ -76630,22 +76657,22 @@ var M5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function tje() {
+function uje() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function nje() {
- return hQ(location.search);
+function dje() {
+ return jQ(location.search);
}
-function rje(e) {
- return gQ(e);
+function fje(e) {
+ return MQ(e);
}
-function ije(e) {
- Q.route(rje(e));
+function pje(e) {
+ Q.route(fje(e));
}
-function aje(e = "") {
- return _Q(location.search, e);
+function mje(e = "") {
+ return NQ(location.search, e);
}
-function oje(e) {
+function hje(e) {
return L8(e);
}
function N5(e) {
@@ -76654,7 +76681,7 @@ function N5(e) {
function P5() {
I("#stats").hidden = !0, I("#index").hidden = !1, z7(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;
}
-function sje(e, t) {
+function gje(e, t) {
Zl({ state: {
...U,
state: "",
@@ -76665,10 +76692,10 @@ function sje(e, t) {
function F5(e) {
M5.controller.openFollowAuthor(e);
}
-function cje(e) {
+function _je(e) {
M5.controller.openFollowTag(e);
}
-function lje() {
+function vje() {
$.FOLLOW_MANAGE_TABS = [
"list",
"add",
@@ -76677,8 +76704,8 @@ function lje() {
e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");
}), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;
}
-function uje() {
- M5.controller = dAe({
+function yje() {
+ M5.controller = bAe({
route: Q.route,
followView: S9,
adoptFollowView: C9,
@@ -76705,7 +76732,7 @@ function L5(e = "正在读取作品") {
return;
}
let t = I("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = XSe(P$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({
+ 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 = vCe(X$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({
count: null,
...O7()
})), I("#loadSentinel").hidden = !0, H7()) return;
@@ -76725,13 +76752,13 @@ function z5() {
});
return Promise.race([I5.entityShapesReady ||= G8(), e]);
}
-function dje() {
+function bje() {
let e = decodeURIComponent(location.pathname);
if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();
else if (/^\/assets\/\d+$/.test(e)) R5();
else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();
else if (e === "/junk-files") L5("正在读取垃圾文件");
- else if (e === "/jav" && Y$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");
+ else if (e === "/jav" && d1(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
R5();
let t = I("#stats");
@@ -76745,12 +76772,12 @@ function dje() {
});
} else Q.routeMeta(e) ? L5() : (z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);
}
-function fje() {
+function xje() {
$.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => d2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: CA()
+ gridSize: OA()
}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed>
<div data-follow-head><h2 data-follow-title>关注</h2></div>
<div class="tier followauthors" data-skeleton-tier="av"></div>
@@ -76761,14 +76788,14 @@ function fje() {
${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = is(rs), I5.setGridCards = (e) => gs(I("#grid"), () => {
I("#grid").innerHTML = `<div class="grid">${e}</div>`;
}), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => f2(e, {
- followLayout: tje(),
+ followLayout: uje(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(nje())
+ }))(dje())
}), I5.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {
- let t = new URL(e, location.origin), n = IV(decodeURIComponent(t.pathname))?.title;
+ let t = new URL(e, location.origin), n = UV(decodeURIComponent(t.pathname))?.title;
document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();
};
}
@@ -76781,7 +76808,7 @@ var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function pje(e, t, n) {
+function Sje(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${B5(r)}"/></svg>`;
@@ -76790,7 +76817,7 @@ function pje(e, t, n) {
}
//#endregion
//#region src/application/filter-scroll.js
-function mje(e, t, n, r = !1) {
+function Cje(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -76838,9 +76865,9 @@ function U5() {
X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");
}
function W5() {
- document.body.classList.remove("entity-open", "index-open"), XV(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, Z8(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", w7(), Z5(), $5();
+ document.body.classList.remove("entity-open", "index-open"), rH(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, Z8(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", w7(), Z5(), $5();
}
-function hje() {
+function wje() {
Q.route("/"), W5();
}
function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
@@ -76868,7 +76895,7 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
});
}
function K5(e) {
- xMe({
+ AMe({
...S9(),
...e
}), h9({ filters: $.followSidebarFilters() });
@@ -76880,33 +76907,33 @@ function J5(e) {
let t = I("#drawer"), n = !e && t.contains(document.activeElement);
t.inert = !e && q5(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function gje() {
+function Tje() {
q5() && J5(!1);
}
-function _je() {
+function Eje() {
Bl === null && (Zl({ runtimeConfigurable: !1 }), R("/healthz").then((e) => {
Zl({ runtimeConfigurable: !!e.configurable }), Bl && X5() && Z5();
}).catch(() => {}));
}
function Y5(e = "", t = !1) {
- if (!t && !yV(location.pathname)) {
- let t = aH.navigation;
- aH.push(xV(e), { settingsBackground: {
+ if (!t && !EV(location.pathname)) {
+ let t = fH.navigation;
+ fH.push(OV(e), { settingsBackground: {
pathname: location.pathname,
search: location.search,
state: t.location.state,
seq: t.seq
} });
- } else !t && e && oH(xV(e), {
+ } else !t && e && pH(OV(e), {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
});
- return e ||= bV(location.pathname), Wke(V5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= DV(location.pathname), $ke(V5.settingsHost()).then((t) => (t.open(e), t));
}
-function vje() {
- yV(location.pathname) && (SV(aH.navigation.location.state) ? aH.go(-1) : Q.navigatePath("/", !0));
+function Dje() {
+ EV(location.pathname) && (kV(fH.navigation.location.state) ? fH.go(-1) : Q.navigatePath("/", !0));
}
-function yje() {
+function Oje() {
return {
scroll: I("#drawerScroll"),
store: Z.settingsStore,
@@ -76938,31 +76965,31 @@ function yje() {
}
};
}
-function bje() {
+function kje() {
let e = I("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = pje(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {
+ e.innerHTML = Sje(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {
if (p8()) return;
let t = e.target.closest?.("[data-nav]");
t && l7(t.dataset.nav);
- }), Gke(yje()).then((e) => e.render(V5.sidebarProps)).catch(() => {});
+ }), eAe(Oje()).then((e) => e.render(V5.sidebarProps)).catch(() => {});
}
-async function xje() {
+async function Aje() {
let e = J, t = null;
try {
t = await R("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && sA(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && fA(t, (e) => Z.settingsEffects[e]?.());
}
function X5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
function Z5() {
let e = X5();
- _je(), e && R5(), I("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), Q5(e);
+ Eje(), e && R5(), I("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), Q5(e);
}
-function Sje(e) {
+function jje(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
@@ -76973,16 +77000,16 @@ function Sje(e) {
}
function Q5(e = X5()) {
$5();
- let t = Sje(e), n = g8();
+ let t = jje(e), n = g8();
if (n) n.render(t);
else {
- let e = hce(t);
+ let e = uce(t);
e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);
}
- let r = dP(t)?.title || "";
+ let r = gP(t)?.title || "";
r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && hs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function Cje() {
+function Mje() {
let e = V5.manageHeaderRoot();
J.listen(e, "click", (e) => {
if (g8()) return;
@@ -76992,7 +77019,7 @@ function Cje() {
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]") && N7();
- }), Kke({
+ }), tAe({
root: e,
openManage: e7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
@@ -77007,35 +77034,35 @@ function $5() {
}
function e7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Ql(), Q.route(F$()), W5(), g9(), M7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Ql(), Q.route(Z$()), W5(), g9(), M7());
}
function t7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || Wl : !1;
}
-function wje(e = t7()) {
- let t = Mk.filter(([e]) => e !== "seed");
- return e ? [Nk, ...t] : t;
+function Nje(e = t7()) {
+ let t = Lk.filter(([e]) => e !== "seed");
+ return e ? [Rk, ...t] : t;
}
function n7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
function r7() {
- return bA(n7());
+ return TA(n7());
}
-function Tje(e) {
- koe(e), a7(), I("#grid").hidden || J7();
+function Pje(e) {
+ woe(e), a7(), I("#grid").hidden || J7();
}
function i7(e) {
- OA(e), a7(), J7();
+ NA(e), a7(), J7();
}
function a7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
e.checked = e.value === r7();
}), X.catalogFilterProps && T7({ layout: D7() });
}
-function Eje(e) {
- Aoe(e), a7(), J7();
+function Fje(e) {
+ Toe(e), a7(), J7();
}
async function o7() {
k8(), X.mixRelatedCache.clear(), await Promise.all([s7(), M7()]);
@@ -77046,7 +77073,7 @@ async function s7() {
return;
}
let e = decodeURIComponent(location.pathname);
- if (IV(e)?.reload === "reopen" || e === "/follow") {
+ if (UV(e)?.reload === "reopen" || e === "/follow") {
Zl({ pageOpens: Hl + 1 });
return;
}
@@ -77063,7 +77090,7 @@ function c7(e) {
return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : Yt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
function l7(e) {
- if (gje(), V5.DIRECT_MANAGE_NAV[e]) {
+ if (Tje(), V5.DIRECT_MANAGE_NAV[e]) {
e7(V5.DIRECT_MANAGE_NAV[e]);
return;
}
@@ -77088,11 +77115,11 @@ function u7() {
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(en, t[0]), r = Qt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
I("#selectMode").hidden = !i, I("#density").hidden = !a, d5(), !i && Dl && k5(!1, !0);
}
-function Dje() {
+function Ije() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
(t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- V5.mobileFilterScroll = mje(V5.mobileFilterScroll, n, innerWidth <= 760, r);
+ V5.mobileFilterScroll = Cje(V5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
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;
@@ -77106,44 +77133,44 @@ function Dje() {
});
}
}
-function Oje() {
- Dje(), [".board-filter-frame", "#count"].forEach((e) => {
+function Lje() {
+ Ije(), [".board-filter-frame", "#count"].forEach((e) => {
let t = I(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
function d7() {
V5.stickyFrame ||= J.frame(() => {
- V5.stickyFrame = 0, Oje();
+ V5.stickyFrame = 0, Lje();
});
}
-function kje() {
+function Rje() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), J.handler(I("#filterBtn"), "onclick", () => J5(!I("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => cAe(Bl === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = lAe, V5.DIRECT_MANAGE_NAV = uAe, V5.settingsHost = () => ({
- selectSection: (e) => oH(xV(e), {
+ }), J.handler(I("#filterBtn"), "onclick", () => J5(!I("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => _Ae(Bl === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = vAe, V5.DIRECT_MANAGE_NAV = yAe, V5.settingsHost = () => ({
+ selectSection: (e) => pH(OV(e), {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
}),
- closed: vje,
+ closed: Dje,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => mo(e),
navCatalog: V5.NAV_CATALOG,
- themeOptions: cA,
- videoLayouts: mA,
+ themeOptions: pA,
+ videoLayouts: yA,
followInitialRanges: P8,
videoLayout: () => r7(),
- setVideoLayout: Eje,
+ setVideoLayout: Fje,
censored: Q7,
- setCensored: Qje,
+ setCensored: sMe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: $je,
+ setHighContrast: cMe,
receipt: (e) => C8.actionReceipt(e),
failure: C8.actionFailure,
- syncRemote: (e) => sA(e, (e) => Z.settingsEffects[e]?.()),
+ syncRemote: (e) => fA(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => R("/healthz").then((e) => (Zl({ runtimeConfigurable: !!e.configurable }), Bl)).catch(() => null)
@@ -77161,7 +77188,7 @@ var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({
">": "&gt;",
"\"": "&quot;"
})[e]), m7 = (e) => e.repeat(f7);
-function Aje(e, t, n) {
+function zje(e, t, n) {
let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join("");
return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
@@ -77202,25 +77229,25 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function jje() {
+function Bje() {
X.initialParams.has("loc") || (U.loc = h7(U.loc), Ql());
}
function h7(e) {
- return $ke(e, Z.sourceOnline);
+ return cAe(e, Z.sourceOnline);
}
function g7(e = U) {
- return eAe(e);
+ return lAe(e);
}
-function Mje() {
- Zl(T8(tAe(U, Z.appSettings, C8.rollSeed))), k8();
+function Vje() {
+ Zl(T8(uAe(U, Z.appSettings, C8.rollSeed))), k8();
}
function _7(e = null, t = !1) {
- Mje(), e && (Object.assign(U, e), Ql()), Q.route(e ? g7() : "/"), X.clearSearchField(), i9(!1), W5(), g9(), M7(), t && window.scrollTo({
+ Vje(), e && (Object.assign(U, e), Ql()), Q.route(e ? g7() : "/"), X.clearSearchField(), i9(!1), W5(), g9(), M7(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function Nje(e, t = null) {
+function Hje(e, t = null) {
let n = e.id;
!e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);
}
@@ -77229,13 +77256,13 @@ function v7(e) {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function Pje(e, t) {
+function Uje(e, t) {
i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);
}
function y7(e, t) {
- e.edition_group ? oMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? sMe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);
+ e.edition_group ? hMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? gMe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);
}
-async function Fje(e, t) {
+async function Wje(e, t) {
try {
let n = await R("/api/watch-later", {
method: "POST",
@@ -77252,7 +77279,7 @@ async function Fje(e, t) {
C8.actionFailure("更新稍后看", e);
}
}
-async function Ije(e, t) {
+async function Gje(e, t) {
try {
await R("/api/batch", {
method: "POST",
@@ -77276,8 +77303,8 @@ async function Ije(e, t) {
throw C8.actionFailure("操作", e), e;
}
}
-async function Lje(e, t, n, r) {
- let i = Number(e.rating) || 0, a = WM(i, t), o = async (t, r) => {
+async function Kje(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = YM(i, t), o = async (t, r) => {
let i = (await R("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -77291,7 +77318,7 @@ async function Lje(e, t, n, r) {
};
try {
let e = await o(a, r);
- C8.actionReceipt(e ? `已评 ${UM(e)} 星` : "已取消评分", { undo: () => o(i) });
+ C8.actionReceipt(e ? `已评 ${JM(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
throw r?.aborted || C8.actionFailure("评分", e), e;
}
@@ -77319,9 +77346,9 @@ async function b7(e) {
e[n] && t.set(n, e[n]);
});
}
- return oAe(t.toString(), X.topsQueryParams(e).toString());
+ return hAe(t.toString(), X.topsQueryParams(e).toString());
}
-function Rje() {
+function qje() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
@@ -77341,7 +77368,7 @@ async function S7(e) {
t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));
}
function C7(e) {
- Rje();
+ qje();
let t = s5();
if (t.type === "entity") {
let n = { ...t.filters };
@@ -77358,7 +77385,7 @@ function C7(e) {
} }), Q.route(g7()), W5(), M7();
} else e(U), Ql(), Q.route(g7()), x7(U), S7(Cl);
}
-function zje() {
+function Jje() {
return {
tiers: null,
empty: !1,
@@ -77393,12 +77420,12 @@ function T7(e) {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || zje(),
+ ...X.catalogFilterProps || Jje(),
...e
- }, !X.catalogFilterMounting && (GV(t) ? YV(t, e) : (!t.firstChild && !n && (t.innerHTML = Aje(X.catalogViews(), X.catalogFilterProps.state, O7()), Ts(t)), X.catalogFilterMounting = JV("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (QV(t) ? nH(t, e) : (!t.firstChild && !n && (t.innerHTML = zje(X.catalogViews(), X.catalogFilterProps.state, O7()), Ts(t)), X.catalogFilterMounting = tH("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
- }).then(() => YV(t, X.catalogFilterProps)).finally(() => {
+ }).then(() => nH(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
@@ -77420,17 +77447,17 @@ function E7() {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = zk(e, U.sort, U.dir);
+ let t = Wk(e, U.sort, U.dir);
t && (U.sort = t.sort, U.dir = t.dir, Ql(), X7());
},
- reshuffle: () => Zje(),
+ reshuffle: () => oMe(),
setLayout: (e) => {
- t7() ? i7(e) : Tje(e);
+ t7() ? i7(e) : Pje(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await sAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ let n = (await gAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
return e === "performers" ? n.map(A7) : n.map(j7);
}
};
@@ -77439,13 +77466,13 @@ function D7() {
return t7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: yA(),
- options: mA
+ value: wA(),
+ options: yA
} : n7() ? {
name: "home-layout",
label: "首页卡片版式",
value: r7(),
- options: mA
+ options: yA
} : null;
}
function O7() {
@@ -77483,7 +77510,7 @@ function j7(e) {
logo: e.has_logo ? Pa(e.k, "icon", e.logo_version) : ""
};
}
-function Bje(e) {
+function Yje(e) {
X.catalogFilterProps?.tiers || (X.barsRendered = "", T7({
tiers: null,
state: e.state || ""
@@ -77499,7 +77526,7 @@ async function M7() {
U.seed || "",
t7()
]);
- Bje(n);
+ Yje(n);
let [i, a] = await b7(t);
if (e !== X.barsRequestSeq) return;
let o = r + "\n" + JSON.stringify([i, a]);
@@ -77545,7 +77572,7 @@ async function M7() {
latest: null
});
}
-function Vje(e, t) {
+function Xje(e, t) {
t9.total = e, U.state === "trash" && (D5.trashCount = {
total: t9.total,
shown: t
@@ -77610,10 +77637,10 @@ async function L7() {
filters: U
},
detailReturnBarsContext: null
- }), i9(!1), U.state === "ads") return Wje(e);
+ }), i9(!1), U.state === "ads") return $je(e);
if (X.controller.page === "/junk-files" && z7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {
if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- EAe();
+ FAe();
} else Q8();
return I7(), I("#count").classList.remove("manage-static", "junkcount"), B7(e);
}
@@ -77622,22 +77649,22 @@ function R7(e) {
}
function z7() {
let e = I("#grid");
- cl(e), XV(e), X.controller.clear(), e.innerHTML = "";
+ cl(e), rH(e), X.controller.clear(), e.innerHTML = "";
}
function B7(e) {
- return W7("/", Uje, e, { place: CMe });
+ return W7("/", Qje, e, { place: MMe });
}
-function Hje(e) {
- return W7("/junk-files", Kje, e);
+function Zje(e) {
+ return W7("/junk-files", tMe, e);
}
function V7() {
- return !!WV(I("#grid"));
+ return !!ZV(I("#grid"));
}
function H7() {
return X.controller.taken(V7());
}
function U7(e) {
- YV(I("#grid"), e);
+ nH(I("#grid"), e);
}
function W7(e, t, n, r = {}) {
let i = I("#grid");
@@ -77645,8 +77672,8 @@ function W7(e, t, n, r = {}) {
let a = X.controller.begin(e, V7()), o = t();
if (!a.mount) return U7(o), a.settled;
cl(i);
- let s = () => XV(i);
- return a.signal.addEventListener("abort", s, { once: !0 }), JV(e, o, {
+ let s = () => rH(i);
+ return a.signal.addEventListener("abort", s, { once: !0 }), tH(e, o, {
...r,
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
@@ -77656,17 +77683,17 @@ function W7(e, t, n, r = {}) {
}
function G7() {
let e = n7();
- return EA({
+ return jA({
active: t7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
function K7(e = "正在读取作品") {
- return kY(e, q7());
+ return WY(e, q7());
}
function q7() {
- return U ? DA(G7()) : 16 / 9;
+ return U ? MA(G7()) : 16 / 9;
}
function J7() {
H7() && (cl(I("#grid")), U7({
@@ -77677,7 +77704,7 @@ function J7() {
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function Uje() {
+function Qje() {
let e = decodeURIComponent(location.pathname), t = Qt(e), n = U.state === "trash";
return {
mode: "catalog",
@@ -77699,9 +77726,9 @@ function Uje() {
mix: t && e !== "/wall" && !n && U.browse !== "folders",
shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
countRow: I("#count"),
- onCount: Vje,
+ onCount: Xje,
onCountFailed: () => T7({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : OK({
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : pq({
jav: t7() && !t,
configurable: Bl,
filtered: !t
@@ -77709,11 +77736,11 @@ function Uje() {
canLoadMore: () => I("#stats").hidden && I("#index").hidden
};
}
-function Wje(e) {
+function $je(e) {
let t = I("#count");
- return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), L5("正在读取垃圾文件")), W5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Hje(e);
+ return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), L5("正在读取垃圾文件")), W5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Zje(e);
}
-async function Gje(e, t) {
+async function eMe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await R("/api/batch", {
@@ -77738,9 +77765,9 @@ async function Gje(e, t) {
throw C8.actionFailure("操作", e), e;
}
}
-function Kje() {
+function tMe() {
return {
- ...P$(location.search),
+ ...X$(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -77756,8 +77783,8 @@ function Kje() {
canLoadMore: () => I("#stats").hidden && I("#index").hidden
};
}
-function qje() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), Zl(T8(Qke(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {
+function nMe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), Zl(T8(sAe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {
@@ -77778,21 +77805,21 @@ function qje() {
};
};
}
-function Jje() {
+function rMe() {
J.handler(I("#wallBtn"), "onclick", () => {
k5(!1, !0);
let e = s5(), t = {
...Y.activeFilterState(),
jav: t7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(yK(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(iq(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => hF(e, t),
- displayName: (e, t) => mF(e, t),
+ titleHtml: (e, t) => bF(e, t),
+ displayName: (e, t) => yF(e, t),
tagLabel: (e) => fl(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
@@ -77800,11 +77827,11 @@ function Jje() {
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
wallDetails: y7,
- open: (e, t) => Pje(e, t),
- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : Nje(e, t),
+ open: (e, t) => Uje(e, t),
+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : Hje(e, t),
openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : d9(e.id),
openShorts: () => d9(),
- openMix: (e, t) => aMe(e, e, !0, t),
+ openMix: (e, t) => mMe(e, e, !0, t),
openEntity: (e, t) => y5(e, t),
openUnowned: () => _7({ owner: "none" }, !0),
toggleTag: (e) => {
@@ -77816,9 +77843,9 @@ function Jje() {
});
},
toggleSelection: (e, t) => A5(e, t),
- watchLater: (e, t) => Fje(e, t),
- rate: (e, t, n, r) => Lje(e, t, n, r),
- resourceOperation: (e, t) => Ije(e, t),
+ watchLater: (e, t) => Wje(e, t),
+ rate: (e, t, n, r) => Kje(e, t, n, r),
+ resourceOperation: (e, t) => Gje(e, t),
mixRelated: (e) => v7(e),
canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
@@ -77858,7 +77885,7 @@ function Jje() {
X.catalogFilterProps && T7({ comboHidden: !0 });
};
}
-function Yje() {
+function iMe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
Dl && k5(!1, !0), Q.route(e);
@@ -77875,10 +77902,10 @@ function Yje() {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => Gje(e, t)
+ operate: (e, t) => eMe(e, t)
};
}
-X.controller = new nAe();
+X.controller = new dAe();
//#endregion
//#region src/application/preferences.js
var Z = {
@@ -77913,18 +77940,18 @@ async function Y7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), jje(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Bje(), Z.sourceOnline;
}
function X7() {
let e = Q.surfacePath();
if (!Qt(e) || e === "/junk-files") return L7();
let t = Z.nextCatalogLoad();
- return oH(g7(), {
+ return pH(g7(), {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
}), t;
}
-function Xje(e) {
+function aMe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -77956,7 +77983,7 @@ function Z7(e, t) {
value: e.k,
label: wn[e.k] || e.k,
n: e.n ?? null,
- dot: Xje(e.k),
+ dot: aMe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -77968,7 +77995,7 @@ function Z7(e, t) {
duration: !!e.stats?.duration
};
}
-async function Zje(e = !1) {
+async function oMe(e = !1) {
if (e && (document.hidden || !Qt(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Dl || Tl.size || document.activeElement === I("#q"))) return !1;
if (!I("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
@@ -77978,7 +78005,7 @@ async function Zje(e = !1) {
return;
}
let n = t === "reopen" ? e : "/stats";
- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, aH.navigation.location.state) : Q.navigatePath(n);
+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, fH.navigation.location.state) : Q.navigatePath(n);
} else if (I("#index").hidden) {
U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), Ql(), k8(), T7({ refreshing: !0 });
try {
@@ -77999,44 +78026,44 @@ function Q7() {
function $7(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function Qje(e) {
+function sMe(e) {
localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && cl();
}
-function $je(e) {
+function cMe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function e9(e) {
return Hs(e, { drag: !0 });
}
-function eMe() {
+function lMe() {
["#nrow", "#count"].forEach((e) => e9(I(e))), document.querySelectorAll(".tier,.srow").forEach(e9);
}
-function tMe() {
+function uMe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function nMe() {
+function dMe() {
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 = oA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), fA(), Doe(), LA(), BA(), VA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
- theme: () => fA(),
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = dA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), _A(), Soe(), HA(), GA(), KA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ theme: () => _A(),
uiSounds: () => {
po(Z.appSettings.uiSounds), Z.appSettings.uiSounds && mo("toggle-on");
},
- glowFrame: () => zA(),
+ glowFrame: () => WA(),
glow: () => {
- zA(), BA();
+ WA(), GA();
},
batchSize: () => {
location.pathname === "/" && L7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = Bk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();
+ U.sort = Z.appSettings.defaultSort, U.dir = Gk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();
},
sortDirection: () => {
- U.dir = Bk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();
+ U.dir = Gk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
@@ -78045,16 +78072,16 @@ function nMe() {
},
seekSeconds: () => J7(),
groupCollapse: () => s7(),
- feedAutoScroll: () => DAe(),
+ feedAutoScroll: () => IAe(),
feedLimit: () => $8(),
feedCompilations: () => $8(),
miniplayer: () => {
Z.appSettings.miniplayer || i8()?.closeMiniplayer();
},
javImage: () => {
- Da(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), iMe();
+ Da(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), pMe();
},
- searchHistoryLimit: () => YV(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
+ searchHistoryLimit: () => nH(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
...Object.fromEntries(Object.entries(No).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : L(t)])),
online: L("rss")
@@ -78063,7 +78090,7 @@ function nMe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = os;
}
-function rMe() {
+function fMe() {
Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
//#endregion
@@ -78100,13 +78127,13 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailReturnNeedsRestore: !1
}), d7(), e && Q.route(jl || "/");
}
-function iMe() {
+function pMe() {
i8()?.repaintPoster();
}
function a9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = Fl?.kind === e && (e === "playlist" ? Fl.playlistId : Fl.seedId) === t;
- r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && AV();
+ r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && LV();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -78119,19 +78146,19 @@ function a9(e, t, n, r, i = null, a = {}) {
if (a.autoplay && (s.autoplay = !0), r) {
_9();
let e = Q.queueOpenRequest = {
- seq: aH.navigation.seq,
+ seq: fH.navigation.seq,
cancelled: !1
};
Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });
} else return c9(n == null ? null : +n, !1, s, i, r);
}
-function aMe(e, t = e, n = !0, r = null) {
+function mMe(e, t = e, n = !0, r = null) {
return a9("mix", e, t, n, r);
}
-function oMe(e, t = e, n = !0, r = null) {
+function hMe(e, t = e, n = !0, r = null) {
return a9("editions", e, t, n, r);
}
-function sMe(e, t = e, n = !0, r = null) {
+function gMe(e, t = e, n = !0, r = null) {
return a9("parts", e, t, n, r);
}
function o9(e, t = null, n = !0) {
@@ -78148,7 +78175,7 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
}
cl(), e = e == null ? null : +e;
let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = s9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : Y.cloneBarsContext(s5());
- t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: MV() || jl }), t && AV(), i8()?.showing() !== "item" && i9(!1, !0, {
+ t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: zV() || jl }), t && LV(), i8()?.showing() !== "item" && i9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Zl({
@@ -78159,7 +78186,7 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, NV("item"));
+ } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, BV("item"));
let d = await r8(t9.stageHost);
if (a?.cancelled) return;
let f = a ? {
@@ -78191,7 +78218,7 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
}
async function l9() {
let e = Y.cloneBarsContext(wl), t = jl || "/", n = Pl;
- await r9(), i9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), jV(), Zl({ barsContext: e || {
+ await r9(), i9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), RV(), Zl({ barsContext: e || {
type: "home",
filters: U
} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (M7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));
@@ -78201,14 +78228,14 @@ async function u9(e, t = !0) {
Zl({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));
return;
}
- let n = aH.navigation.seq, r = Y.cloneBarsContext(s5()), i = !s9(), a = MV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";
+ let n = fH.navigation.seq, r = Y.cloneBarsContext(s5()), i = !s9(), a = zV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";
i8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Zl({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), cl();
let [o, s] = await Promise.all([r8(t9.stageHost), B("/healthz")]);
- aH.navigation.seq === n && (await o.open({
+ fH.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
@@ -78216,9 +78243,9 @@ async function u9(e, t = !0) {
close: () => void l9(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
- aH.navigation.seq === n && t && t !== e && oH("/works/" + encodeURIComponent(t) + location.search + location.hash, {
+ fH.navigation.seq === n && t && t !== e && pH("/works/" + encodeURIComponent(t) + location.search + location.hash, {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
});
},
openTag: (e) => {
@@ -78234,9 +78261,9 @@ async function u9(e, t = !0) {
}), d7());
}
async function d9(e = null, t = !0) {
- t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await Uke(t9.immerseHost)).open(e));
+ t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await Qke(t9.immerseHost)).open(e));
}
-function cMe() {
+function _Me() {
t9.total = 0, t9.facets = null, t9.stageHost = {
player: {
settings: () => Z.appSettings,
@@ -78252,11 +78279,11 @@ function cMe() {
openItem: (e) => void c9(e)
}, t9.stageOpen = () => !!i8()?.isOpen();
}
-function lMe() {
+function vMe() {
t9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => hF(e),
- displayName: (e) => mF(e),
+ titleHtml: (e) => bF(e),
+ displayName: (e) => yF(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => fl(e),
isDurationTag: (e) => Dn.has(e),
@@ -78279,14 +78306,14 @@ function lMe() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, NV("item")), Zl({ pendingQueueRoute: null })), M7();
+ } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, BV("item")), Zl({ pendingQueueRoute: null })), M7();
},
redirect: (e) => {
let t = !!Il;
e.kind === "follow" ? (Q.queueOpenRequest = null, Zl({
pendingQueueRoute: null,
followDetailReturnPath: jl || "/"
- }), Q.route(`/posts/${e.id}`, !t, NV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : i9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, BV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : i9(!1);
},
openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -78310,14 +78337,14 @@ function lMe() {
behavior: "smooth"
});
},
- addToPlaylist: (e) => VAe(e),
- saveMix: (e) => BAe(e),
+ addToPlaylist: (e) => XAe(e),
+ saveMix: (e) => YAe(e),
editPlaylist: () => b9("/playlists"),
openPlaylists: () => b9("/playlists"),
reveal: (e) => m5(e),
- sync: (e) => MAe(e),
+ sync: (e) => VAe(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (jV(), i9(!0, !1, { miniplayer: !1 })), await L7());
+ U.state === "ads" && (t || e === "trash") && (t || (RV(), i9(!0, !1, { miniplayer: !1 })), await L7());
},
toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
failure: (e, t) => C8.actionFailure(e, t)
@@ -78325,7 +78352,7 @@ function lMe() {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => mF(e),
+ displayName: (e) => yF(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => _7(),
openItem: (e) => void c9(e),
@@ -78347,7 +78374,7 @@ var f9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function uMe() {
+async function yMe() {
Lc(), await f9.writePostSetupTutorialDone(!1), await p9();
}
async function p9() {
@@ -78401,20 +78428,20 @@ async function p9() {
}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function dMe() {
+function bMe() {
if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, Vl) {
Oc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
- e.searchParams.delete("onboarding"), oH(e, {
+ e.searchParams.delete("onboarding"), pH(e, {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
});
}
{
let e = new URL(location.href), t = e.searchParams.get("agentation");
- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), oH(e, {
+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), pH(e, {
replace: !0,
- state: aH.navigation.location.state
+ state: fH.navigation.location.state
})), t === "on" && import("/dev/agentation.js").catch(() => {});
}
f9.postSetupTutorialTasks = async () => {
@@ -78550,26 +78577,26 @@ function _9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Zl({ pendingQueueRoute: null });
}
function v9(e, t, n) {
- _9(), AV(), Q.requestedOverlay = {
+ _9(), LV(), Q.requestedOverlay = {
path: e,
open: n
- }, Q.route(e, !1, NV(t));
+ }, Q.route(e, !1, BV(t));
}
function y9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), jV(), p9();
+ Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), RV(), p9();
}
function b9(e) {
Q.route(e), Zl({ pageOpens: Hl + 1 });
}
-function fMe() {
+function xMe() {
Q.routeMeta = (e) => {
- let t = IV(e);
+ let t = UV(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(FV).find((n) => FV[n][e] === t), Q.catalogPage = (e) => Qt(e) || e === "/trash", Q.managedPagePath = (e) => {
- let t = IV(e);
- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !EV(e) && e !== "/immerse";
+ }, Q.routePathOf = (e, t) => Object.keys(HV).find((n) => HV[n][e] === t), Q.catalogPage = (e) => Qt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ let t = UV(e);
+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !NV(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? d9(tMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? aje() : e) : (k5(!1, !0), b9(N5({
+ e === "/immerse" ? d9(uMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? mje() : e) : (k5(!1, !0), b9(N5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -78578,35 +78605,35 @@ function fMe() {
})));
};
}
-function pMe() {
+function SMe() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), XV(I("#stats"), I("#index")), !Qt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
- Q.surfaceEpoch++, X.barsRequestSeq++, oH(e, {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), rH(I("#stats"), I("#index")), !Qt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ Q.surfaceEpoch++, X.barsRequestSeq++, pH(e, {
replace: t,
state: n
}), I5.syncPageTitle(e), queueMicrotask(() => {
u7(), $5(), h9(), p9();
});
}, Q.navigatePath = (e, t = !1, n) => {
- t ? aH.replace(e, n) : aH.push(e, n), queueMicrotask(() => {
+ t ? fH.replace(e, n) : fH.push(e, n), queueMicrotask(() => {
u7(), $5();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
//#endregion
//#region src/jobs.ts
-function mMe(e, t, n) {
+function CMe(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 hMe(e, t = 0, n = 0) {
- return n > 0 ? mMe(e, t, n) : is(e);
+function wMe(e, t = 0, n = 0) {
+ return n > 0 ? CMe(e, t, n) : is(e);
}
-async function gMe(e) {
+async function TMe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -78621,14 +78648,14 @@ async function gMe(e) {
await t(2e3);
}
}
-function _Me(e) {
+function EMe(e) {
let t = e.note || ((e) => ts(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || is, r = e.progress || ((e, t, n) => hMe(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 || is, r = e.progress || ((e, t, n) => wMe(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;
- gMe({
+ TMe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -78678,7 +78705,7 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function vMe(e) {
+function DMe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
C8.toast({ text: ui(e) }, {
warn: !!t,
@@ -78693,7 +78720,7 @@ function vMe(e) {
function x9() {
return Zi(S9());
}
-function yMe() {
+function OMe() {
return $.controller.read();
}
function S9() {
@@ -78714,17 +78741,17 @@ function S9() {
function C9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function bMe() {
- let e = WV(I("#stats"));
+function kMe() {
+ let e = ZV(I("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function w9() {
- return !!bMe();
+ return !!kMe();
}
function T9(e) {
- w9() && YV(I("#stats"), e);
+ w9() && nH(I("#stats"), e);
}
-function xMe(e, t = {}) {
+function AMe(e, t = {}) {
return $.controller.route(e, t);
}
function E9(e = !1) {
@@ -78737,7 +78764,7 @@ async function D9(e, t = !0, n = null, r = !1) {
}
cl(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: MV() || "/follow" }), t && AV(), i8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, NV("follow")), await (await r8(t9.stageHost)).open({
+ t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: zV() || "/follow" }), t && LV(), i8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, BV("follow")), await (await r8(t9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -78748,16 +78775,16 @@ async function D9(e, t = !0, n = null, r = !1) {
resume: t ? null : n9()
}), d7();
}
-async function SMe() {
- await r9(), i9(!1, !1, { miniplayer: !1 }), jV(), Q.route(Rl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && w9() ? (yMe(), T9({ view: S9() })) : Zl({ pageOpens: Hl + 1 }));
+async function jMe() {
+ await r9(), i9(!1, !1, { miniplayer: !1 }), RV(), Q.route(Rl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && w9() ? (OMe(), T9({ view: S9() })) : Zl({ pageOpens: Hl + 1 }));
}
-function CMe(e) {
+function MMe(e) {
let t = document.createElement("div");
return t.className = "peach-react", gs(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function wMe() {
+function NMe() {
$.followFeedHelpers = ml({
wireDrag: (e) => {
e && e9(e);
@@ -78766,32 +78793,32 @@ function wMe() {
e && Hs(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: _Me
+ jobProgress: EMe
}), $.followFeedActions = {
loaded: (e) => G5(e),
openDetail: (e) => D9(e),
openAuthor: (e) => Q.navigatePath(tn("creator", e)),
- toggleSelection: (e, t) => qAe(e, t),
+ toggleSelection: (e, t) => nje(e, t),
setImagesOnly: (e) => {
Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();
},
setPhotoLayout: (e) => {
- kA(e), d5();
+ PA(e), d5();
},
canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),
toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
failure: (e, t) => C8.actionFailure(e, t),
- checkReport: (e) => vMe(e)
+ checkReport: (e) => DMe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- i8()?.showing() !== "follow" && (cl(), i9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), I("#stats").querySelector(".peach-react") && XV(I("#stats")), I("#stats").replaceChildren()));
+ i8()?.showing() !== "follow" && (cl(), i9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), I("#stats").querySelector(".peach-react") && rH(I("#stats")), I("#stats").replaceChildren()));
}
}, $.followDetailActions = Sl({
view: S9,
adoptView: C9,
rememberReturn: (e) => Zl({ followDetailReturnPath: e }),
- close: () => void SMe(),
+ close: () => void jMe(),
open: (e, t, n) => void D9(e, !0, t, n),
drawer: G5,
openAuthor: (e) => Q.navigatePath(tn("creator", e))
@@ -78800,7 +78827,7 @@ function wMe() {
failure: C8.actionFailure
});
}
-function TMe() {
+function PMe() {
$.controller = ea({
location: () => location,
view: S9,
@@ -78818,8 +78845,8 @@ function TMe() {
preferences: () => ({
selectMode: Dl,
selected: El,
- photoSize: CA(),
- photoLayout: wA(),
+ photoSize: OA(),
+ photoLayout: kA(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
live: w9,
@@ -78841,15 +78868,15 @@ function TMe() {
//#endregion
//#region src/application/lifecycle.js
var O9 = { overlayScan: void 0 };
-function EMe() {
- bbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(I("#drawerScroll")), O9.overlayScan = 0, J.mutation(() => {
+function FMe() {
+ Hbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(I("#drawerScroll")), O9.overlayScan = 0, J.mutation(() => {
O9.overlayScan ||= J.delay(() => {
O9.overlayScan = 0, sc();
});
}).observe(document.body, {
childList: !0,
subtree: !0
- }), sc(), fa(document.body), X.homeHasFeed = wAe(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {
+ }), sc(), fa(document.body), X.homeHasFeed = NAe(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {
content: null,
filters: {},
latest: null
@@ -78861,7 +78888,7 @@ function EMe() {
}
//#endregion
//#region src/react/search/recommendations.ts
-async function DMe(e) {
+async function IMe(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -78885,9 +78912,9 @@ async function DMe(e) {
let t = Li(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = Ri(e, n), i = l.sources.find((e) => e.id === r.source_id), a = GU(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 = Ri(e, n), i = l.sources.find((e) => e.id === r.source_id), a = OW(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: VU(r),
+ value: wW(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -78903,7 +78930,7 @@ async function DMe(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: WU(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: DW(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, {
@@ -78974,7 +79001,7 @@ async function DMe(e) {
}
//#endregion
//#region src/application/search-morph.js
-function OMe(e, t, n, r, i, a, o) {
+function LMe(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);
@@ -79000,7 +79027,7 @@ var k9 = {
function A9() {
k9.searchControl?.close();
}
-function kMe(e) {
+function RMe(e) {
let t = e ? Ca({
...e,
is_jav: !!e.code
@@ -79019,7 +79046,7 @@ function M9(e) {
if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = tc();
t.classList.add("search-morphing");
- let h = t.animate(OMe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(LMe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -79028,13 +79055,13 @@ function M9(e) {
k9.searchMorph === h && j9();
});
}
-function AMe() {
+function zMe() {
return t9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;
}
-function jMe(e) {
+function BMe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function MMe() {
+function VMe() {
k9.searchControl = null, k9.searchActions = {
search: (e) => {
X.rememberSearchValue(), i9(!1), U.q = e, Ql(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
@@ -79046,9 +79073,9 @@ function MMe() {
$.followMediaView = t, D9(e, !0, n);
}
}, k9.searchHelpers = {
- pool: () => DK(U, R),
- recommendations: () => DMe(R),
- 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) : kMe(e)}</span>`,
+ pool: () => fq(U, R),
+ recommendations: () => IMe(R),
+ 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) : RMe(e)}</span>`,
present: (e) => wo(e),
dismiss: (e) => To(e),
wireScroller: (e) => Hs(e),
@@ -79063,7 +79090,7 @@ function MMe() {
text: e.value,
scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft
})
- }, JV("search", {
+ }, tH("search", {
input: I("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
actions: k9.searchActions,
@@ -79082,7 +79109,7 @@ function MMe() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function NMe() {
+function HMe() {
k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {
innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());
}, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(I("#searchBtn"), "onclick", () => {
@@ -79124,7 +79151,7 @@ function NMe() {
}
return;
}
- if (jMe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (BMe(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) {
@@ -79132,26 +79159,26 @@ function NMe() {
return;
}
}
- let t = AMe();
+ let t = zMe();
if (t) {
if (e.key === "t" || e.key === "T") {
e.preventDefault(), i8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), hM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), yM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), mM(t);
+ e.preventDefault(), vM(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), kj(t, ".vjs-mute-control");
+ e.preventDefault(), Nj(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), kj(t, ".vjs-fullscreen-control");
+ e.preventDefault(), Nj(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
@@ -79163,7 +79190,7 @@ function NMe() {
}
//#endregion
//#region src/history/links.ts
-function PMe(e) {
+function UMe(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;
@@ -79177,9 +79204,9 @@ function PMe(e) {
} catch {
return null;
}
- if (i.origin !== window.location.origin || n.startsWith("#") && EV(i.pathname)) return null;
- let a = IV(i.pathname);
- return n.startsWith("#") && !a?.section || !TV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;
+ if (i.origin !== window.location.origin || n.startsWith("#") && NV(i.pathname)) return null;
+ let a = UV(i.pathname);
+ return n.startsWith("#") && !a?.section || !MV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;
}
//#endregion
//#region src/application/composition.js
@@ -79187,32 +79214,32 @@ var N9 = {
shellActions: void 0,
routing: void 0
};
-function FMe() {
+function WMe() {
let e = J, t = (e) => {
e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);
};
- if (CAe(), I5.entityShapesReady = G8(), dje(), location.pathname === "/") {
+ if (MAe(), I5.entityShapesReady = G8(), bje(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (I("#catalogPageHeading").hidden = !1);
}
- Z8(decodeURIComponent(location.pathname)) && J8(I("#feedNew")), bje(), N9.shellActions = {
+ Z8(decodeURIComponent(location.pathname)) && J8(I("#feedNew")), kje(), N9.shellActions = {
openSettings: (e) => Y5(e, !0),
closeSettings: () => u8()?.close(!1),
openItem: (e) => void c9(e),
openEntity: (e, t) => void y5(e, t),
openTag: (e) => {
- hje(), P7(e);
+ wje(), P7(e);
},
- openTasteSignal: zAe,
+ openTasteSignal: JAe,
navigate: (e) => {
- let n = new URL(e, location.href), r = TV(n.pathname, n.search);
+ let n = new URL(e, location.href), r = MV(n.pathname, n.search);
if (r) {
let e = r.kind === "queue" ? "item" : r.kind;
v9(n.pathname + n.search + n.hash, e, () => t(r));
- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !EV(location.pathname)) {
+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !NV(location.pathname)) {
Q.route(e);
- let t = aH.navigation.seq;
- l6(n.hash, () => aH.navigation.seq === t);
+ let t = fH.navigation.seq;
+ l6(n.hash, () => fH.navigation.seq === t);
} else Q.navigatePath(e);
},
openManage: e7,
@@ -79222,9 +79249,9 @@ function FMe() {
toast: (e, t) => C8.toast(e, t),
failure: C8.actionFailure,
revealSource: m5,
- reopenTutorial: uMe,
- routeReview: HAe,
- routeFollowManage: ije,
+ reopenTutorial: yMe,
+ routeReview: ZAe,
+ routeFollowManage: pje,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
@@ -79235,10 +79262,10 @@ function FMe() {
},
exitSelectMode: () => k5(!1, !1),
personAvatar: (e, t, n) => M5.personAvatar(e, t, n),
- authorAvatar: (e) => oje(e),
- showIndexTags: sje,
+ authorAvatar: (e) => hje(e),
+ showIndexTags: gje,
openFollowAuthor: F5,
- openFollowTag: cje,
+ openFollowTag: _je,
openPlaylist: (e, t) => void o9(e, t, !0),
canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
@@ -79258,7 +79285,7 @@ function FMe() {
},
openOverlay: (e) => {
let n = Q.requestedOverlay;
- Q.requestedOverlay = null, aH.navigation.claimed && (!sH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (sH() && (Q.initialOverlayOpened = !0), t(e));
+ Q.requestedOverlay = null, fH.navigation.claimed && (!mH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (mH() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
t9.stageOpen() && i9(!1);
@@ -79294,7 +79321,7 @@ function FMe() {
Z.handOff(L7());
},
fill: () => {
- if (H7() || !sH() && !I("#grid").querySelector(".catalog-skeleton")) return;
+ if (H7() || !mH() && !I("#grid").querySelector(".catalog-skeleton")) return;
let e = I("#count");
e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));
},
@@ -79303,16 +79330,16 @@ function FMe() {
}
}
}, N9.routing = !1, e.listen(document, "click", (e) => {
- let t = PMe(e);
+ let t = UMe(e);
t && (e.preventDefault(), N9.shellActions.navigate(t));
- }), J.own(aH.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !EV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();
- })), Vke(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Cje(), QAe(), Z5(), Promise.all([
+ }), J.own(fH.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !NV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();
+ })), Xke(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Mje(), sje(), Z5(), Promise.all([
Y7(),
- xje(),
+ Aje(),
I5.entityShapesReady
]).then(() => {
- e.isActive && (I5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), eMe(), N9.routing = !0, Zl({ pageOpens: 1 }), y9(), d7());
+ e.isActive && (I5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), lMe(), N9.routing = !0, Zl({ pageOpens: 1 }), y9(), d7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
@@ -79320,7 +79347,7 @@ function FMe() {
//#endregion
//#region src/theme-transition.ts
var P9 = !1;
-async function IMe(e, t) {
+async function GMe(e, t) {
if (P9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -79343,7 +79370,7 @@ async function IMe(e, t) {
}
//#endregion
//#region src/application/chrome.js
-function LMe() {
+function KMe() {
(() => {
let e = J, t = [
"#brandHome",
@@ -79405,7 +79432,7 @@ function LMe() {
e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());
}), R("/api/libraries", { signal: e.signal }).then((t) => {
if (!e.isActive) return;
- VW(t.libraries);
+ EG(t.libraries);
let n = [[
"",
"全部媒体库",
@@ -79443,14 +79470,14 @@ function LMe() {
(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="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && IMe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), fA();
+ t.getAttribute("aria-pressed") !== "true" && GMe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), _A();
});
- })), fA();
+ })), _A();
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 = Oo(g, v, _);
- e.own(y.dispose), e.own(JA(v)), Jke({
+ e.own(y.dispose), e.own(QA(v)), rAe({
root: _,
store: Z.settingsStore,
openDetails: () => {
@@ -79594,13 +79621,13 @@ function LMe() {
}
//#endregion
//#region src/application/initialize.js
-function RMe() {
- EMe(), fMe(), fje(), pMe(), nMe(), Xke(), qje(), dMe(), IAe(), cMe(), $Ae(), Jje(), kAe(), UAe(), wMe(), lje(), LAe(), TMe(), uje(), RAe(), kje(), Yje(), MMe(), lMe(), NMe(), rMe(), FMe(), LMe(), J.own(z7), J.own(_9);
+function qMe() {
+ FMe(), xMe(), xje(), SMe(), dMe(), aAe(), nMe(), bMe(), GAe(), _Me(), cje(), rMe(), RAe(), QAe(), NMe(), vje(), KAe(), PMe(), yje(), qAe(), Rje(), iMe(), VMe(), vMe(), HMe(), fMe(), WMe(), KMe(), J.own(z7), J.own(_9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
var 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 zMe(e, t) {
+function JMe(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;
@@ -79618,7 +79645,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 }), BMe = (e) => {
+}, { canvas: null }), YMe = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -79628,17 +79655,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);
-}, VMe = (e) => {
+}, XMe = (e) => {
let t = L9.get(e);
if (!t || !e.isConnected) return;
- let n = BMe(e), r = n > 0 ? zMe(t.full, (t) => U9(e, t) <= n) : t.full;
+ let n = YMe(e), r = n > 0 ? JMe(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, VMe(e);
+ t.raf = 0, XMe(e);
}));
}, G9 = (e) => {
e instanceof HTMLElement && (L9.has(e) || L9.set(e, {
@@ -79651,7 +79678,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 HMe(e = document) {
+function ZMe(e = document) {
B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();
let t = V9, n = !0;
z9 = new ResizeObserver((e) => e.forEach((e) => {
@@ -79726,7 +79753,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], UMe = {
+], QMe = {
catalog: [
...q9,
...J9,
@@ -79743,10 +79770,10 @@ var q9 = [
"avatar-choices"
]
};
-function WMe() {
+function $Me() {
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 UMe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of QMe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -79759,12 +79786,12 @@ function WMe() {
})), t || Promise.resolve();
};
}
-function GMe() {
+function eNe() {
let e = Ct({
- queryKey: _F,
- queryFn: ({ signal: e }) => yF(e),
- refetchInterval: (e) => vF(e.state.data)
- }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(WMe), r = e.data?.result_versions;
+ queryKey: SF,
+ queryFn: ({ signal: e }) => wF(e),
+ refetchInterval: (e) => CF(e.state.data)
+ }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)($Me), r = e.data?.result_versions;
return (0, D.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -79775,54 +79802,54 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function KMe() {
+function tNe() {
if (!X9) {
- let e = Yke();
+ let e = iAe();
X9 = {
effects: e,
owners: 0
- }, e.own(HMe(document)), e.own(() => {
+ }, e.own(ZMe(document)), e.own(() => {
cl(), H.cancelQueries();
- }), e.own(Hke), e.own(rme), e.own(So);
+ }), e.own(Zke), e.own(Xpe), e.own(So);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function qMe() {
+function nNe() {
let [e, t] = (0, D.useState)(null);
return (0, D.useLayoutEffect)(() => {
- let e = X9 === null, n = KMe(), r = Bke(t);
+ let e = X9 === null, n = tNe(), r = Yke(t);
if (e) try {
- RMe();
+ qMe();
} catch (e) {
throw r(), n.effects.dispose(), X9 = null, e;
}
return () => {
r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));
};
- }, []), /* @__PURE__ */ (0, O.jsx)(Phe, {
+ }, []), /* @__PURE__ */ (0, O.jsx)(zhe, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, O.jsx)(GMe, {}) : null
+ background: e ? /* @__PURE__ */ (0, O.jsx)(eNe, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function JMe(e) {
+function rNe(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, Dt.createRoot)(e, Fhe);
+ let n = (0, Dt.createRoot)(e, Bhe);
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, Et.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(qMe, {}))), n;
+ }, (0, Et.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(nNe, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
g();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-JMe($9);
+rNe($9);
//#endregion
-export { FI as $2ec61d1d4f780267$export$a8a3e93435678ff9, JI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, pR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, TT as $72abaeab4d80592f$export$78efe591171d7d45, az as $76d00c5a4edb230a$export$76ccd210b9029917, nz as $76d00c5a4edb230a$export$816b5d811295e6bc, cz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, uz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, tz as $76d00c5a4edb230a$export$f850895b287ef28e, Sde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, xde as $b4f18e3395fe64d7$export$3e41faf802a29e71, vde as $b4f18e3395fe64d7$export$b2539bed5023c21c, mz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Tde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, fw as $ea3928288112382f$export$439d29a4e110a164, ER as $f2ff30fde7b014be$export$3ddf2d174ce01153, NR as $fe21c36db05242bb$export$a98f0dcb43a68a25, PR as $fe21c36db05242bb$export$d7b12c4107be0d61, sfe as $l, UA as ACCENT_CHOICES, VCe as AMANE_BRIDGE_CHECK_URL, C1 as AMANE_BRIDGE_KEY, HCe as AMANE_BRIDGE_REBUILD_URL, kn as ApiError, IW as ArtSlot, q as Button, cI as ButtonLink, gfe as Bx, Vt as CLOUD_LOCATIONS, k0 as CLOUD_PROXY_HELP, mr as COLUMN_SORT, F1 as CONFIGURATION_KEY, DX as CONFIGURATION_URL, UCe as COOKIE_TEXT_LIMIT, S1 as COVER_JOB_KEY, _i as CREDENTIAL_STATE, v1 as CUSTOM_SOURCES_KEY, _1 as CUSTOM_SOURCES_URL, pV as Checkbox, fV as CheckboxGlyph, rV as ChevronSortDown, VZ as Chip, Y2 as CloudDownloadDialog, YH as CollapseChevron, JH as CollapseRegion, z$ as CollectionSummary, yve as DEFAULT_CATEGORY, Nn as DEFAULT_SORT, l$ as DIAGNOSTICS_KEY, gye as DIRECTORY_TEMPLATE_ERROR, P0 as DISCOVERY_SORTS, U2 as DOWNLOADS_KEY, H2 as DOWNLOADS_URL, ZY as DUPLICATES_KEY, PY as DataTableFooter, AY as DataTableFrame, NY as DataTableSort, rU as Disclosure, REe as DownloadsPanel, Qde as E3, bve as ENTITY_REVIEW_KINDS, ufe as Ea, Dfe as EmptyFocusButton, Kz as EmptyState, tU as ErrorText, ahe as ExternalLink, lr as FEEDS_KEY, FX as FEED_SCHEDULE_KEY, LOe as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, sr as FOLLOW_CHECK_KEY, or as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, ar as FOLLOW_MANAGE_KEY, cr as FOLLOW_RESOLVE_KEY, PX as FOLLOW_SCHEDULE_KEY, she as Fact, ohe as FactList, nU as FieldLabel, u1 as Fieldset, l1 as FieldsetTitle, QF as FilterGlass, $F as FilterGlassRows, ZF as FilterIconButton, tI as FilterPill, ihe as Footer, Az as Gg, rI as GlassPill, eU as Help, Lz as HintText, kOe as IDLE_POLL_MS, cve as IDLE_REPAIR, KF as IconButton, Hz as Input, Vz as InputBase, mA as JAV_LAYOUTS, I0 as JAV_RECOMMENDATION_GRID, iZ as JUNK_KEY, Q3 as JavHeader, nve as KEEP_LABELS, dr as LAYOUTS, b0 as LIBRARY_FOLDER_HELP, bH as LIBRARY_PROCESSING_KEY, yX as LINKS_KEY, bX as LINK_CHECK_KEY, Hve as LINK_KINDS, xX as LINK_PRUNE_KEY, wn as LOC, Iz as Label, p1 as LibraryProcessingCard, lB as LibraryShortcuts, jH as LinkButton, UH as LoadingDots, efe as M6, qve as MEDIA_PROCESSING_KEY, LX as MEDIA_PROCESSING_URL, nX as MEDIA_REPAIR_KEY, tX as MEDIA_REPAIR_URL, Vn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, zt as MEDIA_SOURCE_OPTIONS, sV as MENU_ITEM, cV as MENU_ITEM_INTERACTIVE, oV as MENU_POPOVER_SURFACE, NH as MenuDialog, MG as MixCard, Uz as ModalFrame, Ov as MotionConfigContext, Fz as NR, Gz as Note, Cfe as OA, BX as ORGANIZE_KEY, UX as ORPHAN_RECORDS_KEY, kz as OV, Sz as P7, aCe as PHASES, OX as PICK_FOLDER_URL, h1 as PLAYLISTS_KEY, Uwe as POLICY_COLUMNS, Gwe as POLICY_COVER_NOTE, Wwe as POLICY_MATRIX, y0 as POLICY_SUMMARY, MY as Pagination, f1 as PathLine, lF as PillTabList, GH as Progress, sX as QUALITY_GOALS_KEY, r1 as REPAIR_CARD_TEXT, rX as REPAIR_LIBRARIES_KEY, JX as RESOURCE_APPLY_KEY, qX as RESOURCE_SCAN_KEY, vCe as RESULT_PANEL, yCe as RESULT_SECTION, vve as REVIEW_CATEGORIES, rZ as REVIEW_COUNTS_KEY, uX as REVIEW_KEY, dX as REVIEW_LABELS, FW as RetryNote, Sfe as Rf, nhe as Rows, zCe as SCRAPING_CHECK_URL, b1 as SCRAPING_COVER_URL, x1 as SCRAPING_KEY, RCe as SCRAPING_SETTINGS_URL, jU as SEGMENT, AU as SEGMENTED_TRACK, NX as SETTINGS_KEY, kX as SETTINGS_URL, Pn as SORT_DEFAULT_DIR, Mn as SORT_OPTIONS, Ht as SOURCE_LABELS, u3 as STATS_KEY, QH as Section, rhe as SectionSkeleton, kU as SegmentedRadioGroup, Ghe as SegmentedTabList, gW as Segments, jY as Select, SU as Select$1, z1 as SelectField, CU as SelectItem, Ek as SelectionDock, XH as SettingsCard, the as SettingsRow, ZH as SettingsSectionLabel, dhe as SiteLabel, IU as SortDirectionIcon, yW as SortKeys, KQ as SourceAvatar, sU as SourceLabel, iU as SourceMark, $H as Stack, d1 as StatusLabel, I2 as Switch, _F as TASKS_KEY, vOe as TASTE_REFRESH_KEY, yOe as TASTE_WINDOWS, IX as THUMBNAIL_JOBS_KEY, oZ as TRASH_KEY, Ale as TRIGGER_LABELS, xY as Table, VY as TableColumnControls, HY as TableColumnResizer, WY as TableSelectionHeader, KH as TaskProgress, zz as TextField, Rz as TextFieldContext, Oz as Un, U$ as WANTS_KEY, a4 as WantMagnets, Jf as WithPromise, Cz as Wt, Dz as Xc, Pz as Xf, nfe as Xt, $de as _8, o as __commonJSMin, s as __exportAll, l as __toESM, xfe as aB, Jr as addAlias, qr as addSource, G$ as addWant, B as apiGet, V as apiSend, oA as appSettingsStore, Fye as applyConfirmText, nZ as applyLeftovers, Pye as applyPlanText, Lye as applyText, fA as applyTheme, Zg as asNumber, Cye as attachOrphan, Ar as authorAvatar, Mr as authorGroups, kr as authorInitial, Or as authorName, Yq as autoResetPageIndex, Ra as avatarInner, g3 as bandRows, _ye as baseName, sve as batchOperate, jk as boundedPreference, ive as bulkCloudPreferences, Xz as busyProps, bfe as cB, JEe as cachedMagnetStates, Rf as calcGeneratorVelocity, Eve as canApprove, lf as cancelFrame, Oye as candidateText, HH as cardClass, DA as cardRatio, Ez as cc, pi as checkEvidenceGap, fi as checkFailures, ri as checkFeeds, Kve as checkLine, ui as checkReceipt, di as checkSummary, GCe as checkText, mi as checkedText, iG as clickedBlank, X_e as cloudLocations, Dx as clsx, pfe as cn, Wm as collectMotionValues, kJ as columnVisibilityFeature, gY as column_getCanSort, fY as column_getSortFn, wve as commonReviewSources, _V as configurationSection, COe as configureTasteBrowser, xc as confirmModal, vq as copyInstancePropertiesWithoutMemos, ja as coverUrl, bJ as createColumnHelper, MCe as createPlaylist, vi as credentialDone, Fve as currentReviewRow, oF as cx, Mz as dZ, Mve as decisionPayload, Nve as decisionReceipt, jve as defaultChoice, PCe as deletePlaylist, v0 as diagnosticsSkeleton, pCe as discoveryArtwork, X$ as discoveryKey, nTe as discoveryScore, eve as distinctName, Rve as dropReviewRows, ci as dropSources, yfe as du, ave as duplicateVictims, MF as elapsedText, La as entityFaceImg, tn as entityPath, Cr as errorHeadline, jn as errorMessage, z as esc, qq as expandRowModel, yz as f1, Sr as feedIntervalText, E1 as fetchAmaneBridge, Br as fetchCheckJob, I1 as fetchConfiguration, T1 as fetchCoverJob, zr as fetchCredentials, y1 as fetchCustomSources, u$ as fetchDiagnostics, Z$ as fetchDiscoveries, $Y as fetchDuplicates, Tle as fetchEarlier, Xve as fetchFeedSchedule, ei as fetchFeeds, Rr as fetchFollow, Yve as fetchFollowSchedule, cZ as fetchJunkSummary, wX as fetchLinkCheck, TX as fetchLinkPrune, CX as fetchLinkStats, Jve as fetchMediaProcessing, iX as fetchMediaRepair, Hn as fetchMediaSources, VX as fetchOrganize, lye as fetchOrganizeExample, WX as fetchOrphanRecords, $r as fetchPending, g1 as fetchPlaylists, cX as fetchQualityGoals, aX as fetchRepairLibraries, Vr as fetchResolveJob, XX as fetchResourceApply, YX as fetchResourceScan, gX as fetchReview, sZ as fetchReviewCounts, RX as fetchSettings, w1 as fetchSources, d3 as fetchStats, Hr as fetchSuggestions, yF as fetchTasks, I3 as fetchTaste, wOe as fetchTasteJob, Zve as fetchThumbnailJobs, lZ as fetchTrashSummary, W$ as fetchWants, Sve as filterReviewRows, Sn as firstGrapheme, RK as flexRender, zOe as flowGraph, BOe as flowLabel, RDe as fmtCount, gn as fmtDur, vn as fmtSize, OF as foldRoutine, ai as followFeedByName, ur as followSuggestKey, jF as followupDetail, cf as frame, Ude as g4, MJ as getDefaultPaginationState, EA as gridLayout, jr as groupByAuthor, DF as groupFollowups, pX as groupReviewRows, Mye as hasChanges, ZX as hasResourceRoots, SF as hasResultProblems, AOe as historySpan, bz as i2, OOe as importTasteExport, Af as interpolate, q$ as invalidateWants, AF as isActive, xr as isBroken, hr as isLayout, hh as isMotionValue, fX as isReviewCategory, kF as isRoutine, R0 as javContentSkeleton, yA as javLayout, L0 as javTagSkeleton, Hye as junkBreakdown, FCe as keepPlaylist, ve as keepPreviousData, Fr as keepSelected, f3 as known, qde as l7, EF as latestOfKind, XDe as lengthRows, Gn as localTime, ii as lookupFeedActor, Xde as m7, jz as mM, Jt as mapLimit, Qr as markItem, _3 as max, JDe as mediumRows, Ele as mergeFinished, v3 as min, Bve as mirrorText, dve as missingToolText, eX as mixedCloudPreferences, BF as momentText, Ly as motion, Km as motionValue, yye as organizeOutcome, e2 as overlayHost, gr as pageSizeOf, Pr as pageWindow, Ln as paginationRange, si as patchSource, aH as peachHistory, aH as peachHistory$1, Ave as pendingGenres, BDe as percentText, fye as pickOrganizeFolder, vye as planSummary, p3 as playedFor, HDe as playedItemUrl, vF as pollInterval, ds as popCount, jCe as posterUrl, eG as previewLibraryColor, dye as previewOrganize, mve as previewUrl, TF as problemDestination, NF as progressText, oU as providerIcon, Gve as pruneText, $X as purgeCount, wye as purgeOrphan, Nz as pv, vfe as qE, H as queryClient, xz as r2, IOe as radarRows, GDe as radialArc, KDe as radialBarSize, WDe as radialCeiling, UDe as radialSlices, Kj as randomId, POe as rankDetail, FOe as rankShares, h3 as reachedShare, FF as readableErrorHeadline, rTe as recommendationScore, Ive as recordGenre, Eye as recordsText, ICe as recreatePlaylist, kCe as refreshPlaylists, tl as relayoutCovers, li as reloadFollowManage, zve as reloadReview, qwe as rememberMediaShape, Jwe as rememberSectionHeight, mye as rememberTemplates, j0 as rememberedSectionHeight, Yr as removeAlias, ni as removeFeed, Kr as removeSource, DOe as removeTasteSource, K$ as removeWants, Xr as renameAliasGroup, NCe as renamePlaylist, QDe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, sq as require_with_selector, cCe as resetWants, In as resolveFollowSort, Wf as resolveStartTime, ACe as resumeAssetId, xve as reviewGroupingOptions, Vye as reviewSummary, Cve as reviewWindow, Ove as rowEvidence, hX as rowFieldName, zJ as rowPaginationFeature, oY as rowSelectionFeature, yY as rowSortingFeature, mX as rowSubject, kve as rowTags, Dve as rowTitle, Wde as s5, Zr as saveCredential, Nye as scanLine, nye as schedulePollInterval, uCe as searchNote, Tve as selectReviewRange, Ir as selectionState, ti as setFeedEnabled, Gr as setSourceEnabled, xV as settingsPath, $_e as sharedNamePrefix, oH as shellNavigate, x8 as showToast, cn as siteMarkUrl, jq as skipFirstRun, sF as sortCx, vr as sortLabel, Ut as sourceDefaultCost, gi as sourceIconUrl, Iye as sourceMeta, ns as spinnerHtml, Df as spring, Jz as spriteGlyph, Ur as startCheck, Uve as startLinkCheck, Wve as startLinkPrune, pye as startOrganize, Wr as startResolve, Aye as startResourceApply, kye as startResourceScan, EOe as startTasteRefresh, Mle as statusLabel, uve as statusLine, br as statusText, OA as storeJavLayout, Pve as submitDecision, HF as summaryItems, xJ as tableFeatures, Mq as tableMemo, Nr as tableRows, CF as taskIssues, L3 as tasteDate, MOe as tasteDimensions, jOe as tasteHours, F3 as tasteKey, xOe as tasteRefetchInterval, SOe as tasteTime, Uu as time, ofe as tl, Lr as toggleGroup, R3 as topScores, lfe as uo, BH as useAction, uQ as useBackgroundJob, tu as useConstant, YF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, nG as useLibraryTints, wt as useMutation, mV as useOverlayScrollbar, Ct as useQuery, A as useQueryClient, ky as useReducedMotion, tye as useRunSchedule, $ve as useSaveFollowSchedule, zX as useSaveSettings, rye as useSaveThumbnailMode, bY as useTable, LY as useTablePreferences, ove as victimBytes, lCe as wantName, VDe as watchNote, m3 as watchedShare, Hs as wireHorizontalScroller, hye as withOrganizeJob };
+export { RI as $2ec61d1d4f780267$export$a8a3e93435678ff9, ZI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, bR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, jT as $72abaeab4d80592f$export$78efe591171d7d45, fz as $76d00c5a4edb230a$export$76ccd210b9029917, lz as $76d00c5a4edb230a$export$816b5d811295e6bc, hz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, _z as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, cz as $76d00c5a4edb230a$export$f850895b287ef28e, hde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, mde as $b4f18e3395fe64d7$export$3e41faf802a29e71, dde as $b4f18e3395fe64d7$export$b2539bed5023c21c, xz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, vde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, vw as $ea3928288112382f$export$439d29a4e110a164, NR as $f2ff30fde7b014be$export$3ddf2d174ce01153, BR as $fe21c36db05242bb$export$a98f0dcb43a68a25, VR as $fe21c36db05242bb$export$d7b12c4107be0d61, efe as $l, JA as ACCENT_CHOICES, lwe as AMANE_BRIDGE_CHECK_URL, z1 as AMANE_BRIDGE_KEY, uwe as AMANE_BRIDGE_REBUILD_URL, kn as ApiError, xG as ArtSlot, q as Button, dI as ButtonLink, lfe as Bx, Vt as CLOUD_LOCATIONS, bU as CLOUD_PROXY_HELP, mr as COLUMN_SORT, Z1 as CONFIGURATION_KEY, HX as CONFIGURATION_URL, dwe as COOKIE_TEXT_LIMIT, R1 as COVER_JOB_KEY, _i as CREDENTIAL_STATE, P1 as CUSTOM_SOURCES_KEY, N1 as CUSTOM_SOURCES_URL, bV as Checkbox, yV as CheckboxGlyph, uV as ChevronSortDown, rQ as Chip, Y2 as CloudDownloadDialog, nU as CollapseChevron, tU as CollapseRegion, t1 as CollectionSummary, Hve as DEFAULT_CATEGORY, Nn as DEFAULT_SORT, T$ as DIAGNOSTICS_KEY, zye as DIRECTORY_TEMPLATE_ERROR, P0 as DISCOVERY_SORTS, U2 as DOWNLOADS_KEY, H2 as DOWNLOADS_URL, fX as DUPLICATES_KEY, YY as DataTableFooter, GY as DataTableFrame, JY as DataTableSort, IU as Disclosure, qEe as DownloadsPanel, Gde as E3, Uve as ENTITY_REVIEW_KINDS, oU as ENTRY_LINKS_HELP, sU as ENTRY_LINKS_HINT, rfe as Ea, bfe as EmptyFocusButton, $z as EmptyState, PU as ErrorText, uhe as ExternalLink, lr as FEEDS_KEY, XX as FEED_SCHEDULE_KEY, KOe as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, sr as FOLLOW_CHECK_KEY, or as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, ar as FOLLOW_MANAGE_KEY, cr as FOLLOW_RESOLVE_KEY, YX as FOLLOW_SCHEDULE_KEY, fhe as Fact, dhe as FactList, FU as FieldLabel, E1 as Fieldset, T1 as FieldsetTitle, tI as FilterGlass, nI as FilterGlassRows, eI as FilterIconButton, iI as FilterPill, MU as Footer, Lz as Gg, oI as GlassPill, NU as Help, Wz as HintText, ROe as IDLE_POLL_MS, jve as IDLE_REPAIR, YF as IconButton, Yz as Input, Jz as InputBase, yA as JAV_LAYOUTS, I0 as JAV_RECOMMENDATION_GRID, bZ as JUNK_KEY, Q3 as JavHeader, Tve as KEEP_LABELS, dr as LAYOUTS, aU as LIBRARY_FOLDER_HELP, DH as LIBRARY_PROCESSING_KEY, PX as LINKS_KEY, FX as LINK_CHECK_KEY, dye as LINK_KINDS, IX as LINK_PRUNE_KEY, wn as LOC, Uz as Label, k1 as LibraryProcessingCard, gB as LibraryShortcuts, RH as LinkButton, XH as LoadingDots, qde as M6, gye as MEDIA_PROCESSING_KEY, QX as MEDIA_PROCESSING_URL, _X as MEDIA_REPAIR_KEY, gX as MEDIA_REPAIR_URL, Vn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, zt as MEDIA_SOURCE_OPTIONS, mV as MENU_ITEM, hV as MENU_ITEM_INTERACTIVE, pV as MENU_POPOVER_SURFACE, BH as MenuDialog, _K as MixCard, Xz as ModalFrame, jv as MotionConfigContext, Hz as NR, Qz as Note, gfe as OA, tZ as ORGANIZE_KEY, iZ as ORPHAN_RECORDS_KEY, Iz as OV, kz as P7, DCe as PHASES, UX as PICK_FOLDER_URL, j1 as PLAYLISTS_KEY, Jme as POLICY_COLUMNS, Xme as POLICY_COVER_NOTE, Yme as POLICY_MATRIX, iU as POLICY_SUMMARY, qY as Pagination, O1 as PathLine, mF as PillTabList, QH as Progress, SX as QUALITY_GOALS_KEY, y1 as REPAIR_CARD_TEXT, vX as REPAIR_LIBRARIES_KEY, uZ as RESOURCE_APPLY_KEY, lZ as RESOURCE_SCAN_KEY, BCe as RESULT_PANEL, VCe as RESULT_SECTION, Vve as REVIEW_CATEGORIES, yZ as REVIEW_COUNTS_KEY, TX as REVIEW_KEY, EX as REVIEW_LABELS, bG as RetryNote, hfe as Rf, she as Rows, swe as SCRAPING_CHECK_URL, I1 as SCRAPING_COVER_URL, L1 as SCRAPING_KEY, owe as SCRAPING_SETTINGS_URL, pW as SEGMENT, fW as SEGMENTED_TRACK, JX as SETTINGS_KEY, WX as SETTINGS_URL, Pn as SORT_DEFAULT_DIR, Mn as SORT_OPTIONS, Ht as SOURCE_LABELS, u3 as STATS_KEY, AU as Section, che as SectionSkeleton, dW as SegmentedRadioGroup, uW as SegmentedTabList, tG as Segments, KY as Select, tW as Select$1, t0 as SelectField, nW as SelectItem, jk as SelectionDock, OU as SettingsCard, ohe as SettingsRow, kU as SettingsSectionLabel, ghe as SiteLabel, yW as SortDirectionIcon, iG as SortKeys, c$ as SourceAvatar, BU as SourceLabel, LU as SourceMark, jU as Stack, D1 as StatusLabel, I2 as Switch, SF as TASKS_KEY, DOe as TASTE_REFRESH_KEY, OOe as TASTE_WINDOWS, ZX as THUMBNAIL_JOBS_KEY, SZ as TRASH_KEY, Tle as TRIGGER_LABELS, IY as Table, nX as TableColumnControls, rX as TableColumnResizer, aX as TableSelectionHeader, $H as TaskProgress, Kz as TextField, Gz as TextFieldContext, Fz as Un, a1 as WANTS_KEY, a4 as WantMagnets, Jf as WithPromise, Az as Wt, Pz as Xc, Vz as Xf, Yde as Xt, Kde as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mfe as aB, Jr as addAlias, qr as addSource, s1 as addWant, B as apiGet, V as apiSend, dA as appSettingsStore, rbe as applyConfirmText, vZ as applyLeftovers, nbe as applyPlanText, abe as applyText, _A as applyTheme, Zg as asNumber, Kye as attachOrphan, Ar as authorAvatar, Mr as authorGroups, kr as authorInitial, Or as authorName, wJ as autoResetPageIndex, Ra as avatarInner, g3 as bandRows, Bye as baseName, Ave as batchOperate, Ik as boundedPreference, Dve as bulkCloudPreferences, rB as busyProps, pfe as cB, rDe as cachedMagnetStates, Rf as calcGeneratorVelocity, Yve as canApprove, lf as cancelFrame, Xye as candidateText, YH as cardClass, MA as cardRatio, Nz as cc, pi as checkEvidenceGap, fi as checkFailures, ri as checkFeeds, hye as checkLine, ui as checkReceipt, di as checkSummary, pwe as checkText, mi as checkedText, UG as clickedBlank, yve as cloudLocations, jx as clsx, ofe as cn, Wm as collectMotionValues, WJ as columnVisibilityFeature, jY as column_getCanSort, DY as column_getSortFn, qve as commonReviewSources, wV as configurationSection, MOe as configureTasteBrowser, xc as confirmModal, rJ as copyInstancePropertiesWithoutMemos, ja as coverUrl, FJ as createColumnHelper, ewe as createPlaylist, vi as credentialDone, iye as currentReviewRow, dF as cx, zz as dZ, tye as decisionPayload, nye as decisionReceipt, eye as defaultChoice, nwe as deletePlaylist, rU as diagnosticsSkeleton, FCe as discoveryArtwork, f1 as discoveryKey, dTe as discoveryScore, Cve as distinctName, sye as dropReviewRows, ci as dropSources, ffe as du, Ove as duplicateVictims, FF as elapsedText, La as entityFaceImg, tn as entityPath, Cr as errorHeadline, jn as errorMessage, z as esc, CJ as expandRowModel, Ez as f1, Sr as feedIntervalText, H1 as fetchAmaneBridge, Br as fetchCheckJob, Q1 as fetchConfiguration, V1 as fetchCoverJob, zr as fetchCredentials, F1 as fetchCustomSources, E$ as fetchDiagnostics, p1 as fetchDiscoveries, mX as fetchDuplicates, ble as fetchEarlier, yye as fetchFeedSchedule, ei as fetchFeeds, Rr as fetchFollow, vye as fetchFollowSchedule, wZ as fetchJunkSummary, zX as fetchLinkCheck, BX as fetchLinkPrune, RX as fetchLinkStats, _ye as fetchMediaProcessing, yX as fetchMediaRepair, Hn as fetchMediaSources, nZ as fetchOrganize, Mye as fetchOrganizeExample, aZ as fetchOrphanRecords, $r as fetchPending, M1 as fetchPlaylists, CX as fetchQualityGoals, bX as fetchRepairLibraries, Vr as fetchResolveJob, fZ as fetchResourceApply, dZ as fetchResourceScan, jX as fetchReview, CZ as fetchReviewCounts, $X as fetchSettings, B1 as fetchSources, d3 as fetchStats, Hr as fetchSuggestions, wF as fetchTasks, I3 as fetchTaste, NOe as fetchTasteJob, bye as fetchThumbnailJobs, TZ as fetchTrashSummary, o1 as fetchWants, Gve as filterReviewRows, Sn as firstGrapheme, Cq as flexRender, JOe as flowGraph, YOe as flowLabel, qDe as fmtCount, gn as fmtDur, vn as fmtSize, jF as foldRoutine, ai as followFeedByName, ur as followSuggestKey, PF as followupDetail, cf as frame, Ide as g4, qJ as getDefaultPaginationState, jA as gridLayout, jr as groupByAuthor, AF as groupFollowups, OX as groupReviewRows, ebe as hasChanges, pZ as hasResourceRoots, EF as hasResultProblems, zOe as historySpan, Dz as i2, LOe as importTasteExport, Af as interpolate, l1 as invalidateWants, NF as isActive, xr as isBroken, hr as isLayout, hh as isMotionValue, DX as isReviewCategory, MF as isRoutine, R0 as javContentSkeleton, wA as javLayout, L0 as javTagSkeleton, ube as junkBreakdown, rwe as keepPlaylist, ve as keepPreviousData, Fr as keepSelected, f3 as known, Bde as l7, kF as latestOfKind, aOe as lengthRows, Gn as localTime, ii as lookupFeedActor, Ude as m7, Rz as mM, Jt as mapLimit, Qr as markItem, _3 as max, rOe as mediumRows, xle as mergeFinished, v3 as min, lye as mirrorText, Pve as missingToolText, hX as mixedCloudPreferences, UF as momentText, Vy as motion, Km as motionValue, Hye as organizeOutcome, e2 as overlayHost, gr as pageSizeOf, Pr as pageWindow, Ln as paginationRange, si as patchSource, fH as peachHistory, fH as peachHistory$1, $ve as pendingGenres, YDe as percentText, Fye as pickOrganizeFolder, Vye as planSummary, p3 as playedFor, ZDe as playedItemUrl, CF as pollInterval, ds as popCount, $Ce as posterUrl, zG as previewLibraryColor, Pye as previewOrganize, Lve as previewUrl, OF as problemDestination, IF as progressText, zU as providerIcon, mye as pruneText, hZ as purgeCount, qye as purgeOrphan, Bz as pv, dfe as qE, H as queryClient, Oz as r2, GOe as radarRows, eOe as radialArc, tOe as radialBarSize, $De as radialCeiling, QDe as radialSlices, Xj as randomId, UOe as rankDetail, WOe as rankShares, h3 as reachedShare, RF as readableErrorHeadline, fTe as recommendationScore, aye as recordGenre, oZ as recordsText, iwe as recreatePlaylist, ZCe as refreshPlaylists, tl as relayoutCovers, li as reloadFollowManage, cye as reloadReview, Qme as rememberMediaShape, SU as rememberSectionHeight, Lye as rememberTemplates, CU as rememberedSectionHeight, Yr as removeAlias, ni as removeFeed, Kr as removeSource, IOe as removeTasteSource, c1 as removeWants, Xr as renameAliasGroup, twe as renamePlaylist, sOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, Kq as require_with_selector, ACe as resetWants, In as resolveFollowSort, Wf as resolveStartTime, QCe as resumeAssetId, Wve as reviewGroupingOptions, lbe as reviewSummary, Kve as reviewWindow, Zve as rowEvidence, AX as rowFieldName, eY as rowPaginationFeature, xY as rowSelectionFeature, PY as rowSortingFeature, kX as rowSubject, Qve as rowTags, Xve as rowTitle, Lde as s5, Zr as saveCredential, tbe as scanLine, Tye as schedulePollInterval, MCe as searchNote, Jve as selectReviewRange, Ir as selectionState, ti as setFeedEnabled, Gr as setSourceEnabled, OV as settingsPath, Sve as sharedNamePrefix, pH as shellNavigate, x8 as showToast, cn as siteMarkUrl, mJ as skipFirstRun, fF as sortCx, vr as sortLabel, Ut as sourceDefaultCost, gi as sourceIconUrl, ibe as sourceMeta, ns as spinnerHtml, Df as spring, tB as spriteGlyph, Ur as startCheck, fye as startLinkCheck, pye as startLinkPrune, Iye as startOrganize, Wr as startResolve, Qye as startResourceApply, Zye as startResourceScan, FOe as startTasteRefresh, Dle as statusLabel, Nve as statusLine, br as statusText, NA as storeJavLayout, rye as submitDecision, GF as summaryItems, IJ as tableFeatures, hJ as tableMemo, Nr as tableRows, Ale as taskIssues, L3 as tasteDate, VOe as tasteDimensions, BOe as tasteHours, F3 as tasteKey, AOe as tasteRefetchInterval, jOe as tasteTime, Uu as time, $de as tl, Lr as toggleGroup, R3 as topScores, nfe as uo, qH as useAction, EQ as useBackgroundJob, tu as useConstant, QF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, VG as useLibraryTints, wt as useMutation, xV as useOverlayScrollbar, Ct as useQuery, A as useQueryClient, Ny as useReducedMotion, lhe as useRememberedBody, wye as useRunSchedule, Sye as useSaveFollowSchedule, eZ as useSaveSettings, Eye as useSaveThumbnailMode, FY as useTable, QY as useTablePreferences, kve as victimBytes, jCe as wantName, XDe as watchNote, m3 as watchedShare, Hs as wireHorizontalScroller, Rye as withOrganizeJob };
-//# debugId=36b981ec-34f8-41e2-8ae5-c5684d06cc05
\ No newline at end of file
+//# debugId=97d0ee87-3eba-47dc-bfc4-a51f80a4560a
\ No newline at end of file
diff --git a/web/dist/peach-pages.js b/web/dist/peach-pages.js
index 355238e1a..03d8471ce 100644
--- a/web/dist/peach-pages.js
+++ b/web/dist/peach-pages.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "dc5896a3-4b3d-442d-8d1d-89106f5ea16c", e._sentryDebugIdIdentifier = "sentry-dbid-dc5896a3-4b3d-442d-8d1d-89106f5ea16c");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "29c35afc-10f2-4aac-904b-3ba00c5fd100", e._sentryDebugIdIdentifier = "sentry-dbid-29c35afc-10f2-4aac-904b-3ba00c5fd100");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {
@@ -19450,6 +19450,21 @@ var mm = dm.filter((e) => e.cloud).map((e) => e.id), hm = Object.fromEntries(dm.
...Object.fromEntries(fm.map((e) => [e.id, gm[e.id] || e.icon])),
online: "rss"
};
+Object.fromEntries(Object.entries({
+ fresh: "/unseen",
+ later: "/watch-later",
+ flagged: "/flagged",
+ ads: "/junk-files"
+}).map(([e, t]) => [t, e])), typeof Intl < "u" && typeof Intl.Segmenter == "function" && new Intl.Segmenter(void 0, { granularity: "grapheme" }), { ...hm }, {
+ medium: "h-9 rounded-2lg p-2 text-body-medium",
+ small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
+}.medium, [...Object.keys({
+ appearance: "外观与导航",
+ playback: "浏览与播放",
+ jav: "JAV 与新作",
+ search: "搜索与推荐",
+ content: "内容显示"
+}).map((e) => `/settings/${e}`)];
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
function vm({ label: e, description: t, children: n }) {
@@ -21575,4 +21590,4 @@ var Kg = document.getElementById("peach-page"), qg = Kg ? Gg[Kg.dataset.page ??
Kg && qg && (0, T.createRoot)(Kg).render(/* @__PURE__ */ (0, z.jsx)(qg, { data: { ...Kg.dataset } }));
//#endregion
-//# debugId=dc5896a3-4b3d-442d-8d1d-89106f5ea16c
\ No newline at end of file
+//# debugId=29c35afc-10f2-4aac-904b-3ba00c5fd100
\ No newline at end of file