Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(ui): 右下角浮层进同一通知栈上下排开,失败回执直接用红框

longmeidao659bc8223a8c
diff --git a/frontend/e2e/toast-layout.test.ts b/frontend/e2e/toast-layout.test.ts
index 93f6f440c..55bd4c7ff 100644
--- a/frontend/e2e/toast-layout.test.ts
+++ b/frontend/e2e/toast-layout.test.ts
@@ -70,3 +70,37 @@ for (const viewport of [...VIEWPORTS, { name: 'narrow', width: 320, height: 844,
}
});
}
+
+for (const viewport of VIEWPORTS) {
+ it(`${viewport.name} 的失败回执自己是红框,停在右下角小窗之上不压住它`, { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/', viewport);
+ try {
+ const mini = opened.page.locator('#miniplayer');
+ await mini.waitFor({ state: 'attached' });
+ await mini.evaluate((node) => { (node as HTMLElement).hidden = false });
+ await opened.page.evaluate(async () => {
+ const entry = '/dist/peach-app.js';
+ const ui = await import(entry);
+ ui.showToast(document.getElementById('toasts'), { success: '<svg/>', error: '<svg/>' },
+ 'stack-preview', { html: '检查失败:来源暂时无法连接,请稍后重试。', alert: true, timeout: Infinity, action: null });
+ });
+ const toast = opened.page.locator('[data-sonner-toast][data-type=error]');
+ await toast.waitFor();
+ await opened.page.waitForFunction(() => [...document.querySelectorAll('[data-sonner-toast]')]
+ .every((node) => node.getAttribute('data-mounted') === 'true' && node.getAnimations().length === 0));
+ const [toastBox, miniBox] = [(await toast.boundingBox())!, (await mini.boundingBox())!];
+ assert.ok(toastBox.y + toastBox.height <= miniBox.y, JSON.stringify({ toastBox, miniBox }));
+ const colors = await toast.evaluate((node) => {
+ const probe = document.createElement('span');
+ probe.style.color = 'var(--color-border-error-default)';
+ document.body.append(probe);
+ const expected = getComputedStyle(probe).color;
+ probe.remove();
+ return { border: getComputedStyle(node).borderTopColor, expected };
+ });
+ assert.equal(colors.border, colors.expected);
+ } finally {
+ await opened.close();
+ }
+ });
+}
diff --git a/frontend/src/react/onboarding/tutorial-center.tsx b/frontend/src/react/onboarding/tutorial-center.tsx
index d694dbbbd..30a51e085 100644
--- a/frontend/src/react/onboarding/tutorial-center.tsx
+++ b/frontend/src/react/onboarding/tutorial-center.tsx
@@ -3,6 +3,7 @@ import { createPortal, flushSync } from 'react-dom';
import { Button } from '@/components/base/buttons/button';
import { RiFolderLine, RiListCheck3, RiPlayCircleLine, RiRocketLine, RiRssLine, RiBarChartLine, RiDownloadCloudLine, RiSmartphoneLine, RiCheckboxCircleLine } from '@remixicon/react';
import { Radio } from 'react-aria-components';
+import { toast } from 'sonner';
import { SEGMENT, SEGMENTED_TRACK, SegmentedRadioGroup } from '../components/segmented';
import { apiGet } from '../../api';
import { isPreferencePath, navigationBackground, peachHistory } from '../../history';
@@ -65,6 +66,8 @@ function GettingStarted({ go }: { go(path: string): void }) {
</div>;
}
+const SYNC_TOAST = 'tutorial-sync';
+
export function TutorialCenter({ actions }: { actions: ShellActions }) {
const [open, setOpen] = useState(false);
const [invitation, setInvitation] = useState(false);
@@ -120,6 +123,17 @@ export function TutorialCenter({ actions }: { actions: ShellActions }) {
} finally { pendingWrites.current -= 1 }
});
};
+ const refreshRef = useRef(refresh); refreshRef.current = refresh;
+ /* 教程窗口关着时,同步失败走全站通知栈:和回执、后台任务同一列上下排开,不各自钉在右下角
+ 叠成一摞。窗口开着时由窗口里的那条提示负责。 */
+ useEffect(() => {
+ if (!syncError || open) { toast.dismiss(SYNC_TOAST); return }
+ toast.error(syncError, {
+ id: SYNC_TOAST, toasterId: 'receipts', duration: Infinity,
+ action: { label: '重新读取', onClick: (event) => { event.preventDefault(); void refreshRef.current() } },
+ });
+ }, [syncError, open]);
+ useEffect(() => () => { toast.dismiss(SYNC_TOAST) }, []);
useEffect(() => {
if (!ready && !syncError) return;
const entry = document.getElementById('tutorialBtn');
@@ -270,7 +284,6 @@ export function TutorialCenter({ actions }: { actions: ShellActions }) {
startRequest.current = (chapter, resume) => { void start(chapter, resume) };
const context = contextualChapter(location.pathname);
return createPortal(<>
- {syncError && !open ? <aside className="peach-react peach-guide-invitation" aria-label="教程同步状态"><Note tone="error" action={<Button size="small" onClick={() => { void refresh() }}>重新读取</Button>}>{syncError}</Note></aside> : null}
<ModalFrame isOpen={open} onOpenChange={value => { if (!value) close() }} width="tutorial" label="新手教程" surfaceClassName="peach-react peach-guide-center">
<header className="flex shrink-0 items-center justify-between gap-4 border-b border-separator-border px-6 py-4"><h2 id="guideTitle" className="text-title-2-medium text-text-primary">新手教程</h2><SettingsDialogClose label="关闭新手教程" onPress={close} /></header>
<div className="peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3">
diff --git a/frontend/src/react/onboarding/tutorial.css b/frontend/src/react/onboarding/tutorial.css
index 9eea36913..8f6b8de0d 100644
--- a/frontend/src/react/onboarding/tutorial.css
+++ b/frontend/src/react/onboarding/tutorial.css
@@ -1,4 +1,4 @@
-.peach-guide-center, .peach-guide-popover, .peach-guide-invitation {
+.peach-guide-center, .peach-guide-popover {
--gradient-button-primary-default: linear-gradient(var(--ink), var(--ink));
--gradient-button-primary-hover: linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)));
--gradient-button-primary-active: var(--gradient-button-primary-hover);
@@ -9,7 +9,7 @@
--color-button-ghost-hover: color-mix(in srgb, var(--ink) 8%, var(--ground));
--color-button-ghost-active: var(--color-button-ghost-hover);
}
-:is(.peach-guide-center, .peach-guide-popover, .peach-guide-invitation) .bg-button-primary:not(:disabled):not([aria-disabled="true"]) { color: var(--ground); }
+:is(.peach-guide-center, .peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled="true"]) { color: var(--ground); }
.peach-guide-center {
width: min(680px, calc(100vw - 32px));
height: min(740px, calc(100dvh - 32px));
@@ -39,7 +39,6 @@
.peach-guide-routes strong { font-size: var(--fs-md); line-height: 1.5; font-weight: 500; }
.peach-guide-routes p { margin-top: 4px; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.peach-guide-routes button { flex: none; }
-.peach-guide-invitation { position: fixed; right: 20px; bottom: 20px; z-index: var(--layer-popover); width: min(360px, calc(100vw - 40px)); padding: 20px; border: 1px solid var(--line); border-radius: var(--floating-radius); background: var(--ground); box-shadow: var(--elevation-dropdown); }
#tutorialBtn[hidden] { display: none; }
.driver-popover.peach-guide-popover { width: min(360px, calc(100vw - 24px)); max-width: calc(100vw - 24px); min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--floating-radius); background: var(--ground); color: var(--ink); box-shadow: var(--elevation-dropdown); font-family: var(--font-sans); }
.peach-guide-popover-content { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); overflow: hidden; border-radius: inherit; }
diff --git a/frontend/src/react/stage/miniplayer.tsx b/frontend/src/react/stage/miniplayer.tsx
index 2e492373c..977528521 100644
--- a/frontend/src/react/stage/miniplayer.tsx
+++ b/frontend/src/react/stage/miniplayer.tsx
@@ -38,6 +38,7 @@ export const Miniplayer = memo(function Miniplayer() {
}, []);
useEffect(() => wireDrag(root.current!, card.current!), []);
+ useEffect(() => publishBottomSpace(root.current!), []);
return (
<aside ref={root} data-miniplayer="" id="miniplayer" data-corner="br" aria-label="小窗播放" hidden>
@@ -67,6 +68,29 @@ export const Miniplayer = memo(function Miniplayer() {
);
});
+/* 小窗停在下面两角、又和右下角的通知栈同在一侧时,把自己占的高度写成 `--miniplayer-space`,
+ 通知栈(`../toaster.tsx`)落在它上沿之上,不盖住画面。手机上通知栈占满整行,下面两角都算。
+ `hidden` 与 `data-corner` 是命令式改的,所以盯属性变化,不靠重画。 */
+function publishBottomSpace(root: HTMLElement): () => void {
+ const measure = () => {
+ const corner = root.dataset.corner || '';
+ const below = !root.hidden && corner.startsWith('b') && (corner === 'br' || innerWidth <= 600);
+ if (below) document.documentElement.style.setProperty('--miniplayer-space', `${Math.ceil(root.offsetHeight + 16 + 12)}px`);
+ else document.documentElement.style.removeProperty('--miniplayer-space');
+ };
+ const attributes = new MutationObserver(measure);
+ attributes.observe(root, { attributes: true, attributeFilter: ['hidden', 'data-corner'] });
+ const size = new ResizeObserver(measure);
+ size.observe(root);
+ window.addEventListener('resize', measure);
+ measure();
+ return () => {
+ attributes.disconnect(); size.disconnect();
+ window.removeEventListener('resize', measure);
+ document.documentElement.style.removeProperty('--miniplayer-space');
+ };
+}
+
/* 拖动只改 transform,松手按小窗中心落在哪个象限选角,再用 .5s 的 transform 过渡吸过去,过渡完把
data-corner 换成新角、清掉 transform——上游 AnimatingSnap 就是这么落回锚点的。 */
function snap(root: HTMLElement, dx: number, dy: number): void {
diff --git a/frontend/src/react/toaster.tsx b/frontend/src/react/toaster.tsx
index 9a764735b..871f34cad 100644
--- a/frontend/src/react/toaster.tsx
+++ b/frontend/src/react/toaster.tsx
@@ -20,6 +20,9 @@ const glyph = (html: string, draw: boolean) => (
let mounted: { host: Element; root: Root } | null = null;
/* Agent Progress 的 rounded-2xl 外框,沿用现有半径 token 并限定在通知栈内。 */
const FRAME = { '--floating-radius': 'var(--radius-2xl)' } as CSSProperties;
+/* 通知栈的底边:贴底的多选操作条、停在下角的小窗各自写下占的高度(含间距),栈落在最高的那个
+ 之上;都没有时就是默认边距。 */
+const floor = (edge: number) => `max(${edge}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
/** 应用卸载时撤下 Sonner 的订阅与计时;同一宿主之后可重新挂载。 */
export function unmountToaster(): void {
@@ -33,19 +36,20 @@ export const mountToaster: typeof Bundle.mountToaster = (host, icons) => {
unmountToaster();
const root = createRoot(host);
mounted = { host, root };
- /* 底边读 `--toast-bottom`:教程卡在右下角时,遗留层把它写成卡上沿之上的位置;没写就是
- Sonner 的默认边距。栈为长回执留出空间,每条回执的宽度由内容决定。 */
+ /* 右下角的浮层都进这两列:后台任务卡落在底边上,回执与提示的栈压在它上沿之上
+ (`--processing-toast-space` 由任务卡按自己的高度写),上下排开不重叠。别处要在右下角提示,
+ 走 `toast` 进栈,不另钉一块 `position: fixed`。栈为长回执留出空间,每条回执的宽度由内容决定。 */
root.render(
<Providers><Toaster id="receipts" position="bottom-right" closeButton gap={8}
style={{ ...FRAME, '--width': 'min(560px, calc(100vw - 48px))' } as CSSProperties}
- offset={{ right: 24, bottom: 'calc(var(--toast-bottom, 24px) + var(--processing-toast-space, 0px))' }}
- mobileOffset={{ right: 16, left: 16, bottom: 'calc(var(--toast-bottom, 16px) + var(--processing-toast-space, 0px))' }}
+ offset={{ right: 24, bottom: `calc(${floor(24)} + var(--processing-toast-space, 0px))` }}
+ mobileOffset={{ right: 16, left: 16, bottom: `calc(${floor(16)} + var(--processing-toast-space, 0px))` }}
toastOptions={{ closeButtonAriaLabel: '关闭提示' }} containerAriaLabel="通知"
icons={{ success: glyph(icons.success, true), error: glyph(icons.error, false) }} />
<Toaster id="processing" position="bottom-right" gap={8} expand
style={{ ...FRAME, '--width': 'min(400px, calc(100vw - 32px))' } as CSSProperties}
- offset={{ right: 24, bottom: 'var(--toast-bottom, 24px)' }}
- mobileOffset={{ right: 16, left: 16, bottom: 'var(--toast-bottom, 16px)' }}
+ offset={{ right: 24, bottom: floor(24) }}
+ mobileOffset={{ right: 16, left: 16, bottom: floor(16) }}
toastOptions={{ closeButtonAriaLabel: '关闭任务提示' }} containerAriaLabel="后台任务" />
</Providers>,
);
diff --git a/web/css/17-overlay.css b/web/css/17-overlay.css
index 16013c104..c0b36abaf 100644
--- a/web/css/17-overlay.css
+++ b/web/css/17-overlay.css
@@ -16,6 +16,8 @@
--normal-border:var(--color-border-button-default);--normal-text:var(--color-text-primary);
width:max-content;min-width:min(400px,100%);max-width:100%;right:0;
padding:18px 20px;gap:12px;flex-wrap:wrap;font:var(--board-body)}
+/* 失败的回执自己就是那块错误框:外框线换成错误色,不在卡里再套一层红底提示;正文仍是正文色。 */
+#toasts [data-sonner-toast][data-styled=true][data-type=error]{--normal-border:var(--color-border-error-default)}
#toasts :is([data-sonner-toast][data-styled=true],[data-processing-dock]){
border-radius:var(--floating-radius);box-shadow:var(--elevation-xs)}
/* 正文按实际内容参与排布,上限留出图标、间距与 Sonner 的光学校正边距。 */
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 2fbf122a6..f2441f582 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-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-2xl:42rem;--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-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-auto{pointer-events:auto}.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-1\/2{top:50%}.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\.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-1\/2{left:50%}.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-span-full{grid-column:1/-1}.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>=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-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.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)}.me-auto{margin-inline-end:auto}.-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-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.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-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.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%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.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-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-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-13{min-height:calc(var(--spacing) * 13)}.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-28{min-height:calc(var(--spacing) * 28)}.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-8{width:calc(var(--spacing) * 8)}.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-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.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}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.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-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-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-decimal{list-style-type:decimal}.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-row{flex-direction:row}.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}.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-1\.5{row-gap:calc(var(--spacing) * 1.5)}.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)}.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-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.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,.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,.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-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.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-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.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-purple-text{background-color:var(--color-status-purple-text)}.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-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-gradient-to-b{--tw-gradient-position:to bottom in oklab;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{fill:var(--color-background-primary-default)}.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}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.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{padding-right:var(--spacing)}.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)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.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-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.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,.text-background-primary-default{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-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);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_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);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-\[scale\,opacity\]{transition-property:scale,opacity;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\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){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-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.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\:cursor-wait:disabled{cursor:wait}.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-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\: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-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.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>=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\:items-center{align-items:center}.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}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>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-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%)}.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)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.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}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@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;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;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-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;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]),.peach-react [data-variant=next] [data-media-facts]{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-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@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}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}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:auto;min-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-detail-tags] [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-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [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-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.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)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@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-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] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.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}.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-tags]{margin-top:16px}.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-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.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-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:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 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;height:calc(var(--detail-card-height) + 20px)}.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 img[data-source-picture][hidden]{display:none!important}.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]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.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-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.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>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.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:contain!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}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.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],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--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:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),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-stage-media]>.video-js{max-height:100%}[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][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[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]{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-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-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}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[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-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[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]:has(#performerNameLanguageSetting){align-items:start}[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-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]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[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]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[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-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}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover,.peach-guide-invitation) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}.peach-guide-invitation{z-index:var(--layer-popover);border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 40px);box-shadow:var(--elevation-dropdown);padding:20px;position:fixed;bottom:20px;right:20px}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--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;text-autospace: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-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)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.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 [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.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)}@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 [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.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-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}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}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}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[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);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.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}.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);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(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
+@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-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-2xl:42rem;--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-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-auto{pointer-events:auto}.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-1\/2{top:50%}.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\.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-1\/2{left:50%}.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-span-full{grid-column:1/-1}.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>=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-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.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)}.me-auto{margin-inline-end:auto}.-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-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.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-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.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%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.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-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-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-13{min-height:calc(var(--spacing) * 13)}.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-28{min-height:calc(var(--spacing) * 28)}.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-8{width:calc(var(--spacing) * 8)}.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-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.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}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.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-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-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-decimal{list-style-type:decimal}.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-row{flex-direction:row}.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}.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-1\.5{row-gap:calc(var(--spacing) * 1.5)}.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)}.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-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.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,.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,.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-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.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-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.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-purple-text{background-color:var(--color-status-purple-text)}.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-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-gradient-to-b{--tw-gradient-position:to bottom in oklab;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{fill:var(--color-background-primary-default)}.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}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.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{padding-right:var(--spacing)}.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)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.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-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.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,.text-background-primary-default{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-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);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_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);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-\[scale\,opacity\]{transition-property:scale,opacity;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\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){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-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.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\:cursor-wait:disabled{cursor:wait}.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-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\: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-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.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>=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\:items-center{align-items:center}.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}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>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-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%)}.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)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.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}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@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;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;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-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;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]),.peach-react [data-variant=next] [data-media-facts]{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-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@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}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}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:auto;min-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-detail-tags] [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-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [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-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.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)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@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-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] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.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}.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-tags]{margin-top:16px}.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-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.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-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:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 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;height:calc(var(--detail-card-height) + 20px)}.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 img[data-source-picture][hidden]{display:none!important}.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]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.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-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.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>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.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:contain!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}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.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],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--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:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),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-stage-media]>.video-js{max-height:100%}[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][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[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]{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-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-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}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[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-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[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]:has(#performerNameLanguageSetting){align-items:start}[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-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]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[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]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[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-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}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--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;text-autospace: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-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)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.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 [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.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)}@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 [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.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-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}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}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}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[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);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.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}.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);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(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index b64c7fa91..baa82e341 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2e2a4456-7a7f-49f4-97e4-665e3b04c7d5", e._sentryDebugIdIdentifier = "sentry-dbid-2e2a4456-7a7f-49f4-97e4-665e3b04c7d5");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4aee8ded-10e3-41d8-a2ba-803f29bf8781", e._sentryDebugIdIdentifier = "sentry-dbid-4aee8ded-10e3-41d8-a2ba-803f29bf8781");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
@@ -17244,39 +17244,39 @@ var B_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, V_ = {
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, $ee = l_.length, H_ = {}, U_ = (e, t, n = B_(t, Yg[e])) => (H_[e] || (H_[e] = (V_[e] || e) + "(")) + n + ")", W_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");
-function ete(e, t, n) {
+}, H_ = l_.length, U_ = {}, W_ = (e, t, n = B_(t, Yg[e])) => (U_[e] || (U_[e] = (V_[e] || e) + "(")) + n + ")", G_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");
+function $ee(e, t, n) {
let r = "";
- for (let i = 0; i < $ee; i++) {
+ for (let i = 0; i < H_; i++) {
let a = l_[i], o = e[a];
if (o === void 0) continue;
let s = n && (t[a] = B_(o, Xg[a]));
- W_(a, o) || (r += U_(a, o, s || void 0) + " ");
+ G_(a, o) || (r += W_(a, o, s || void 0) + " ");
}
let i = e.pathRotation;
- return i && (r += U_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";
+ return i && (r += W_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";
}
// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs
-var G_ = /* @__PURE__ */ new WeakMap(), tte = 200, K_ = .001, nte = .1, rte = .001, ite = 100, ate = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), q_ = (e, t) => Math.abs(e - t) <= K_, J_ = (e, t) => e - t, Y_ = (e, t, n) => Fg(Array(n + 1)).map((n) => Zh(e, t, n)), X_ = (e) => e.motionValue.owner, Z_ = (e) => G_.get(e), Q_ = ({ state: e }) => e === "idle" || e === "finished", $_ = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ote = ({ name: e, motionValue: t }) => e && l_.includes(e) && t?.owner?.current instanceof HTMLElement && R_() && E_();
-function ste(e) {
- let t = X_(e), { onUpdate: n, transformTemplate: r } = t.getProps();
- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && ($_(t, "transform") || "none") === "none" && !$_(t, "pathRotation") && !t.projection?.isProjecting() && !I_(e);
+var K_ = /* @__PURE__ */ new WeakMap(), ete = 200, q_ = .001, tte = .1, nte = .001, rte = 100, ite = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), J_ = (e, t) => Math.abs(e - t) <= q_, Y_ = (e, t) => e - t, X_ = (e, t, n) => Fg(Array(n + 1)).map((n) => Zh(e, t, n)), Z_ = (e) => e.motionValue.owner, Q_ = (e) => K_.get(e), $_ = ({ state: e }) => e === "idle" || e === "finished", ev = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ate = ({ name: e, motionValue: t }) => e && l_.includes(e) && t?.owner?.current instanceof HTMLElement && R_() && E_();
+function ote(e) {
+ let t = Z_(e), { onUpdate: n, transformTemplate: r } = t.getProps();
+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (ev(t, "transform") || "none") === "none" && !ev(t, "pathRotation") && !t.projection?.isProjecting() && !I_(e);
}
-var cte = class extends Gg {
+var ste = class extends Gg {
constructor(e) {
- let t = X_(e).current, { driver: n = mg } = e, r, i = ste(e);
+ let t = Z_(e).current, { driver: n = mg } = e, r, i = ote(e);
e.driver = (e) => {
let i = n(e);
return {
js: i,
now: i.now,
start: (e = !0) => {
- let n = Z_(t);
+ let n = Q_(t);
!n || n.isJS ? i.start(e) : n.schedule(!1, !e);
},
stop: () => {
i.stop();
- let e = Z_(t);
+ let e = Q_(t);
e && !e.isFinishing && e.release(r);
}
};
@@ -17287,7 +17287,7 @@ var cte = class extends Gg {
};
}
get group() {
- return Z_(X_(this.options).current);
+ return Q_(Z_(this.options).current);
}
get js() {
return this.driver?.js;
@@ -17307,7 +17307,7 @@ var cte = class extends Gg {
return this.isAccelerated() ? this.sampleAt(Qm.now()) : void 0;
}
tween() {
- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Gm(n) ? D_(n) : ate(n) && O_[n];
+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Gm(n) ? D_(n) : ite(n) && O_[n];
if (o && !i && !r && e.length === 2 && t === Ig && this.holdTime === null) {
let e = this.startTime + a / this.speed;
return [
@@ -17338,7 +17338,7 @@ var cte = class extends Gg {
this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);
}
play() {
- this.isStopped || ((this.group || lte(X_(this.options))).tracks.add(this), super.play());
+ this.isStopped || ((this.group || cte(Z_(this.options))).tracks.add(this), super.play());
}
pause() {
super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));
@@ -17358,13 +17358,13 @@ var cte = class extends Gg {
return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);
}
};
-function lte(e) {
+function cte(e) {
let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {
for (let t of n) if (t.name === e) return !0;
}, m = (t, n) => {
let o = {};
for (let s of t === void 0 ? l_ : a) {
- let a = r.get(s), c = t === void 0 ? $_(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];
+ let a = r.get(s), c = t === void 0 ? ev(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];
c !== void 0 && (o[s] = c);
}
return o;
@@ -17372,7 +17372,7 @@ function lte(e) {
let n = "";
for (let r in e) {
let i = e[r];
- t && W_(r, i) || (n += U_(r, i) + " ");
+ t && G_(r, i) || (n += W_(r, i) + " ");
}
return (t ? n.trim() : n) || "none";
}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {
@@ -17396,32 +17396,32 @@ function lte(e) {
}
return r(t, n) > i / 2 ? [t, n] : [];
}, S = (e, t, n, r) => {
- let i = Math.min(tte, Math.max(2, Math.ceil((n - t) / 10)));
+ let i = Math.min(ete, Math.max(2, Math.ceil((n - t) / 10)));
if (r.length * 4 > i) return;
- let a = Y_(t, n, i).concat(r).sort(J_), o = (e) => /* @__PURE__ */ Cm(t, n, e), s, c;
+ let a = X_(t, n, i).concat(r).sort(Y_), o = (e) => /* @__PURE__ */ Cm(t, n, e), s, c;
for (let n of e) {
- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * K_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);
+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * q_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);
if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;
- else if (l.some((e, t) => !q_(e, o && s[t]))) return;
+ else if (l.some((e, t) => !J_(e, o && s[t]))) return;
}
- if (!s || s.every((e, t) => q_(e, o(a[t])))) return "linear";
+ if (!s || s.every((e, t) => J_(e, o(a[t])))) return "linear";
let l = [], u = (e, t = c(e)) => l.push(Wg(t) + " " + Wg(o(e) * 100) + "%");
return s.forEach((e, t) => {
t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);
}), "linear(" + l + ")";
}, C = (e, t, n, r) => {
- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? rte : nte))), o = (t, n, r) => {
+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? nte : tte))), o = (t, n, r) => {
if (n - t < 1 || a(t, n)) i.push(n);
else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);
else {
for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));
i.push(n);
}
- }, s = Y_(t, n, Math.ceil((n - t) / 100));
+ }, s = X_(t, n, Math.ceil((n - t) / 100));
for (let e of r) s.push(e, Math.min(e + .01, n));
let c = t;
- for (let e of s.sort(J_)) e > c && o(c, e, 0), c = e;
- return i.sort(J_);
+ for (let e of s.sort(Y_)) e > c && o(c, e, 0), c = e;
+ return i.sort(Y_);
}, w = (e) => {
let t;
for (let n of e) {
@@ -17462,8 +17462,8 @@ function lte(e) {
}
i = {}, a = l_.filter((t) => {
if (r.has(t)) return !0;
- let n = i[t] = $_(e, t);
- return n !== void 0 && !W_(t, n);
+ let n = i[t] = ev(e, t);
+ return n !== void 0 && !G_(t, n);
}), v(!1);
let m = !l && w(d);
try {
@@ -17509,18 +17509,18 @@ function lte(e) {
r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);
}
return !0;
- }, O = () => !n.size && (u = !0, Z_(t) === A && G_.delete(t), A.isJS || v(), !0), k = () => {
+ }, O = () => !n.size && (u = !0, Q_(t) === A && K_.delete(t), A.isJS || v(), !0), k = () => {
let t = Qm.now();
if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {
let [r, a] = n.timing();
- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = $_(e, n.name), o.has(n) || (c = !0));
- }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => Q_(e) && n.delete(e)), O())) return;
+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = ev(e, n.name), o.has(n) || (c = !0));
+ }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => $_(e) && n.delete(e)), O())) return;
for (let e of n) if (!e.canAccelerate) return A.demote(!0);
A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));
let r = c, a = d;
if (c = d = !1, r || !D(t)) {
if (a) {
- if (t - f < ite) return A.demote();
+ if (t - f < rte) return A.demote();
f = t;
}
if (!E(t)) return A.demote();
@@ -17533,11 +17533,11 @@ function lte(e) {
u || (c ||= e, d ||= !!t, l || (l = !0, Ym.isProcessing ? dg.render(k, !1, !0) : queueMicrotask(k)));
},
release(e) {
- Q_(e) && n.delete(e), O() || A.schedule(!0);
+ $_(e) && n.delete(e), O() || A.schedule(!0);
},
check() {
if (!A.isJS) {
- for (let t in i) if ($_(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);
+ for (let t in i) if (ev(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);
}
},
demote(e) {
@@ -17546,10 +17546,10 @@ function lte(e) {
}), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;
}
};
- return G_.set(t, A), A;
+ return K_.set(t, A), A;
}
// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var ute = class extends Ug {
+var lte = class extends Ug {
constructor(e) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
@@ -17569,7 +17569,7 @@ var ute = class extends Ug {
n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {
d?.(), this.notifyFinished();
};
- let f = u && !c && z_(n), p = !f && ote(n);
+ let f = u && !c && z_(n), p = !f && ate(n);
r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Bg(this.createdAt, this.resolvedAt));
let m;
if (f) {
@@ -17579,7 +17579,7 @@ var ute = class extends Ug {
} catch {
m = new Gg(n);
}
- } else m = p ? new cte(n) : new Gg(n);
+ } else m = p ? new ste(n) : new Gg(n);
this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
@@ -17633,7 +17633,7 @@ var ute = class extends Ug {
cancel() {
this._animation?.cancel(), this.keyframeResolver?.cancel();
}
-}, dte = class {
+}, ute = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -17673,10 +17673,10 @@ var ute = class extends Ug {
return this.getAll("startTime");
}
get duration() {
- return ev(this.animations, "duration");
+ return tv(this.animations, "duration");
}
get iterationDuration() {
- return ev(this.animations, "iterationDuration");
+ return tv(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -17694,7 +17694,7 @@ var ute = class extends Ug {
this.runAll("complete");
}
};
-function ev(e, t) {
+function tv(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -17703,22 +17703,22 @@ function ev(e, t) {
return n;
}
// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var tv = class extends dte {
+var nv = class extends ute {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, nv = /* @__PURE__ */ new WeakMap(), fte = (e, t = "") => `${e}:${t}`;
-function pte(e) {
- let t = nv.get(e);
- return t || (t = /* @__PURE__ */ new Map(), nv.set(e, t)), t;
+}, rv = /* @__PURE__ */ new WeakMap(), dte = (e, t = "") => `${e}:${t}`;
+function fte(e) {
+ let t = rv.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), rv.set(e, t)), t;
}
// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function rv(e, t, n, r = 0, i = 1) {
+function iv(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
// node_modules/motion-dom/dist/es/value/index.mjs
-var iv = 30, mte = (e) => !isNaN(parseFloat(e)), av = { current: void 0 }, ov = class {
+var av = 30, pte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
let t = Qm.now();
@@ -17726,7 +17726,7 @@ var iv = 30, mte = (e) => !isNaN(parseFloat(e)), av = { current: void 0 }, ov =
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = Qm.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = mte(this.current));
+ this.current = e, this.updatedAt = Qm.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = pte(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -17776,7 +17776,7 @@ var iv = 30, mte = (e) => !isNaN(parseFloat(e)), av = { current: void 0 }, ov =
this.dependents?.delete(e);
}
get() {
- av.current?.push(this);
+ ov.current?.push(this);
let e = this.animation?.liveValue?.();
return e === void 0 ? this.current : e;
}
@@ -17788,8 +17788,8 @@ var iv = 30, mte = (e) => !isNaN(parseFloat(e)), av = { current: void 0 }, ov =
}
getVelocity() {
let e = Qm.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > iv) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, iv);
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > av) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, av);
return /* @__PURE__ */ Dm(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
@@ -17811,11 +17811,11 @@ var iv = 30, mte = (e) => !isNaN(parseFloat(e)), av = { current: void 0 }, ov =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();
}
};
-function sv(e, t) {
- return new ov(e, t);
+function cv(e, t) {
+ return new sv(e, t);
}
// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function cv(e, t) {
+function lv(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -17826,25 +17826,25 @@ function cv(e, t) {
return e;
}
// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function lv(e, t) {
+function uv(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : cv(n, e);
+ return n === e ? n : lv(n, e);
}
// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var hte = {
+var mte = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, gte = (e) => ({
+}, hte = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), _te = {
+}), gte = {
type: "keyframes",
duration: .8
-}, vte = {
+}, _te = {
type: "keyframes",
ease: [
.25,
@@ -17853,7 +17853,7 @@ var hte = {
1
],
duration: .3
-}, yte = (e, { keyframes: t }) => t.length > 2 ? _te : u_.has(e) ? e.startsWith("scale") ? gte(t[1]) : hte : vte, bte = /* @__PURE__ */ new Set([
+}, vte = (e, { keyframes: t }) => t.length > 2 ? gte : u_.has(e) ? e.startsWith("scale") ? hte(t[1]) : mte : _te, yte = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -17867,13 +17867,13 @@ var hte = {
"out",
"mixer"
]);
-function xte(e) {
- for (let t in e) if (!bte.has(t)) return !0;
+function bte(e) {
+ for (let t in e) if (!yte.has(t)) return !0;
return !1;
}
// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var uv = (e, t, n, r = {}, i, a) => (o) => {
- let s = lv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+var dv = (e, t, n, r = {}, i, a) => (o) => {
+ let s = uv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
l -= /* @__PURE__ */ Tm(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
@@ -17892,7 +17892,7 @@ var uv = (e, t, n, r = {}, i, a) => (o) => {
element: a ? void 0 : i,
hasOnUpdate: !!s.onUpdate
};
- xte(s) || Object.assign(u, yte(e, u)), u.duration &&= /* @__PURE__ */ Tm(u.duration), u.repeatDelay &&= /* @__PURE__ */ Tm(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ bte(s) || Object.assign(u, vte(e, u)), u.duration &&= /* @__PURE__ */ Tm(u.duration), u.repeatDelay &&= /* @__PURE__ */ Tm(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (P_(u), u.delay === 0 && (d = !0)), (gm.instantAnimations || gm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, P_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
let e = Rg(u.keyframes, s);
@@ -17903,40 +17903,40 @@ var uv = (e, t, n, r = {}, i, a) => (o) => {
return;
}
}
- return s.isSync ? new Gg(u) : new ute(u);
-}, Ste = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function Cte(e) {
- let t = Ste.exec(e);
+ return s.isSync ? new Gg(u) : new lte(u);
+}, xte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function Ste(e) {
+ let t = xte.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function dv(e, t, n = 1) {
- let [r, i] = Cte(e);
+function fv(e, t, n = 1) {
+ let [r, i] = Ste(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
return _m(e) ? parseFloat(e) : e;
}
- return rh(i) ? dv(i, t, n + 1) : i;
+ return rh(i) ? fv(i, t, n + 1) : i;
}
// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function wte(e) {
+function Cte(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function fv(e, t, n, r) {
- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...wte(r)) : t;
+function pv(e, t, n, r) {
+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Cte(r)) : t;
return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);
}
// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function pv(e, t, n) {
- return fv(e.getProps(), t, n, e);
+function mv(e, t, n) {
+ return pv(e.getProps(), t, n, e);
}
-var mv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, hv = /* @__PURE__ */ new Set([
+var hv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, gv = /* @__PURE__ */ new Set([
"width",
"height",
"top",
@@ -17944,62 +17944,62 @@ var mv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, hv = /* @_
"right",
"bottom",
...l_
-]), Tte = (e) => Array.isArray(e);
+]), wte = (e) => Array.isArray(e);
// node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Ete(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, sv(n));
+function Tte(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, cv(n));
}
-function Dte(e) {
- return Tte(e) ? e[e.length - 1] || 0 : e;
+function Ete(e) {
+ return wte(e) ? e[e.length - 1] || 0 : e;
}
-function Ote(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = pv(e, t) || {};
+function Dte(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = mv(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Ete(e, t, Dte(i[t]));
+ for (let t in i) Tte(e, t, Ete(i[t]));
}
// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var gv = (e) => !!(e && e.getVelocity);
+var _v = (e) => !!(e && e.getVelocity);
// node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function kte(e) {
- return !!(gv(e) && e.add);
+function Ote(e) {
+ return !!(_v(e) && e.add);
}
// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function _v(e, t) {
+function vv(e, t) {
let n = e.getValue("willChange");
- if (kte(n)) return n.add(t);
+ if (Ote(n)) return n.add(t);
if (!n && gm.WillChange) {
let n = new gm.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs
-var vv = "data-framer-appear-id";
+var yv = "data-framer-appear-id";
// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function yv(e) {
- return e.props[vv];
+function bv(e) {
+ return e.props[yv];
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-var Ate = typeof window < "u";
-function jte({ protectedKeys: e, needsAnimating: t }, n) {
+var kte = typeof window < "u";
+function Ate({ protectedKeys: e, needsAnimating: t }, n) {
let r = n in e && !t[n];
return t[n] = !1, r;
}
-function bv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function xv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? cv(a, c) : c;
+ a = a ? lv(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState?.getState()[i], p = a?.path;
p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && jte(f, t)) continue;
+ if (i === void 0 || f && Ate(f, t)) continue;
let o = {
delay: n,
- ...lv(f?.out[t] || a || {}, t)
+ ...uv(f?.out[t] || a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
@@ -18008,79 +18008,79 @@ function bv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
continue;
}
let p = !1;
- if (Ate && window.MotionHandoffAnimation) {
- let n = yv(e);
+ if (kte && window.MotionHandoffAnimation) {
+ let n = bv(e);
if (n) {
let e = window.MotionHandoffAnimation(n, t, dg);
e !== null && (o.startTime = e, p = !0);
}
}
- _v(e, t);
+ vv(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(uv(t, r, i, m && hv.has(t) ? { type: !1 } : o, e, p));
+ r.start(dv(t, r, i, m && gv.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
let t = () => dg.update(() => {
- o && Ote(e, o);
+ o && Dte(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
return d;
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function xv(e, t, n = {}) {
- let r = pv(e, t, mv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? bv(e, r, n) : []), o = (r = 0) => {
+function Sv(e, t, n = {}) {
+ let r = mv(e, t, hv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? xv(e, r, n) : []), o = (r = 0) => {
let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];
return a?.forEach((e) => {
- e.notify("AnimationStart", t), l.push(xv(e, t, {
+ e.notify("AnimationStart", t), l.push(Sv(e, t, {
...n,
- delay: r + (typeof o == "function" ? 0 : o) + rv(a, e, o, s, c)
+ delay: r + (typeof o == "function" ? 0 : o) + iv(a, e, o, s, c)
}).then(() => e.notify("AnimationComplete", t)));
}), Promise.all(l);
}, { when: s } = i;
return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function Mte(e, t, n = {}) {
- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => xv(e, t, n))) : typeof t == "string" ? xv(e, t, n) : Promise.all(bv(e, pv(e, t, n.custom), n))).then(() => {
+function jte(e, t, n = {}) {
+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Sv(e, t, n))) : typeof t == "string" ? Sv(e, t, n) : Promise.all(xv(e, mv(e, t, n.custom), n))).then(() => {
e.notify("AnimationComplete", t);
});
}
// node_modules/motion-dom/dist/es/value/types/auto.mjs
-var Nte = {
+var Mte = {
test: (e) => e === "auto",
parse: (e) => e
-}, Pte = (e) => (t) => t.test(e), Fte = [
+}, Nte = (e) => (t) => t.test(e), Pte = [
oh,
Ch,
Sh,
xh,
Th,
wh,
- Nte
-], Sv = (e) => Fte.find(Pte(e));
+ Mte
+], Cv = (e) => Pte.find(Nte(e));
// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function Ite(e) {
+function Fte(e) {
return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || ym(e);
}
// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var Lte = /* @__PURE__ */ new Set([
+var Ite = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Rte(e, t, n) {
+function Lte(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !Lte.has(t) && zh(t) && (i = e[r]), r++;
+ typeof t == "string" && !Ite.has(t) && zh(t) && (i = e[r]), r++;
}
if (i && n) for (let r of t) e[r] !== i && (e[r] = Qg(n, i));
}
// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var Cv = class extends S_ {
+var wv = class extends S_ {
constructor() {
super(...arguments), this.isAsync = !0;
}
@@ -18101,14 +18101,14 @@ var Cv = class extends S_ {
for (let n = 0; n < e.length; n++) {
let r = e[n];
if (typeof r == "string" && (r = r.trim(), rh(r))) {
- let i = dv(r, t.current);
+ let i = fv(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !hv.has(n) || e.length !== 2) return;
+ if (this.resolveNoneKeyframes(), !gv.has(n) || e.length !== 2) return;
let [r, i] = e;
if (typeof r == "number" && typeof i == "number") return;
- let a = Sv(r), o = Sv(i);
+ let a = Cv(r), o = Cv(i);
if (ah(r) !== ah(i) && h_[n]) this.needsMeasurement = !0;
else if (a !== o) {
if (d_(a) && d_(o)) for (let t = 0; t < e.length; t++) {
@@ -18120,8 +18120,8 @@ var Cv = class extends S_ {
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || Ite(e[t])) && n.push(t);
- n.length && Rte(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || Fte(e[t])) && n.push(t);
+ n.length && Lte(e, n, t);
}
measure() {
let { element: e, name: t } = this;
@@ -18141,19 +18141,19 @@ var Cv = class extends S_ {
let n = t.length - 1, r = t[n];
t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();
}
-}, wv = [
+}, Tv = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], zte = /* @__PURE__ */ new Set([
+], Rte = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...wv,
+ ...Tv,
"width",
"maxWidth",
"height",
@@ -18196,21 +18196,21 @@ var Cv = class extends S_ {
"backgroundPositionY"
]);
// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Bte(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && zte.has(t) && (e[n] = e[n] + "px");
+function zte(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Rte.has(t) && (e[n] = e[n] + "px");
}
// node_modules/motion-dom/dist/es/animation/animate/effects.mjs
-var Tv = [];
-function Vte(e) {
- Ev(e), Tv.unshift(e);
+var Ev = [];
+function Bte(e) {
+ Dv(e), Ev.unshift(e);
}
-function Ev(e) {
- mm(Tv, e);
+function Dv(e) {
+ mm(Ev, e);
}
-function Hte(e) {
- return Tv.find((t) => t.test(e));
+function Vte(e) {
+ return Ev.find((t) => t.test(e));
}
-function Dv(e, t, n = {}, r) {
+function Ov(e, t, n = {}, r) {
let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;
o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));
for (let o in t) {
@@ -18218,7 +18218,7 @@ function Dv(e, t, n = {}, r) {
let c = t[o];
if (c === void 0) continue;
let l = e(o), u = l.get();
- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? dg.update(() => l.set(c)) : (l.start(uv(o, l, c, s && hv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));
+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? dg.update(() => l.set(c)) : (l.start(dv(o, l, c, s && gv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));
}
let { transitionEnd: c } = t;
if (c) {
@@ -18229,50 +18229,50 @@ function Dv(e, t, n = {}, r) {
}
return i;
}
-function Ov(e, t, n, r, i) {
- return Dv((r) => {
+function kv(e, t, n, r, i) {
+ return Ov((r) => {
let a = e.get(t, r);
if (!a) {
let o;
if (!i) {
let i = n[r];
- o = Ute(i) ?? e.read(t, r, i);
+ o = Hte(i) ?? e.read(t, r, i);
}
- a = sv(o, { owner: i }), e(t, { [r]: a });
+ a = cv(o, { owner: i }), e(t, { [r]: a });
}
return a;
}, n, r, i);
}
-function Ute(e) {
+function Hte(e) {
let t = Array.isArray(e) ? e[0] : void 0;
return t === null ? void 0 : t;
}
// node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function kv(e) {
+function Av(e) {
return vm(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function Av(e) {
+function jv(e) {
return vm(e) && "ownerSVGElement" in e;
}
// node_modules/motion-dom/dist/es/scope/active.mjs
-var jv = {};
-function Mv(e) {
- return jv.current?.add(e), e;
+var Mv = {};
+function Nv(e) {
+ return Mv.current?.add(e), e;
}
-var Nv = (e) => jv.current ? jv.current.bind(e) : e;
+var Pv = (e) => Mv.current ? Mv.current.bind(e) : e;
// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Pv(e, t, n) {
+function Fv(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
- let r = t ? t.current : jv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);
+ let r = t ? t.current : Mv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);
return i ? Array.from(i) : [];
}
return Array.from(e).filter((e) => e != null);
}
// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs
-var Wte = class {
+var Ute = class {
constructor(e = dg.render) {
this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {
let { pending: e, numPending: t } = this;
@@ -18316,10 +18316,10 @@ var Wte = class {
}
};
// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs
-function Fv(e, { step: t, ...n } = {}) {
+function Iv(e, { step: t, ...n } = {}) {
let r = /* @__PURE__ */ new WeakMap();
return Object.assign((n, i) => {
- let a = r.get(n) ?? new Wte(t);
+ let a = r.get(n) ?? new Ute(t);
r.set(n, a);
let o = [];
for (let t in i) {
@@ -18336,32 +18336,32 @@ function Fv(e, { step: t, ...n } = {}) {
});
}
// node_modules/motion-dom/dist/es/effects/style/transform.mjs
-function Gte(e) {
+function Wte(e) {
let t = "", { transformKeys: n = [], transformValues: r = {} } = e;
for (let e = 0; e < n.length; e++) {
let i = n[e], a = r[i].getCurrent();
- a !== void 0 && (W_(i, a) || (t += (t && " ") + U_(i, a)));
+ a !== void 0 && (G_(i, a) || (t += (t && " ") + W_(i, a)));
}
let i = e.get("pathRotation")?.get();
- return i && (t += (t && " ") + U_("rotate", i)), t || "none";
+ return i && (t += (t && " ") + W_("rotate", i)), t || "none";
}
// node_modules/motion-dom/dist/es/effects/style/index.mjs
-var Iv = /* @__PURE__ */ new Set([
+var Lv = /* @__PURE__ */ new Set([
"originX",
"originY",
"originZ"
-]), Lv = (e, t) => B_(e.get(t)?.get(), Xg[t]), Rv = (e, t, n, r) => {
+]), Rv = (e, t) => B_(e.get(t)?.get(), Xg[t]), zv = (e, t, n, r) => {
let i, a;
if (u_.has(n)) {
if (n !== "pathRotation") {
let e = t.transformKeys ??= [];
(t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => l_.indexOf(e) - l_.indexOf(t)));
}
- t.get("transform") || (!kv(e) && !t.get("transformBox") && Rv(e, t, "transformBox", new ov("fill-box")), t.set("transform", new ov("none"), () => {
- G_.get(e)?.check(), e.style.transform = Gte(t);
+ t.get("transform") || (!Av(e) && !t.get("transformBox") && zv(e, t, "transformBox", new sv("fill-box")), t.set("transform", new sv("none"), () => {
+ K_.get(e)?.check(), e.style.transform = Wte(t);
})), a = t.get("transform");
- } else Iv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new ov(""), () => {
- let n = Lv(t, "originX") ?? "50%", r = Lv(t, "originY") ?? "50%", i = Lv(t, "originZ") ?? 0;
+ } else Lv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new sv(""), () => {
+ let n = Rv(t, "originX") ?? "50%", r = Rv(t, "originY") ?? "50%", i = Rv(t, "originZ") ?? 0;
e.style.transformOrigin = `${n} ${r} ${i}`;
}), a = t.get("transformOrigin")) : i = C_(n) ? () => {
e.style.setProperty(n, r.getCurrent());
@@ -18369,20 +18369,20 @@ var Iv = /* @__PURE__ */ new Set([
e.style[n] = B_(r.getCurrent(), Xg[n]);
};
return t.set(n, r, i, a);
-}, Kte = (e) => kv(e) || Av(e), zv = (e, t) => {
+}, Gte = (e) => Av(e) || jv(e), Bv = (e, t) => {
if (u_.has(t)) return c_(e, t);
let n = getComputedStyle(e), r = C_(t) ? n.getPropertyValue(t) : n[t];
return typeof r == "string" && r.trim() || 0;
-}, qte = /*@__PURE__*/ Fv(Rv, {
- test: Kte,
- read: zv
+}, Kte = /*@__PURE__*/ Iv(zv, {
+ test: Gte,
+ read: Bv
});
// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function Bv(e) {
+function Vv(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Vv(e, t, n) {
+function Hv(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
@@ -18393,26 +18393,26 @@ function Vv(e, t, n) {
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = ete(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = $ee(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
-var Jte = {
+var qte = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, Yte = {
+}, Jte = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function Xte(e, t, n = 1, r = 0, i = !0) {
+function Yte(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Jte : Yte;
+ let a = i ? qte : Jte;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Hv = [
+var Uv = [
"transform",
"opacity",
"clipPath",
@@ -18422,25 +18422,25 @@ var Hv = [
"offsetRotate",
"offsetAnchor"
];
-function Uv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Vv(e, s, l), c) {
+function Wv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (Hv(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
- for (let e of Hv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Xte(d, i, a, o, !1);
+ for (let e of Uv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Yte(d, i, a, o, !1);
}
// node_modules/motion-dom/dist/es/effects/attr/index.mjs
-function Zte(e, t) {
+function Xte(e, t) {
if (!(t in e)) return !1;
let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);
return n && typeof n.set == "function";
}
-var Wv = (e, t, n, r, i = n) => {
- let a = Zte(e, i);
- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Bv(i));
+var Gv = (e, t, n, r, i = n) => {
+ let a = Xte(e, i);
+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Vv(i));
let o = Xg[n] || Xg[i], s = a ? () => {
e[i] = B_(r.get(), Xg[n]);
} : () => {
@@ -18450,27 +18450,27 @@ var Wv = (e, t, n, r, i = n) => {
return t.set(n, r, s);
};
// node_modules/motion-dom/dist/es/effects/svg/index.mjs
-function Qte(e, t, n, r) {
+function Zte(e, t, n, r) {
return dg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {
let t = r.get();
e.setAttribute("stroke-dashoffset", `${-t}`);
- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new ov("1 1"), () => {
+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new sv("1 1"), () => {
let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();
e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);
}), t.set(n, r, void 0, t.get("stroke-dasharray")));
}
-var $te = /*@__PURE__*/ Fv((e, t, n, r) => n.startsWith("path") && !u_.has(n) ? Qte(e, t, n, r) : n.startsWith("attr") ? Wv(e, t, n, r, Gv(n)) : n === "d" ? t.set(n, r, () => {
+var Qte = /*@__PURE__*/ Iv((e, t, n, r) => n.startsWith("path") && !u_.has(n) ? Zte(e, t, n, r) : n.startsWith("attr") ? Gv(e, t, n, r, Kv(n)) : n === "d" ? t.set(n, r, () => {
let t = r.get()?.replace(/path\(|["')]/g, "");
t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);
-}) : (u_.has(n) || Iv.has(n) || C_(n) || n in e.style ? Rv : Wv)(e, t, n, r), {
- test: Av,
- read: (e, t) => u_.has(t) ? Xg[t]?.default || 0 : C_(t) || Hv.includes(t) ? zv(e, t) || e.getAttribute(Bv(t)) || 0 : (t = Gv(t), e.getAttribute(Bv(t)) ?? e.getAttribute(t) ?? void 0)
+}) : (u_.has(n) || Lv.has(n) || C_(n) || n in e.style ? zv : Gv)(e, t, n, r), {
+ test: jv,
+ read: (e, t) => u_.has(t) ? Xg[t]?.default || 0 : C_(t) || Uv.includes(t) ? Bv(e, t) || e.getAttribute(Vv(t)) || 0 : (t = Kv(t), e.getAttribute(Vv(t)) ?? e.getAttribute(t) ?? void 0)
});
-function Gv(e) {
+function Kv(e) {
return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());
}
// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Kv({ top: e, left: t, right: n, bottom: r }) {
+function qv({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -18482,7 +18482,7 @@ function Kv({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function ene({ x: e, y: t }) {
+function $te({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -18490,7 +18490,7 @@ function ene({ x: e, y: t }) {
left: e.min
};
}
-function tne(e, t) {
+function ene(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -18507,13 +18507,13 @@ function tne(e, t) {
};
}
// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function qv(e) {
+function Jv(e) {
return e === void 0 || e === 1;
}
-function Jv({ scale: e, scaleX: t, scaleY: n }) {
- return !qv(e) || !qv(t) || !qv(n);
+function Yv({ scale: e, scaleX: t, scaleY: n }) {
+ return !Jv(e) || !Jv(t) || !Jv(n);
}
-var Yv = [
+var Xv = [
"rotate",
"rotateX",
"rotateY",
@@ -18521,67 +18521,67 @@ var Yv = [
"skewX",
"skewY"
];
-function Xv(e) {
- return Jv(e) || Qv(e) || Zv(e);
-}
function Zv(e) {
- return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
+ return Yv(e) || $v(e) || Qv(e);
}
function Qv(e) {
- return $v(e.x) || $v(e.y);
+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
}
function $v(e) {
+ return ey(e.x) || ey(e.y);
+}
+function ey(e) {
return e && e !== "0%";
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function ey(e, t, n) {
+function ty(e, t, n) {
return n + t * (e - n);
}
-function ty(e, t, n, r, i) {
- return i !== void 0 && (e = ey(e, i, r)), ey(e, n, r) + t;
+function ny(e, t, n, r, i) {
+ return i !== void 0 && (e = ty(e, i, r)), ty(e, n, r) + t;
}
-function ny(e, t = 0, n = 1, r, i) {
- e.min = ty(e.min, t, n, r, i), e.max = ty(e.max, t, n, r, i);
+function ry(e, t = 0, n = 1, r, i) {
+ e.min = ny(e.min, t, n, r, i), e.max = ny(e.max, t, n, r, i);
}
-function ry(e, { x: t, y: n }) {
- ny(e.x, t.translate, t.scale, t.originPoint), ny(e.y, n.translate, n.scale, n.originPoint);
+function iy(e, { x: t, y: n }) {
+ ry(e.x, t.translate, t.scale, t.originPoint), ry(e.y, n.translate, n.scale, n.originPoint);
}
-var iy = .999999999999, ay = 1.0000000000001;
-function nne(e, t, n, r = !1) {
+var ay = .999999999999, oy = 1.0000000000001;
+function tne(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
let a, o;
- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (oy(e.x, -a.scroll.offset.x), oy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ry(e, o)), r && (r.path?.[s] || r) !== a && Xv(a.latestValues) && ly(e, a.latestValues, a.layout?.layoutBox));
- t.x < ay && t.x > iy && (t.x = 1), t.y < ay && t.y > iy && (t.y = 1);
+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (sy(e.x, -a.scroll.offset.x), sy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, iy(e, o)), r && (r.path?.[s] || r) !== a && Zv(a.latestValues) && uy(e, a.latestValues, a.layout?.layoutBox));
+ t.x < oy && t.x > ay && (t.x = 1), t.y < oy && t.y > ay && (t.y = 1);
}
-function oy(e, t) {
+function sy(e, t) {
e.min += t, e.max += t;
}
-function sy(e, t, n, r, i = .5) {
- ny(e, t, n, Zh(e.min, e.max, i), r);
+function cy(e, t, n, r, i = .5) {
+ ry(e, t, n, Zh(e.min, e.max, i), r);
}
-function cy(e, t) {
+function ly(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function ly(e, t, n) {
+function uy(e, t, n) {
let r = n ?? e;
- sy(e.x, cy(t.x, r.x), t.scaleX, t.scale, t.originX), sy(e.y, cy(t.y, r.y), t.scaleY, t.scale, t.originY);
+ cy(e.x, ly(t.x, r.x), t.scaleX, t.scale, t.originX), cy(e.y, ly(t.y, r.y), t.scaleY, t.scale, t.originY);
}
// node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function uy(e, t) {
- return Kv(tne(e.getBoundingClientRect(), t));
+function dy(e, t) {
+ return qv(ene(e.getBoundingClientRect(), t));
}
-function rne(e, t, n) {
- let r = uy(e, n), { scroll: i } = t;
- return i && (oy(r.x, i.offset.x), oy(r.y, i.offset.y)), r;
+function nne(e, t, n) {
+ let r = dy(e, n), { scroll: i } = t;
+ return i && (sy(r.x, i.offset.x), sy(r.y, i.offset.y)), r;
}
-var ine = () => ({
+var rne = () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
-}), ane = {}, one = (e) => Av(e) ? $te : qte, sne = class {
+}), ine = {}, ane = (e) => jv(e) ? Qte : Kte, one = class {
constructor(e, t) {
- this.effect = e, this.current = t, this.KeyframeResolver = Cv;
+ this.effect = e, this.current = t, this.KeyframeResolver = wv;
}
getValue(e) {
return this.effect.get(this.current, e);
@@ -18593,19 +18593,19 @@ var ine = () => ({
this.effect.flush(this.current);
}
measureViewportBox() {
- return uy(this.current);
+ return dy(this.current);
}
getProps() {
- return ane;
+ return ine;
}
};
-function cne(e, t, n, r) {
- if (jv.current?.track(e), r) return Dv((e) => r.getValue(e, null), t, n, r);
- let i = one(e);
- return Ov(i, e, t, n, new sne(i, e));
+function sne(e, t, n, r) {
+ if (Mv.current?.track(e), r) return Ov((e) => r.getValue(e, null), t, n, r);
+ let i = ane(e);
+ return kv(i, e, t, n, new one(i, e));
}
// node_modules/motion-dom/dist/es/effects/prop/index.mjs
-var lne = /*@__PURE__*/ Fv((e, t, n, r) => t.set(n, r, () => {
+var cne = /*@__PURE__*/ Iv((e, t, n, r) => t.set(n, r, () => {
e[n] = r.get();
}), {
test: (e) => vm(e),
@@ -18613,172 +18613,172 @@ var lne = /*@__PURE__*/ Fv((e, t, n, r) => t.set(n, r, () => {
let n = e[t];
return typeof n == "string" || typeof n == "number" ? n : void 0;
}
-}), { schedule: dy, cancel: une } = /* @__PURE__ */ ug(queueMicrotask, !1);
+}), { schedule: fy, cancel: lne } = /* @__PURE__ */ ug(queueMicrotask, !1);
// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function fy(e, t, n) {
- let r = gv(e) ? e : sv(e);
- return r.start(uv("", r, t, n)), r.animation;
+function py(e, t, n) {
+ let r = _v(e) ? e : cv(e);
+ return r.start(dv("", r, t, n)), r.animation;
}
// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs
-var py = {}, my = {
+var my = {}, hy = {
value: null,
addProjectionMetrics: null,
countProjection: void 0
};
// node_modules/motion-dom/dist/es/utils/delay.mjs
-function dne(e, t) {
+function une(e, t) {
let n = Qm.now();
- e = Nv(e);
+ e = Pv(e);
let r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (fg(r), e(a - t));
};
- return dg.setup(r, !0), Mv(() => fg(r));
+ return dg.setup(r, !0), Nv(() => fg(r));
}
// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs
-function fne(e) {
+function dne(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function pne(e) {
- return Av(e) && e.tagName === "svg";
+function fne(e) {
+ return jv(e) && e.tagName === "svg";
}
// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function hy(e) {
- return gv(e) ? e.get() : e;
+function gy(e) {
+ return _v(e) ? e.get() : e;
}
// node_modules/motion-dom/dist/es/value/utils/as-number.mjs
-var gy = (e) => typeof e == "number" ? e : parseFloat(e), mne = wv.length, _y = (e) => typeof e == "number" || Ch.test(e);
-function hne(e, t, n, r, i, a) {
- i ? (e.opacity = Zh(0, n.opacity ?? 1, gne(r)), e.opacityExit = Zh(t.opacity ?? 1, 0, _ne(r))) : a && (e.opacity = Zh(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < mne; i++) {
- let a = wv[i], o = vy(t, a), s = vy(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || _y(o) === _y(s) ? (e[a] = Math.max(Zh(gy(o), gy(s), r), 0), (Sh.test(s) || Sh.test(o)) && (e[a] += "%")) : e[a] = s);
- }
- for (let i = 0; i < Yv.length; i++) {
- let a = Yv[i];
+var _y = (e) => typeof e == "number" ? e : parseFloat(e), pne = Tv.length, vy = (e) => typeof e == "number" || Ch.test(e);
+function mne(e, t, n, r, i, a) {
+ i ? (e.opacity = Zh(0, n.opacity ?? 1, hne(r)), e.opacityExit = Zh(t.opacity ?? 1, 0, gne(r))) : a && (e.opacity = Zh(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < pne; i++) {
+ let a = Tv[i], o = yy(t, a), s = yy(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || vy(o) === vy(s) ? (e[a] = Math.max(Zh(_y(o), _y(s), r), 0), (Sh.test(s) || Sh.test(o)) && (e[a] += "%")) : e[a] = s);
+ }
+ for (let i = 0; i < Xv.length; i++) {
+ let a = Xv[i];
(t[a] || n[a]) && (e[a] = Zh(t[a] || 0, n[a] || 0, r));
}
}
-function vy(e, t) {
+function yy(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var gne = /*@__PURE__*/ yy(0, .5, Rm), _ne = /*@__PURE__*/ yy(.5, .95, xm);
-function yy(e, t, n) {
+var hne = /*@__PURE__*/ by(0, .5, Rm), gne = /*@__PURE__*/ by(.5, .95, xm);
+function by(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Cm(e, t, r));
}
// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function by(e, t) {
- e.min = t.min, e.max = t.max;
-}
function xy(e, t) {
- by(e.x, t.x), by(e.y, t.y);
+ e.min = t.min, e.max = t.max;
}
function Sy(e, t) {
+ xy(e.x, t.x), xy(e.y, t.y);
+}
+function Cy(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var vne = .9999, yne = 1.0001, bne = -.01, xne = .01;
-function Cy(e) {
+var _ne = .9999, vne = 1.0001, yne = -.01, bne = .01;
+function wy(e) {
return e.max - e.min;
}
-function Sne(e, t, n) {
+function xne(e, t, n) {
return Math.abs(e - t) <= n;
}
-function wy(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Zh(t.min, t.max, e.origin), e.scale = Cy(n) / Cy(t), e.translate = Zh(n.min, n.max, e.origin) - e.originPoint, (e.scale >= vne && e.scale <= yne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= bne && e.translate <= xne || isNaN(e.translate)) && (e.translate = 0);
+function Ty(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = Zh(t.min, t.max, e.origin), e.scale = wy(n) / wy(t), e.translate = Zh(n.min, n.max, e.origin) - e.originPoint, (e.scale >= _ne && e.scale <= vne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= yne && e.translate <= bne || isNaN(e.translate)) && (e.translate = 0);
}
-function Ty(e, t, n, r) {
- wy(e.x, t.x, n.x, r?.originX), wy(e.y, t.y, n.y, r?.originY);
+function Ey(e, t, n, r) {
+ Ty(e.x, t.x, n.x, r?.originX), Ty(e.y, t.y, n.y, r?.originY);
}
-function Ey(e, t, n, r = 0) {
- e.min = (r ? Zh(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Cy(t);
+function Dy(e, t, n, r = 0) {
+ e.min = (r ? Zh(n.min, n.max, r) : n.min) + t.min, e.max = e.min + wy(t);
}
-function Dy(e, t, n, r) {
- Ey(e.x, t.x, n.x, r?.x), Ey(e.y, t.y, n.y, r?.y);
+function Oy(e, t, n, r) {
+ Dy(e.x, t.x, n.x, r?.x), Dy(e.y, t.y, n.y, r?.y);
}
-function Oy(e, t, n, r = 0) {
+function ky(e, t, n, r = 0) {
let i = r ? Zh(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + Cy(t);
+ e.min = t.min - i, e.max = e.min + wy(t);
}
-function ky(e, t, n, r) {
- Oy(e.x, t.x, n.x, r?.x), Oy(e.y, t.y, n.y, r?.y);
+function Ay(e, t, n, r) {
+ ky(e.x, t.x, n.x, r?.x), ky(e.y, t.y, n.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function Ay(e, t, n, r, i) {
- return e -= t, e = ey(e, 1 / n, r), i !== void 0 && (e = ey(e, 1 / i, r)), e;
+function jy(e, t, n, r, i) {
+ return e -= t, e = ty(e, 1 / n, r), i !== void 0 && (e = ty(e, 1 / i, r)), e;
}
-function Cne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function Sne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (Sh.test(t) && (t = parseFloat(t), t = Zh(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = Zh(a.min, a.max, r);
- e === a && (s -= t), e.min = Ay(e.min, t, n, s, i), e.max = Ay(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = jy(e.min, t, n, s, i), e.max = jy(e.max, t, n, s, i);
}
-function jy(e, t, [n, r, i], a, o) {
- Cne(e, t[n], t[r], t[i], t.scale, a, o);
+function My(e, t, [n, r, i], a, o) {
+ Sne(e, t[n], t[r], t[i], t.scale, a, o);
}
-var wne = [
+var Cne = [
"x",
"scaleX",
"originX"
-], Tne = [
+], wne = [
"y",
"scaleY",
"originY"
];
-function My(e, t, n, r) {
- jy(e.x, t, wne, n?.x, r?.x), jy(e.y, t, Tne, n?.y, r?.y);
+function Ny(e, t, n, r) {
+ My(e.x, t, Cne, n?.x, r?.x), My(e.y, t, wne, n?.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/round.mjs
-var Ny = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Py = Ny("applewebkit/") && !Ny("chrome/") ? Math.round : xm;
-function Fy(e) {
- e.min = Py(e.min), e.max = Py(e.max);
+var Py = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Fy = Py("applewebkit/") && !Py("chrome/") ? Math.round : xm;
+function Iy(e) {
+ e.min = Fy(e.min), e.max = Fy(e.max);
}
-function Ene(e) {
- Fy(e.x), Fy(e.y);
+function Tne(e) {
+ Iy(e.x), Iy(e.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/models.mjs
-var Iy = () => ({
+var Ly = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), Ly = () => ({
- x: Iy(),
- y: Iy()
}), Ry = () => ({
+ x: Ly(),
+ y: Ly()
+}), zy = () => ({
min: 0,
max: 0
-}), zy = () => ({
- x: Ry(),
- y: Ry()
+}), By = () => ({
+ x: zy(),
+ y: zy()
});
// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function By(e) {
+function Vy(e) {
return e.translate === 0 && e.scale === 1;
}
-function Vy(e) {
- return By(e.x) && By(e.y);
+function Hy(e) {
+ return Vy(e.x) && Vy(e.y);
}
-function Hy(e, t) {
+function Uy(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Dne(e, t) {
- return Hy(e.x, t.x) && Hy(e.y, t.y);
+function Ene(e, t) {
+ return Uy(e.x, t.x) && Uy(e.y, t.y);
}
-function Uy(e, t) {
+function Wy(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function Wy(e, t) {
- return Uy(e.x, t.x) && Uy(e.y, t.y);
+function Gy(e, t) {
+ return Wy(e.x, t.x) && Wy(e.y, t.y);
}
-function Gy(e) {
- return Cy(e.x) / Cy(e.y);
+function Ky(e) {
+ return wy(e.x) / wy(e.y);
}
-function Ky(e, t) {
+function qy(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
// node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var One = class {
+var Dne = class {
constructor() {
this.members = [];
}
@@ -18826,22 +18826,22 @@ var One = class {
}
};
// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function qy(e, t) {
+function Jy(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var Jy = { correct: (e, t) => {
+var Yy = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (Ch.test(e)) e = parseFloat(e);
else return e;
}
- return `${qy(e, t.target.x)}% ${qy(e, t.target.y)}%`;
-} }, kne = {
- borderRadius: /* @__PURE__ */ Object.assign({}, Jy, { applyTo: /* @__PURE__ */ wv.slice() }),
- borderTopLeftRadius: Jy,
- borderTopRightRadius: Jy,
- borderBottomLeftRadius: Jy,
- borderBottomRightRadius: Jy,
+ return `${Jy(e, t.target.x)}% ${Jy(e, t.target.y)}%`;
+} }, One = {
+ borderRadius: /* @__PURE__ */ Object.assign({}, Yy, { applyTo: /* @__PURE__ */ Tv.slice() }),
+ borderTopLeftRadius: Yy,
+ borderTopRightRadius: Yy,
+ borderBottomLeftRadius: Yy,
+ borderBottomRightRadius: Yy,
boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = qh.parse(e);
if (i.length > 5) return r;
@@ -18852,13 +18852,13 @@ var Jy = { correct: (e, t) => {
} }
};
// node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function Ane(e, t, n) {
+function kne(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e } = n;
e && (r = `perspective(${e}px) ${r}`);
- for (let e = 0; e < Yv.length; e++) {
- let t = Yv[e], i = n[t];
+ for (let e = 0; e < Xv.length; e++) {
+ let t = Xv[e], i = n[t];
i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);
}
}
@@ -18866,11 +18866,11 @@ function Ane(e, t, n) {
return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";
}
// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function Yy(e) {
+function Xy(e) {
return [e("x"), e("y")];
}
// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var jne = (e, t) => e.depth - t.depth, Mne = class {
+var Ane = (e, t) => e.depth - t.depth, jne = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -18881,47 +18881,47 @@ var jne = (e, t) => e.depth - t.depth, Mne = class {
mm(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(jne), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Ane), this.isDirty = !1, this.children.forEach(e);
}
-}, Xy = {
+}, Zy = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, Zy = [
+}, Qy = [
"z",
"skew",
"skewZ"
-], Nne = 1e3, Pne = 0;
-function Qy(e, t, n, r) {
+], Mne = 1e3, Nne = 0;
+function $y(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var $y = (e) => e.instance && G_.get(e.instance)?.demote() && e.resetSkewAndRotation();
-function eb(e) {
+var eb = (e) => e.instance && K_.get(e.instance)?.demote() && e.resetSkewAndRotation();
+function tb(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = yv(t);
+ let n = bv(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
window.MotionCancelOptimisedAnimation(n, "transform", dg, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && eb(r);
+ r && !r.hasCheckedOptimisedAppear && tb(r);
}
-function tb(e) {
- if (e) return e.options.allowProjection === !1 ? tb(e.parent) : e.projection;
+function nb(e) {
+ if (e) return e.options.allowProjection === !1 ? nb(e.parent) : e.projection;
}
-function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
- return Object.assign(py, {
- ...kne,
- ...py
+function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+ return Object.assign(my, {
+ ...One,
+ ...my
}), class {
static create(e, t, n) {
- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : tb(e.parent));
+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : nb(e.parent));
d.setOptions({
layoutId: r,
layout: i,
- alwaysMeasureLayout: !!a || o && fne(o),
+ alwaysMeasureLayout: !!a || o && dne(o),
visualElement: e,
animationType: typeof i == "string" ? i : "both",
initialPromotionConfig: n,
@@ -18934,16 +18934,16 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
f && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());
}
constructor(e = {}, n = t?.()) {
- this.id = Pne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = Nne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, this.nodes.forEach(Lne), this.nodes.forEach(Gne), this.nodes.forEach(Kne), this.nodes.forEach(Rne), my.countProjection?.();
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Ine), this.nodes.forEach(Wne), this.nodes.forEach(Gne), this.nodes.forEach(Lne), hy.countProjection?.();
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new Mne());
+ this.root === this && (this.nodes = new jne());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new wm()), this.eventHandlers.get(e).add(t);
@@ -18956,7 +18956,7 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = Av(t) && !pne(t), this.instance = t;
+ this.isSVG = jv(t) && !fne(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -18964,7 +18964,7 @@ function nb({ 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 = dne(i, 250), Xy.hasAnimatedSinceResize && (Xy.hasAnimatedSinceResize = !1, this.nodes.forEach(ab)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = une(i, 250), Zy.hasAnimatedSinceResize && (Zy.hasAnimatedSinceResize = !1, this.nodes.forEach(ob)));
});
}
n && this.root.registerSharedNode(n, this), this.addLayoutListener();
@@ -18976,16 +18976,16 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || n.getDefaultTransition() || Xne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Wy(this.targetLayout, i), l = !t && r;
+ let a = this.options.transition || n.getDefaultTransition() || Yne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Gy(this.targetLayout, i), l = !t && r;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...lv(a, "layout"),
+ ...uv(a, "layout"),
onPlay: o,
onComplete: s
};
(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || ab(this), this.isLead() && this.options.onExitComplete?.();
+ } else t || ob(this), this.isLead() && this.options.onExitComplete?.();
this.targetLayout = i;
}));
}
@@ -19002,7 +19002,7 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(qne), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Kne), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -19013,11 +19013,11 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete?.();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && eb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
- $y(this), this.isLayoutDirty = !0;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && tb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ eb(this), this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
- t.shouldResetTransform = !0, $y(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);
+ t.shouldResetTransform = !0, eb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);
}
let { layoutId: t, layout: n } = this.options;
if (t === void 0 && !n) return;
@@ -19027,22 +19027,22 @@ function nb({ 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(Bne), this.nodes.forEach(rb);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(zne), this.nodes.forEach(ib);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(ib);
+ this.nodes.forEach(ab);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Hne), this.nodes.forEach(Une), this.nodes.forEach(Wne), this.nodes.forEach(Fne), this.nodes.forEach(Ine)) : this.nodes.forEach(ib), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Vne), this.nodes.forEach(Hne), this.nodes.forEach(Une), this.nodes.forEach(Pne), this.nodes.forEach(Fne)) : this.nodes.forEach(ab), this.clearAllSnapshots();
let e = Qm.now();
Ym.delta = hm(0, 1e3 / 60, e - Ym.timestamp), Ym.timestamp = e, Ym.isProcessing = !0, pg.update.process(Ym), pg.preRender.process(Ym), pg.render.process(Ym), Ym.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, dy.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, fy.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(zne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
+ this.nodes.forEach(Rne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, dg.preRender(this.updateProjection, !1, !0));
@@ -19053,13 +19053,13 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Cy(this.snapshot.measuredBox.x) && !Cy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !wy(this.snapshot.measuredBox.x) && !wy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutCorrected ||= zy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutCorrected ||= By(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);
}
@@ -19079,13 +19079,13 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
resetTransform() {
if (!i) return;
let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;
- e && $y(this);
- let t = this.projectionDelta && !Vy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || Xv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ e && eb(this);
+ let t = this.projectionDelta && !Hy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Zv(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)), Ene(n), {
+ return e && (n = this.removeTransform(n)), Tne(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -19095,42 +19095,42 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return zy();
+ if (!e) return By();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Zne))) {
+ if (!(this.scroll?.wasRoot || this.path.some(Xne))) {
let { scroll: e } = this.root;
- e && (oy(t.x, e.offset.x), oy(t.y, e.offset.y));
+ e && (sy(t.x, e.offset.x), sy(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = zy();
- if (xy(t, e), this.scroll?.wasRoot) return t;
+ let t = By();
+ if (Sy(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && xy(t, e), oy(t.x, i.offset.x), oy(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Sy(t, e), sy(t.x, i.offset.x), sy(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n, r, i = 0) {
- let a = n || zy();
- xy(a, e);
+ let a = n || By();
+ Sy(a, e);
for (let e = i; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (oy(a.x, -n.scroll.offset.x), oy(a.y, -n.scroll.offset.y)), Xv(n.latestValues) && ly(a, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (sy(a.x, -n.scroll.offset.x), sy(a.y, -n.scroll.offset.y)), Zv(n.latestValues) && uy(a, n.latestValues, n.layout?.layoutBox);
}
- return !r && Xv(this.latestValues) && ly(a, this.latestValues, this.layout?.layoutBox), a;
+ return !r && Zv(this.latestValues) && uy(a, this.latestValues, this.layout?.layoutBox), a;
}
removeTransform(e) {
- let t = zy();
- xy(t, e);
+ let t = By();
+ Sy(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!Xv(n.latestValues)) continue;
+ if (!Zv(n.latestValues)) continue;
let r;
- n.instance && (Jv(n.latestValues) && n.updateSnapshot(), r = zy(), xy(r, n.measurePageBox())), My(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Yv(n.latestValues) && n.updateSnapshot(), r = By(), Sy(r, n.measurePageBox())), Ny(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Xv(this.latestValues) && My(t, this.latestValues), t;
+ return Zv(this.latestValues) && Ny(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -19157,16 +19157,16 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = Ym.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 = zy(), this.targetWithTransforms = zy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Dy(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : xy(this.target, this.layout.layoutBox), ry(this.target, this.targetDelta)) : xy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), my.countProjection?.(1));
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = By(), this.targetWithTransforms = By()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Oy(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Sy(this.target, this.layout.layoutBox), iy(this.target, this.targetDelta)) : Sy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), hy.countProjection?.(1));
}
getClosestProjectingParent() {
- if (!(!this.parent || Jv(this.parent.latestValues) || Qv(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Yv(this.parent.latestValues) || $v(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = zy(), this.relativeTargetOrigin = zy(), ky(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), xy(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = By(), this.relativeTargetOrigin = By(), Ay(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Sy(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -19176,11 +19176,11 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Ym.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- xy(this.layoutCorrected, this.layout.layoutBox);
+ Sy(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- nne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = zy());
+ tne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = By());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Sy(this.prevProjectionDelta.x, this.projectionDelta.x), Sy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ty(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Ky(this.projectionDelta.x, this.prevProjectionDelta.x) && Ky(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), my.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Cy(this.prevProjectionDelta.x, this.projectionDelta.x), Cy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ey(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && qy(this.projectionDelta.x, this.prevProjectionDelta.x) && qy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), hy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -19192,22 +19192,22 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = Ly(), this.projectionDelta = Ly(), this.projectionDeltaWithTransform = Ly();
+ this.prevProjectionDelta = Ry(), this.projectionDelta = Ry(), this.projectionDeltaWithTransform = Ry();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ly();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ry();
this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = zy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Yne));
+ let s = By(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Jne));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- ob(o.x, e.x, n), ob(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ky(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Jne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Dne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= zy(), xy(f, this.relativeTarget)), c && (this.animationValues = a, hne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ sb(o.x, e.x, n), sb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ay(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), qne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ene(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= By(), Sy(f, this.relativeTarget)), c && (this.animationValues = a, mne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (fg(this.pendingAnimation), void 0), this.pendingAnimation = dg.update(() => {
- Xy.hasAnimatedSinceResize = !0, this.motionValue ||= sv(0), this.motionValue.jump(0, !1), this.currentAnimation = fy(this.motionValue, [0, 1e3], {
+ Zy.hasAnimatedSinceResize = !0, this.motionValue ||= cv(0), this.motionValue.jump(0, !1), this.currentAnimation = py(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -19226,20 +19226,20 @@ function nb({ 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?.(Nne), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta?.(Mne), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;
if (t && i && n) {
- if (this !== e && this.layout && n && lb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ if (this !== e && this.layout && n && ub(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
let { layoutBox: e } = this.layout, t = i;
- i = this.target || zy(), cb(i.x, t.x, e.x), cb(i.y, t.y, e.y);
+ i = this.target || By(), lb(i.x, t.x, e.x), lb(i.y, t.y, e.y);
}
- xy(t, i), ly(t, r), Ty(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ Sy(t, i), uy(t, r), Ey(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new One()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Dne()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n?.transition,
@@ -19272,10 +19272,10 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { visualElement: e } = this.options;
if (!e) return;
let { latestValues: t } = e;
- if (!Zv(t)) return;
+ if (!Qv(t)) return;
let n = {};
- for (let t = 0; t < Zy.length; t++) Qy(Zy[t], e, n, this.animationValues);
- for (let t = 0; t < Yv.length; t++) Qy(Yv[t], e, n, this.animationValues);
+ for (let t = 0; t < Qy.length; t++) $y(Qy[t], e, n, this.animationValues);
+ for (let t = 0; t < Xv.length; t++) $y(Xv[t], e, n, this.animationValues);
e.render();
for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);
e.scheduleRender();
@@ -19289,70 +19289,70 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let r = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = hy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = gy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
return;
}
if (!this.projectionDelta || !this.layout || !n.target) {
- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = hy(t?.pointerEvents) || ""), this.hasProjected && !Xv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = gy(t?.pointerEvents) || ""), this.hasProjected && !Zv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = n.animationValues || n.latestValues;
this.applyTransformsToTarget();
- let a = Ane(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = kne(this.projectionDeltaWithTransform, this.treeScale, i);
r && (a = r(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in py) {
+ for (let t in my) {
if (i[t] === void 0) continue;
- let { correct: r, applyTo: o, isCSSVariable: s } = py[t], c = a === "none" ? i[t] : r(i[t], n);
+ let { correct: r, applyTo: o, isCSSVariable: s } = my[t], c = a === "none" ? i[t] : r(i[t], n);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = n === this ? hy(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = n === this ? gy(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(rb), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ib), this.root.sharedNodes.clear();
}
};
}
-function Fne(e) {
- e.updateLayout(), Vne(e);
+function Pne(e) {
+ e.updateLayout(), Bne(e);
}
-function Ine(e) {
+function Fne(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {
- if (i === "size") Yy((e) => {
- let t = Cy(r[e]);
+ if (i === "size") Xy((e) => {
+ let t = wy(r[e]);
r[e].min = a[e].min, r[e].max = r[e].min + t;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- by(r[e], a[e]);
- } else lb(i, t.layoutBox, n) && Yy((t) => {
- let n = Cy(a[t]);
+ xy(r[e], a[e]);
+ } else ub(i, t.layoutBox, n) && Xy((t) => {
+ let n = wy(a[t]);
r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);
});
}, s = a ? t.measuredBox : t.layoutBox;
o(s, n);
- let c = Ly();
- Ty(c, n, t.layoutBox);
- let l = Ly();
- Ty(l, a ? e.applyTransform(r, !0) : n, s);
- let u = !Vy(c), d = !1, f = e.getClosestProjectingParent();
+ let c = Ry();
+ Ey(c, n, t.layoutBox);
+ let l = Ry();
+ Ey(l, a ? e.applyTransform(r, !0) : n, s);
+ let u = !Hy(c), d = !1, f = e.getClosestProjectingParent();
if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {
let { snapshot: r, layout: i } = f;
if (r && i) {
- let s = e.options.layoutAnchor || void 0, c = zy();
- ky(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
- let l = zy();
- ky(l, n, i.layoutBox, s), a && o(c, l), Wy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
+ let s = e.options.layoutAnchor || void 0, c = By();
+ Ay(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
+ let l = By();
+ Ay(l, n, i.layoutBox, s), a && o(c, l), Gy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
}
}
e.notifyListeners("didUpdate", {
@@ -19366,65 +19366,65 @@ function Ine(e) {
} else e.isLead() && e.options.onExitComplete?.();
e.options.transition = void 0;
}
-function Lne(e) {
- my.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function Ine(e) {
+ hy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function Rne(e) {
+function Lne(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function zne(e) {
+function Rne(e) {
e.clearSnapshot();
}
-function rb(e) {
+function ib(e) {
e.clearMeasurements();
}
-function Bne(e) {
+function zne(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function ib(e) {
+function ab(e) {
e.isLayoutDirty = !1;
}
-function Vne(e) {
+function Bne(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- Yy((e) => oy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ Xy((e) => sy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function Hne(e) {
+function Vne(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function Une(e) {
+function Hne(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function Wne(e) {
+function Une(e) {
let { visualElement: t } = e.options;
t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function ab(e) {
+function ob(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Gne(e) {
+function Wne(e) {
e.resolveTargetDelta();
}
-function Kne(e) {
+function Gne(e) {
e.calcProjection();
}
-function qne(e) {
+function Kne(e) {
e.resetSkewAndRotation();
}
-function ob(e, t, n) {
+function sb(e, t, n) {
e.translate = Zh(t.translate, 0, n), e.scale = Zh(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function sb(e, t, n, r) {
+function cb(e, t, n, r) {
e.min = Zh(t.min, n.min, r), e.max = Zh(t.max, n.max, r);
}
-function Jne(e, t, n, r) {
- sb(e.x, t.x, n.x, r), sb(e.y, t.y, n.y, r);
+function qne(e, t, n, r) {
+ cb(e.x, t.x, n.x, r), cb(e.y, t.y, n.y, r);
}
-function Yne(e) {
+function Jne(e) {
return e.animationValues?.opacityExit !== void 0;
}
-var Xne = {
+var Yne = {
duration: .45,
ease: [
.4,
@@ -19433,51 +19433,51 @@ var Xne = {
1
]
};
-function cb(e, t, n) {
- e.max = Cy(n) + (e.min = t.min);
-}
function lb(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Sne(Gy(t), Gy(n), .2);
+ e.max = wy(n) + (e.min = t.min);
+}
+function ub(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !xne(Ky(t), Ky(n), .2);
}
-function Zne(e) {
+function Xne(e) {
return e !== e.root && e.scroll?.wasRoot;
}
// node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function ub(e, t, n, r = { passive: !0 }) {
+function db(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var Qne = /* @__PURE__ */ nb({
- attachResizeListener: (e, t) => ub(e, "resize", t),
- measureScroll: ine,
+var Zne = /* @__PURE__ */ rb({
+ attachResizeListener: (e, t) => db(e, "resize", t),
+ measureScroll: rne,
checkIsScrollRoot: () => !0
-}), db = { current: void 0 }, fb = /* @__PURE__ */ nb({
+}), fb = { current: void 0 }, pb = /* @__PURE__ */ rb({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!db.current) {
- let e = new Qne({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), db.current = e;
+ if (!fb.current) {
+ let e = new Zne({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), fb.current = e;
}
- return db.current;
+ return fb.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), pb = /* @__PURE__ */ new WeakMap();
+}), mb = /* @__PURE__ */ new WeakMap();
// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function mb(e) {
+function hb(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function hb(e) {
+function gb(e) {
return typeof e == "string" || Array.isArray(e);
}
// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var gb = [
+var _b = [
"animate",
"whileInView",
"whileFocus",
@@ -19485,29 +19485,29 @@ var gb = [
"whileTap",
"whileDrag",
"exit"
-], _b = /* @__PURE__ */ ["initial"].concat(gb);
+], vb = /* @__PURE__ */ ["initial"].concat(_b);
// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function vb(e) {
- if (mb(e.animate)) return !0;
- for (let t = 0; t < _b.length; t++) if (hb(e[_b[t]])) return !0;
+function yb(e) {
+ if (hb(e.animate)) return !0;
+ for (let t = 0; t < vb.length; t++) if (gb(e[vb[t]])) return !0;
return !1;
}
-function yb(e) {
- return !!(vb(e) || e.variants);
+function bb(e) {
+ return !!(yb(e) || e.variants);
}
// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function $ne(e, t, n) {
+function Qne(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (gv(i)) e.addValue(r, i);
- else if (gv(a)) e.addValue(r, sv(i, { owner: e }));
+ if (_v(i)) e.addValue(r, i);
+ else if (_v(a)) e.addValue(r, cv(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, sv(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, cv(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -19515,17 +19515,17 @@ function $ne(e, t, n) {
return t;
}
// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var bb = { current: null }, xb = { current: !1 }, ere = typeof window < "u";
-function Sb() {
- if (xb.current = !0, ere) {
+var xb = { current: null }, Sb = { current: !1 }, $ne = typeof window < "u";
+function Cb() {
+ if (Sb.current = !0, $ne) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => bb.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => xb.current = e.matches;
e.addEventListener("change", t), t();
- } else bb.current = !1;
+ } else xb.current = !1;
}
}
// node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Cb = [
+var wb = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -19533,14 +19533,14 @@ var Cb = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], wb = {};
-function Tb(e) {
- wb = e;
+], Tb = {};
+function Eb(e) {
+ Tb = e;
}
-function tre() {
- return wb;
+function ere() {
+ return Tb;
}
-var nre = class {
+var tre = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
@@ -19552,16 +19552,16 @@ var nre = class {
this.renderScheduledAt < e && (this.renderScheduledAt = e, dg.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = vb(t), this.isVariantNode = yb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = yb(t), this.isVariantNode = bb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && gv(t) && t.set(c[e]);
+ c[e] !== void 0 && _v(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- if (this.current = e, pb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
+ if (this.current = e, mb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
let e = this;
do
e = e.props.inherit !== !1 && e.parent;
@@ -19571,7 +19571,7 @@ var nre = class {
t.add(this), this.removeFromVariantTree = () => t.delete(this);
}
}
- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (xb.current || Sb(), this.shouldReduceMotion = bb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Sb.current || Cb(), this.shouldReduceMotion = xb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection?.unmount(), fg(this.notifyUpdate), fg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);
@@ -19606,7 +19606,7 @@ var nre = class {
let n = u_.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && dg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), G_.get(this.current)?.check()), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && dg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), K_.get(this.current)?.check()), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i?.();
@@ -19617,8 +19617,8 @@ var nre = class {
}
updateFeatures() {
let e = "animation";
- for (e in wb) {
- let t = wb[e];
+ for (e in Tb) {
+ let t = Tb[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -19631,7 +19631,7 @@ var nre = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : zy();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : By();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -19641,14 +19641,14 @@ var nre = class {
}
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && G_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Cb.length; t++) {
- let n = Cb[t];
+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && K_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
+ for (let t = 0; t < wb.length; t++) {
+ let n = wb[t];
this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = $ne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
+ this.prevMotionValues = Qne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
}
getProps() {
return this.props;
@@ -19678,11 +19678,11 @@ var nre = class {
}
getValue(e, t) {
let n = this.props.values?.[e];
- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = sv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);
+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = cv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (_m(n) || ym(n)) ? n = parseFloat(n) : typeof n != "number" && !qh.test(n) && qh.test(t) && (n = Qg(e, t)), this.setBaseTarget(e, gv(n) ? n.get() : n)), gv(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (_m(n) || ym(n)) ? n = parseFloat(n) : typeof n != "number" && !qh.test(n) && qh.test(t) && (n = Qg(e, t)), this.setBaseTarget(e, _v(n) ? n.get() : n)), _v(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -19694,11 +19694,11 @@ var nre = class {
this.events[e]?.notify(...t);
}
scheduleRenderMicrotask() {
- dy.render(this.render);
+ fy.render(this.render);
}
-}, Eb = class extends nre {
+}, Db = class extends tre {
constructor() {
- super(...arguments), this.KeyframeResolver = Cv;
+ super(...arguments), this.KeyframeResolver = wv;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -19713,35 +19713,35 @@ var nre = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- gv(e) && (this.childSubscription = e.on("change", (e) => {
+ _v(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
};
// node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function Db(e, { style: t, vars: n }, r, i) {
+function Ob(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function Ob(e, { layout: t, layoutId: n }) {
- return u_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!py[e] || e === "opacity");
+function kb(e, { layout: t, layoutId: n }) {
+ return u_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!my[e] || e === "opacity");
}
// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function kb(e, t, n) {
+function Ab(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (gv(r[t]) || i && gv(i[t]) || Ob(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (_v(r[t]) || i && _v(i[t]) || kb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function rre(e) {
+function nre(e) {
return window.getComputedStyle(e);
}
-var ire = class extends Eb {
+var rre = class extends Db {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = Db;
+ super(...arguments), this.type = "html", this.renderInstance = Ob;
}
mount(e) {
super.mount(e);
@@ -19749,69 +19749,69 @@ var ire = class extends Eb {
readValueFromInstance(e, t) {
if (u_.has(t)) return this.projection?.isProjecting ? o_(t) : c_(e, t);
{
- let n = rre(e), r = (th(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = nre(e), r = (th(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return uy(e, t);
+ return dy(e, t);
}
build(e, t, n) {
- Vv(e, t, n.transformTemplate);
+ Hv(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return kb(e, t, n);
+ return Ab(e, t, n);
}
-}, Ab = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
+}, jb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
// node_modules/motion-dom/dist/es/events/event-info.mjs
-function jb(e) {
+function Mb(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var are = (e) => (t) => Ab(t) && e(t, jb(t));
+var ire = (e) => (t) => jb(t) && e(t, Mb(t));
// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs
-function Mb(e, t, n, r) {
- return ub(e, t, are(n), r);
+function Nb(e, t, n, r) {
+ return db(e, t, ire(n), r);
}
// node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Nb = /* @__PURE__ */ new WeakMap(), Pb, Fb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Av(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ore = /*@__PURE__*/ Fb("inline", "width", "offsetWidth"), sre = /*@__PURE__*/ Fb("block", "height", "offsetHeight");
-function cre({ target: e, borderBoxSize: t }) {
- Nb.get(e)?.forEach((n) => {
+var Pb = /* @__PURE__ */ new WeakMap(), Fb, Ib = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : jv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], are = /*@__PURE__*/ Ib("inline", "width", "offsetWidth"), ore = /*@__PURE__*/ Ib("block", "height", "offsetHeight");
+function sre({ target: e, borderBoxSize: t }) {
+ Pb.get(e)?.forEach((n) => {
n(e, {
get width() {
- return ore(e, t);
+ return are(e, t);
},
get height() {
- return sre(e, t);
+ return ore(e, t);
}
});
});
}
-function lre(e) {
- e.forEach(cre);
+function cre(e) {
+ e.forEach(sre);
}
-function ure() {
- typeof ResizeObserver < "u" && (Pb = new ResizeObserver(lre));
+function lre() {
+ typeof ResizeObserver < "u" && (Fb = new ResizeObserver(cre));
}
-function dre(e, t) {
- Pb || ure();
- let n = Pv(e);
+function ure(e, t) {
+ Fb || lre();
+ let n = Fv(e);
return n.forEach((e) => {
- let n = Nb.get(e);
- n || (n = /* @__PURE__ */ new Set(), Nb.set(e, n)), n.add(t), Pb?.observe(e);
+ let n = Pb.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Pb.set(e, n)), n.add(t), Fb?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Nb.get(e);
- n?.delete(t), n?.size || Pb?.unobserve(e);
+ let n = Pb.get(e);
+ n?.delete(t), n?.size || Fb?.unobserve(e);
});
};
}
// node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Ib = /* @__PURE__ */ new Set(), Lb;
-function fre() {
- Lb = () => {
+var Lb = /* @__PURE__ */ new Set(), Rb;
+function dre() {
+ Rb = () => {
let e = {
get width() {
return window.innerWidth;
@@ -19820,26 +19820,26 @@ function fre() {
return window.innerHeight;
}
};
- Ib.forEach((t) => t(e));
- }, window.addEventListener("resize", Lb);
+ Lb.forEach((t) => t(e));
+ }, window.addEventListener("resize", Rb);
}
-function pre(e) {
- return Ib.add(e), Lb || fre(), () => {
- Ib.delete(e), !Ib.size && typeof Lb == "function" && (window.removeEventListener("resize", Lb), Lb = void 0);
+function fre(e) {
+ return Lb.add(e), Rb || dre(), () => {
+ Lb.delete(e), !Lb.size && typeof Rb == "function" && (window.removeEventListener("resize", Rb), Rb = void 0);
};
}
// node_modules/motion-dom/dist/es/resize/index.mjs
-function Rb(e, t) {
- return Mv(typeof e == "function" ? pre(e) : dre(e, t));
+function zb(e, t) {
+ return Nv(typeof e == "function" ? fre(e) : ure(e, t));
}
// node_modules/motion-dom/dist/es/utils/distance.mjs
-var zb = (e, t) => Math.abs(e - t);
-function mre(e, t) {
- let n = zb(e.x, t.x), r = zb(e.y, t.y);
+var Bb = (e, t) => Math.abs(e - t);
+function pre(e, t) {
+ let n = Bb(e.x, t.x), r = Bb(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs
-var Bb = /*#__PURE__*/ new Set(["auto", "scroll"]), Vb = class {
+var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -19847,8 +19847,8 @@ var Bb = /*#__PURE__*/ new Set(["auto", "scroll"]), Vb = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Ub(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Gb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = mre(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Wb(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Kb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = pre(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -19861,40 +19861,40 @@ var Bb = /*#__PURE__*/ new Set(["auto", "scroll"]), Vb = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Ub(t, this.transformPagePoint), this.hasPendingMove = !0, dg.update(this.updatePoint, !0);
+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Wb(t, this.transformPagePoint), this.hasPendingMove = !0, dg.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.hasPendingMove && this.updatePoint(), this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Gb(e.type === "pointercancel" ? this.lastMoveEventInfo : Ub(t, this.transformPagePoint), this.history);
+ let a = Kb(e.type === "pointercancel" ? this.lastMoveEventInfo : Wb(t, this.transformPagePoint), this.history);
this.startEvent && n?.(e, a), r?.(e, a);
- }, !Ab(e)) return;
+ }, !jb(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = Ub(jb(e), this.transformPagePoint), { point: c } = s;
+ let s = Wb(Mb(e), this.transformPagePoint), { point: c } = s;
this.history = [{
...c,
timestamp: Qm.now()
}];
let { onSessionStart: l } = t;
- l && l(e, Gb(s, this.history));
+ l && l(e, Kb(s, this.history));
let u = {
passive: !0,
capture: !0
};
- this.removeListeners = Sm(Mb(this.contextWindow, "pointermove", this.handlePointerMove, u), Mb(this.contextWindow, "pointerup", this.handlePointerUp, u), Mb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
+ this.removeListeners = Sm(Nb(this.contextWindow, "pointermove", this.handlePointerMove, u), Nb(this.contextWindow, "pointerup", this.handlePointerUp, u), Nb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (Bb.has(e.overflowX) || Bb.has(e.overflowY)) && this.scrollPositions.set(t, Hb(t)), t = t.parentElement;
+ (Vb.has(e.overflowX) || Vb.has(e.overflowY)) && this.scrollPositions.set(t, Ub(t)), t = t.parentElement;
}
- this.scrollPositions.set(window, Hb(window)), this.removeScrollListeners = Sm(ub(window, "scroll", this.onElementScroll, { capture: !0 }), ub(window, "scroll", this.onWindowScroll, {}));
+ this.scrollPositions.set(window, Ub(window)), this.removeScrollListeners = Sm(db(window, "scroll", this.onElementScroll, { capture: !0 }), db(window, "scroll", this.onWindowScroll, {}));
}
handleScroll(e) {
let t = this.scrollPositions.get(e);
if (!t) return;
- let n = e === window, r = Hb(e), i = {
+ let n = e === window, r = Ub(e), i = {
x: r.x - t.x,
y: r.y - t.y
};
@@ -19906,42 +19906,42 @@ var Bb = /*#__PURE__*/ new Set(["auto", "scroll"]), Vb = class {
end() {
this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), fg(this.updatePoint);
}
-}, Hb = (e) => e === window ? {
+}, Ub = (e) => e === window ? {
x: window.scrollX,
y: window.scrollY
} : {
x: e.scrollLeft,
y: e.scrollTop
};
-function Ub(e, t) {
+function Wb(e, t) {
return t ? { point: t(e.point) } : e;
}
-function Wb(e, t) {
+function Gb(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Gb({ point: e }, t) {
+function Kb({ point: e }, t) {
return {
point: e,
- delta: Wb(e, Kb(t)),
- offset: Wb(e, hre(t)),
- velocity: gre(t, .1)
+ delta: Gb(e, qb(t)),
+ offset: Gb(e, mre(t)),
+ velocity: hre(t, .1)
};
}
-function hre(e) {
+function mre(e) {
return e[0];
}
-function Kb(e) {
+function qb(e) {
return e[e.length - 1];
}
-function gre(e, t) {
+function hre(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = Kb(e);
+ let n = e.length - 1, r = null, i = qb(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Tm(t)));) n--;
if (!r) return {
x: 0,
@@ -19960,95 +19960,95 @@ function gre(e, t) {
return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;
}
// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs
-var _re = /* @__PURE__ */ new Set([
+var gre = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function vre(e) {
- return _re.has(e.tagName) || e.isContentEditable === !0;
+function _re(e) {
+ return gre.has(e.tagName) || e.isContentEditable === !0;
}
-var yre = /* @__PURE__ */ new Set([
+var vre = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function qb(e) {
- return yre.has(e.tagName) || e.isContentEditable === !0;
+function Jb(e) {
+ return vre.has(e.tagName) || e.isContentEditable === !0;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
-var Jb = {
+var Yb = {
x: !1,
y: !1
};
-function Yb() {
- return Jb.x || Jb.y;
+function Xb() {
+ return Yb.x || Yb.y;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Xb(e) {
- return e === "x" || e === "y" ? Jb[e] ? null : (Jb[e] = !0, () => {
- Jb[e] = !1;
- }) : Jb.x || Jb.y ? null : (Jb.x = Jb.y = !0, () => {
- Jb.x = Jb.y = !1;
+function Zb(e) {
+ return e === "x" || e === "y" ? Yb[e] ? null : (Yb[e] = !0, () => {
+ Yb[e] = !1;
+ }) : Yb.x || Yb.y ? null : (Yb.x = Yb.y = !0, () => {
+ Yb.x = Yb.y = !1;
});
}
// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs
-function Zb(e, { min: t, max: n }, r) {
+function Qb(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? Zh(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Zh(n, e, r.max) : Math.min(e, n)), e;
}
-function Qb(e, t, n) {
+function $b(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 bre(e, { top: t, left: n, bottom: r, right: i }) {
+function yre(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: Qb(e.x, n, i),
- y: Qb(e.y, t, r)
+ x: $b(e.x, n, i),
+ y: $b(e.y, t, r)
};
}
-function $b(e, t) {
+function ex(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 xre(e, t) {
+function bre(e, t) {
return {
- x: $b(e.x, t.x),
- y: $b(e.y, t.y)
+ x: ex(e.x, t.x),
+ y: ex(e.y, t.y)
};
}
-function Sre(e, t) {
- let n = .5, r = Cy(e), i = Cy(t);
+function xre(e, t) {
+ let n = .5, r = wy(e), i = wy(t);
return i > r ? n = /* @__PURE__ */ Cm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Cm(e.min, e.max - i, t.min)), hm(0, 1, n);
}
-function Cre(e, t) {
+function Sre(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 ex = .35;
-function wre(e = ex) {
- return e === !1 ? e = 0 : e === !0 && (e = ex), {
- x: tx(e, "left", "right"),
- y: tx(e, "top", "bottom")
+var tx = .35;
+function Cre(e = tx) {
+ return e === !1 ? e = 0 : e === !0 && (e = tx), {
+ x: nx(e, "left", "right"),
+ y: nx(e, "top", "bottom")
};
}
-function tx(e, t, n) {
+function nx(e, t, n) {
return {
- min: nx(e, t),
- max: nx(e, n)
+ min: rx(e, t),
+ max: rx(e, n)
};
}
-function nx(e, t) {
+function rx(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs
-function rx(e) {
+function ix(e) {
let t = "";
for (let n of e.path) {
n.scroll = void 0, n.updateScroll();
@@ -20057,12 +20057,12 @@ function rx(e) {
}
return t;
}
-var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
+var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
constructor(e, t = () => e.getProps()) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = zy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = By(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
if (this.visualElement.presenceContext?.isPresent === !1) return;
@@ -20070,25 +20070,25 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
t && this.snapToCursor(e), this.stopAnimation();
}, i = (e, t) => {
let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();
- if (n && !i && (this.openDragLock?.(), this.openDragLock = Xb(n), !this.openDragLock)) return;
+ if (n && !i && (this.openDragLock?.(), this.openDragLock = Zb(n), !this.openDragLock)) return;
this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();
let { projection: o } = this.visualElement;
- o && (o.isAnimationBlocked = !0, o.target = void 0), Yy((e) => {
+ o && (o.isAnimationBlocked = !0, o.target = void 0), Xy((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (rh(t) && (t = dv(t, this.visualElement.current) || 0), Ch.test(t)) t = parseFloat(t);
+ if (rh(t) && (t = fv(t, this.visualElement.current) || 0), Ch.test(t)) t = parseFloat(t);
else if (Sh.test(t)) {
let n = o?.layout?.layoutBox[e];
- n && (t = Cy(n) * (parseFloat(t) / 100));
+ n && (t = wy(n) * (parseFloat(t) / 100));
}
this.originPoint[e] = t;
- }), this.point = typeof r == "function" && r(this), a && dg.update(() => a(e, t), !1, !0), _v(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
+ }), this.point = typeof r == "function" && r(this), a && dg.update(() => a(e, t), !1, !0), vv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
}, a = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t;
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- if (this.currentDirection = Ore(o), this.currentDirection === null) return;
+ if (this.currentDirection = Dre(o), this.currentDirection === null) return;
i && i(this.currentDirection);
}
this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && dg.update(() => a(e, t), !1, !0);
@@ -20101,7 +20101,7 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
y: 0
});
}, { dragSnapToOrigin: c } = this.getProps();
- this.panSession = new Vb(e, {
+ this.panSession = new Hb(e, {
onSessionStart: r,
onStart: i,
onMove: a,
@@ -20133,26 +20133,26 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
}
updateAxis(e, t) {
let { drag: n } = this.readProps();
- if (!t || !sx(e, n, this.currentDirection)) return;
+ if (!t || !cx(e, n, this.currentDirection)) return;
let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];
- a && (i = Zb(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);
+ a && (i = Qb(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;
- ix(e) ? this.constraints && this.scroll === rx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? bre(r.layoutBox, e) : !1, this.elastic = wre(t), i !== this.constraints && !ix(e) && r && this.constraints && !this.hasMutatedConstraints && Yy((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Cre(r.layoutBox[e], this.constraints[e]));
+ ax(e) ? this.constraints && this.scroll === ix(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? yre(r.layoutBox, e) : !1, this.elastic = Cre(t), i !== this.constraints && !ax(e) && r && this.constraints && !this.hasMutatedConstraints && Xy((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Sre(r.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!ix(e)) return !1;
- let n = ax(e), { projection: r } = this.visualElement;
+ if (!ax(e)) return !1;
+ let n = ox(e), { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
- this.scroll = rx(r);
- let i = rne(n, r.root, this.visualElement.getTransformPagePoint()), a = xre(r.layout.layoutBox, r.removeElementScroll(i));
+ this.scroll = ix(r);
+ let i = nne(n, r.root, this.visualElement.getTransformPagePoint()), a = bre(r.layout.layoutBox, r.removeElementScroll(i));
if (t) {
- let e = t(ene(a));
- this.hasMutatedConstraints = !!e, e && (a = Kv(e));
+ let e = t($te(a));
+ this.hasMutatedConstraints = !!e, e && (a = qv(e));
}
return a;
}
@@ -20164,13 +20164,13 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
restDelta: 1,
restSpeed: 10,
...a
- }, l = (i) => r && !(this.point && o) && sx(i, t || n, this.currentDirection) ? e[i] : 0;
+ }, l = (i) => r && !(this.point && o) && cx(i, t || n, this.currentDirection) ? e[i] : 0;
if (this.point && !o) return this.point.release({
x: l("x"),
y: l("y")
}, c).then(s);
- let u = this.constraints || {}, d = Yy((e) => {
- if (!sx(e, t || n, this.currentDirection)) return;
+ let u = this.constraints || {}, d = Xy((e) => {
+ if (!cx(e, t || n, this.currentDirection)) return;
let r = u[e] || {};
(o === !0 || o === e) && (r = {
min: 0,
@@ -20188,10 +20188,10 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return _v(this.visualElement, e), n.start(uv(e, n, 0, t, this.visualElement, !1));
+ return vv(this.visualElement, e), n.start(dv(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- Yy((e) => this.getAxisMotionValue(e).stop());
+ Xy((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
@@ -20202,8 +20202,8 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
x: e,
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
- Yy((e) => {
- if (!sx(e, n, this.currentDirection)) return;
+ Xy((e) => {
+ if (!cx(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - Zh(r, o, .5));
});
@@ -20211,41 +20211,41 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!ix(t) || !n || !this.constraints) return;
+ if (!ax(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- Yy((e) => {
+ Xy((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = Sre({
+ i[e] = xre({
min: t,
max: t
}, r[e]);
});
let { transformTemplate: a } = this.visualElement.getProps();
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Yy((t) => {
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Xy((t) => {
let n = this.getAxisMotionValue(t);
- if (!sx(t, e, null) || !n.get()) return;
+ if (!cx(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(Zh(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Tre.set(this.visualElement, this);
- let e = this.visualElement.current, t = Mb(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && qb(i);
+ wre.set(this.visualElement, this);
+ let e = this.visualElement.current, t = Nb(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Jb(i);
n && r && !a && this.start(t);
}), n, r = () => {
- let { dragConstraints: t } = this.getProps(), r = ix(t) && ax(t);
- r && (this.constraints = this.resolveRefConstraints(), n ||= Dre(e, r, () => this.scalePositionWithinConstraints()));
+ let { dragConstraints: t } = this.getProps(), r = ax(t) && ox(t);
+ r && (this.constraints = this.resolveRefConstraints(), n ||= Ere(e, r, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i.layout || (i.root?.updateScroll(), i.updateLayout()), dg.read(r);
- let o = ub(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (Yy((t) => {
- if (!sx(t, this.getProps().drag, this.currentDirection)) return;
+ let o = db(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (Xy((t) => {
+ if (!cx(t, this.getProps().drag, this.currentDirection)) return;
let n = this.getAxisMotionValue(t);
this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);
}), this.visualElement.render());
@@ -20255,7 +20255,7 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
};
}
getProps() {
- let e = this.readProps(), { dragElastic: t = ex, dragMomentum: n = !0 } = e;
+ let e = this.readProps(), { dragElastic: t = tx, dragMomentum: n = !0 } = e;
return {
...e,
dragElastic: t,
@@ -20263,32 +20263,32 @@ var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
};
}
};
-function ix(e) {
+function ax(e) {
return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);
}
-var ax = (e) => "current" in e ? e.current : e;
-function ox(e) {
+var ox = (e) => "current" in e ? e.current : e;
+function sx(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function Dre(e, t, n) {
- let r = Rb(e, ox(n)), i = Rb(t, ox(n));
+function Ere(e, t, n) {
+ let r = zb(e, sx(n)), i = zb(t, sx(n));
return () => {
r(), i();
};
}
-function sx(e, t, n) {
+function cx(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Ore(e, t = 10) {
+function Dre(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function cx(e, t) {
- let n = Pv(e), r = new AbortController();
+function lx(e, t) {
+ let n = Fv(e), r = new AbortController();
return [
n,
{
@@ -20296,16 +20296,16 @@ function cx(e, t) {
...t,
signal: r.signal
},
- Mv(() => r.abort())
+ Nv(() => r.abort())
];
}
// node_modules/motion-dom/dist/es/gestures/hover.mjs
-function kre(e) {
- return !(e.pointerType === "touch" || Yb());
+function Ore(e) {
+ return !(e.pointerType === "touch" || Xb());
}
-function Are(e, t, n = {}) {
- t = Nv(t);
- let [r, i, a] = cx(e, n);
+function kre(e, t, n = {}) {
+ t = Pv(t);
+ let [r, i, a] = lx(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -20319,7 +20319,7 @@ function Are(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!kre(n)) return;
+ if (!Ore(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -20327,71 +20327,71 @@ function Are(e, t, n = {}) {
}), a;
}
// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var lx = (e, t) => t ? e === t || lx(e, t.parentElement) : !1, ux = /* @__PURE__ */ new WeakSet();
+var ux = (e, t) => t ? e === t || ux(e, t.parentElement) : !1, dx = /* @__PURE__ */ new WeakSet();
// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function dx(e) {
+function fx(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function fx(e, t) {
+function px(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var jre = (e, t) => {
- let n = !1, r = dx(() => {
- ux.has(e) || (n = !0, fx(e, "down"));
- }), i = dx(() => {
- n && (n = !1, fx(e, "up"));
+var Are = (e, t) => {
+ let n = !1, r = fx(() => {
+ dx.has(e) || (n = !0, px(e, "down"));
+ }), i = fx(() => {
+ n && (n = !1, px(e, "up"));
});
e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {
- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && fx(e, "cancel");
+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && px(e, "cancel");
}, {
...t,
once: !0
});
};
// node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function px(e) {
- return Ab(e) && !Yb();
+function mx(e) {
+ return jb(e) && !Xb();
}
-var mx = /* @__PURE__ */ new WeakSet();
-function Mre(e, t, n = {}) {
- t = Nv(t);
- let [r, i, a] = cx(e, n), o = (e) => {
+var hx = /* @__PURE__ */ new WeakSet();
+function jre(e, t, n = {}) {
+ t = Pv(t);
+ let [r, i, a] = lx(e, n), o = (e) => {
let r = e.currentTarget;
- if (!px(e) || mx.has(e)) return;
- ux.add(r), n.stopPropagation && mx.add(e);
+ if (!mx(e) || hx.has(e)) return;
+ dx.add(r), n.stopPropagation && hx.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ux.has(r) && ux.delete(r), px(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), dx.has(r) && dx.delete(r), mx(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || lx(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || ux(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), kv(e) && (e.addEventListener("focus", () => jre(e, i), i), !vre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Av(e) && (e.addEventListener("focus", () => Are(e, i), i), !_re(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function hx(e, t) {
+function gx(e, t) {
let n = window.getComputedStyle(e);
return C_(t) ? n.getPropertyValue(t) : n[t];
}
// node_modules/motion-dom/dist/es/render/Feature.mjs
-var gx = class {
+var _x = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
update() {}
-}, _x = /* @__PURE__ */ new Set([
+}, vx = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -20415,25 +20415,25 @@ var gx = class {
"startOffset",
"textLength",
"lengthAdjust"
-]), vx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), yx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function Nre(e, t, n, r) {
- Db(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(_x.has(n) ? n : Bv(n), t.attrs[n]);
+function Mre(e, t, n, r) {
+ Ob(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(vx.has(n) ? n : Vv(n), t.attrs[n]);
}
// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function yx(e, t, n) {
- let r = kb(e, t, n);
- for (let n in e) if (n !== "children" && (gv(e[n]) || gv(t[n]))) {
+function bx(e, t, n) {
+ let r = Ab(e, t, n);
+ for (let n in e) if (n !== "children" && (_v(e[n]) || _v(t[n]))) {
let t = l_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var Pre = class extends Eb {
+var Nre = class extends Db {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = zy;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = By;
}
getBaseTargetFromProps(e, t) {
return u_.has(t) ? super.getBaseTargetFromProps(e, t) ?? o_(t) : e[t];
@@ -20446,27 +20446,27 @@ var Pre = class extends Eb {
let e = Zg(t);
return e && e.default || 0;
}
- if (Hv.includes(t)) {
+ if (Uv.includes(t)) {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = _x.has(t) ? t : Bv(t), e.getAttribute(t);
+ return t = vx.has(t) ? t : Vv(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return yx(e, t, n);
+ return bx(e, t, n);
}
build(e, t, n) {
- Uv(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ Wv(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- Nre(e, t, n, r);
+ Mre(e, t, n, r);
}
mount(e) {
- this.isSVGTag = vx(e.tagName), super.mount(e);
+ this.isSVGTag = yx(e.tagName), super.mount(e);
}
};
// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function bx(e, t) {
+function xx(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -20474,18 +20474,18 @@ function bx(e, t) {
return !0;
}
// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Fre = [...gb].reverse(), xx = (e) => e?.out === !0 ? e : e?.out;
-function Ire(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Mte(e, t, n))), n = Sx(), r = !0, i = !1;
+var Pre = [..._b].reverse(), Sx = (e) => e?.out === !0 ? e : e?.out;
+function Fre(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => jte(e, t, n))), n = Cx(), r = !0, i = !1;
function a(a) {
- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && pv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && mv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
do
g = g.props.inherit !== !1 && g.parent;
while (g && !g.isControllingVariants);
- let _ = u && xx(f(l ?? (g && g.props.initial))?.transition);
- if (Fre.forEach((t, r) => {
- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? hb(f) || f === !1 ? f : void 0 : l, y = hb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || mb(v) || typeof v == "boolean") return;
+ let _ = u && Sx(f(l ?? (g && g.props.initial))?.transition);
+ if (Pre.forEach((t, r) => {
+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? gb(f) || f === !1 ? f : void 0 : l, y = gb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || hb(v) || typeof v == "boolean") return;
if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {
m = {
...m,
@@ -20493,14 +20493,14 @@ function Ire(e) {
};
return;
}
- let S = Lre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
+ let S = Ire(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
if (b !== !1) for (let n of T) {
- let { transition: r, transitionEnd: i, ...a } = pv(e, n, mv(e, t)) || {};
+ let { transition: r, transitionEnd: i, ...a } = mv(e, n, hv(e, t)) || {};
E = {
...E,
...a,
...i
- }, D = xx(r) || D;
+ }, D = Sx(r) || D;
}
let { prevResolvedValues: O } = i;
for (let t in {
@@ -20508,7 +20508,7 @@ function Ire(e) {
...E
}) {
if (t in m) continue;
- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !bx(n, r) || S : n !== r, o;
+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !xx(n, r) || S : n !== r, o;
if (a && n == null) p.has(t) || p.set(t, i.prevOut);
else if (a || n !== void 0 && p.has(t)) {
C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;
@@ -20523,8 +20523,8 @@ function Ire(e) {
}), C && (!(x && S) || w)) for (let n of T) {
let r = { type: t };
if (typeof n == "string" && u && c && s?.enteringChildren) {
- let t = pv(s, n)?.transition?.delayChildren;
- r.delay = rv(s.enteringChildren, e, t);
+ let t = mv(s, n)?.transition?.delayChildren;
+ r.delay = iv(s.enteringChildren, e, t);
}
d.push({
animation: n,
@@ -20541,7 +20541,7 @@ function Ire(e) {
let s = e.getValue(a);
s && (s.liveStyle = !0);
let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);
- t[a] = (c === void 0 ? u !== void 0 && !gv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
+ t[a] = (c === void 0 ? u !== void 0 && !_v(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
}), r && (t.transition = r), d.push({ animation: t });
}
let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);
@@ -20562,16 +20562,16 @@ function Ire(e) {
},
getState: () => n,
reset: () => {
- n = Sx(), i = !0;
+ n = Cx(), i = !0;
}
};
}
-function Lre(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !bx(t, e) : !1;
+function Ire(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !xx(t, e) : !1;
}
-function Sx() {
+function Cx() {
let e = {};
- for (let t of gb) e[t] = {
+ for (let t of _b) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -20581,55 +20581,55 @@ function Sx() {
return e;
}
// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
-var Cx = /* @__PURE__ */ (0, F.createContext)({
+var wx = /* @__PURE__ */ (0, F.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function wx(e, t) {
+function Tx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Rre(...e) {
+function Lre(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = wx(e, t);
+ let r = Tx(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() : wx(e[t], null);
+ typeof n == "function" ? n() : Tx(e[t], null);
}
};
};
}
-function zre(...e) {
- return F.useCallback(Rre(...e), e);
+function Rre(...e) {
+ return F.useCallback(Lre(...e), e);
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Tx = (e) => {
+var Ex = (e) => {
let { width: t, height: n } = e?.getBoundingClientRect() || {};
return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];
-}, Ex = (e) => {
+}, Dx = (e) => {
let { left: t, top: n } = e.getBoundingClientRect(), r = e;
for (; r = r.parentElement || r.parentNode?.host;) {
let { scrollLeft: e, scrollTop: i } = r;
if (e || i) {
- let [a, o] = Tx(r);
+ let [a, o] = Ex(r);
t += e * a, n += i * o;
}
if (getComputedStyle(r).position === "fixed") break;
}
- let [i, a] = Tx(e.offsetParent);
+ let [i, a] = Ex(e.offsetParent);
return [t / i, n / a];
-}, Bre = class extends F.Component {
+}, zre = class extends F.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.getElement();
- if (kv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = kv(e) && e.offsetWidth || 0, r = kv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Ex(t);
+ if (Av(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = Av(e) && e.offsetWidth || 0, r = Av(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Dx(t);
}
return null;
}
@@ -20638,7 +20638,7 @@ var Tx = (e) => {
return this.props.children;
}
};
-function Vre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
+function Bre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({
width: 0,
height: 0,
@@ -20647,7 +20647,7 @@ function Vre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: u } = (0, F.useContext)(Cx), d = zre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
+ }), { nonce: u } = (0, F.useContext)(wx), d = Rre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;
e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);
};
@@ -20660,10 +20660,10 @@ function Vre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
let d = i ?? o.head;
d.appendChild(c), p(c.sheet);
let m = 0, h = 0;
- return dy.setup(() => {
- let [e, t] = Ex(r);
+ return fy.setup(() => {
+ let [e, t] = Dx(r);
m = l.current.point[0] - e, h = l.current.point[1] - t;
- }), dy.read(() => {
+ }), fy.read(() => {
let { sheet: e } = c;
if (!e || !m && !h) return;
let t = l.current;
@@ -20671,7 +20671,7 @@ function Vre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}), () => {
r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);
};
- }, [t]), (0, I.jsx)(Bre, {
+ }, [t]), (0, I.jsx)(zre, {
isPresent: t,
getElement: f,
sizeRef: l,
@@ -20680,8 +20680,8 @@ function Vre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
});
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var Hre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = um(Ure), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
+var Vre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = um(Hre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
dm(() => {
p.current = n, m.current = r;
});
@@ -20707,7 +20707,7 @@ var Hre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), F.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, I.jsx)(Vre, {
+ }, [n]), e = (0, I.jsx)(Bre, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -20720,11 +20720,11 @@ var Hre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function Ure() {
+function Hre() {
return /* @__PURE__ */ new Map();
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Dx(e = !0) {
+function Ox(e = !0) {
let t = (0, F.useContext)(fm);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();
@@ -20738,23 +20738,23 @@ function Dx(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function Ox() {
- return Wre((0, F.useContext)(fm));
+function kx() {
+ return Ure((0, F.useContext)(fm));
}
-function Wre(e) {
+function Ure(e) {
return e === null || e.isPresent;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var kx = (e) => e.key || "";
-function Ax(e) {
+var Ax = (e) => e.key || "";
+function jx(e) {
let t = [];
return F.Children.forEach(e, (e) => {
(0, F.isValidElement)(e) && t.push(e);
}), t;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var jx = ({ 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] = Dx(o), f = (0, F.useMemo)(() => Ax(e), [e]), p = o && !u ? [] : f.map(kx), m = (0, F.useRef)(!0), h = um(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);
+var Mx = ({ 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] = Ox(o), f = (0, F.useMemo)(() => jx(e), [e]), p = o && !u ? [] : f.map(Ax), m = (0, F.useRef)(!0), h = um(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);
dm(() => {
o && !u && !y.length && d?.();
}, [
@@ -20770,7 +20770,7 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
}, [y]), dm(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = kx(y[e]);
+ let t = Ax(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -20782,15 +20782,15 @@ var jx = ({ 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(kx(n));
+ let r = p.indexOf(Ax(n));
r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;
}
- return S.every((e) => h.get(kx(e))) ? e = f : a === "wait" && (e = S), b(Ax(e)), v(f), null;
+ return S.every((e) => h.get(Ax(e))) ? e = f : a === "wait" && (e = S), b(jx(e)), v(f), null;
}
let { forceRender: C } = (0, F.useContext)(lm);
return (0, I.jsx)(I.Fragment, { children: y.map((e) => {
- let _ = kx(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, I.jsx)(Hre, {
+ let _ = Ax(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, I.jsx)(Vre, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -20811,8 +20811,8 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, Mx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Nx = {
- animation: ["variants", ...gb],
+}, Nx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Px = {
+ animation: ["variants", ..._b],
exit: ["exit"],
drag: ["drag", "dragControls"],
focus: ["whileFocus"],
@@ -20839,32 +20839,32 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Px = !1;
-function Gre() {
- if (Px) return;
+}, Fx = !1;
+function Wre() {
+ if (Fx) return;
let e = {};
- for (let t in Nx) e[t] = { isEnabled: (e) => Nx[t].some((t) => !!e[t]) };
- Tb(e), Px = !0;
+ for (let t in Px) e[t] = { isEnabled: (e) => Px[t].some((t) => !!e[t]) };
+ Eb(e), Fx = !0;
}
-function Fx() {
- return Gre(), tre();
+function Ix() {
+ return Wre(), ere();
}
// node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Kre(e) {
- let t = Fx();
+function Gre(e) {
+ let t = Ix();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- Tb(t);
+ Eb(t);
}
// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function qre({ children: e, ...t }) {
- let n = (0, F.useContext)(Cx);
+function Kre({ children: e, ...t }) {
+ let n = (0, F.useContext)(wx);
t = {
...n,
...t
- }, t.transition = cv(t.transition, n.transition), t.isStatic = um(() => t.isStatic);
+ }, t.transition = lv(t.transition, n.transition), t.isStatic = um(() => t.isStatic);
let r = (0, F.useMemo)(() => t, [
JSON.stringify(t.transition),
t.transformPagePoint,
@@ -20872,77 +20872,77 @@ function qre({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, I.jsx)(Cx.Provider, {
+ return (0, I.jsx)(wx.Provider, {
value: r,
children: e
});
}
// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var Ix = /* @__PURE__ */ (0, F.createContext)({});
+var Lx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Jre(e, t) {
- if (vb(e)) {
+function qre(e, t) {
+ if (yb(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || hb(t) ? t : void 0,
- animate: hb(n) ? n : void 0
+ initial: t === !1 || gb(t) ? t : void 0,
+ animate: gb(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Yre(e) {
- let { initial: t, animate: n } = Jre(e, (0, F.useContext)(Ix));
+function Jre(e) {
+ let { initial: t, animate: n } = qre(e, (0, F.useContext)(Lx));
return (0, F.useMemo)(() => ({
initial: t,
animate: n
- }), [Lx(t), Lx(n)]);
+ }), [Rx(t), Rx(n)]);
}
-function Lx(e) {
+function Rx(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Rx = () => ({
+var zx = () => ({
style: {},
transform: {},
transformOrigin: {},
vars: {}
});
// node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function zx(e, t, n) {
- for (let r in t) !gv(t[r]) && !Ob(r, n) && (e[r] = t[r]);
+function Bx(e, t, n) {
+ for (let r in t) !_v(t[r]) && !kb(r, n) && (e[r] = t[r]);
}
-function Xre({ transformTemplate: e }, t) {
+function Yre({ transformTemplate: e }, t) {
return (0, F.useMemo)(() => {
- let n = Rx();
- return Vv(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = zx();
+ return Hv(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Zre(e, t) {
+function Xre(e, t) {
let n = e.style || {}, r = {};
- return zx(r, n, e), Object.assign(r, Xre(e, t)), r;
+ return Bx(r, n, e), Object.assign(r, Yre(e, t)), r;
}
-function Qre(e, t) {
- let n = {}, r = Zre(e, t);
+function Zre(e, t) {
+ let n = {}, r = Xre(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Bx = () => ({
- ...Rx(),
+var Vx = () => ({
+ ...zx(),
attrs: {}
});
// node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function $re(e, t, n, r) {
+function Qre(e, t, n, r) {
let i = (0, F.useMemo)(() => {
- let n = Bx();
- return Uv(n, t, vx(r), e.transformTemplate, e.style), {
+ let n = Vx();
+ return Wv(n, t, yx(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- return zx(t, e.style, e), {
+ return Bx(t, e.style, e), {
...i,
style: {
...t,
@@ -20953,21 +20953,21 @@ function $re(e, t, n, r) {
return i;
}
// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var eie = /* @__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 Vx(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || eie.has(e);
+var $re = /* @__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 Hx(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || $re.has(e);
}
// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function tie(e, t) {
- return e.startsWith("on") ? !Vx(e) : t?.(e) ?? !Vx(e);
+function eie(e, t) {
+ return e.startsWith("on") ? !Hx(e) : t?.(e) ?? !Hx(e);
}
-function nie(e, t, n, r) {
+function tie(e, t, n, r) {
let i = {};
- for (let a in e) a === "values" && typeof e.values == "object" || gv(e[a]) || (tie(a, r) || n === !0 && Vx(a) || !t && !Vx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
+ for (let a in e) a === "values" && typeof e.values == "object" || _v(e[a]) || (eie(a, r) || n === !0 && Hx(a) || !t && !Hx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
return i;
}
// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var rie = [
+var nie = [
"animate",
"circle",
"defs",
@@ -20995,40 +20995,40 @@ var rie = [
"view"
];
// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Hx(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(rie.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function Ux(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(nie.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
// node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function iie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? Hx(e) ? $re : Qre)(t, r, i, e), l = nie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
+function rie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? Ux(e) ? Qre : Zre)(t, r, i, e), l = tie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
...l,
...c,
ref: n
- }, { children: d } = t, f = (0, F.useMemo)(() => gv(d) ? d.get() : d, [d]);
+ }, { children: d } = t, f = (0, F.useMemo)(() => _v(d) ? d.get() : d, [d]);
return (0, F.createElement)(e, {
...u,
children: f
});
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function aie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function iie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: oie(n, r, i, e),
+ latestValues: aie(n, r, i, e),
renderState: t()
};
}
-function oie(e, t, n, r) {
+function aie(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = hy(a[e]);
- let { initial: o, animate: s } = e, c = vb(e), l = yb(e);
+ for (let e in a) i[e] = gy(a[e]);
+ let { initial: o, animate: s } = e, c = yb(e), l = bb(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !mb(d)) {
+ if (d && typeof d != "boolean" && !hb(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = fv(e, t[n]);
+ let r = pv(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -21045,18 +21045,18 @@ function oie(e, t, n, r) {
}
return i;
}
-var Ux = (e) => (t, n) => {
- let r = (0, F.useContext)(Ix), i = (0, F.useContext)(fm), a = () => aie(e, t, r, i);
+var Wx = (e) => (t, n) => {
+ let r = (0, F.useContext)(Lx), i = (0, F.useContext)(fm), a = () => iie(e, t, r, i);
return n ? a() : um(a);
-}, sie = /*@__PURE__*/ Ux({
- scrapeMotionValuesFromProps: kb,
- createRenderState: Rx
-}), cie = /*@__PURE__*/ Ux({
- scrapeMotionValuesFromProps: yx,
- createRenderState: Bx
-}), lie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
+}, oie = /*@__PURE__*/ Wx({
+ scrapeMotionValuesFromProps: Ab,
+ createRenderState: zx
+}), sie = /*@__PURE__*/ Wx({
+ scrapeMotionValuesFromProps: bx,
+ createRenderState: Vx
+}), cie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function uie(e, t, n) {
+function lie(e, t, n) {
let r = (0, F.useRef)(n);
(0, F.useInsertionEffect)(() => {
r.current = n;
@@ -21074,10 +21074,10 @@ function uie(e, t, n) {
}, [t]);
}
// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Wx = /* @__PURE__ */ (0, F.createContext)({});
+var Gx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function die(e, t, n, r, i, a) {
- let { visualElement: o } = (0, F.useContext)(Ix), s = (0, F.useContext)(Mx), c = (0, F.useContext)(fm), l = (0, F.useContext)(Cx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
+function uie(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, F.useContext)(Lx), s = (0, F.useContext)(Nx), c = (0, F.useContext)(fm), l = (0, F.useContext)(wx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -21088,11 +21088,11 @@ function die(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, F.useContext)(Wx);
+ let m = f.current, h = (0, F.useContext)(Gx);
m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {
m && m.props !== n && m.update(n, c);
});
- let g = n[vv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
+ let g = n[yv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
return dm(() => {
p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);
}, []), dm(() => {
@@ -21104,46 +21104,46 @@ function die(e, t, n, r, i, a) {
}), m;
}
// node_modules/framer-motion/dist/es/motion/index.mjs
-function Gx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Kre(r);
- let a = n ? n === "svg" : Hx(e), o = a ? cie : sie;
+function Kx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Gre(r);
+ let a = n ? n === "svg" : Ux(e), o = a ? sie : oie;
function s(n, s) {
- let c, l = fie(n);
- um(() => !!db.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
+ let c, l = die(n);
+ um(() => !!fb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
...n,
initial: !1
});
let u = {
- ...(0, F.useContext)(Cx),
+ ...(0, F.useContext)(wx),
...n,
layoutId: l
- }, { isStatic: d, isValidProp: f } = u, p = Yre(n), m = o(n, d);
+ }, { isStatic: d, isValidProp: f } = u, p = Jre(n), m = o(n, d);
if (!d && typeof window < "u") {
- pie(u, r);
- let t = mie(u);
- p.visualElement = die(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
+ fie(u, r);
+ let t = pie(u);
+ p.visualElement = uie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
}
- return (0, I.jsxs)(Ix.Provider, {
+ return (0, I.jsxs)(Lx.Provider, {
value: p,
children: [c && p.visualElement ? (0, I.jsx)(c, {
visualElement: p.visualElement,
...u
- }) : null, iie(e, n, uie(m, p.visualElement, s), m, d, t, a, f)]
+ }) : null, rie(e, n, lie(m, p.visualElement, s), m, d, t, a, f)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, F.forwardRef)(s);
- return c[lie] = e, c;
+ return c[cie] = e, c;
}
-function fie({ layoutId: e }) {
+function die({ layoutId: e }) {
let t = (0, F.useContext)(lm).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function pie(e, t) {
- (0, F.useContext)(Mx).strict;
+function fie(e, t) {
+ (0, F.useContext)(Nx).strict;
}
-function mie(e) {
- let { drag: t, layout: n } = Fx();
+function pie(e) {
+ let { drag: t, layout: n } = Ix();
if (!t && !n) return {};
let r = {
...t,
@@ -21156,19 +21156,19 @@ function mie(e) {
};
}
// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function hie(e, t) {
- if (typeof Proxy > "u") return Gx;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => Gx(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Gx(a, void 0, e, t)), n.get(a)) });
+function mie(e, t) {
+ if (typeof Proxy > "u") return Kx;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Kx(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Kx(a, void 0, e, t)), n.get(a)) });
}
// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection: e !== F.Fragment }), _ie = class extends gx {
+var hie = (e, t) => t.isSVG ?? Ux(e) ? new Nre(t) : new rre(t, { allowProjection: e !== F.Fragment }), gie = class extends _x {
constructor(e) {
- super(e), e.animationState ||= Ire(e);
+ super(e), e.animationState ||= Fre(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- mb(e) && (this.unmountControls = e.subscribe(this.node));
+ hb(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -21179,11 +21179,11 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, vie = 0, yie = {
- animation: { Feature: _ie },
- exit: { Feature: class extends gx {
+}, _ie = 0, vie = {
+ animation: { Feature: gie },
+ exit: { Feature: class extends _x {
constructor() {
- super(...arguments), this.id = vie++;
+ super(...arguments), this.id = _ie++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -21194,7 +21194,7 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
if (this.exit === !0) {
let { initial: e } = this.node.getProps();
if (e && !Array.isArray(e)) {
- let { transition: t, transitionEnd: n, ...r } = pv(this.node, e) || {};
+ let { transition: t, transitionEnd: n, ...r } = mv(this.node, e) || {};
for (let e in r) this.node.getValue(e)?.jump(r[e]);
}
this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();
@@ -21213,9 +21213,9 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
}
unmount() {}
} }
-}, bie = class extends gx {
+}, yie = class extends _x {
constructor(e) {
- super(e), this.removeGroupControls = xm, this.removeListeners = xm, this.controls = new Ere(e);
+ super(e), this.removeGroupControls = xm, this.removeListeners = xm, this.controls = new Tre(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -21228,14 +21228,14 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Kx = (e) => (t, n) => {
+}, qx = (e) => (t, n) => {
e && dg.update(() => e(t, n), !1, !0);
-}, xie = class extends gx {
+}, bie = class extends _x {
constructor() {
super(...arguments), this.removePointerDownListener = xm;
}
onPointerDown(e) {
- this.session = new Vb(e, this.createPanHandlers(), {
+ this.session = new Hb(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
contextWindow: this.node.current?.ownerDocument.defaultView
});
@@ -21243,16 +21243,16 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Kx(e),
- onStart: Kx(t),
- onMove: Kx(n),
+ onSessionStart: qx(e),
+ onStart: qx(t),
+ onMove: qx(n),
onEnd: (e, t) => {
delete this.session, r && dg.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = Mb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = Nb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session?.updateHandlers(this.createPanHandlers());
@@ -21260,12 +21260,12 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
unmount() {
this.removePointerDownListener(), this.session?.end();
}
-}, qx = !1, Jx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
+}, Jx = !1, Yx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
layout: e,
layoutDependency: t,
layoutAnchor: n,
animationType: typeof e == "string" ? e : "both"
-}), Yx = (e, t) => {
+}), Xx = (e, t) => {
let { snapshot: n } = e, r = e.getStack();
r?.remove(e);
let i = r?.lead;
@@ -21274,33 +21274,33 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
let { resumeFrom: t } = e;
t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);
};
-}, Sie = class extends F.Component {
+}, xie = class extends F.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group?.add(i), r && n?.register?.(i), qx && i.root.didUpdate(), i.options.layoutId !== r && Yx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
+ i && (t.group?.add(i), r && n?.register?.(i), Jx && i.root.didUpdate(), i.options.layoutId !== r && Xx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
...i.options,
- ...Jx(this.props),
+ ...Yx(this.props),
onExitComplete: () => this.safeToRemove()
- })), Xy.hasEverUpdated = !0;
+ })), Zy.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;
- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Yx(o, n)), o.setOptions({
+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Xx(o, n)), o.setOptions({
...o.options,
- ...Jx(this.props)
- }), qx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || dg.postRender(() => {
+ ...Yx(this.props)
+ }), Jx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || dg.postRender(() => {
o.getStack()?.members.length || this.safeToRemove();
}))), null;
}
componentDidUpdate() {
let { projection: e } = this.props.visualElement;
- e && (this.takeOver?.(), e.root.didUpdate(), dy.postRender(() => {
+ e && (this.takeOver?.(), e.root.didUpdate(), fy.postRender(() => {
!e.currentAnimation && e.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- qx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
+ Jx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
}
safeToRemove() {
this.props.safeToRemove?.();
@@ -21309,39 +21309,39 @@ var gie = (e, t) => t.isSVG ?? Hx(e) ? new Pre(t) : new ire(t, { allowProjection
return null;
}
};
-function Xx(e) {
- let [t, n] = Dx(), r = (0, F.useContext)(lm);
- return (0, I.jsx)(Sie, {
+function Zx(e) {
+ let [t, n] = Ox(), r = (0, F.useContext)(lm);
+ return (0, I.jsx)(xie, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, F.useContext)(Wx),
+ switchLayoutGroup: (0, F.useContext)(Gx),
isPresent: t,
safeToRemove: n
});
}
// node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Cie = {
- pan: { Feature: xie },
+var Sie = {
+ pan: { Feature: bie },
drag: {
- Feature: bie,
- ProjectionNode: fb,
- MeasureLayout: Xx
+ Feature: yie,
+ ProjectionNode: pb,
+ MeasureLayout: Zx
}
};
// node_modules/framer-motion/dist/es/gestures/hover.mjs
-function Zx(e, t, n, r) {
+function Qx(e, t, n, r) {
let { props: i } = e, a = "while" + n;
e.animationState && i[a] && e.animationState.setActive(a, r === "Start");
let o = i["on" + n + r];
- o && dg.postRender(() => o(t, jb(t)));
+ o && dg.postRender(() => o(t, Mb(t)));
}
-var wie = class extends gx {
+var Cie = class extends _x {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Are(e, (e, t) => (Zx(this.node, t, "Hover", "Start"), (e) => Zx(this.node, e, "Hover", "End"))));
+ e && (this.unmount = kre(e, (e, t) => (Qx(this.node, t, "Hover", "Start"), (e) => Qx(this.node, e, "Hover", "End"))));
}
unmount() {}
-}, Tie = class extends gx {
+}, wie = class extends _x {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -21358,51 +21358,51 @@ var wie = class extends gx {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Sm(ub(this.node.current, "focus", () => this.onFocus()), ub(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Sm(db(this.node.current, "focus", () => this.onFocus()), db(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
// node_modules/framer-motion/dist/es/gestures/press.mjs
-function Qx(e, t, n) {
- e.current instanceof HTMLButtonElement && e.current.disabled || Zx(e, t, "Tap", n);
+function $x(e, t, n) {
+ e.current instanceof HTMLButtonElement && e.current.disabled || Qx(e, t, "Tap", n);
}
-var Eie = class extends gx {
+var Tie = class extends _x {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Mre(e, (e, t) => (Qx(this.node, t, "Start"), (e, { success: t }) => Qx(this.node, e, t ? "" : "Cancel")), {
+ this.unmount = jre(e, (e, t) => ($x(this.node, t, "Start"), (e, { success: t }) => $x(this.node, e, t ? "" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, $x = /* @__PURE__ */ new WeakMap(), eS = /* @__PURE__ */ new WeakMap(), Die = (e) => {
- let t = $x.get(e.target);
+}, eS = /* @__PURE__ */ new WeakMap(), tS = /* @__PURE__ */ new WeakMap(), Eie = (e) => {
+ let t = eS.get(e.target);
t && t(e);
-}, Oie = (e) => {
- e.forEach(Die);
+}, Die = (e) => {
+ e.forEach(Eie);
};
-function kie({ root: e, ...t }) {
+function Oie({ root: e, ...t }) {
let n = e || document;
- eS.has(n) || eS.set(n, {});
- let r = eS.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Oie, {
+ tS.has(n) || tS.set(n, {});
+ let r = tS.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Die, {
root: e,
...t
})), r[i];
}
-function Aie(e, t, n) {
- let r = kie(t);
- return $x.set(e, n), r.observe(e), () => {
- $x.delete(e), r.unobserve(e);
+function kie(e, t, n) {
+ let r = Oie(t);
+ return eS.set(e, n), r.observe(e), () => {
+ eS.delete(e), r.unobserve(e);
};
}
// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var jie = {
+var Aie = {
some: 0,
all: 1
-}, Mie = class extends gx {
+}, jie = class extends _x {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -21411,7 +21411,7 @@ var jie = {
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 : jie[r]
+ threshold: typeof r == "number" ? r : Aie[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -21419,7 +21419,7 @@ var jie = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Aie(this.node.current, a, o);
+ this.stopObserver = kie(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -21431,61 +21431,61 @@ var jie = {
"amount",
"margin",
"root"
- ].some(Nie(e, t)) && this.startObserver();
+ ].some(Mie(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Nie({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Mie({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
-var Pie = /*@__PURE__*/ hie(/* @__PURE__ */ Object.assign({}, yie, {
- inView: { Feature: Mie },
- tap: { Feature: Eie },
- focus: { Feature: Tie },
- hover: { Feature: wie }
-}, Cie, { layout: {
- ProjectionNode: fb,
- MeasureLayout: Xx
-} }), gie);
+var Nie = /*@__PURE__*/ mie(/* @__PURE__ */ Object.assign({}, vie, {
+ inView: { Feature: jie },
+ tap: { Feature: Tie },
+ focus: { Feature: wie },
+ hover: { Feature: Cie }
+}, Sie, { layout: {
+ ProjectionNode: pb,
+ MeasureLayout: Zx
+} }), hie);
// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function tS() {
- !xb.current && Sb();
- let [e] = (0, F.useState)(bb.current);
+function nS() {
+ !Sb.current && Cb();
+ let [e] = (0, F.useState)(xb.current);
return e;
}
// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function nS(e) {
+function rS(e) {
return typeof e == "object" && !Array.isArray(e);
}
// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function rS(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && nS(t) ? Pv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function iS(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && rS(t) ? Fv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function Fie(e, t, n) {
+function Pie(e, t, n) {
return e * (t + 1) + n * t;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function iS(e, t) {
+function aS(e, t) {
if (t.has(e)) return t.get(e);
let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];
return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;
}
-function Iie(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))) : iS(t, r) ?? e;
+function Fie(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))) : aS(t, r) ?? e;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function Lie(e, t, n) {
+function Iie(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (mm(e, i), r--);
}
}
-function Rie(e, t, n, r, i, a) {
- Lie(e, i, a);
+function Lie(e, t, n, r, i, a) {
+ Iie(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: Zh(i, a, r[o]),
@@ -21493,19 +21493,19 @@ function Rie(e, t, n, r, i, a) {
});
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function zie(e, t, n = 0) {
+function Rie(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function Bie(e, t) {
+function zie(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
// node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var Vie = "easeInOut", Hie = 20;
-function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
+var Bie = "easeInOut", Vie = 20;
+function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {
- let a = n, s = (e) => typeof e == "number" ? n + e : Iie(f, e, d, u);
+ let a = n, s = (e) => typeof e == "number" ? n + e : Fie(f, e, d, u);
for (let n = 0; n < e.length; n++) {
let h = e[n];
if (typeof h == "string") {
@@ -21520,12 +21520,12 @@ function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let [g, _, v = {}] = h;
v.at !== void 0 && (f = s(v.at));
let y = 0, b = (e, n, r, a = 0, s = 0) => {
- let c = Wie(e), { delay: l = 0, times: u = Fg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
+ let c = Uie(e), { delay: l = 0, times: u = Fg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
r.mixer ||= n.mixer;
let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = A_(d) ? d : i?.[d || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && qie(c)) {
+ if (S === 2 && Kie(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -21541,9 +21541,9 @@ function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let w = f + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && Pg(u, T), c.length === 1 && c.unshift(null), m && m < Hie) {
+ if (T > 0 && Pg(u, T), c.length === 1 && c.unshift(null), m && m < Vie) {
let e = b > 0 ? g / b : 0;
- b = Fie(b, m, g);
+ b = Pie(b, m, g);
let t = [...c], n = [...u];
v = Array.isArray(v) ? [...v] : [v];
let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -21553,20 +21553,20 @@ function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Wm(f, e - 1));
}
- zie(u, m, e);
+ Rie(u, m, e);
}
let E = w + b;
- Rie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
+ Lie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
};
- if (gv(g)) {
- let e = aS(g, c);
- b(_, v, oS("default", e));
+ if (_v(g)) {
+ let e = oS(g, c);
+ b(_, v, sS("default", e));
} else {
- let e = rS(g, _, r, l), t = e.length;
+ let e = iS(g, _, r, l), t = e.length;
for (let n = 0; n < t; n++) {
_ = _, v = v;
- let r = e[n], i = aS(r, c);
- for (let e in _) b(_[e], Gie(v, e), oS(e, i), n, t);
+ let r = e[n], i = oS(r, c);
+ for (let e in _) b(_[e], Wie(v, e), sS(e, i), n, t);
}
}
d = f, f += y, a = Math.max(a, f);
@@ -21576,13 +21576,13 @@ function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(Bie);
+ a.sort(zie);
let o = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
o.push(n), c.push(/* @__PURE__ */ Cm(0, p, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Vie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Bie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
keyframes: {},
transition: {}
});
@@ -21600,45 +21600,45 @@ function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
}
}), s;
}
-function aS(e, t) {
+function oS(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function oS(e, t) {
+function sS(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function Wie(e) {
+function Uie(e) {
return Array.isArray(e) ? e : [e];
}
-function Gie(e, t) {
+function Wie(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var Kie = (e) => typeof e == "number", qie = (e) => e.every(Kie);
+var Gie = (e) => typeof e == "number", Kie = (e) => e.every(Gie);
// node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function Jie(e, t) {
- return gv(e) || typeof e == "number" || typeof e == "string" && !nS(t);
+function qie(e, t) {
+ return _v(e) || typeof e == "number" || typeof e == "string" && !rS(t);
}
-function sS(e, t, n, r) {
+function cS(e, t, n, r) {
let i = [];
- if (Jie(e, t)) i.push(fy(e, nS(t) && t.default || t, n && (n.default || n)));
+ if (qie(e, t)) i.push(py(e, rS(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = rS(e, t, r), o = a.length;
+ let a = iS(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(...cne(r, t, s, pb.get(r))) : i.push(...Ov(Hte(r) ?? lne, r, t, s));
+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...sne(r, t, s, mb.get(r))) : i.push(...kv(Vte(r) ?? cne, r, t, s));
}
}
return i;
}
// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function Yie(e, t, n, r) {
+function Jie(e, t, n, r) {
let i = [];
- return Uie(e.map((e) => {
+ return Hie(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
- let t = e[0], n = sv(0);
+ let t = e[0], n = cv(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
n,
[0, 1],
@@ -21651,30 +21651,30 @@ function Yie(e, t, n, r) {
}
return e;
}), t, n, { spring: jg }, r).forEach(({ keyframes: e, transition: t }, n) => {
- i.push(...sS(n, e, t));
+ i.push(...cS(n, e, t));
}), i;
}
// node_modules/framer-motion/dist/es/animation/timeline/index.mjs
-var cS = 0;
-function Xie(e, t) {
+var lS = 0;
+function Yie(e, t) {
let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;
return n[r] = {
...n[r],
at: t
}, n;
}
-var lS = (e, t) => t === void 0 ? e : {
+var uS = (e, t) => t === void 0 ? e : {
name: e,
at: t
};
-function uS(e) {
+function dS(e) {
e.pause(), e.time = 0, e.stop();
}
-var dS = class e {
+var fS = class e {
constructor(e = [], t = {}, n) {
- this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = jv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Mv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
this.flush(), this.group?.stop();
- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new tv(n), this.watch()) : (this.invalidate(), this.flush());
+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new nv(n), this.watch()) : (this.invalidate(), this.flush());
let { scope: r } = t;
r && (r.animations.push(this), this.finished.then(() => mm(r.animations, this)));
}
@@ -21689,7 +21689,7 @@ var dS = class e {
item: e,
at: t,
marker: {
- name: "_m" + cS++,
+ name: "_m" + lS++,
time: 0,
callback: e
}
@@ -21700,7 +21700,7 @@ var dS = class e {
item: t || {},
at: e,
marker: {
- name: "_m" + cS++,
+ name: "_m" + lS++,
time: 0,
callback: t,
pause: !0
@@ -21794,50 +21794,50 @@ var dS = class e {
this.isDirty && !this.parent && !this.isKilled && this.build();
}
adopt(e) {
- this.group &&= (uS(this.group), void 0), this.isDirty = !1, this.parent = e;
+ this.group &&= (dS(this.group), void 0), this.isDirty = !1, this.parent = e;
}
build() {
this.isDirty = !1, this.isWrapped = !1;
let e = this.group, t = 0;
- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, uS(e)), this.isRebuilding = !1);
+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, dS(e)), this.isRebuilding = !1);
let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};
c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);
- let d = /* @__PURE__ */ new Map(), f = {}, p = jv.current;
- jv.current = this.motionScope;
+ let d = /* @__PURE__ */ new Map(), f = {}, p = Mv.current;
+ Mv.current = this.motionScope;
let m;
try {
- m = Yie(this.toSequence(d), {
+ m = Jie(this.toSequence(d), {
defaultTransition: n,
...u
}, c, f);
} finally {
- jv.current = p;
+ Mv.current = p;
}
let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;
if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {
e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);
}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {
- let e = this.clock = sv(0);
- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = fy(e, [0, g], {
+ let e = this.clock = cv(0);
+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = py(e, [0, g], {
...u,
duration: g,
ease: "linear"
}));
}
- let v = this.group = new tv(m);
+ let v = this.group = new nv(m);
t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();
}
toSequence(t) {
- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), lS(i.name, r)) : n instanceof e ? {
+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), uS(i.name, r)) : n instanceof e ? {
sequence: n.toSequence(t),
at: r
- } : typeof n == "string" ? lS(n, r) : r === void 0 ? n : Array.isArray(n) ? Xie(n, r) : {
+ } : typeof n == "string" ? uS(n, r) : r === void 0 ? n : Array.isArray(n) ? Yie(n, r) : {
...n,
at: r
});
}
resolve(e) {
- return this.flush(), typeof e == "number" ? e : iS(e, this.labels) ?? this.time;
+ return this.flush(), typeof e == "number" ? e : aS(e, this.labels) ?? this.time;
}
currentRepeat() {
let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;
@@ -21885,16 +21885,16 @@ var dS = class e {
}
};
// node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function Zie(e) {
+function Xie(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function Qie(e = {}) {
+function Zie(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
- let o = jv.current?.transition, s = {};
+ let o = Mv.current?.transition, s = {};
n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);
let c;
- if (Zie(e)) {
+ if (Xie(e)) {
let n = {
...s,
...i,
@@ -21903,14 +21903,14 @@ function Qie(e = {}) {
o && (n.defaultTransition = {
...o,
...n.defaultTransition
- }), c = new dS(e, n);
+ }), c = new fS(e, n);
} else {
let { onComplete: n, ...r } = a || {}, l = {
...s,
...o,
...r
}, { onUpdate: u } = r;
- c = new dS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
+ c = new fS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
u || (() => {}),
Array.isArray(i) ? i : [e, i],
{
@@ -21925,29 +21925,29 @@ function Qie(e = {}) {
...s,
onComplete: n,
scope: t
- }, sS(e, i, l, t));
+ }, cS(e, i, l, t));
}
return c;
}
return i;
}
-var fS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Qie(), {
- addEffect: Vte,
- removeEffect: Ev
+var pS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Zie(), {
+ addEffect: Bte,
+ removeEffect: Dv
});
// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function $ie(e, t, n, r) {
+function Qie(e, t, n, r) {
if (e == null) return [];
- let i = Pv(e, r), a = i.length, o = [];
+ let i = Fv(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...lv(s, e) };
+ let i = { ...uv(s, e) };
i.duration &&= /* @__PURE__ */ Tm(i.duration), i.delay &&= /* @__PURE__ */ Tm(i.delay);
- let a = pte(r), c = fte(e, i.pseudoElement || ""), l = a.get(c);
+ let a = fte(r), c = dte(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -21963,7 +21963,7 @@ function $ie(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = hx(r, i)), $g(t), Bte(t, i), !a && t.length < 2 && t.unshift(hx(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = gx(r, i)), $g(t), zte(t, i), !a && t.length < 2 && t.unshift(gx(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
@@ -21972,12 +21972,12 @@ function $ie(e, t, n, r) {
}
return s;
}
-var eae = /*@__PURE__*/ ((e) => {
+var $ie = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new tv($ie(t, n, r, e));
+ return new nv(Qie(t, n, r, e));
}
return t;
-})(), pS = Pie, mS = class {
+})(), mS = Nie, hS = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -21992,22 +21992,22 @@ var eae = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, hS = class extends mS {
+}, gS = class extends hS {
filter(e, t, n) {
- let [r, i] = yS(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = bS(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends mS {
+(class extends hS {
static {
this.type = "header";
}
});
-var gS = class extends mS {
+var _S = class extends hS {
static {
this.type = "loader";
}
-}, _S = class extends hS {
+}, vS = class extends gS {
static {
this.type = "item";
}
@@ -22018,7 +22018,7 @@ var gS = class extends mS {
}
return null;
}
-}, tae = class extends hS {
+}, eae = class extends gS {
static {
this.type = "section";
}
@@ -22030,7 +22030,7 @@ var gS = class extends mS {
}
return null;
}
-}, vS = class {
+}, yS = class {
get size() {
return this.itemCount;
}
@@ -22105,14 +22105,14 @@ var gS = class extends mS {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = yS(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = bS(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 yS(e, t, n, r) {
+function bS(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -22126,7 +22126,7 @@ function yS(e, t, n, r) {
return [i?.key ?? null, a?.key ?? null];
}
// node_modules/react-aria/dist/private/collections/Document.mjs
-var bS = class {
+var xS = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -22207,7 +22207,7 @@ var bS = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, xS = class e extends bS {
+}, SS = class e extends xS {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -22258,7 +22258,7 @@ var bS = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, nae = class extends bS {
+}, tae = class extends xS {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -22266,7 +22266,7 @@ var bS = class {
return !0;
}
createElement(e) {
- return new xS(e, this);
+ return new SS(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -22288,8 +22288,8 @@ var bS = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof xS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof xS ? (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 SS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof SS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -22307,13 +22307,13 @@ var bS = class {
}
};
// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function SS(e) {
+function CS(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, F.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = rae(a) ? a : null, o = n ? s.get(n) : null;
+ let n = nae(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -22338,7 +22338,7 @@ function SS(e) {
i
]);
}
-function rae(e) {
+function nae(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -22347,24 +22347,24 @@ function rae(e) {
}
}
// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function CS(e) {
+function wS(e) {
e.focus({ preventScroll: !0 });
}
// node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var wS = (e) => iae(e) ? e.document : aae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), TS = (e) => wS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function ES(e) {
+var TS = (e) => rae(e) ? e.document : iae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), ES = (e) => TS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function DS(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function iae(e) {
+function rae(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function aae(e) {
- return ES(e) && e.nodeType === 9;
+function iae(e) {
+ return DS(e) && e.nodeType === 9;
}
-function DS(e) {
- return ES(e) && e.nodeType === 11 && "host" in e;
+function OS(e) {
+ return DS(e) && e.nodeType === 11 && "host" in e;
}
-function OS(e, t, n, r) {
+function kS(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -22372,7 +22372,7 @@ function OS(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function kS(e, t, n, r) {
+function AS(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -22386,70 +22386,70 @@ function kS(e, t, n, r) {
};
}
// node_modules/react-stately/dist/private/flags/flags.mjs
-var oae = !1;
-function AS() {
- return oae;
+var aae = !1;
+function jS() {
+ return aae;
}
// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function jS(e, t) {
- if (!AS()) return t && e ? e.contains(t) : !1;
+function MS(e, t) {
+ if (!jS()) 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 : DS(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : OS(n) ? n.host : n.parentNode;
}
return !1;
}
-var MS = (e = document) => {
- if (!AS()) return e.activeElement;
+var NS = (e = document) => {
+ if (!jS()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function K(e) {
- if (AS() && e.target instanceof Element && e.target.shadowRoot) {
+ if (jS() && 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 NS(e, t) {
+function PS(e, t) {
if (t === null) return [];
- t ??= TS(e);
+ t ??= ES(e);
let n = [t];
- if (!AS() || !e || e === t) return n;
+ if (!jS() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; DS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; OS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function PS(e) {
+function FS(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = TS(e);
+ let t = e.getRootNode(), n = ES(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
// node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var sae = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function cae(e) {
- let t = TS(e);
+var oae = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function sae(e) {
+ let t = ES(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 } = TS(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = ES(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function lae(e, t) {
+function cae(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 FS(e, t) {
- return sae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && cae(e) && lae(e, t) && (!e.parentElement || FS(e.parentElement, e));
+function IS(e, t) {
+ return oae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && sae(e) && cae(e, t) && (!e.parentElement || IS(e.parentElement, e));
}
// node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var IS = [
+var LS = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -22464,39 +22464,39 @@ var IS = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], uae = IS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-IS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var dae = IS.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function LS(e, t) {
- return e.matches(uae) && !zS(e) && (t?.skipVisibilityCheck || FS(e));
-}
-function RS(e) {
- return e.matches(dae) && FS(e) && !zS(e);
+], lae = LS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+LS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var uae = LS.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function RS(e, t) {
+ return e.matches(lae) && !BS(e) && (t?.skipVisibilityCheck || IS(e));
}
function zS(e) {
+ return e.matches(uae) && IS(e) && !BS(e);
+}
+function BS(e) {
let t = e;
for (; t != null;) {
- if (t instanceof TS(t).HTMLElement && t.inert) return !0;
+ if (t instanceof ES(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var BS = typeof document < "u" ? F.useLayoutEffect : () => {};
+var VS = typeof document < "u" ? F.useLayoutEffect : () => {};
// node_modules/react-aria/dist/private/interactions/utils.mjs
-function VS(e) {
+function HS(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function HS(e, t) {
+function US(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function US(e) {
+function WS(e) {
let t = (0, F.useRef)({
isFocused: !1,
observer: null
});
- return BS(() => {
+ return VS(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -22508,14 +22508,14 @@ function US(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = VS(r);
+ let t = HS(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 === MS() ? null : MS();
+ let e = n === NS() ? null : NS();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -22528,80 +22528,80 @@ function US(e) {
}
}, [e]);
}
-var WS = !1;
-function fae(e) {
- for (; e && !LS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = MS(TS(e).document);
+var GS = !1;
+function dae(e) {
+ for (; e && !RS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = NS(ES(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && DS(n) ? n : TS(e), i = (t) => t === e || ES(t) && jS(e, t), a = (e) => e === t || t != null && ES(e) && jS(t, e);
- WS = !0;
+ let n = e?.getRootNode(), r = n != null && OS(n) ? n : ES(e), i = (t) => t === e || DS(t) && MS(e, t), a = (e) => e === t || t != null && DS(e) && MS(t, e);
+ GS = !0;
let o = !1, s = (e) => {
(a(K(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, CS(t), d()));
+ (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, wS(t), d()));
}, l = (e) => {
(i(K(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, CS(t), d()));
+ (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, wS(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), WS = !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), GS = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
// node_modules/react-aria/dist/private/utils/platform.mjs
-function GS(e) {
+function KS(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 KS(e) {
+function qS(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function qS(e) {
+function JS(e) {
let t = null;
return () => (t ??= e(), t);
}
-var JS = qS(function() {
- return KS(/^Mac/i);
-}), pae = qS(function() {
- return KS(/^iPhone/i);
-}), YS = qS(function() {
- return KS(/^iPad/i) || JS() && navigator.maxTouchPoints > 1;
-}), XS = qS(function() {
- return pae() || YS();
-}), mae = qS(function() {
- return JS() || XS();
-}), ZS = qS(function() {
- return GS(/AppleWebKit/i) && (XS() || !QS());
-}), QS = qS(function() {
- return GS(/Chrome|CriOS|CrMo/i);
-}), $S = qS(function() {
- return GS(/Android/i);
+var YS = JS(function() {
+ return qS(/^Mac/i);
+}), fae = JS(function() {
+ return qS(/^iPhone/i);
+}), XS = JS(function() {
+ return qS(/^iPad/i) || YS() && navigator.maxTouchPoints > 1;
+}), ZS = JS(function() {
+ return fae() || XS();
+}), pae = JS(function() {
+ return YS() || ZS();
+}), QS = JS(function() {
+ return KS(/AppleWebKit/i) && (ZS() || !$S());
+}), $S = JS(function() {
+ return KS(/Chrome|CriOS|CrMo/i);
+}), eC = JS(function() {
+ return KS(/Android/i);
});
// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function eC(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : $S() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function tC(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : eC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function hae(e) {
- return !$S() && e.width === 0 && e.height === 0 || $S() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function mae(e) {
+ return !eC() && e.width === 0 && e.height === 0 || eC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
// node_modules/react-aria/dist/private/utils/openLink.mjs
-var gae = /*#__PURE__*/ (0, F.createContext)({
+var hae = /*#__PURE__*/ (0, F.createContext)({
isNative: !0,
- open: yae,
+ open: vae,
useHref: (e) => e
});
-function tC() {
- return (0, F.useContext)(gae);
+function nC() {
+ return (0, F.useContext)(hae);
}
-function _ae(e, t) {
+function gae(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 nC(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = ZS() && JS() && !YS() ? new KeyboardEvent("keydown", {
+function rC(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = QS() && YS() && !XS() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -22616,21 +22616,21 @@ function nC(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- nC.isOpening = n, CS(e), e.dispatchEvent(s), nC.isOpening = !1;
+ rC.isOpening = n, wS(e), e.dispatchEvent(s), rC.isOpening = !1;
}
-nC.isOpening = !1;
-function vae(e, t) {
+rC.isOpening = !1;
+function _ae(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 yae(e, t) {
- vae(e, (e) => nC(e, t));
+function vae(e, t) {
+ _ae(e, (e) => rC(e, t));
}
-function rC(e) {
- let t = tC().useHref(e.href ?? "");
+function iC(e) {
+ let t = nC().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -22640,8 +22640,8 @@ function rC(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function iC(e) {
- let t = tC().useHref(e?.href ?? ""), n = {};
+function aC(e) {
+ let t = nC().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -22652,138 +22652,138 @@ function iC(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function bae(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && _ae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function yae(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && gae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var aC = {
+var oC = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, oC = /*#__PURE__*/ F.createContext(aC), xae = /*#__PURE__*/ F.createContext(!1);
+}, sC = /*#__PURE__*/ F.createContext(oC), bae = /*#__PURE__*/ F.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var sC = /* @__PURE__ */ new WeakMap();
-function cC(e = !1) {
- let t = (0, F.useContext)(oC), n = (0, F.useRef)(null);
+var cC = /* @__PURE__ */ new WeakMap();
+function xae(e = !1) {
+ let t = (0, F.useContext)(sC), n = (0, F.useRef)(null);
if (n.current === null && !e) {
let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = sC.get(e);
- n == null ? sC.set(e, {
+ let n = cC.get(e);
+ n == null ? cC.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, sC.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, cC.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function lC(e) {
- let t = (0, F.useContext)(oC), n = cC(!!e), r = `react-aria${t.prefix}`;
+function Sae(e) {
+ let t = (0, F.useContext)(sC), n = xae(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function uC(e) {
- let t = F.useId(), [n] = (0, F.useState)(hC()), r = n ? "react-aria" : `react-aria${aC.prefix}`;
+function lC(e) {
+ let t = F.useId(), [n] = (0, F.useState)(mC()), r = n ? "react-aria" : `react-aria${oC.prefix}`;
return e || `${r}-${t}`;
}
-var dC = typeof F.useId == "function" ? uC : lC;
-function fC() {
+var uC = typeof F.useId == "function" ? lC : Sae;
+function dC() {
return !1;
}
-function pC() {
+function fC() {
return !0;
}
-function mC(e) {
+function pC(e) {
return () => {};
}
-function hC() {
- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(mC, fC, pC) : (0, F.useContext)(xae);
+function mC() {
+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(pC, dC, fC) : (0, F.useContext)(bae);
}
// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var gC = null, _C = /* @__PURE__ */ new Set(), vC = /* @__PURE__ */ new Map(), yC = !1, bC = !1, Sae = {
+var hC = null, gC = /* @__PURE__ */ new Set(), _C = /* @__PURE__ */ new Map(), vC = !1, yC = !1, Cae = {
Tab: !0,
Escape: !0
};
-function xC(e, t) {
- for (let n of _C) n(e, t);
+function bC(e, t) {
+ for (let n of gC) n(e, t);
}
-function Cae(e) {
- return !(e.metaKey || !JS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function wae(e) {
+ return !(e.metaKey || !YS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+}
+function xC(e) {
+ vC = !0, !rC.isOpening && wae(e) && (hC = "keyboard", bC("keyboard", e));
}
function SC(e) {
- yC = !0, !nC.isOpening && Cae(e) && (gC = "keyboard", xC("keyboard", e));
+ hC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (vC = !0, bC("pointer", e));
}
function CC(e) {
- gC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (yC = !0, xC("pointer", e));
+ !rC.isOpening && tC(e) && (vC = !0, hC = "virtual");
}
function wC(e) {
- !nC.isOpening && eC(e) && (yC = !0, gC = "virtual");
-}
-function TC(e) {
- if (WS) return;
- let t = K(e), n = TS(t), r = wS(t);
- t === n ? bC = !0 : t !== r && e.isTrusted && (!yC && !bC && (gC = "virtual", xC("virtual", e)), yC = !1, bC = !1);
+ if (GS) return;
+ let t = K(e), n = ES(t), r = TS(t);
+ t === n ? yC = !0 : t !== r && e.isTrusted && (!vC && !yC && (hC = "virtual", bC("virtual", e)), vC = !1, yC = !1);
}
-function EC() {
- WS || (yC = !1, bC = !0);
+function TC() {
+ GS || (vC = !1, yC = !0);
}
-function DC(e) {
- let t = MS(wS(K(e)));
+function EC(e) {
+ let t = NS(TS(K(e)));
queueMicrotask(() => {
- MS(wS(K(e))) !== t && MC("keyboard");
+ NS(TS(K(e))) !== t && jC("keyboard");
});
}
-function OC(e) {
+function DC(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = TS(e), n = wS(e);
- if (vC.get(t)) return;
+ let t = ES(e), n = TS(e);
+ if (_C.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- yC = !0, r.apply(this, arguments);
+ vC = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", SC, !0), n.addEventListener("keyup", SC, !0), n.addEventListener("click", wC, !0), n.addEventListener("invalid", DC, !0), t.addEventListener("focus", TC, !0), t.addEventListener("blur", EC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", CC, !0), n.addEventListener("pointermove", CC, !0), n.addEventListener("pointerup", CC, !0)), t.addEventListener("beforeunload", () => {
- kC(e);
- }, { once: !0 }), vC.set(t, { focus: r });
+ }), n.addEventListener("keydown", xC, !0), n.addEventListener("keyup", xC, !0), n.addEventListener("click", CC, !0), n.addEventListener("invalid", EC, !0), t.addEventListener("focus", wC, !0), t.addEventListener("blur", TC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", SC, !0), n.addEventListener("pointermove", SC, !0), n.addEventListener("pointerup", SC, !0)), t.addEventListener("beforeunload", () => {
+ OC(e);
+ }, { once: !0 }), _C.set(t, { focus: r });
}
-var kC = (e, t) => {
- let n = TS(e), r = wS(e);
- t && r.removeEventListener("DOMContentLoaded", t), vC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var OC = (e, t) => {
+ let n = ES(e), r = TS(e);
+ t && r.removeEventListener("DOMContentLoaded", t), _C.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: vC.get(n).focus
- }), r.removeEventListener("keydown", SC, !0), r.removeEventListener("keyup", SC, !0), r.removeEventListener("click", wC, !0), r.removeEventListener("invalid", DC, !0), n.removeEventListener("focus", TC, !0), n.removeEventListener("blur", EC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", CC, !0), r.removeEventListener("pointermove", CC, !0), r.removeEventListener("pointerup", CC, !0)), vC.delete(n));
+ value: _C.get(n).focus
+ }), r.removeEventListener("keydown", xC, !0), r.removeEventListener("keyup", xC, !0), r.removeEventListener("click", CC, !0), r.removeEventListener("invalid", EC, !0), n.removeEventListener("focus", wC, !0), n.removeEventListener("blur", TC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", SC, !0), r.removeEventListener("pointermove", SC, !0), r.removeEventListener("pointerup", SC, !0)), _C.delete(n));
};
-function wae(e) {
- let t = wS(e), n;
+function Tae(e) {
+ let t = TS(e), n;
return t.readyState === "loading" ? (n = () => {
- OC(e);
- }, t.addEventListener("DOMContentLoaded", n)) : OC(e), () => kC(e, n);
+ DC(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : DC(e), () => OC(e, n);
}
-typeof document < "u" && wae();
-function AC() {
- return gC !== "pointer";
+typeof document < "u" && Tae();
+function kC() {
+ return hC !== "pointer";
}
-function jC() {
- return gC;
+function AC() {
+ return hC;
}
-function MC(e) {
- gC = e, xC(e, null);
+function jC(e) {
+ hC = e, bC(e, null);
}
-function NC() {
- OC();
- let [e, t] = (0, F.useState)(gC);
+function MC() {
+ DC();
+ let [e, t] = (0, F.useState)(hC);
return (0, F.useEffect)(() => {
let e = () => {
- t(gC);
+ t(hC);
};
- return _C.add(e), () => {
- _C.delete(e);
+ return gC.add(e), () => {
+ gC.delete(e);
};
- }, []), hC() ? null : e;
+ }, []), mC() ? null : e;
}
-var Tae = /* @__PURE__ */ new Set([
+var Eae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22794,107 +22794,107 @@ var Tae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Eae(e, t, n) {
- let r = n ? K(n) : void 0, i = wS(r), a = TS(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 = MS(i);
- return e = e || u instanceof o && !Tae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Sae[n.key]);
+function Dae(e, t, n) {
+ let r = n ? K(n) : void 0, i = TS(r), a = ES(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 = NS(i);
+ return e = e || u instanceof o && !Eae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Cae[n.key]);
}
-function PC(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || AC());
- return FC((e) => {
+function NC(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || kC());
+ return PC((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function FC(e, t, n) {
- OC(), (0, F.useEffect)(() => {
+function PC(e, t, n) {
+ DC(), (0, F.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- Eae(!!n?.isTextInput, t, r) && e(AC());
+ Dae(!!n?.isTextInput, t, r) && e(kC());
};
- return _C.add(t), () => {
- _C.delete(t);
+ return gC.add(t), () => {
+ gC.delete(t);
};
}, t);
}
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var IC = /* @__PURE__ */ new Map(), LC = /* @__PURE__ */ new Set();
-function RC(e) {
+var FC = /* @__PURE__ */ new Map(), IC = /* @__PURE__ */ new Set();
+function LC(e) {
return "propertyName" in e;
}
-function Dae(e) {
+function Oae(e) {
let t = K(e);
- if (!RC(e) || !t) return;
- let n = IC.get(t);
- n || (n = /* @__PURE__ */ new Set(), IC.set(t, n), t.addEventListener("transitioncancel", zC, { once: !0 })), n.add(e.propertyName);
+ if (!LC(e) || !t) return;
+ let n = FC.get(t);
+ n || (n = /* @__PURE__ */ new Set(), FC.set(t, n), t.addEventListener("transitioncancel", RC, { once: !0 })), n.add(e.propertyName);
}
-function zC(e) {
+function RC(e) {
let t = K(e);
- if (!RC(e) || !t) return;
- let n = IC.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", zC), IC.delete(t)), IC.size === 0)) for (let e of LC) e(!0), LC.delete(e);
+ if (!LC(e) || !t) return;
+ let n = FC.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", RC), FC.delete(t)), FC.size === 0)) for (let e of IC) e(!0), IC.delete(e);
}
-function BC() {
- OS(document, "transitionrun", Dae), OS(document, "transitionend", zC);
+function zC() {
+ kS(document, "transitionrun", Oae), kS(document, "transitionend", RC);
}
-function Oae() {
- for (let [e] of IC) "isConnected" in e && !e.isConnected && IC.delete(e);
+function kae() {
+ for (let [e] of FC) "isConnected" in e && !e.isConnected && FC.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? OS(document, "DOMContentLoaded", BC) : BC());
-function VC(e) {
+typeof document < "u" && (document.readyState === "loading" ? kS(document, "DOMContentLoaded", zC) : zC());
+function BC(e) {
let t = window.requestAnimationFrame(() => {
- if (Oae(), IC.size === 0) return e(!1);
- LC.add(e);
+ if (kae(), FC.size === 0) return e(!1);
+ IC.add(e);
});
return () => {
- window.cancelAnimationFrame(t), LC.delete(e);
+ window.cancelAnimationFrame(t), IC.delete(e);
};
}
// node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function HC(e) {
+function VC(e) {
if (!e.isConnected) return;
- let t = wS(e);
- if (jC() === "virtual") {
- let n = MS(t);
- VC(() => {
- let r = MS(t);
- (r === n || r === t.body) && e.isConnected && CS(e);
+ let t = TS(e);
+ if (AC() === "virtual") {
+ let n = NS(t);
+ BC(() => {
+ let r = NS(t);
+ (r === n || r === t.body) && e.isConnected && wS(e);
});
- } else CS(e);
+ } else wS(e);
}
// node_modules/react-aria/dist/private/utils/chain.mjs
-function UC(...e) {
+function HC(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
// node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function kae(e) {
+function Aae(e) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);
});
- return BS(() => {
+ return VS(() => {
r.current = t, i.current && a.current();
}), [t, (0, F.useCallback)((e) => {
i.current = e(r.current), a.current();
}, [a])];
}
// node_modules/react-aria/dist/private/utils/useId.mjs
-var Aae = !!(typeof window < "u" && window.document && window.document.createElement), WC = /* @__PURE__ */ new Map(), GC;
-typeof FinalizationRegistry < "u" && (GC = new FinalizationRegistry((e) => {
- WC.delete(e);
+var jae = !!(typeof window < "u" && window.document && window.document.createElement), UC = /* @__PURE__ */ new Map(), WC;
+typeof FinalizationRegistry < "u" && (WC = new FinalizationRegistry((e) => {
+ UC.delete(e);
}));
-var KC = /* @__PURE__ */ new WeakMap();
-function qC(e) {
- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = dC(t), a = (0, F.useRef)(null), o = KC.get(a);
- if (GC && o !== i && (o != null && GC.unregister(a), GC.register(a, i, a), KC.set(a, i)), Aae) {
- let e = WC.get(i);
- e && !e.includes(r) ? e.push(r) : WC.set(i, [r]);
- }
- return BS(() => {
+var GC = /* @__PURE__ */ new WeakMap();
+function KC(e) {
+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = uC(t), a = (0, F.useRef)(null), o = GC.get(a);
+ if (WC && o !== i && (o != null && WC.unregister(a), WC.register(a, i, a), GC.set(a, i)), jae) {
+ let e = UC.get(i);
+ e && !e.includes(r) ? e.push(r) : UC.set(i, [r]);
+ }
+ return VS(() => {
let e = i;
return () => {
- GC && (GC.unregister(a), KC.delete(a)), WC.delete(e);
+ WC && (WC.unregister(a), GC.delete(a)), UC.delete(e);
};
}, [i]), (0, F.useEffect)(() => {
let e = r.current;
@@ -22903,57 +22903,57 @@ function qC(e) {
};
}), i;
}
-function jae(e, t) {
+function Mae(e, t) {
if (e === t) return e;
- let n = WC.get(e);
+ let n = UC.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = WC.get(t);
+ let r = UC.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function JC(e = []) {
- let t = qC(), [n, r] = kae(t), i = (0, F.useCallback)(() => {
+function qC(e = []) {
+ let t = KC(), [n, r] = Aae(t), i = (0, F.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return BS(i, [
+ return VS(i, [
t,
i,
...e
]), n;
}
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function YC(...e) {
+function JC(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = XC(e, t);
+ let r = YC(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : XC(e[n], null);
+ typeof t == "function" ? t() : YC(e[n], null);
});
};
};
}
-function XC(e, t) {
+function YC(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
// node_modules/clsx/dist/clsx.mjs
-function ZC(e) {
+function XC(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = ZC(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = XC(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function QC() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ZC(e)) && (r && (r += " "), r += t);
+function ZC() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = XC(e)) && (r && (r += " "), r += t);
return r;
}
// node_modules/react-aria/dist/private/utils/mergeProps.mjs
@@ -22963,17 +22963,17 @@ function q(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = UC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = QC(n, i) : e === "id" && n && i ? t.id = jae(n, i) : e === "ref" && n && i ? t.ref = YC(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = HC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ZC(n, i) : e === "id" && n && i ? t.id = Mae(n, i) : e === "ref" && n && i ? t.ref = JC(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
// node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function $C(e) {
+function QC(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {
if (K(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = US(a), s = (0, F.useCallback)((e) => {
- let t = K(e), r = wS(t), a = r ? MS(r) : MS();
+ }, [r, i]), o = WS(a), s = (0, F.useCallback)((e) => {
+ let t = K(e), r = TS(t), a = r ? NS(r) : NS();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -22986,7 +22986,7 @@ function $C(e) {
} };
}
// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function ew(e) {
+function $C(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -23010,33 +23010,33 @@ function ew(e) {
};
}
// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Mae = /* @__PURE__ */ new Set([
+var Nae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Nae = [
+]), Pae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Pae(e) {
+function Fae(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(JS() ? "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(YS() ? "Meta" : "Control"), t;
}
-function Fae(e) {
+function Iae(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function tw(e) {
- return Nae.filter((t) => e.has(t));
+function ew(e) {
+ return Pae.filter((t) => e.has(t));
}
-function Iae(e) {
+function Lae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Mae.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 Nae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -23048,10 +23048,10 @@ function Iae(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function nw(e) {
+function tw(e) {
return e.toLowerCase();
}
-var Lae = {
+var Rae = {
space: " ",
esc: "escape",
del: "delete",
@@ -23063,26 +23063,26 @@ var Lae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Rae(e) {
- let t = nw(e);
- return Lae[t] ?? t;
-}
function zae(e) {
- let t = tw(Pae(e)), n = Rae(e.key);
- return t.length > 0 ? `${t.join("+")}+${n}` : n;
+ let t = tw(e);
+ return Rae[t] ?? t;
}
function Bae(e) {
- let t = tw(Fae(e)), n = nw(e.key);
- return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+ let t = ew(Fae(e)), n = zae(e.key);
+ return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
function Vae(e) {
+ let t = ew(Iae(e)), n = tw(e.key);
+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+}
+function Hae(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Iae(n);
- t.set(zae(e), r);
+ let e = Lae(n);
+ t.set(Bae(e), r);
}
return (e) => {
- let n = Bae(e), r = t.get(n), i = r?.(e);
+ let n = Vae(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -23093,23 +23093,23 @@ function Vae(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function rw(e) {
+function nw(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Vae(t), s = ew((e) => {
- jS(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = ew((e) => {
- jS(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = Hae(t), s = $C((e) => {
+ MS(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = $C((e) => {
+ MS(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? UC(e.onKeyDown, s) : s, a = e.onKeyUp ? UC(e.onKeyUp, c) : c;
- } else i = ew(e.onKeyDown), a = ew(e.onKeyUp);
+ i = e.onKeyDown ? HC(e.onKeyDown, s) : s, a = e.onKeyUp ? HC(e.onKeyUp, c) : c;
+ } else i = $C(e.onKeyDown), a = $C(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
} };
}
// node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function iw(e) {
+function rw(e) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -23131,25 +23131,25 @@ function iw(e) {
}), [r]);
}
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function aw(e, t) {
- BS(() => {
+function iw(e, t) {
+ VS(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
});
}
// node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var ow = /*#__PURE__*/ F.createContext(null);
-function Hae(e) {
- let t = (0, F.useContext)(ow) || {};
- aw(t, e);
+var aw = /*#__PURE__*/ F.createContext(null);
+function Uae(e) {
+ let t = (0, F.useContext)(aw) || {};
+ iw(t, e);
let { ref: n, ...r } = t;
return r;
}
-function sw(e, t) {
- let { focusProps: n } = $C(e), { keyboardProps: r } = rw(e), i = q(n, r), a = Hae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);
+function ow(e, t) {
+ let { focusProps: n } = QC(e), { keyboardProps: r } = nw(e), i = q(n, r), a = Uae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);
(0, F.useEffect)(() => {
- s.current && t.current && HC(t.current), s.current = !1;
+ s.current && t.current && VC(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: q({
@@ -23183,21 +23183,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var cw = /*#__PURE__*/ (0, F.createContext)(!1);
-function Uae(e) {
- if ((0, F.useContext)(cw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);
- let t = /*#__PURE__*/ F.createElement(cw.Provider, { value: !0 }, e.children);
+var sw = /*#__PURE__*/ (0, F.createContext)(!1);
+function Wae(e) {
+ if ((0, F.useContext)(sw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);
+ let t = /*#__PURE__*/ F.createElement(sw.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ F.createElement("template", null, t);
}
-function lw(e) {
- let t = (t, n) => (0, F.useContext)(cw) ? null : e(t, n);
+function cw(e) {
+ let t = (t, n) => (0, F.useContext)(sw) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);
}
-function uw() {
- return (0, F.useContext)(cw);
+function lw() {
+ return (0, F.useContext)(sw);
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var Wae = /* @__PURE__ */ o(((e) => {
+var Gae = /* @__PURE__ */ o(((e) => {
var t = A();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -23235,47 +23235,47 @@ var Wae = /* @__PURE__ */ o(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), dw = /* @__PURE__ */ o(((e, t) => {
- t.exports = Wae();
-})), Gae = dw(), fw = /*#__PURE__*/ (0, F.createContext)(!1), pw = /*#__PURE__*/ (0, F.createContext)(null);
-function mw(e) {
- if ((0, F.useContext)(pw)) return e.content;
- let { collection: t, document: n } = Yae(e.createCollection);
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Uae, null, /*#__PURE__*/ F.createElement(pw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(Kae, {
+})), uw = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Gae();
+})), Kae = uw(), dw = /*#__PURE__*/ (0, F.createContext)(!1), fw = /*#__PURE__*/ (0, F.createContext)(null);
+function pw(e) {
+ if ((0, F.useContext)(fw)) return e.content;
+ let { collection: t, document: n } = Xae(e.createCollection);
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Wae, null, /*#__PURE__*/ F.createElement(fw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(qae, {
render: e.children,
collection: t
}));
}
-function Kae({ collection: e, render: t }) {
+function qae({ collection: e, render: t }) {
return t(e);
}
-function qae(e, t, n) {
- let r = hC(), i = (0, F.useRef)(r);
+function Jae(e, t, n) {
+ let r = mC(), i = (0, F.useRef)(r);
i.current = r;
let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Gae.useSyncExternalStore)(e, a);
+ return (0, Kae.useSyncExternalStore)(e, a);
}
-var Jae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : qae;
-function Yae(e) {
- let [t] = (0, F.useState)(() => new nae(e?.() || new vS()));
+var Yae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Jae;
+function Xae(e) {
+ let [t] = (0, F.useState)(() => new tae(e?.() || new yS()));
return {
- collection: Jae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
+ collection: Yae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var hw = /*#__PURE__*/ (0, F.createContext)(null);
-function Xae(e) {
- return class extends mS {
+var mw = /*#__PURE__*/ (0, F.createContext)(null);
+function Zae(e) {
+ return class extends hS {
static {
this.type = e;
}
};
}
-function gw(e, t, n, r, i, a) {
- typeof e == "string" && (e = Xae(e));
+function hw(e, t, n, r, i, a) {
+ typeof e == "string" && (e = Zae(e));
let o = (0, F.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -23284,82 +23284,82 @@ function gw(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, F.useContext)(hw);
+ ]), s = (0, F.useContext)(mw);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(hw.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(mw.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);
}
-function _w(e, t) {
+function gw(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {
- let a = (0, F.useContext)(ow);
- if (!(0, F.useContext)(fw)) {
+ let a = (0, F.useContext)(aw);
+ if (!(0, F.useContext)(dw)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return gw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(ow.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));
+ return hw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(aw.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function vw(e, t, n = yw) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => gw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));
+function _w(e, t, n = vw) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => hw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));
return i.displayName = t.name, i;
}
-function yw(e) {
- return SS({
+function vw(e) {
+ return CS({
...e,
addIdAndValue: !0
});
}
-var bw = /*#__PURE__*/ (0, F.createContext)(null);
-function xw(e) {
- let t = (0, F.useContext)(bw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = yw({
+var yw = /*#__PURE__*/ (0, F.createContext)(null);
+function bw(e) {
+ let t = (0, F.useContext)(yw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = vw({
...e,
idScope: r,
dependencies: n
});
- return (0, F.useContext)(pw) && (i = /*#__PURE__*/ F.createElement(Zae, null, i)), t = (0, F.useMemo)(() => ({
+ return (0, F.useContext)(fw) && (i = /*#__PURE__*/ F.createElement(Qae, null, i)), t = (0, F.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ F.createElement(bw.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ F.createElement(yw.Provider, { value: t }, i);
}
-function Zae({ children: e }) {
- let t = (0, F.useContext)(pw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(pw.Provider, { value: null }, /*#__PURE__*/ F.createElement(fw.Provider, { value: !0 }, e)), [e]);
- return hC() ? /*#__PURE__*/ F.createElement(hw.Provider, { value: t }, n) : /*#__PURE__*/ (0, It.createPortal)(n, t);
+function Qae({ children: e }) {
+ let t = (0, F.useContext)(fw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(fw.Provider, { value: null }, /*#__PURE__*/ F.createElement(dw.Provider, { value: !0 }, e)), [e]);
+ return mC() ? /*#__PURE__*/ F.createElement(mw.Provider, { value: t }, n) : /*#__PURE__*/ (0, It.createPortal)(n, t);
}
// node_modules/react-aria/dist/private/utils/constants.mjs
-var Qae = "react-aria-clear-focus", $ae = "react-aria-focus";
+var $ae = "react-aria-clear-focus", eoe = "react-aria-focus";
// node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Sw(e) {
- let t = toe(wS(e));
- t !== e && (t && eoe(t, e), e && Cw(e, t));
+function xw(e) {
+ let t = noe(TS(e));
+ t !== e && (t && toe(t, e), e && Sw(e, t));
}
-function eoe(e, t) {
+function toe(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Cw(e, t) {
+function Sw(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function toe(e) {
- let t = MS(e), n = t?.getAttribute("aria-activedescendant");
+function noe(e) {
+ let t = NS(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function ww(e, t) {
- let n = TS(t), r = wS(t);
+function Cw(e, t) {
+ let n = ES(t), r = TS(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
// node_modules/react-aria/dist/private/utils/keyboard.mjs
-var Tw = 100, Ew = 600, Dw = {
+var ww = 100, Tw = 600, Ew = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -23369,7 +23369,7 @@ var Tw = 100, Ew = 600, Dw = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, noe = /* @__PURE__ */ new Set([
+}, roe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23380,7 +23380,7 @@ var Tw = 100, Ew = 600, Dw = {
"submit",
"reset"
]);
-function Ow() {
+function Dw() {
let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);
return {
width: e * n,
@@ -23388,58 +23388,58 @@ function Ow() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function roe(e) {
- Dw.resizeTimeStamp <= e.timeStamp + 50 && (Dw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Dw.resizeTimeout), Dw.resizeTimeout = window.setTimeout(kw, 150));
+function ioe(e) {
+ Ew.resizeTimeStamp <= e.timeStamp + 50 && (Ew.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Ew.resizeTimeout), Ew.resizeTimeout = window.setTimeout(Ow, 150));
}
-function kw() {
- let e = ww("viewport");
- if ($S() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = Ow(), r = t - Dw.startTimeStamp, i = Dw.screenHeight - n.height, a = Dw.screenAngle - n.angle;
- Math.abs(a) % 180 && Dw.screenWidth - n.height < Tw && (Dw.screenWidth = n.width, Dw.screenHeight = n.height, Dw.screenAngle = n.angle, i = 0), r > Ew && (window.clearTimeout(Dw.screenTimeout), Dw.screenTimeout = window.setTimeout(() => {
- let e = Mw(document.hasFocus() ? MS() : null), t = Ow();
- Math.abs(Dw.screenAngle - t.angle) % 180 || Dw.isOpen && e || (Dw.screenWidth = t.width, Dw.screenHeight = t.height, Dw.screenAngle = t.angle, Dw.isOpen = !1);
- }, Ew)), r <= Ew && i >= Tw && (Dw.endTimeStamp = t), Dw.isOpen = i >= Tw;
-}
-function ioe() {
- let e = Ow(), t = Dw.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !Dw.isOpen) {
- let e = Dw.screenWidth;
- Dw.screenWidth = Dw.screenHeight, Dw.screenHeight = e;
- }
- Dw.isOpen || (Dw.screenAngle = e.angle);
-}
-function aoe(e) {
- let t = Mw(K(e)), n = performance.now(), r = Ow(), i = Dw.screenHeight - r.height;
- i < Tw && t && (Dw.screenWidth = r.width, Dw.screenHeight = r.height, Dw.screenAngle = r.angle, Dw.startTimeStamp = n), t && window.clearTimeout(Dw.screenTimeout), i >= Tw && t && (Dw.endTimeStamp = n);
+function Ow() {
+ let e = Cw("viewport");
+ if (eC() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = Dw(), r = t - Ew.startTimeStamp, i = Ew.screenHeight - n.height, a = Ew.screenAngle - n.angle;
+ Math.abs(a) % 180 && Ew.screenWidth - n.height < ww && (Ew.screenWidth = n.width, Ew.screenHeight = n.height, Ew.screenAngle = n.angle, i = 0), r > Tw && (window.clearTimeout(Ew.screenTimeout), Ew.screenTimeout = window.setTimeout(() => {
+ let e = jw(document.hasFocus() ? NS() : null), t = Dw();
+ Math.abs(Ew.screenAngle - t.angle) % 180 || Ew.isOpen && e || (Ew.screenWidth = t.width, Ew.screenHeight = t.height, Ew.screenAngle = t.angle, Ew.isOpen = !1);
+ }, Tw)), r <= Tw && i >= ww && (Ew.endTimeStamp = t), Ew.isOpen = i >= ww;
+}
+function aoe() {
+ let e = Dw(), t = Ew.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !Ew.isOpen) {
+ let e = Ew.screenWidth;
+ Ew.screenWidth = Ew.screenHeight, Ew.screenHeight = e;
+ }
+ Ew.isOpen || (Ew.screenAngle = e.angle);
+}
+function ooe(e) {
+ let t = jw(K(e)), n = performance.now(), r = Dw(), i = Ew.screenHeight - r.height;
+ i < ww && t && (Ew.screenWidth = r.width, Ew.screenHeight = r.height, Ew.screenAngle = r.angle, Ew.startTimeStamp = n), t && window.clearTimeout(Ew.screenTimeout), i >= ww && t && (Ew.endTimeStamp = n);
}
-function Aw() {
- let e = Ow();
- OS(window.visualViewport, "resize", ZS() ? kw : roe), OS(window.screen.orientation, "change", ioe), OS(window, "focus", aoe, {
+function kw() {
+ let e = Dw();
+ kS(window.visualViewport, "resize", QS() ? Ow : ioe), kS(window.screen.orientation, "change", aoe), kS(window, "focus", ooe, {
capture: !0,
passive: !0
- }), Dw.screenWidth = e.width, Dw.screenHeight = e.height, Dw.screenAngle = e.angle;
+ }), Ew.screenWidth = e.width, Ew.screenHeight = e.height, Ew.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? OS(document, "DOMContentLoaded", Aw) : Aw());
-function jw() {
- let e = ww("viewport");
- return $S() && e?.includes("overlays-content") ? !1 : Dw.isOpen ? !0 : Dw.startTimeStamp ? Dw.endTimeStamp >= Dw.startTimeStamp ? !0 : performance.now() - Dw.startTimeStamp <= Ew ? Dw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? kS(document, "DOMContentLoaded", kw) : kw());
+function Aw() {
+ let e = Cw("viewport");
+ return eC() && e?.includes("overlays-content") ? !1 : Ew.isOpen ? !0 : Ew.startTimeStamp ? Ew.endTimeStamp >= Ew.startTimeStamp ? !0 : performance.now() - Ew.startTimeStamp <= Tw ? Ew.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function Mw(e) {
- if (!(e instanceof Element) || !LS(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !noe.has(e.type);
+function jw(e) {
+ if (!(e instanceof Element) || !RS(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !roe.has(e.type);
return t || n || r;
}
-function Nw(e) {
- return JS() ? e.metaKey : e.ctrlKey;
+function Mw(e) {
+ return YS() ? e.metaKey : e.ctrlKey;
}
-function Pw() {
- return Dw.isOpen;
+function Nw() {
+ return Ew.isOpen;
}
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var ooe = F.useInsertionEffect ?? BS;
-function Fw(e) {
+var soe = F.useInsertionEffect ?? VS;
+function Pw(e) {
let t = (0, F.useRef)(null);
- return ooe(() => {
+ return soe(() => {
t.current = e;
}, [e]), (0, F.useCallback)((...e) => {
let n = t.current;
@@ -23447,10 +23447,10 @@ function Fw(e) {
}, []);
}
// node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Iw(e, t, n, r) {
- let i = Fw(n), a = n == null;
+function Fw(e, t, n, r) {
+ let i = Pw(n), a = n == null;
(0, F.useEffect)(() => {
- if (!(a || e.current == null)) return OS(e.current, t, i, r);
+ if (!(a || e.current == null)) return kS(e.current, t, i, r);
}, [
e,
t,
@@ -23459,16 +23459,16 @@ function Iw(e, t, n, r) {
]);
}
// node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Lw(e, t) {
+function Iw(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = qC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = KC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
};
}
// node_modules/react-aria/dist/private/i18n/utils.mjs
-var soe = /* @__PURE__ */ new Set([
+var coe = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -23479,7 +23479,7 @@ var soe = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), coe = /* @__PURE__ */ new Set([
+]), loe = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -23500,19 +23500,19 @@ var soe = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function loe(e) {
+function uoe(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 soe.has(t.script);
+ if (t.script) return coe.has(t.script);
}
let t = e.split("-")[0];
- return coe.has(t);
+ return loe.has(t);
}
// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Rw = Symbol.for("react-aria.i18n.locale");
-function zw() {
- let e = typeof window < "u" && window[Rw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Lw = Symbol.for("react-aria.i18n.locale");
+function Rw() {
+ let e = typeof window < "u" && window[Lw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -23520,31 +23520,31 @@ function zw() {
}
return {
locale: e,
- direction: loe(e) ? "rtl" : "ltr"
+ direction: uoe(e) ? "rtl" : "ltr"
};
}
-var Bw = zw(), Vw = /* @__PURE__ */ new Set();
-function Hw() {
- Bw = zw();
- for (let e of Vw) e(Bw);
+var zw = Rw(), Bw = /* @__PURE__ */ new Set();
+function Vw() {
+ zw = Rw();
+ for (let e of Bw) e(zw);
}
-function uoe() {
- let e = hC(), [t, n] = (0, F.useState)(Bw);
- return (0, F.useEffect)(() => (Vw.size === 0 && window.addEventListener("languagechange", Hw), Vw.add(n), () => {
- Vw.delete(n), Vw.size === 0 && window.removeEventListener("languagechange", Hw);
+function doe() {
+ let e = mC(), [t, n] = (0, F.useState)(zw);
+ return (0, F.useEffect)(() => (Bw.size === 0 && window.addEventListener("languagechange", Vw), Bw.add(n), () => {
+ Bw.delete(n), Bw.size === 0 && window.removeEventListener("languagechange", Vw);
}), []), e ? {
- locale: typeof window < "u" && window[Rw] || "en-US",
+ locale: typeof window < "u" && window[Lw] || "en-US",
direction: "ltr"
} : t;
}
// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var doe = /*#__PURE__*/ F.createContext(null);
-function Uw() {
- let e = uoe();
- return (0, F.useContext)(doe) || e;
+var foe = /*#__PURE__*/ F.createContext(null);
+function Hw() {
+ let e = doe();
+ return (0, F.useContext)(foe) || e;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var foe = Symbol.for("react-aria.i18n.locale"), poe = Symbol.for("react-aria.i18n.strings"), Ww = void 0, Gw = class e {
+var poe = Symbol.for("react-aria.i18n.locale"), moe = Symbol.for("react-aria.i18n.strings"), Uw = void 0, Ww = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -23555,38 +23555,38 @@ var foe = Symbol.for("react-aria.i18n.locale"), poe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = moe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = hoe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[foe];
- if (Ww === void 0) {
- let t = window[poe];
+ let n = window[poe];
+ if (Uw === void 0) {
+ let t = window[moe];
if (!t) return null;
- Ww = {};
- for (let r in t) Ww[r] = new e({ [n]: t[r] }, n);
+ Uw = {};
+ for (let r in t) Uw[r] = new e({ [n]: t[r] }, n);
}
- let r = Ww?.[t];
+ let r = Uw?.[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 moe(e, t, n = "en-US") {
+function hoe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = hoe(e), i = goe(e);
+ let r = goe(e), i = _oe(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 hoe(e) {
+function goe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function goe(e) {
+function _oe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Kw = /* @__PURE__ */ new Map(), qw = /* @__PURE__ */ new Map(), _oe = class {
+var Gw = /* @__PURE__ */ new Map(), Kw = /* @__PURE__ */ new Map(), voe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -23597,36 +23597,36 @@ var Kw = /* @__PURE__ */ new Map(), qw = /* @__PURE__ */ new Map(), _oe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Kw.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Kw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Gw.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Gw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = qw.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), qw.set(this.locale, t)), t.format(e);
+ let t = Kw.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Kw.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Jw = /* @__PURE__ */ new WeakMap();
-function voe(e) {
- let t = Jw.get(e);
- return t || (t = new Gw(e), Jw.set(e, t)), t;
+}, qw = /* @__PURE__ */ new WeakMap();
+function yoe(e) {
+ let t = qw.get(e);
+ return t || (t = new Ww(e), qw.set(e, t)), t;
}
-function yoe(e, t) {
- return t && Gw.getGlobalDictionaryForPackage(t) || voe(e);
+function boe(e, t) {
+ return t && Ww.getGlobalDictionaryForPackage(t) || yoe(e);
}
-function Yw(e, t) {
- let { locale: n } = Uw(), r = yoe(e, t);
- return (0, F.useMemo)(() => new _oe(n, r), [n, r]);
+function Jw(e, t) {
+ let { locale: n } = Hw(), r = boe(e, t);
+ return (0, F.useMemo)(() => new voe(n, r), [n, r]);
}
// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var boe = /* @__PURE__ */ new Set(["id"]), xoe = /* @__PURE__ */ new Set([
+var xoe = /* @__PURE__ */ new Set(["id"]), Soe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Soe = /* @__PURE__ */ new Set([
+]), Coe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -23634,60 +23634,60 @@ var boe = /* @__PURE__ */ new Set(["id"]), xoe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), Coe = /* @__PURE__ */ new Set([
+]), woe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), Xw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), woe = /^(data-.*)$/;
-function Zw(e, t = {}) {
+]), Yw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Toe = /^(data-.*)$/;
+function Xw(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) && (boe.has(t) || n && xoe.has(t) || r && Soe.has(t) || i && Coe.has(t) || a && (Xw.has(t) || t.endsWith("Capture") && Xw.has(t.slice(0, -7))) || o?.has(t) || woe.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (xoe.has(t) || n && Soe.has(t) || r && Coe.has(t) || i && woe.has(t) || a && (Yw.has(t) || t.endsWith("Capture") && Yw.has(t.slice(0, -7))) || o?.has(t) || Toe.test(t)) && (s[t] = e[t]);
return s;
}
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Qw = "default", $w = "", eT = /* @__PURE__ */ new WeakMap();
-function tT(e) {
- if (XS() && ZS()) {
- if (Qw === "default") {
- let t = wS(e);
- $w = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Qw = "disabled";
+var Zw = "default", Qw = "", $w = /* @__PURE__ */ new WeakMap();
+function eT(e) {
+ if (ZS() && QS()) {
+ if (Zw === "default") {
+ let t = TS(e);
+ Qw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ Zw = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- eT.set(e, e.style[t]), e.style[t] = "none";
+ $w.set(e, e.style[t]), e.style[t] = "none";
}
}
-function nT(e) {
- if (XS() && ZS()) {
- if (Qw !== "disabled") return;
- Qw = "restoring", setTimeout(() => {
- VC(() => {
- if (Qw === "restoring") {
- let t = wS(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = $w || ""), $w = "", Qw = "default";
+function tT(e) {
+ if (ZS() && QS()) {
+ if (Zw !== "disabled") return;
+ Zw = "restoring", setTimeout(() => {
+ BC(() => {
+ if (Zw === "restoring") {
+ let t = TS(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Qw || ""), Qw = "", Zw = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && eT.has(e)) {
- let t = eT.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), eT.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && $w.has(e)) {
+ let t = $w.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), $w.delete(e);
}
}
// node_modules/react-aria/dist/private/utils/getNonce.mjs
-var rT = /* @__PURE__ */ new WeakMap();
-function iT(e) {
- let t = wS(e), n = rT.get(t);
- return n ??= ww("csp-nonce", t), n !== void 0 && rT.set(t, n), n;
+var nT = /* @__PURE__ */ new WeakMap();
+function rT(e) {
+ let t = TS(e), n = nT.get(t);
+ return n ??= Cw("csp-nonce", t), n !== void 0 && nT.set(t, n), n;
}
// node_modules/react-aria/dist/private/interactions/context.mjs
-var aT = F.createContext({ register: () => {} });
-aT.displayName = "PressResponderContext";
+var iT = F.createContext({ register: () => {} });
+iT.displayName = "PressResponderContext";
// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function oT() {
+function aT() {
let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -23713,15 +23713,15 @@ function oT() {
};
}
// node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Toe(e) {
- let t = (0, F.useContext)(aT);
+function Eoe(e) {
+ let t = (0, F.useContext)(iT);
if (t) {
let { register: n, ref: r, ...i } = t;
e = q(i, e), n();
}
- return aw(t, e.ref), e;
+ return iw(t, e.ref), e;
}
-var sT = class {
+var oT = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -23734,9 +23734,9 @@ var sT = class {
get shouldStopPropagation() {
return this.#e;
}
-}, cT = Symbol("linkClicked"), lT = "react-aria-pressable-style", uT = "data-react-aria-pressable";
-function dT(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Toe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({
+}, sT = Symbol("linkClicked"), cT = "react-aria-pressable-style", lT = "data-react-aria-pressable";
+function uT(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Eoe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -23746,12 +23746,12 @@ function dT(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = oT(), y = (0, F.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = aT(), y = (0, F.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new sT("pressstart", t, e);
+ let n = new oT("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -23765,11 +23765,11 @@ function dT(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new sT("pressend", r, e);
+ let t = new oT("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new sT("press", r, e);
+ let n = new oT("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -23778,19 +23778,19 @@ function dT(e) {
i,
n,
t
- ]), x = Fw(b), S = Fw((0, F.useCallback)((e, t) => {
+ ]), x = Pw(b), S = Pw((0, F.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new sT("pressup", t, e);
+ let r = new oT("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, F.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(mT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || nT(t.target);
+ t.didFirePressStart && t.pointerType != null && b(pT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || tT(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -23798,7 +23798,7 @@ function dT(e) {
d,
v,
b
- ]), w = Fw(C);
+ ]), w = Pw(C);
(0, F.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -23815,39 +23815,39 @@ function dT(e) {
}, [s, o]), D = (0, F.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- HS(n, t), o(VS(n));
+ US(n, t), o(HS(n));
}
}, [s, o]), O = (0, F.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (pT(t.nativeEvent, t.currentTarget) && jS(t.currentTarget, K(t))) {
- hT(K(t), t.key) && t.preventDefault();
+ if (fT(t.nativeEvent, t.currentTarget) && MS(t.currentTarget, K(t))) {
+ mT(K(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;
- _(wS(t.currentTarget), "keyup", UC((t) => {
- pT(t, i) && !t.repeat && jS(i, K(t)) && e.target && S(mT(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && JS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(TS(t.currentTarget), "keyup", HC((t) => {
+ fT(t, i) && !t.repeat && MS(i, K(t)) && e.target && S(pT(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && YS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || jS(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !nC.isOpening) {
+ if ((!t || MS(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !rC.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || eC(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || tC(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(mT(t.currentTarget, t), r), a = x(mT(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(pT(t.currentTarget, t), r), a = x(pT(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && pT(t, e.target)) {
- hT(K(t), t.key) && t.preventDefault();
- let n = K(t), r = jS(e.target, n);
- x(mT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && fT(e.target) && jS(e.target, n) && !t[cT] && (t[cT] = !0, nC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && fT(t, e.target)) {
+ mT(K(t), t.key) && t.preventDefault();
+ let n = K(t), r = MS(e.target, n);
+ x(pT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && dT(e.target) && MS(e.target, n) && !t[sT] && (t[sT] = !0, rC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -23856,39 +23856,39 @@ function dT(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !jS(t.currentTarget, K(t))) return;
- if (hae(t.nativeEvent)) {
+ if (t.button !== 0 || !MS(t.currentTarget, K(t))) return;
+ if (mae(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || tT(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || eT(e.target), i = y(t, e.pointerType);
let a = K(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(wS(t.currentTarget), "pointerup", n, !1), _(wS(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(TS(t.currentTarget), "pointerup", n, !1), _(TS(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (jS(t.currentTarget, K(t)) && t.button === 0) {
+ if (MS(t.currentTarget, K(t)) && t.button === 0) {
if (l) {
- let n = fae(t.target);
+ let n = dae(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- jS(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ MS(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(mT(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(pT(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(mT(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(pT(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (jS(e.target, K(t)) && e.pointerType != null) {
+ if (MS(e.target, K(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (CS(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (wS(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -23898,7 +23898,7 @@ function dT(e) {
w(e);
};
t.onDragStart = (e) => {
- jS(e.currentTarget, K(e)) && w(e);
+ MS(e.currentTarget, K(e)) && w(e);
};
}
return t;
@@ -23915,14 +23915,14 @@ function dT(e) {
]);
return (0, F.useEffect)(() => {
if (!f) return;
- let e = wS(f.current);
- if (!e || !e.head || e.getElementById(lT)) return;
+ let e = TS(f.current);
+ if (!e || !e.head || e.getElementById(cT)) return;
let t = e.createElement("style");
- t.id = lT;
- let n = iT(e);
+ t.id = cT;
+ let n = rT(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${uT}] {
+ [${lT}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -23930,23 +23930,23 @@ function dT(e) {
}, [f]), (0, F.useEffect)(() => {
let e = g.current;
return () => {
- d || nT(e.target ?? void 0);
+ d || tT(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: q(p, O, { [uT]: !0 })
+ pressProps: q(p, O, { [lT]: !0 })
};
}
-function fT(e) {
+function dT(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function pT(e, t) {
+function fT(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof TS(i).HTMLInputElement && !gT(i, n) || i instanceof TS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && fT(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof ES(i).HTMLInputElement && !hT(i, n) || i instanceof ES(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && dT(i)) && n !== "Enter");
}
-function mT(e, t) {
+function pT(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -23959,13 +23959,13 @@ function mT(e, t) {
key: t.key
};
}
-function Eoe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !fT(e);
+function Doe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !dT(e);
}
-function hT(e, t) {
- return JS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !gT(e, t) : Eoe(e);
+function mT(e, t) {
+ return YS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !hT(e, t) : Doe(e);
}
-var Doe = /* @__PURE__ */ new Set([
+var Ooe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23976,11 +23976,11 @@ var Doe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function gT(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Doe.has(e.type);
+function hT(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Ooe.has(e.type);
}
// node_modules/react-aria/dist/private/button/useButton.mjs
-function Ooe(e, t) {
+function koe(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -24002,7 +24002,7 @@ function Ooe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = dT({
+ let { pressProps: _, isPressed: v } = uT({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -24012,9 +24012,9 @@ function Ooe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = sw(e, t);
+ }), { focusableProps: y } = ow(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = q(y, _, Zw(e, { labelable: !0 }));
+ let b = q(y, _, Xw(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: q(g, b, {
@@ -24028,7 +24028,7 @@ function Ooe(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var koe = class {
+var Aoe = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -24053,7 +24053,7 @@ var koe = class {
return this._currentNode;
}
set currentNode(e) {
- if (!jS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!MS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -24067,7 +24067,7 @@ var koe = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return jS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return MS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -24131,44 +24131,44 @@ var koe = class {
return null;
}
};
-function _T(e, t, n, r) {
- return AS() ? new koe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function gT(e, t, n, r) {
+ return jS() ? new Aoe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
// node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var vT = /*#__PURE__*/ F.createContext(null), yT = "react-aria-focus-scope-restore", bT = null;
-function xT(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(vT) || {}, l = (0, F.useMemo)(() => new PT({ scopeRef: s }), [s]);
- BS(() => {
- let e = c || FT.root;
- if (FT.getTreeNode(e.scopeRef) && bT && !DT(bT, e.scopeRef)) {
- let t = FT.getTreeNode(bT);
+var _T = /*#__PURE__*/ F.createContext(null), vT = "react-aria-focus-scope-restore", yT = null;
+function bT(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(_T) || {}, l = (0, F.useMemo)(() => new NT({ scopeRef: s }), [s]);
+ VS(() => {
+ let e = c || PT.root;
+ if (PT.getTreeNode(e.scopeRef) && yT && !ET(yT, e.scopeRef)) {
+ let t = PT.getTreeNode(yT);
t && (e = t);
}
- e.addChild(l), FT.addNode(l);
- }, [l, c]), BS(() => {
- let e = FT.getTreeNode(s);
+ e.addChild(l), PT.addNode(l);
+ }, [l, c]), VS(() => {
+ let e = PT.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), BS(() => {
+ }, [n]), VS(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(yT, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(vT, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(yT, n);
+ for (let e of t) e.removeEventListener(vT, n);
};
- }, [t]), Ioe(s, r, n), Noe(s, n), Loe(s, r, n), Foe(s, i), (0, F.useEffect)(() => {
- let e = MS(wS(s.current ? s.current[0] : void 0)), t = null;
- if (TT(e, s.current)) {
- for (let n of FT.traverse()) n.scopeRef && TT(e, n.scopeRef.current) && (t = n);
- t === FT.getTreeNode(s) && (bT = t.scopeRef);
- }
- }, [s]), BS(() => () => {
- let e = FT.getTreeNode(s)?.parent?.scopeRef ?? null;
- s !== bT && !DT(s, bT) || e && !FT.getTreeNode(e) || (bT = e), FT.removeTreeNode(s);
+ }, [t]), Loe(s, r, n), Poe(s, n), Roe(s, r, n), Ioe(s, i), (0, F.useEffect)(() => {
+ let e = NS(TS(s.current ? s.current[0] : void 0)), t = null;
+ if (wT(e, s.current)) {
+ for (let n of PT.traverse()) n.scopeRef && wT(e, n.scopeRef.current) && (t = n);
+ t === PT.getTreeNode(s) && (yT = t.scopeRef);
+ }
+ }, [s]), VS(() => () => {
+ let e = PT.getTreeNode(s)?.parent?.scopeRef ?? null;
+ s !== yT && !ET(s, yT) || e && !PT.getTreeNode(e) || (yT = e), PT.removeTreeNode(s);
}, [s]);
- let u = (0, F.useMemo)(() => Aoe(s), []), d = (0, F.useMemo)(() => ({
+ let u = (0, F.useMemo)(() => joe(s), []), d = (0, F.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ F.createElement(vT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
+ return /*#__PURE__*/ F.createElement(_T.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -24178,154 +24178,154 @@ function xT(e) {
ref: o
}));
}
-function Aoe(e) {
+function joe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || MS(wS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = NT(ST(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || NS(TS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = MT(xT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = TT(s, n) ? s : c;
+ l.currentNode = wT(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && OT(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && DT(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || MS(wS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = NT(ST(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || NS(TS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = MT(xT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = TT(s, n) ? s : c;
+ l.currentNode = wT(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && OT(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && DT(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = NT(ST(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = MT(xT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && OT(o, !0), o;
+ return o && DT(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = NT(ST(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = MT(xT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && OT(o, !0), o;
+ return o && DT(o, !0), o;
}
};
}
-function ST(e) {
+function xT(e) {
return e[0].parentElement;
}
-function CT(e) {
- let t = FT.getTreeNode(bT);
+function ST(e) {
+ let t = PT.getTreeNode(yT);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function joe(e) {
- if (!e.form) return Array.from(wS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = TS(e);
+function Moe(e) {
+ if (!e.form) return Array.from(TS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = ES(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Moe(e) {
+function Noe(e) {
if (e.checked) return !0;
- let t = joe(e);
+ let t = Moe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Noe(e, t) {
+function Poe(e, t) {
let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);
- BS(() => {
+ VS(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = wS(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !CT(e) || t.isComposing) return;
- let n = MS(a), r = e.current;
- if (!r || !TT(n, r)) return;
- let i = NT(ST(r), { tabbable: !0 }, r);
+ let a = TS(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ST(e) || t.isComposing) return;
+ let n = NS(a), r = e.current;
+ if (!r || !wT(n, r)) return;
+ let i = MT(xT(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (OT(o, !0), o instanceof TS(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 && (DT(o, !0), o instanceof ES(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!bT || DT(bT, e)) && TT(K(t), e.current) ? (bT = e, n.current = K(t)) : CT(e) && !ET(K(t), e) ? n.current ? OT(n.current) : bT && bT.current && AT(bT.current) : CT(e) && (n.current = K(t));
+ (!yT || ET(yT, e)) && wT(K(t), e.current) ? (yT = e, n.current = K(t)) : ST(e) && !TT(K(t), e) ? n.current ? DT(n.current) : yT && yT.current && kT(yT.current) : ST(e) && (n.current = K(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = jC(), i = (r === "virtual" || r === null) && $S() && QS(), o = MS(a);
- if (!i && o && CT(e) && !ET(o, e)) {
- bT = e;
+ let r = AC(), i = (r === "virtual" || r === null) && eC() && $S(), o = NS(a);
+ if (!i && o && ST(e) && !TT(o, e)) {
+ yT = e;
let r = K(t);
- r && r.isConnected ? (n.current = r, OT(n.current)) : bT.current && AT(bT.current);
+ r && r.isConnected ? (n.current = r, DT(n.current)) : yT.current && kT(yT.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]), BS(() => () => {
+ }, [e, t]), VS(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function wT(e) {
- return ET(e);
+function CT(e) {
+ return TT(e);
}
-function TT(e, t) {
- return !e || !t ? !1 : t.some((t) => jS(t, e));
+function wT(e, t) {
+ return !e || !t ? !1 : t.some((t) => MS(t, e));
}
-function ET(e, t = null) {
+function TT(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of FT.traverse(FT.getTreeNode(t))) if (n && TT(e, n.current)) return !0;
+ for (let { scopeRef: n } of PT.traverse(PT.getTreeNode(t))) if (n && wT(e, n.current)) return !0;
return !1;
}
-function Poe(e) {
- return ET(e, bT);
+function Foe(e) {
+ return TT(e, yT);
}
-function DT(e, t) {
- let n = FT.getTreeNode(t)?.parent;
+function ET(e, t) {
+ let n = PT.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function OT(e, t = !1) {
+function DT(e, t = !1) {
if (e != null && !t) try {
- HC(e);
+ VC(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function kT(e, t = !0) {
- let n = e[0].previousElementSibling, r = ST(e), i = NT(r, { tabbable: t }, e);
+function OT(e, t = !0) {
+ let n = e[0].previousElementSibling, r = xT(e), i = MT(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = ST(e), i = NT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = xT(e), i = MT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function AT(e, t = !0) {
- OT(kT(e, t));
+function kT(e, t = !0) {
+ DT(OT(e, t));
}
-function Foe(e, t) {
+function Ioe(e, t) {
let n = F.useRef(t);
(0, F.useEffect)(() => {
- n.current && (bT = e, !TT(MS(wS(e.current ? e.current[0] : void 0)), bT.current) && e.current && AT(e.current)), n.current = !1;
+ n.current && (yT = e, !wT(NS(TS(e.current ? e.current[0] : void 0)), yT.current) && e.current && kT(e.current)), n.current = !1;
}, [e]);
}
-function Ioe(e, t, n) {
- BS(() => {
+function Loe(e, t, n) {
+ VS(() => {
if (t || n) return;
- let r = e.current, i = wS(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = TS(r ? r[0] : void 0), a = (t) => {
let n = K(t);
- TT(n, e.current) ? bT = e : wT(n) || (bT = null);
+ wT(n, e.current) ? yT = e : CT(n) || (yT = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -24336,43 +24336,43 @@ function Ioe(e, t, n) {
n
]);
}
-function jT(e) {
- let t = FT.getTreeNode(bT);
+function AT(e) {
+ let t = PT.getTreeNode(yT);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Loe(e, t, n) {
- let r = (0, F.useRef)(typeof document < "u" ? MS(wS(e.current ? e.current[0] : void 0)) : null);
- BS(() => {
- let r = e.current, i = wS(r ? r[0] : void 0);
+function Roe(e, t, n) {
+ let r = (0, F.useRef)(typeof document < "u" ? NS(TS(e.current ? e.current[0] : void 0)) : null);
+ VS(() => {
+ let r = e.current, i = TS(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!bT || DT(bT, e)) && TT(MS(i), e.current) && (bT = e);
+ (!yT || ET(yT, e)) && wT(NS(i), e.current) && (yT = 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]), BS(() => {
- let r = wS(e.current ? e.current[0] : void 0);
+ }, [e, n]), VS(() => {
+ let r = TS(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !CT(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ST(e) || t.isComposing) return;
let n = r.activeElement;
- if (!ET(n, e) || !jT(e)) return;
- let i = FT.getTreeNode(e);
+ if (!TT(n, e) || !AT(e)) return;
+ let i = PT.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = NT(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = MT(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !ET(s, e)) && a) {
+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !TT(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (ET(s, e));
- t.preventDefault(), t.stopPropagation(), s ? OT(s, !0) : wT(a) ? OT(a, !0) : n.blur();
+ while (TT(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? DT(s, !0) : CT(a) ? DT(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -24382,31 +24382,31 @@ function Loe(e, t, n) {
e,
t,
n
- ]), BS(() => {
- let n = wS(e.current ? e.current[0] : void 0);
+ ]), VS(() => {
+ let n = TS(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = FT.getTreeNode(e);
+ let i = PT.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = FT.getTreeNode(e);
+ let r = PT.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = MS(n);
- if (t && i && (a && ET(a, e) || a === n.body && jT(e))) {
- let t = FT.clone();
+ let i = r.nodeToRestore, a = NS(n);
+ if (t && i && (a && TT(a, e) || a === n.body && AT(e))) {
+ let t = PT.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- MT(n.nodeToRestore);
+ jT(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && FT.getTreeNode(n.scopeRef)) {
- let e = kT(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && PT.getTreeNode(n.scopeRef)) {
+ let e = OT(n.scopeRef.current, !0);
if (e) {
- MT(e);
+ jT(e);
return;
}
}
@@ -24418,21 +24418,21 @@ function Loe(e, t, n) {
};
}, [e, t]);
}
-function MT(e) {
- e.dispatchEvent(new CustomEvent(yT, {
+function jT(e) {
+ e.dispatchEvent(new CustomEvent(vT, {
bubbles: !0,
cancelable: !0
- })) && OT(e);
+ })) && DT(e);
}
-function NT(e, t, n) {
- let r = t?.tabbable ? RS : LS, i = wS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = _T(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return jS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Moe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || TT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function MT(e, t, n) {
+ let r = t?.tabbable ? zS : RS, i = TS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = gT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return MS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Noe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || wT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Roe = class e {
+var zoe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new PT({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new NT({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -24443,7 +24443,7 @@ var Roe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new PT({ scopeRef: e });
+ let i = new NT({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -24454,7 +24454,7 @@ var Roe = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && TT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && wT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -24466,7 +24466,7 @@ var Roe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, PT = class {
+}, NT = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -24476,13 +24476,13 @@ var Roe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, FT = new Roe(), IT = 7e3, LT = null;
-function RT(e, t = "assertive", n = IT) {
- LT ? LT.announce(e, t, n) : (LT = new zoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? LT.announce(e, t, n) : setTimeout(() => {
- LT?.isAttached() && LT?.announce(e, t, n);
+}, PT = new zoe(), FT = 7e3, IT = null;
+function LT(e, t = "assertive", n = FT) {
+ IT ? IT.announce(e, t, n) : (IT = new Boe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? IT.announce(e, t, n) : setTimeout(() => {
+ IT?.isAttached() && IT?.announce(e, t, n);
}, 100));
}
-var zoe = class {
+var Boe = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -24507,7 +24507,7 @@ var zoe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = IT) {
+ announce(e, t = "assertive", n = FT) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -24519,8 +24519,8 @@ var zoe = class {
}
};
// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function zT(e, t) {
- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Fw(e);
+function RT(e, t) {
+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Pw(e);
(0, F.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, F.useEffect)(() => {
@@ -24529,30 +24529,30 @@ function zT(e, t) {
}, t);
}
// node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function BT(e, t) {
+function zT(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
// node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function VT(e, t) {
+function BT(e, t) {
let n = e;
- for (BT(n, t) && (n = n.parentElement); n && !BT(n, t);) n = n.parentElement;
+ for (zT(n, t) && (n = n.parentElement); n && !zT(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
// node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function HT(e, t) {
+function VT(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (BT(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (zT(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function UT(e, t, n = {}) {
- e !== t && Boe(e, t, t.getBoundingClientRect(), n);
+function HT(e, t, n = {}) {
+ e !== t && Voe(e, t, t.getBoundingClientRect(), n);
}
-function Boe(e, t, n, r = {}) {
+function Voe(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
- XS() && ZS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
+ ZS() && QS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
let ie = k < ne || A > re, ae = j < F || M > I;
if (ie && i === "start") o += k - ne;
else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;
@@ -24573,7 +24573,7 @@ function Boe(e, t, n, r = {}) {
top: o
});
}
-function WT(e, t = {}) {
+function UT(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -24586,45 +24586,45 @@ function WT(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = HT(e, !0);
- for (let t of i) UT(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = VT(e, !0);
+ for (let t of i) HT(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? HT(n, !0) : [];
- for (let e of i) UT(e, n, {
+ i = n ? VT(n, !0) : [];
+ for (let e of i) HT(e, n, {
block: "center",
inline: "center"
});
- for (let t of HT(e, !0)) UT(t, e);
+ for (let t of VT(e, !0)) HT(t, e);
}
}
}
}
// node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Voe = 0, GT = /* @__PURE__ */ new Map();
-function KT(e) {
+var Hoe = 0, WT = /* @__PURE__ */ new Map();
+function GT(e) {
let [t, n] = (0, F.useState)();
- return BS(() => {
+ return VS(() => {
if (!e) return;
- let t = GT.get(e);
+ let t = WT.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Voe++}`;
+ let r = `react-aria-description-${Hoe++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, GT.set(e, t);
+ }, WT.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), GT.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), WT.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
// node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function qT(e, t, n) {
- let r = Fw((e) => {
+function KT(e, t, n) {
+ let r = Pw((e) => {
n && !e.defaultPrevented && n(t);
});
(0, F.useEffect)(() => {
@@ -24635,21 +24635,21 @@ function qT(e, t, n) {
}, [e]);
}
// node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function JT(e, t, n) {
+function qT(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- BS(() => {
+ VS(() => {
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(Uoe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Woe(n.current));
}
});
- let a = (0, F.useRef)(!1), o = Fw(() => {
+ let a = (0, F.useRef)(!1), o = Pw(() => {
a.current || t.resetValidation();
- }), s = Fw((e) => {
+ }), s = Pw((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Woe(r) === n.current && (i ? i() : n.current?.focus(), MC("keyboard")), e.preventDefault();
- }), c = Fw(() => {
+ !e.defaultPrevented && n && r && Goe(r) === n.current && (i ? i() : n.current?.focus(), jC("keyboard")), e.preventDefault();
+ }), c = Pw(() => {
t.commitValidation();
});
(0, F.useEffect)(() => {
@@ -24663,7 +24663,7 @@ function JT(e, t, n) {
};
}, [n, r]);
}
-function Hoe(e) {
+function Uoe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -24679,14 +24679,14 @@ function Hoe(e) {
valid: t.valid
};
}
-function Uoe(e) {
+function Woe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Hoe(e),
+ validationDetails: Uoe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Woe(e) {
+function Goe(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -24694,23 +24694,23 @@ function Woe(e) {
return null;
}
// node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Goe(e = !0) {
+function Koe(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return BS(() => {
+ return VS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function YT(e = !0) {
- let t = qC(), [n, r] = Goe(e);
+function JT(e = !0) {
+ let t = KC(), [n, r] = Koe(e);
return {
id: r ? t : void 0,
ref: n
};
}
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var XT = {
+var YT = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -24722,18 +24722,18 @@ var XT = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, ZT = {
- ...XT,
+}, XT = {
+ ...YT,
customError: !0,
valid: !1
-}, QT = {
+}, ZT = {
isInvalid: !1,
- validationDetails: XT,
+ validationDetails: YT,
validationErrors: []
-}, Koe = (0, F.createContext)({}), $T = "__reactAriaFormValidationState";
-function eE(e) {
+}, qoe = (0, F.createContext)({}), QT = "__reactAriaFormValidationState";
+function $T(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[$T];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[QT];
return {
realtimeValidation: t,
displayValidation: n,
@@ -24742,70 +24742,70 @@ function eE(e) {
commitValidation: a
};
}
- return qoe(e);
+ return Joe(e);
}
-function qoe(e) {
+function Joe(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: ZT
- }, l = (0, F.useMemo)(() => !o || i == null ? null : nE(Joe(o, i)), [o, i]);
+ validationDetails: XT
+ }, l = (0, F.useMemo)(() => !o || i == null ? null : tE(Yoe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, F.useContext)(Koe), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => tE(u[e])) : tE(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);
+ let u = (0, F.useContext)(qoe), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => eE(u[e])) : eE(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, F.useMemo)(() => nE(m ? [] : d), [m, d]), _ = (0, F.useRef)(QT), [v, y] = (0, F.useState)(QT), b = (0, F.useRef)(QT), x = () => {
+ let g = (0, F.useMemo)(() => tE(m ? [] : d), [m, d]), _ = (0, F.useRef)(ZT), [v, y] = (0, F.useState)(ZT), b = (0, F.useRef)(ZT), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- rE(e, b.current) || (b.current = e, y(e));
+ nE(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, F.useState)(!1);
return (0, F.useEffect)(x), {
- realtimeValidation: c || g || l || a || QT,
+ realtimeValidation: c || g || l || a || ZT,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !rE(v, e) ? y(e) : _.current = e;
+ s === "aria" && !nE(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = QT;
- rE(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = ZT;
+ nE(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function tE(e) {
+function eE(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Joe(e, t) {
+function Yoe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return tE(n);
+ if (n && typeof n != "boolean") return eE(n);
}
return [];
}
-function nE(e) {
+function tE(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: ZT
+ validationDetails: XT
} : null;
}
-function rE(e, t) {
+function nE(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
// node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function iE(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = eE({
+function rE(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 = $T({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- JT(e, b, n);
+ qT(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(K(e).checked);
- }, { pressProps: T, isPressed: E } = dT({
+ }, { pressProps: T, isPressed: E } = uT({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -24813,7 +24813,7 @@ function iE(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = dT({
+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = uT({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
},
@@ -24830,13 +24830,13 @@ function iE(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [$T]: i } = e, { commitValidation: a } = i || b;
+ let { [QT]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = sw(e, n), j = q(T, A), M = Zw(e, { labelable: !0 });
- qT(n, t.defaultSelected, t.setSelected);
- let ee = YT(), N = YT();
+ }), { focusableProps: A } = ow(e, n), j = q(T, A), M = Xw(e, { labelable: !0 });
+ KT(n, t.defaultSelected, t.setSelected);
+ let ee = JT(), N = JT();
return {
labelProps: q(k, { onClick: (e) => e.preventDefault() }),
inputProps: q(M, {
@@ -24872,8 +24872,8 @@ function iE(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function aE(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = iE(e, t, n), { isIndeterminate: m } = e;
+function iE(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 } = rE(e, t, n), { isIndeterminate: m } = e;
return (0, F.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -24891,17 +24891,17 @@ function aE(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Yoe = /* @__PURE__ */ new WeakMap();
+var Xoe = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/label/useLabel.mjs
-function oE(e) {
+function aE(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = qC(t);
- let o = qC(), s = {};
+ t = KC(t);
+ let o = KC(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Lw({
+ let c = Iw({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -24912,13 +24912,13 @@ function oE(e) {
};
}
// node_modules/react-aria/dist/private/label/useField.mjs
-function sE(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = oE(e), s = JC([
+function oE(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = aE(e), s = qC([
!!t,
!!n,
r,
i
- ]), c = JC([
+ ]), c = qC([
!!t,
!!n,
r,
@@ -24936,26 +24936,26 @@ function sE(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function cE(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = oT(), c = (0, F.useCallback)((e) => {
- jS(e.currentTarget, K(e)) && a.current.isFocusWithin && !jS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function sE(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = aT(), c = (0, F.useCallback)((e) => {
+ MS(e.currentTarget, K(e)) && a.current.isFocusWithin && !MS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = US(c), u = (0, F.useCallback)((e) => {
- if (!jS(e.currentTarget, K(e))) return;
- let t = K(e), n = wS(t), s = MS(n);
+ ]), l = WS(c), u = (0, F.useCallback)((e) => {
+ if (!MS(e.currentTarget, K(e))) return;
+ let t = K(e), n = TS(t), s = NS(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 = K(e);
- if (a.current.isFocusWithin && !jS(t, r)) {
+ if (a.current.isFocusWithin && !MS(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- HS(e, t);
- let i = VS(e);
+ US(e, t);
+ let i = HS(e);
c(i);
}
}, { capture: !0 });
@@ -24976,14 +24976,14 @@ function cE(e) {
} };
}
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Xoe = F.useInsertionEffect ?? F.useLayoutEffect;
-function lE(e, t, n) {
+var Zoe = F.useInsertionEffect ?? F.useLayoutEffect;
+function cE(e, t, n) {
let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;
(0, F.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Xoe(() => {
+ Zoe(() => {
a.current = c;
});
let [, l] = (0, F.useReducer)(() => ({}), {});
@@ -24993,8 +24993,8 @@ function lE(e, t, n) {
}, [n])];
}
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function uE(e = {}) {
- let { isReadOnly: t } = e, [n, r] = lE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
+function lE(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = cE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
function a(e) {
t || r(e);
}
@@ -25009,26 +25009,26 @@ function uE(e = {}) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Zoe(e, t, n) {
- let r = uE({
+function Qoe(e, t, n) {
+ let r = lE({
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 } = Yoe.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Xoe.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = eE({
+ let { realtimeValidation: l } = $T({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, F.useRef)(QT), d = () => {
+ }), u = (0, F.useRef)(ZT), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, F.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = aE({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = iE({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -25036,7 +25036,7 @@ function Zoe(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [$T]: {
+ [QT]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -25059,10 +25059,10 @@ function Zoe(e, t, n) {
};
}
// node_modules/react-stately/dist/private/utils/number.mjs
-function dE(e, t = -Infinity, n = Infinity) {
+function uE(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function fE(e, t) {
+function dE(e, t) {
let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");
if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;
else {
@@ -25075,23 +25075,23 @@ function fE(e, t) {
}
return n;
}
-function pE(e, t, n, r) {
+function fE(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = fE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(fE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(fE((n - t) / r, r)) * r), a = fE(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = dE(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(dE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(dE((n - t) / r, r)) * r), a = dE(a, r), a;
}
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var mE = /* @__PURE__ */ new Map(), hE = !1;
+var pE = /* @__PURE__ */ new Map(), mE = !1;
try {
- hE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ mE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var Qoe = class {
+var $oe = class {
constructor(e, t = {}) {
- this.numberFormatter = $oe(e, t), this.options = t;
+ this.numberFormatter = ese(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !hE && this.options.signDisplay != null ? ese(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !mE && this.options.signDisplay != null ? tse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -25123,21 +25123,21 @@ var Qoe = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !hE && this.options.signDisplay != null && (e = {
+ return !mE && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function $oe(e, t = {}) {
+function ese(e, t = {}) {
let { numberingSystem: n } = t;
n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);
let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (mE.has(r)) return mE.get(r);
+ if (pE.has(r)) return pE.get(r);
let i = new Intl.NumberFormat(e, t);
- return mE.set(r, i), i;
+ return pE.set(r, i), i;
}
-function ese(e, t, n) {
+function tse(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -25150,12 +25150,12 @@ function ese(e, t, n) {
}
}
// node_modules/react-aria/dist/private/interactions/useMove.mjs
-function gE(e) {
+function hE(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = oT(), s = Fw((0, F.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = aT(), s = Pw((0, F.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -25177,8 +25177,8 @@ function gE(e) {
t,
n,
i
- ])), c = Fw((0, F.useCallback)((e, t) => {
- nT(), i.current.didMove && r?.({
+ ])), c = Pw((0, F.useCallback)((e, t) => {
+ tT(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -25189,7 +25189,7 @@ function gE(e) {
}, [r, i]));
return { moveProps: (0, F.useMemo)(() => {
let e = {}, t = () => {
- tT(), i.current.didMove = !1;
+ eT(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -25204,7 +25204,7 @@ function gE(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = TS(K(e));
+ let a = ES(K(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -25214,7 +25214,7 @@ function gE(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = TS(K(e));
+ let o = ES(K(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -25247,7 +25247,7 @@ function gE(e) {
]) };
}
// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var _E = {
+var gE = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -25259,37 +25259,37 @@ var _E = {
width: "1px",
whiteSpace: "nowrap"
};
-function vE(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = cE({
+function _E(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = sE({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, F.useMemo)(() => r ? t : t ? {
- ..._E,
+ ...gE,
...t
- } : _E, [r]);
+ } : gE, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function yE(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = vE(e);
+function vE(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = _E(e);
return /*#__PURE__*/ F.createElement(n, q(a, o), t);
}
// node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function tse(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = lE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = sw(e, t), d = eE({
+function nse(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = cE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ow(e, t), d = $T({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = sE({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = oE({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Zw(e, { labelable: !0 }), b = {
+ }), y = Xw(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, F.useState)(c);
- return qT(t, e.defaultValue ?? x, l), JT(e, d, t), {
+ return KT(t, e.defaultValue ?? x, l), qT(e, d, t), {
labelProps: h,
inputProps: q(y, n === "input" ? b : void 0, {
disabled: r,
@@ -25335,26 +25335,26 @@ function tse(e, t) {
};
}
// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function nse(e = {}) {
- let { locale: t } = Uw();
- return (0, F.useMemo)(() => new Qoe(t, e), [t, e]);
+function rse(e = {}) {
+ let { locale: t } = Hw();
+ return (0, F.useMemo)(() => new $oe(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/slider/utils.mjs
-var bE = /* @__PURE__ */ new WeakMap();
-function xE(e, t) {
- let n = bE.get(e);
+var yE = /* @__PURE__ */ new WeakMap();
+function bE(e, t) {
+ let n = yE.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
// node_modules/react-aria/dist/private/slider/useSlider.mjs
-function rse(e, t, n) {
- let { labelProps: r, fieldProps: i } = oE(e), a = e.orientation === "vertical";
- bE.set(t, {
+function ise(e, t, n) {
+ let { labelProps: r, fieldProps: i } = aE(e), a = e.orientation === "vertical";
+ yE.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = Uw(), { addGlobalListener: s, removeGlobalListener: c } = oT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = gE({
+ let { direction: o } = Hw(), { addGlobalListener: s, removeGlobalListener: c } = aT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = hE({
onMoveStart() {
d.current = null;
},
@@ -25364,7 +25364,7 @@ function rse(e, t, n) {
d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);
let c = a ? r : e;
if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {
- let e = dE(d.current / s, 0, 1);
+ let e = uE(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -25388,7 +25388,7 @@ function rse(e, t, n) {
(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));
};
return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {
- document.getElementById(xE(t, 0))?.focus(), MC("keyboard");
+ document.getElementById(bE(t, 0))?.focus(), jC("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -25411,26 +25411,26 @@ function rse(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => xE(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => bE(t, n)).join(" "),
"aria-live": "off"
}
};
}
// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function ise(e, t) {
- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Uw(), { addGlobalListener: m, removeGlobalListener: h } = oT(), g = bE.get(t), { labelProps: _, fieldProps: v } = oE({
+function ase(e, t) {
+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Hw(), { addGlobalListener: m, removeGlobalListener: h } = aT(), g = yE.get(t), { labelProps: _, fieldProps: v } = aE({
...e,
- id: xE(t, n),
+ id: bE(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, F.useCallback)(() => {
- s.current && CS(s.current);
+ s.current && wS(s.current);
}, [s]), x = t.focusedThumb === n;
(0, F.useEffect)(() => {
x && b();
}, [x, b]);
let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {
t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);
- }, { keyboardProps: T } = rw({
+ }, { keyboardProps: T } = nw({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -25446,7 +25446,7 @@ function ise(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = gE({
+ }), { moveProps: E } = hE({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -25457,7 +25457,7 @@ function ise(e, t) {
if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);
else {
let t = f ? r : e;
- (f || S) && (t = -t), C.current += t, c(n, dE(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, uE(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -25465,7 +25465,7 @@ function ise(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: D } = sw(q(e, {
+ let { focusableProps: D } = ow(q(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), O = (0, F.useRef)(void 0), k = (e) => {
@@ -25485,7 +25485,7 @@ function ise(e, t) {
k(e.changedTouches[0].identifier);
}
});
- return qT(s, t.defaultValues[n], (e) => {
+ return KT(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: q(D, v, {
@@ -25525,42 +25525,42 @@ function ise(e, t) {
};
}
// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var ase = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function SE(e) {
+var ose = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function xE(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var CE = /* @__PURE__ */ new WeakMap(), wE = [];
-function TE(e, t) {
- let n = TS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && ase, 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 SE = /* @__PURE__ */ new WeakMap(), CE = [];
+function wE(e, t) {
+ let n = ES(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && ose, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
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 (AS()) {
+ if (jS()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; DS(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; OS(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 (jS(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (MS(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = _T(wS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = gT(TS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = CE.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), CE.set(e, t + 1));
+ let t = SE.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), SE.set(e, t + 1));
};
- wE.length && wE[wE.length - 1].disconnect(), d(i);
+ CE.length && CE[CE.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) => jS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && SE(e) ? o.add(e) : e instanceof Element && d(e);
- if (AS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => MS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && xE(e) ? o.add(e) : e instanceof Element && d(e);
+ if (jS()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25573,11 +25573,11 @@ function TE(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (AS()) for (let e of u) {
+ if (jS()) 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) => jS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && SE(e) ? o.add(e) : e instanceof Element && d(e);
- if (AS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => MS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && xE(e) ? o.add(e) : e instanceof Element && d(e);
+ if (jS()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25603,56 +25603,56 @@ function TE(e, t) {
p.disconnect();
}
};
- return wE.push(h), () => {
- if (p.disconnect(), AS()) for (let e of m) e.disconnect();
+ return CE.push(h), () => {
+ if (p.disconnect(), jS()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = CE.get(e);
- t != null && (t === 1 ? (l(e, !1), CE.delete(e)) : CE.set(e, t - 1));
+ let t = SE.get(e);
+ t != null && (t === 1 ? (l(e, !1), SE.delete(e)) : SE.set(e, t - 1));
}
- h === wE[wE.length - 1] ? (wE.pop(), wE.length && wE[wE.length - 1].observe()) : wE.splice(wE.indexOf(h), 1);
+ h === CE[CE.length - 1] ? (CE.pop(), CE.length && CE[CE.length - 1].observe()) : CE.splice(CE.indexOf(h), 1);
};
}
-function EE(e) {
- let t = wE[wE.length - 1];
+function TE(e) {
+ let t = CE[CE.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
// node_modules/react-aria/dist/private/listbox/utils.mjs
-var DE = /* @__PURE__ */ new WeakMap();
-function ose(e) {
+var EE = /* @__PURE__ */ new WeakMap();
+function sse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function sse(e, t) {
- let n = DE.get(e);
+function cse(e, t) {
+ let n = EE.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${ose(t)}`;
+ return `${n.id}-option-${sse(t)}`;
}
// node_modules/react-aria/dist/private/selection/utils.mjs
-function OE(e) {
- return mae() ? e.altKey : e.ctrlKey;
+function DE(e) {
+ return pae() ? e.altKey : e.ctrlKey;
}
-function kE(e, t) {
+function OE(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var AE = /* @__PURE__ */ new WeakMap();
-function cse(e) {
- let t = qC();
- return AE.set(e, t), t;
-}
+var kE = /* @__PURE__ */ new WeakMap();
function lse(e) {
- return AE.get(e);
+ let t = KC();
+ return kE.set(e, t), t;
+}
+function use(e) {
+ return kE.get(e);
}
// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var jE = class {
+var AE = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : kE(this.ref, e);
+ let n = e == null ? null : OE(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -25678,12 +25678,12 @@ var jE = class {
height: e?.clientHeight ?? 0
};
}
-}, ME = class {
+}, jE = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new jE(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new jE(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new AE(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 AE(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -25723,14 +25723,14 @@ var jE = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = kE(this.ref, e);
+ let t = this.getNextKey(e), n = OE(this.ref, e);
if (t != null) {
- let e = kE(this.ref, t);
+ let e = OE(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = kE(this.ref, r);
+ let e = OE(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -25764,7 +25764,7 @@ var jE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !BT(t)) return this.getFirstKey();
+ if (t && !zT(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -25779,7 +25779,7 @@ var jE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !BT(t)) return this.getLastKey();
+ if (t && !zT(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -25802,149 +25802,149 @@ var jE = class {
}
return null;
}
-}, NE = {};
-NE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, ME = {};
+ME = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var PE = {};
-PE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var NE = {};
+NE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var FE = {};
-FE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var PE = {};
+PE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var IE = {};
-IE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var FE = {};
+FE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var LE = {};
-LE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var IE = {};
+IE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var RE = {};
-RE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var LE = {};
+LE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
// node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var zE = {};
-zE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var RE = {};
+RE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var BE = {};
-BE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var zE = {};
+zE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var VE = {};
-VE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var BE = {};
+BE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var HE = {};
-HE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var VE = {};
+VE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var UE = {};
-UE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var HE = {};
+HE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var WE = {};
-WE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var UE = {};
+UE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var GE = {};
-GE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var WE = {};
+WE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var KE = {};
-KE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var GE = {};
+GE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var qE = {};
-qE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var KE = {};
+KE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var JE = {};
-JE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var qE = {};
+qE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var YE = {};
-YE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var JE = {};
+JE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var XE = {};
-XE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var YE = {};
+YE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var ZE = {};
-ZE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var XE = {};
+XE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var QE = {};
-QE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var ZE = {};
+ZE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var $E = {};
-$E = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var QE = {};
+QE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var eD = {};
-eD = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var $E = {};
+$E = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var tD = {};
-tD = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var eD = {};
+eD = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var nD = {};
-nD = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var tD = {};
+tD = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var rD = {};
-rD = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var nD = {};
+nD = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var iD = {};
-iD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var rD = {};
+rD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var aD = {};
-aD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var iD = {};
+iD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var oD = {};
-oD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var aD = {};
+aD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var sD = {};
-sD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var oD = {};
+oD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var cD = {};
-cD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var sD = {};
+sD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var lD = {};
-lD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var cD = {};
+cD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var uD = {};
-uD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var lD = {};
+lD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var dD = {};
-dD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var uD = {};
+uD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var fD = {};
-fD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var dD = {};
+dD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
// node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var pD = {};
-pD = {
- "ar-AE": NE,
- "bg-BG": PE,
- "cs-CZ": FE,
- "da-DK": IE,
- "de-DE": LE,
- "el-GR": RE,
- "en-US": zE,
- "es-ES": BE,
- "et-EE": VE,
- "fi-FI": HE,
- "fr-FR": UE,
- "he-IL": WE,
- "hr-HR": GE,
- "hu-HU": KE,
- "it-IT": qE,
- "ja-JP": JE,
- "ko-KR": YE,
- "lt-LT": XE,
- "lv-LV": ZE,
- "nb-NO": QE,
- "nl-NL": $E,
- "pl-PL": eD,
- "pt-BR": tD,
- "pt-PT": nD,
- "ro-RO": rD,
- "ru-RU": iD,
- "sk-SK": aD,
- "sl-SI": oD,
- "sr-SP": sD,
- "sv-SE": cD,
- "tr-TR": lD,
- "uk-UA": uD,
- "zh-CN": dD,
- "zh-TW": fD
+var fD = {};
+fD = {
+ "ar-AE": ME,
+ "bg-BG": NE,
+ "cs-CZ": PE,
+ "da-DK": FE,
+ "de-DE": IE,
+ "el-GR": LE,
+ "en-US": RE,
+ "es-ES": zE,
+ "et-EE": BE,
+ "fi-FI": VE,
+ "fr-FR": HE,
+ "he-IL": UE,
+ "hr-HR": WE,
+ "hu-HU": GE,
+ "it-IT": KE,
+ "ja-JP": qE,
+ "ko-KR": JE,
+ "lt-LT": YE,
+ "lv-LV": XE,
+ "nb-NO": ZE,
+ "nl-NL": QE,
+ "pl-PL": $E,
+ "pt-BR": eD,
+ "pt-PT": tD,
+ "ro-RO": nD,
+ "ru-RU": rD,
+ "sk-SK": iD,
+ "sl-SI": aD,
+ "sr-SP": oD,
+ "sv-SE": sD,
+ "tr-TR": cD,
+ "uk-UA": lD,
+ "zh-CN": uD,
+ "zh-TW": dD
};
// node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var use = 500;
-function mD(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = use, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = oT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = dT({
+var dse = 500;
+function pD(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = dse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = aT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = uT({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -25952,12 +25952,12 @@ function mD(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), wS(e.target).activeElement !== e.target && CS(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), TS(e.target).activeElement !== e.target && wS(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 = TS(e.target);
+ let t = ES(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -25972,11 +25972,11 @@ function mD(e) {
});
}
});
- return { longPressProps: q(f, KT(a && !t ? s : void 0)) };
+ return { longPressProps: q(f, GT(a && !t ? s : void 0)) };
}
// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function dse(e) {
- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = mD({
+function fse(e) {
+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = pD({
onLongPressStart() {
n.current = !1;
},
@@ -25988,7 +25988,7 @@ function dse(e) {
});
}
});
- return t ? { contextMenuProps: q(XS() ? r : {}, {
+ return t ? { contextMenuProps: q(ZS() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -25999,7 +25999,7 @@ function dse(e) {
});
},
onKeyDown(e) {
- if (JS() && e.ctrlKey && e.key === "Enter") {
+ if (YS() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -26018,13 +26018,13 @@ function dse(e) {
}) } : { contextMenuProps: {} };
}
// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var hD = /* @__PURE__ */ new WeakMap();
-function fse(e) {
+var mD = /* @__PURE__ */ new WeakMap();
+function pse(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, F.useEffect)(() => !n || r === null ? void 0 : OS(NS(t.current), "scroll", (e) => {
+ (0, F.useEffect)(() => !n || r === null ? void 0 : kS(PS(t.current), "scroll", (e) => {
let n = K(e);
- if (!t.current || n instanceof Node && !jS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || hD.get(t.current);
+ if (!t.current || n instanceof Node && !MS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || mD.get(t.current);
i && i();
}, !0), [
n,
@@ -26033,14 +26033,14 @@ function fse(e) {
]);
}
// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function pse(e, t, n) {
+function mse(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, F.useEffect)(() => {
- n && n.current && hD.set(n.current, t.close);
+ n && n.current && mD.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = qC();
+ let o = KC();
return {
triggerProps: {
"aria-haspopup": a,
@@ -26052,14 +26052,14 @@ function pse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function mse(e) {
+function hse(e) {
return e && e.__esModule ? e.default : e;
}
-function gD(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = qC(), { triggerProps: s, overlayProps: c } = pse({ type: r }, t, n), l = (e, n, r = "first") => {
+function hD(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = KC(), { triggerProps: s, overlayProps: c } = mse({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = rw({
+ }, { keyboardProps: u } = nw({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -26071,7 +26071,7 @@ function gD(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Yw(mse(pD), "@react-aria/menu"), { longPressProps: f } = mD({
+ }), d = Jw(hse(fD), "@react-aria/menu"), { longPressProps: f } = pD({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -26083,14 +26083,14 @@ function gD(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (CS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (wS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (CS(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (wS(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = dse({ onContextMenu(e) {
+ let { contextMenuProps: m } = fse({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -26134,8 +26134,8 @@ function gD(e, t, n) {
};
}
// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var _D = 1e3;
-function vD(e) {
+var gD = 1e3;
+function _D(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({
search: "",
timeout: void 0
@@ -26154,12 +26154,12 @@ function vD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, _D);
+ }, gD);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = hse(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !jS(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = gse(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !MS(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -26170,32 +26170,32 @@ function vD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, _D);
+ }, gD);
}
} : void 0
} };
}
-function hse(e) {
+function gse(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function yD(e, t) {
+function vD(e, t) {
let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);
- BS(() => (n.current = !0, () => {
+ VS(() => (n.current = !0, () => {
n.current = !1;
- }), []), BS(() => {
+ }), []), VS(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function bD(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Uw(), _ = tC(), v = (e, n, i) => {
+function yD(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 } = Hw(), _ = nC(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !OE(e)) {
+ if (t.isLink(n) && m === "selection" && l && !DE(e)) {
(0, It.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = kE(r, n), o = t.getItemProps(n);
+ let a = OE(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -26207,7 +26207,7 @@ function bD(e) {
t.extendSelection(n);
return;
}
- if (l && !OE(e)) {
+ if (l && !DE(e)) {
t.replaceSelection(n);
return;
}
@@ -26234,9 +26234,9 @@ function bD(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Nw(e));
+ let r = n.getFirstKey(t.focusedKey, Mw(e));
if (t.setFocusedKey(r), r != null) {
- if (Nw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Mw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26268,9 +26268,9 @@ function bD(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Nw(e));
+ let r = n.getLastKey(t.focusedKey, Mw(e));
if (t.setFocusedKey(r), r != null) {
- if (Nw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Mw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26301,12 +26301,12 @@ function bD(e) {
else return !1;
}, k = () => {
if (!f && r.current) {
- let e = NT(r.current, { tabbable: !0 }), t, n;
+ let e = MT(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = MS();
- t && (!PS(t) || i && !RS(i)) && CS(t);
+ let i = NS();
+ t && (!FS(t) || i && !zS(i)) && wS(t);
}
return {
shouldContinuePropagation: !0,
@@ -26316,11 +26316,11 @@ function bD(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [JS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [YS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [JS() ? e + "+Alt" : e + "+Control"]: t,
+ [YS() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = rw({
+ }), { keyboardProps: M } = nw({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -26330,7 +26330,7 @@ function bD(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: ee } = rw({ shortcuts: {
+ }), { keyboardProps: ee } = nw({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -26341,7 +26341,7 @@ function bD(e) {
top: 0,
left: 0
});
- Iw(p, "scroll", () => {
+ Fw(p, "scroll", () => {
N.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -26349,11 +26349,11 @@ function bD(e) {
});
let te = (e) => {
if (t.isFocused) {
- jS(e.currentTarget, K(e)) || t.setFocused(!1);
+ MS(e.currentTarget, K(e)) || t.setFocused(!1);
return;
}
- if (!jS(e.currentTarget, K(e))) return;
- let i = jC();
+ if (!MS(e.currentTarget, K(e))) return;
+ let i = AC();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -26364,27 +26364,27 @@ function bD(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);
if (t.focusedKey != null && p.current) {
- let e = kE(r, t.focusedKey);
- e instanceof HTMLElement && (!PS(e) && !d && CS(e), (i === "keyboard" || h && i === "virtual") && WT(e, { containingElement: r.current }));
+ let e = OE(r, t.focusedKey);
+ e instanceof HTMLElement && (!FS(e) && !d && wS(e), (i === "keyboard" || h && i === "virtual") && UT(e, { containingElement: r.current }));
}
}, P = (e) => {
- jS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ MS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, ne = (0, F.useRef)(!1);
- Iw(r, $ae, d ? (e) => {
+ Fw(r, eoe, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let re = n.getFirstKey?.() ?? null;
- yD(() => {
+ vD(() => {
if (ne.current) {
if (re == null) {
- let e = MS();
- Sw(r.current), Cw(e, null), t.collection.size > 0 && (ne.current = !1);
+ let e = NS();
+ xw(r.current), Sw(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(re), ne.current = !1;
}
- }, [re, t.collection.size]), yD(() => {
+ }, [re, t.collection.size]), vD(() => {
t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), Iw(r, Qae, d ? (e) => {
+ }, [t.focusedKey]), Fw(r, $ae, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);
@@ -26399,22 +26399,22 @@ function bD(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && HC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && VC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);
}
});
let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = jC(), n = kE(r, t.focusedKey);
+ let e = AC(), n = OE(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (UT(p.current, n), e !== "virtual" && WT(n, { containingElement: r.current }));
+ p.current && (HT(p.current, n), e !== "virtual" && UT(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && HC(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && VC(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, F.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), Iw(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Fw(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
@@ -26424,27 +26424,27 @@ function bD(e) {
onMouseDown(e) {
p.current === K(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = vD({
+ }, { typeSelectProps: ce } = _D({
keyboardDelegate: n,
selectionManager: t
});
u || (se = q(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = cse(t.collection);
+ let ue = lse(t.collection);
return { collectionProps: q(se, {
tabIndex: le,
"data-collection": ue
}) };
}
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function xD(e, t) {
+function bD(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function SD(e) {
- return CD(e, 0);
+function xD(e) {
+ return SD(e, 0);
}
-function CD(e, t) {
+function SD(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -26452,106 +26452,106 @@ function CD(e, t) {
n++;
}
}
-function wD(e) {
+function CD(e) {
let t;
for (let n of e) t = n;
return t;
}
-function TD(e, t, n) {
+function wD(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...ED(e, t), t], i = [...ED(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...TD(e, t), t], i = [...TD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function ED(e, t) {
+function TD(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
// node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var DD = /* @__PURE__ */ new WeakMap();
-function OD(e) {
- let t = DD.get(e);
+var ED = /* @__PURE__ */ new WeakMap();
+function DD(e) {
+ let t = ED.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(xD(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(bD(i, e)) : i.type === "item" && n++;
};
- return r(e), DD.set(e, n), n;
+ return r(e), ED.set(e, n), n;
}
// node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var kD = /* @__PURE__ */ new Map();
-function AD(e) {
- let { locale: t } = Uw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (kD.has(n)) return kD.get(n);
+var OD = /* @__PURE__ */ new Map();
+function kD(e) {
+ let { locale: t } = Hw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (OD.has(n)) return OD.get(n);
let r = new Intl.Collator(t, e);
- return kD.set(n, r), r;
+ return OD.set(n, r), r;
}
// node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var gse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, F.useRef)(!1), i = (0, F.useContext)(aT), a = q(i || {}, {
+var _se = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(iT), a = q(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = iw(n || i?.ref), aw(i, a.ref), (0, F.useEffect)(() => {
+ return a.ref = rw(n || i?.ref), iw(i, a.ref), (0, F.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ F.createElement(aT.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ F.createElement(iT.Provider, { value: a }, e);
});
-function _se({ children: e }) {
+function vse({ children: e }) {
let t = (0, F.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ F.createElement(aT.Provider, { value: t }, e);
+ return /*#__PURE__*/ F.createElement(iT.Provider, { value: t }, e);
}
// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var jD = /*#__PURE__*/ (0, F.createContext)({});
-function MD(e) {
- let { getContainer: t } = e, { getContainer: n } = ND();
- return /*#__PURE__*/ F.createElement(jD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var AD = /*#__PURE__*/ (0, F.createContext)({});
+function jD(e) {
+ let { getContainer: t } = e, { getContainer: n } = MD();
+ return /*#__PURE__*/ F.createElement(AD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function ND() {
- return (0, F.useContext)(jD) ?? {};
+function MD() {
+ return (0, F.useContext)(AD) ?? {};
}
// node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var PD = /*#__PURE__*/ F.createContext(null);
-function FD(e) {
- let t = hC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
+var ND = /*#__PURE__*/ F.createContext(null);
+function PD(e) {
+ let t = mC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = ND();
+ }), [i, a]), { getContainer: s } = MD();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(xT, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(bT, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ F.createElement(PD.Provider, { value: o }, /*#__PURE__*/ F.createElement(_se, null, /*#__PURE__*/ F.createElement(ow.Provider, { value: null }, c))), /*#__PURE__*/ It.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ F.createElement(ND.Provider, { value: o }, /*#__PURE__*/ F.createElement(vse, null, /*#__PURE__*/ F.createElement(aw.Provider, { value: null }, c))), /*#__PURE__*/ It.createPortal(c, n);
}
-function ID() {
- let e = (0, F.useContext)(PD)?.setContain;
- BS(() => {
+function FD() {
+ let e = (0, F.useContext)(ND)?.setContain;
+ VS(() => {
e?.(!0);
}, [e]);
}
// node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function vse(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = JC();
+function yse(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = qC();
i = e["aria-label"] ? void 0 : i;
- let a = JC();
+ let a = qC();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, F.useRef)(!1);
(0, F.useEffect)(() => {
- if (!r && t.current && !PS(t.current)) {
- HC(t.current);
+ if (!r && t.current && !FS(t.current)) {
+ VC(t.current);
let e = setTimeout(() => {
- (MS() === t.current || MS() === document.body) && (o.current = !0, t.current && (t.current.blur(), HC(t.current)), o.current = !1);
+ (NS() === t.current || NS() === document.body) && (o.current = !0, t.current && (t.current.blur(), VC(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), ID(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
+ }, [t, r]), FD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...Zw(e, { labelable: !0 }),
+ ...Xw(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -26565,23 +26565,23 @@ function vse(e, t) {
};
}
// node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function LD(e = {}) {
+function ID(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({
isFocused: !1,
- isFocusVisible: t || AC()
+ isFocusVisible: t || kC()
}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = AC(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = kC(), o(e), l();
}, [l]);
- FC((e) => {
+ PC((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = $C({
+ let { focusProps: d } = QC({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = cE({
+ }), { focusWithinProps: f } = sE({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -26592,41 +26592,41 @@ function LD(e = {}) {
};
}
// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function yse(e = {}) {
- let { locale: t } = Uw();
+function bse(e = {}) {
+ let { locale: t } = Hw();
return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/interactions/useHover.mjs
-var RD = !1, zD = 0;
-function bse() {
- RD = !0, setTimeout(() => {
- RD = !1;
+var LD = !1, RD = 0;
+function xse() {
+ LD = !0, setTimeout(() => {
+ LD = !1;
}, 500);
}
-function BD(e) {
- e.pointerType === "touch" && bse();
+function zD(e) {
+ e.pointerType === "touch" && xse();
}
-function xse() {
- let e = wS(null);
- if (e !== void 0) return zD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", BD), zD++, () => {
- zD--, !(zD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", BD);
+function Sse() {
+ let e = TS(null);
+ if (e !== void 0) return RD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", zD), RD++, () => {
+ RD--, !(RD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", zD);
};
}
-function VD(e) {
+function BD(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, F.useEffect)(xse, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = oT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
+ (0, F.useEffect)(Sse, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = aT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !jS(e.currentTarget, K(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !MS(e.currentTarget, K(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(wS(K(e)), "pointerover", (e) => {
- s.isHovered && s.target && !jS(s.target, K(e)) && a(e, e.pointerType);
+ s.target = l, c(TS(K(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !MS(s.target, K(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -26641,9 +26641,9 @@ function VD(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- RD && t.pointerType === "mouse" || e(t, t.pointerType);
+ LD && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && jS(e.currentTarget, K(e)) && a(e, e.pointerType);
+ !i && MS(e.currentTarget, K(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -26665,22 +26665,22 @@ function VD(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Sse(e) {
+function Cse(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Fw((e) => {
- n && HD(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Fw((e) => {
+ }), o = Pw((e) => {
+ n && VD(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Pw((e) => {
n && n(e);
});
(0, F.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = wS(n);
+ let n = t.current, i = TS(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && HD(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && VD(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -26688,28 +26688,28 @@ function Sse(e) {
}
}, [t, r]);
}
-function HD(e, t) {
+function VD(e, t) {
if (e.button > 0) return !1;
let n = K(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !jS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !MS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
// node_modules/react-aria/dist/private/gridlist/utils.mjs
-var UD = /* @__PURE__ */ new WeakMap();
-function WD(e, t) {
- let { id: n } = UD.get(e) ?? {};
+var HD = /* @__PURE__ */ new WeakMap();
+function UD(e, t) {
+ let { id: n } = HD.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Cse(t)}`;
+ return `${n}-${wse(t)}`;
}
-function Cse(e) {
+function wse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var GD = {};
-GD = {
+var WD = {};
+WD = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -26722,8 +26722,8 @@ GD = {
selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`
};
// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var KD = {};
-KD = {
+var GD = {};
+GD = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -26736,8 +26736,8 @@ KD = {
selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`
};
// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var qD = {};
-qD = {
+var KD = {};
+KD = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -26750,8 +26750,8 @@ qD = {
selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var JD = {};
-JD = {
+var qD = {};
+qD = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -26764,8 +26764,8 @@ JD = {
selectedItem: (e) => `${e.item} valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var YD = {};
-YD = {
+var JD = {};
+JD = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -26778,8 +26778,8 @@ YD = {
selectedItem: (e) => `${e.item} ausgew\xe4hlt.`
};
// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var XD = {};
-XD = {
+var YD = {};
+YD = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -26792,8 +26792,8 @@ XD = {
selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var ZD = {};
-ZD = {
+var XD = {};
+XD = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -26806,8 +26806,8 @@ ZD = {
longPressToSelect: "Long press to enter selection mode."
};
// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var QD = {};
-QD = {
+var ZD = {};
+ZD = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -26820,8 +26820,8 @@ QD = {
selectedItem: (e) => `${e.item} seleccionado.`
};
// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var $D = {};
-$D = {
+var QD = {};
+QD = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -26834,8 +26834,8 @@ $D = {
selectedItem: (e) => `${e.item} valitud.`
};
// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var eO = {};
-eO = {
+var $D = {};
+$D = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -26848,8 +26848,8 @@ eO = {
selectedItem: (e) => `${e.item} valittu.`
};
// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var tO = {};
-tO = {
+var eO = {};
+eO = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -26862,8 +26862,8 @@ tO = {
selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`
};
// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var nO = {};
-nO = {
+var tO = {};
+tO = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -26876,8 +26876,8 @@ nO = {
selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
};
// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var rO = {};
-rO = {
+var nO = {};
+nO = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -26890,8 +26890,8 @@ rO = {
selectedItem: (e) => `Stavka ${e.item} je odabrana.`
};
// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var iO = {};
-iO = {
+var rO = {};
+rO = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -26904,8 +26904,8 @@ iO = {
selectedItem: (e) => `${e.item} kijel\xf6lve.`
};
// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var aO = {};
-aO = {
+var iO = {};
+iO = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -26918,8 +26918,8 @@ aO = {
selectedItem: (e) => `${e.item} selezionato.`
};
// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var oO = {};
-oO = {
+var aO = {};
+aO = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -26932,8 +26932,8 @@ oO = {
selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var sO = {};
-sO = {
+var oO = {};
+oO = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -26946,8 +26946,8 @@ sO = {
selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`
};
// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var cO = {};
-cO = {
+var sO = {};
+sO = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -26960,8 +26960,8 @@ cO = {
selectedItem: (e) => `Pasirinkta: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var lO = {};
-lO = {
+var cO = {};
+cO = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -26974,8 +26974,8 @@ lO = {
selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var uO = {};
-uO = {
+var lO = {};
+lO = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -26988,8 +26988,8 @@ uO = {
selectedItem: (e) => `${e.item} er valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var dO = {};
-dO = {
+var uO = {};
+uO = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -27002,8 +27002,8 @@ dO = {
selectedItem: (e) => `${e.item} geselecteerd.`
};
// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var fO = {};
-fO = {
+var dO = {};
+dO = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -27016,8 +27016,8 @@ fO = {
selectedItem: (e) => `Zaznaczono ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var pO = {};
-pO = {
+var fO = {};
+fO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -27030,8 +27030,8 @@ pO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var mO = {};
-mO = {
+var pO = {};
+pO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -27044,8 +27044,8 @@ mO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var hO = {};
-hO = {
+var mO = {};
+mO = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -27058,8 +27058,8 @@ hO = {
selectedItem: (e) => `${e.item} selectat.`
};
// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var gO = {};
-gO = {
+var hO = {};
+hO = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -27072,8 +27072,8 @@ gO = {
selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var _O = {};
-_O = {
+var gO = {};
+gO = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -27086,8 +27086,8 @@ _O = {
selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var vO = {};
-vO = {
+var _O = {};
+_O = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -27100,8 +27100,8 @@ vO = {
selectedItem: (e) => `Element ${e.item} je izbran.`
};
// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var yO = {};
-yO = {
+var vO = {};
+vO = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -27114,8 +27114,8 @@ yO = {
selectedItem: (e) => `${e.item} je izabrano.`
};
// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var bO = {};
-bO = {
+var yO = {};
+yO = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -27128,8 +27128,8 @@ bO = {
selectedItem: (e) => `${e.item} markerat.`
};
// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var xO = {};
-xO = {
+var bO = {};
+bO = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -27142,8 +27142,8 @@ xO = {
selectedItem: (e) => `${e.item} se\xe7ildi.`
};
// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var SO = {};
-SO = {
+var xO = {};
+xO = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -27156,8 +27156,8 @@ SO = {
selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var CO = {};
-CO = {
+var SO = {};
+SO = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -27170,8 +27170,8 @@ CO = {
selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var wO = {};
-wO = {
+var CO = {};
+CO = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -27184,54 +27184,54 @@ wO = {
selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`
};
// node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var TO = {};
-TO = {
- "ar-AE": GD,
- "bg-BG": KD,
- "cs-CZ": qD,
- "da-DK": JD,
- "de-DE": YD,
- "el-GR": XD,
- "en-US": ZD,
- "es-ES": QD,
- "et-EE": $D,
- "fi-FI": eO,
- "fr-FR": tO,
- "he-IL": nO,
- "hr-HR": rO,
- "hu-HU": iO,
- "it-IT": aO,
- "ja-JP": oO,
- "ko-KR": sO,
- "lt-LT": cO,
- "lv-LV": lO,
- "nb-NO": uO,
- "nl-NL": dO,
- "pl-PL": fO,
- "pt-BR": pO,
- "pt-PT": mO,
- "ro-RO": hO,
- "ru-RU": gO,
- "sk-SK": _O,
- "sl-SI": vO,
- "sr-SP": yO,
- "sv-SE": bO,
- "tr-TR": xO,
- "uk-UA": SO,
- "zh-CN": CO,
- "zh-TW": wO
+var wO = {};
+wO = {
+ "ar-AE": WD,
+ "bg-BG": GD,
+ "cs-CZ": KD,
+ "da-DK": qD,
+ "de-DE": JD,
+ "el-GR": YD,
+ "en-US": XD,
+ "es-ES": ZD,
+ "et-EE": QD,
+ "fi-FI": $D,
+ "fr-FR": eO,
+ "he-IL": tO,
+ "hr-HR": nO,
+ "hu-HU": rO,
+ "it-IT": iO,
+ "ja-JP": aO,
+ "ko-KR": oO,
+ "lt-LT": sO,
+ "lv-LV": cO,
+ "nb-NO": lO,
+ "nl-NL": uO,
+ "pl-PL": dO,
+ "pt-BR": fO,
+ "pt-PT": pO,
+ "ro-RO": mO,
+ "ru-RU": hO,
+ "sk-SK": gO,
+ "sl-SI": _O,
+ "sr-SP": vO,
+ "sv-SE": yO,
+ "tr-TR": bO,
+ "uk-UA": xO,
+ "zh-CN": SO,
+ "zh-TW": CO
};
// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function wse(e) {
+function Tse(e) {
return e && e.__esModule ? e.default : e;
}
-function EO(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Yw(wse(TO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {
+function TO(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Jw(Tse(wO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = DO(i, a.current), o = DO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = EO(i, a.current), o = EO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -27251,7 +27251,7 @@ function EO(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && RT(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && LT(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -27262,7 +27262,7 @@ function EO(e, t) {
n,
r
]);
- zT(() => {
+ RT(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -27270,20 +27270,20 @@ function EO(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function DO(e, t) {
+function EO(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
return n;
}
// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function OO(e, t) {
+function DO(e, t) {
let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);
- return BS(() => {
+ return VS(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = NT(e.current, { tabbable: !0 });
+ let t = MT(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -27301,12 +27301,12 @@ function OO(e, t) {
}), !n && r;
}
// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Tse(e) {
+function Ese(e) {
return e && e.__esModule ? e.default : e;
}
-function kO(e) {
- let t = Yw(Tse(TO), "@react-aria/grid"), n = NC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return KT((0, F.useMemo)(() => {
+function OO(e) {
+ let t = Jw(Ese(wO), "@react-aria/grid"), n = MC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return GT((0, F.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -27318,11 +27318,11 @@ function kO(e) {
]));
}
// node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function AO(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = AD({
+function kO(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = kD({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new ME({
+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new jE({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -27339,7 +27339,7 @@ function AO(e) {
c,
l,
s
- ]), { collectionProps: d } = bD({
+ ]), { collectionProps: d } = yD({
...e,
ref: i,
selectionManager: t,
@@ -27348,10 +27348,10 @@ function AO(e) {
return { listProps: d };
}
// node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function Ese(e, t, n) {
+function Dse(e, t, n) {
let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let { listProps: f } = AO({
+ let { listProps: f } = kO({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -27366,30 +27366,30 @@ function Ese(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = qC(e.id);
- UD.set(t, {
+ }), p = KC(e.id);
+ HD.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = kO({
+ let m = OO({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = OO(n, { isDisabled: t.collection.size !== 0 }), g = q(Zw(e, { labelable: !0 }), {
+ }), h = DO(n, { isDisabled: t.collection.size !== 0 }), g = q(Xw(e, { labelable: !0 }), {
role: "grid",
id: p,
"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0
}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);
- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), EO({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), TO({}, t), { gridProps: g };
}
// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function jO(e) {
- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = tC();
- t = qC(t);
+function AO(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 = nC();
+ t = KC(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && OE(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && DE(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -27400,11 +27400,11 @@ function jO(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Nw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Mw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, F.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Sw(i.current) : s ? s() : MS() !== i.current && i.current && HC(i.current));
+ r === n.focusedKey && n.isFocused && (o ? xw(i.current) : s ? s() : NS() !== i.current && i.current && VC(i.current));
}, [
i,
r,
@@ -27432,22 +27432,22 @@ function jO(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || NO(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || MO(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !MO(e.key)) return;
+ if (e.pointerType === "keyboard" && !jO(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || NO(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || MO(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && MO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && jO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = lse(n.collection);
+ let A = use(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = q(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -27462,10 +27462,10 @@ function jO(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = UC(k[e], D[e]));
- let { pressProps: j, isPressed: M } = dT(k), ee = x ? (e) => {
+ ]) D[e] && (k[e] = HC(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = uT(k), ee = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: N } = mD({
+ } : void 0, { longPressProps: N } = pD({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -27473,7 +27473,7 @@ function jO(e) {
}), te = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, P = d !== "none" && n.isLink(r) ? (e) => {
- nC.isOpening || e.preventDefault();
+ rC.isOpening || e.preventDefault();
} : void 0, ne = q(m, v || b || o && !c ? j : {}, w ? N : {}, {
onDoubleClick: ee,
onDragStartCapture: te,
@@ -27486,7 +27486,7 @@ function jO(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return RS(e);
+ return zS(e);
}, I = ne.onPointerDown;
ne.onPointerDown = (e) => {
let t = K(e);
@@ -27506,14 +27506,14 @@ function jO(e) {
hasAction: S
};
}
-function MO(e) {
+function jO(e) {
return e === "Enter";
}
-function NO(e) {
+function MO(e) {
return e === " ";
}
// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var PO = {
+var NO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -27523,18 +27523,18 @@ var PO = {
rtl: "ArrowRight"
}
};
-function Dse(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Uw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = UD.get(t), f = JC(), p = (0, F.useRef)(null), m = () => {
+function Ose(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Hw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = HD.get(t), f = qC(), p = (0, F.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (PS(n.current) && n.current !== MS(wS(n.current))) return;
- let e = NT(n.current, { tabbable: !0 }).firstChild();
+ if (FS(n.current) && n.current !== NS(TS(n.current))) return;
+ let e = MT(n.current, { tabbable: !0 }).firstChild();
if (e) {
- HC(e), WT(e, { containingElement: VT(e) });
+ VC(e), UT(e, { containingElement: BT(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !PS(n.current)) && HC(n.current);
+ (p.current != null && r.key !== p.current || !FS(n.current)) && VC(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -27544,7 +27544,7 @@ function Dse(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = Ose(e, t.collection);
+ let n = kse(e, t.collection);
i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;
}
} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;
@@ -27555,75 +27555,75 @@ function Dse(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = jO({
+ let { itemProps: v, ...y } = AO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? UC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? HC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = MS(wS(n.current));
- if (!jS(e.currentTarget, K(e)) || !n.current || !i) return;
- let a = NT(n.current);
- if (a.currentNode = i, !FO(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = NS(TS(n.current));
+ if (!MS(e.currentTarget, K(e)) || !n.current || !i) return;
+ let a = MT(n.current);
+ if (a.currentNode = i, !PO(e, t, r, g, s, i, n.current, o)) switch (e.key) {
case "ArrowLeft":
if (u === "arrow") {
let t = s === "rtl" ? a.nextNode() : a.previousNode();
- if (t) e.preventDefault(), e.stopPropagation(), HC(t), WT(t, { containingElement: VT(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") HC(n.current), WT(n.current, { containingElement: VT(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), VC(t), UT(t, { containingElement: BT(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") VC(n.current), UT(n.current, { containingElement: BT(n.current) });
else {
a.currentNode = n.current;
- let e = IO(a);
- e && (HC(e), WT(e, { containingElement: VT(n.current) }));
+ let e = FO(a);
+ e && (VC(e), UT(e, { containingElement: BT(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), HC(t), WT(t, { containingElement: VT(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") HC(n.current), WT(n.current, { containingElement: VT(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), VC(t), UT(t, { containingElement: BT(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") VC(n.current), UT(n.current, { containingElement: BT(n.current) });
else {
a.currentNode = n.current;
- let e = IO(a);
- e && (HC(e), WT(e, { containingElement: VT(n.current) }));
+ let e = FO(a);
+ e && (VC(e), UT(e, { containingElement: BT(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && jS(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && MS(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
}, x = (e) => {
- p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && jS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && MS(wS(n.current)) === n.current && m();
- }) : AC() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && MS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && NS(TS(n.current)) === n.current && m();
+ }) : kC() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = MS(wS(n.current));
- if (jS(e.currentTarget, K(e)) && n.current && i) {
+ let i = NS(TS(n.current));
+ if (MS(e.currentTarget, K(e)) && n.current && i) {
if (u === "tab") {
if (K(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (FO(e, t, r, g, s, i, n.current, o)) return;
+ if (PO(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = NT(n.current, { tabbable: !0 });
+ let t = MT(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = rC(r.props), w = q(v, y.hasAction ? C : {}, {
+ }, C = iC(r.props), w = q(v, y.hasAction ? C : {}, {
role: "row",
onKeyDownCapture: u === "arrow" || o ? b : void 0,
onFocus: x,
"aria-label": r["aria-label"] || r.textValue || void 0,
"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,
"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,
- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${WD(t, r.key)} ${f}` : void 0,
- id: WD(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${UD(t, r.key)} ${f}` : void 0,
+ id: UD(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -27644,66 +27644,66 @@ function Dse(e, t, n) {
...y
};
}
-function FO(e, t, n, r, i, a, o, s) {
+function PO(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === PO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === PO.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === NO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === NO.collapse[i] && t.selectionManager.focusedKey === n.key) {
if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;
}
return !1;
}
-function IO(e) {
+function FO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function Ose(e, t) {
+function kse(e, t) {
let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];
for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);
return a;
}
// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function kse(e) {
+function Ase(e) {
return e && e.__esModule ? e.default : e;
}
-function LO(e, t) {
- let { key: n } = e, r = t.selectionManager, i = qC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function IO(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = KC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Yw(kse(TO), "@react-aria/grid").format("select"),
+ "aria-label": Jw(Ase(wO), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
} };
}
// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Ase(e, t) {
- let { key: n } = e, { checkboxProps: r } = LO(e, t);
+function jse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = IO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${WD(t, n)}`
+ "aria-labelledby": `${r.id} ${UD(t, n)}`
} };
}
// node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function jse(e, t, n) {
- let r = Zw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Mse(e, t, n) {
+ let r = Xw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = AO({
+ let { listProps: s } = kO({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = cE({
+ }), { focusWithinProps: c } = sE({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = qC(e.id);
- DE.set(t, {
+ }), l = KC(e.id);
+ EE.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -27713,7 +27713,7 @@ function jse(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = oE({
+ let { labelProps: u, fieldProps: d } = aE({
...e,
id: l,
labelElementType: "span"
@@ -27728,8 +27728,8 @@ function jse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Mse(e) {
- let { heading: t, "aria-label": n } = e, r = qC();
+function Nse(e) {
+ let { heading: t, "aria-label": n } = e, r = KC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27747,8 +27747,8 @@ function Mse(e) {
};
}
// node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Nse(e, t, n) {
- let { key: r } = e, i = DE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = JC(), f = JC(), p = {
+function Pse(e, t, n) {
+ let { key: r } = e, i = EE.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 = qC(), f = qC(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -27758,9 +27758,9 @@ function Nse(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = OD(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = DD(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = sse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = jO({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = cse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = AO({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -27769,18 +27769,18 @@ function Nse(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? UC(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? HC(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = VD({
+ }), { hoverProps: S } = BD({
isDisabled: a || !c,
onHoverStart() {
- AC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ kC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Zw(m?.props);
+ }), C = Xw(m?.props);
delete C.id;
- let w = iC(m?.props);
+ let w = aC(m?.props);
return {
optionProps: {
...p,
@@ -27790,7 +27790,7 @@ function Nse(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && AC(),
+ isFocusVisible: y && t.selectionManager.isFocused && kC(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -27799,12 +27799,12 @@ function Nse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/utils.mjs
-var RO = /* @__PURE__ */ new WeakMap();
+var LO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Pse(e, t, n) {
+function Fse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Zw(e, { labelable: !0 }), { listProps: c } = AO({
+ let s = Xw(e, { labelable: !0 }), { listProps: c } = kO({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -27813,7 +27813,7 @@ function Pse(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return RO.set(t, {
+ return LO.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -27829,15 +27829,15 @@ function Pse(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Fse(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = RO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = tC(), M = () => {
+function Ise(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = LO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = nC(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, ee = "menuitem";
w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));
- let N = JC(), te = JC(), P = JC(), ne = {
+ let N = qC(), te = qC(), P = qC(), ne = {
id: r,
"aria-disabled": E || void 0,
role: ee,
@@ -27854,17 +27854,17 @@ function Fse(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {
let e = Number(k?.index);
- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = OD(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = DD(t.collection);
}
let re = (0, F.useRef)(!1), I = (e) => {
f?.(e), re.current = e;
}, ie = (0, F.useRef)(null), ae = (e) => {
e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);
}, oe = (e) => {
- m?.(e), M(), bae(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), yae(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = jO({
+ }, { itemProps: se, isFocused: ce } = AO({
id: r,
selectionManager: C,
key: i,
@@ -27873,27 +27873,27 @@ function Fse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = dT({
+ }), { pressProps: le, isPressed: ue } = uT({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: I,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: de } = VD({
+ }), { hoverProps: de } = BD({
isDisabled: E,
onHoverStart(e) {
- !AC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !kC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: fe } = rw({
+ }), { keyboardProps: fe } = nw({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, K(e).click(), MC("keyboard");
+ }, K(e).click(), jC("keyboard");
},
Enter: (e) => {
ie.current = {
@@ -27901,8 +27901,8 @@ function Fse(e, t, n) {
key: "Enter"
};
let t = K(e);
- if (t.tagName !== "A") t.click(), MC("keyboard");
- else return MC("keyboard"), {
+ if (t.tagName !== "A") t.click(), jC("keyboard");
+ else return jC("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -27910,13 +27910,13 @@ function Fse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: pe } = sw({
+ }), { focusableProps: pe } = ow({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), me = Zw(k?.props);
+ }, n), me = Xw(k?.props);
delete me.id;
- let L = iC(k?.props);
+ let L = aC(k?.props);
return {
menuItemProps: {
...ne,
@@ -27931,15 +27931,15 @@ function Fse(e, t, n) {
descriptionProps: { id: te },
keyboardShortcutProps: { id: P },
isFocused: ce,
- isFocusVisible: ce && C.isFocused && AC() && !T,
+ isFocusVisible: ce && C.isFocused && kC() && !T,
isSelected: D,
isPressed: ue,
isDisabled: E
};
}
// node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Ise(e) {
- let { heading: t, "aria-label": n } = e, r = qC();
+function Lse(e) {
+ let { heading: t, "aria-label": n } = e, r = KC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27954,15 +27954,15 @@ function Ise(e) {
};
}
// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Lse() {
+function Rse() {
return window.ResizeObserver !== void 0;
}
-function zO(e) {
- let { ref: t, box: n, onResize: r } = e, i = Fw(r);
+function RO(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Pw(r);
(0, F.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Lse()) {
+ if (Rse()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -27977,154 +27977,154 @@ function zO(e) {
}, [t, n]);
}
// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var BO = {};
-BO = { dismiss: "تجاهل" };
+var zO = {};
+zO = { dismiss: "تجاهل" };
// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var VO = {};
-VO = { dismiss: "Отхвърляне" };
+var BO = {};
+BO = { dismiss: "Отхвърляне" };
// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var HO = {};
-HO = { dismiss: "Odstranit" };
+var VO = {};
+VO = { dismiss: "Odstranit" };
// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var UO = {};
-UO = { dismiss: "Luk" };
+var HO = {};
+HO = { dismiss: "Luk" };
// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var WO = {};
-WO = { dismiss: "Schließen" };
+var UO = {};
+UO = { dismiss: "Schließen" };
// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var GO = {};
-GO = { dismiss: "Απόρριψη" };
+var WO = {};
+WO = { dismiss: "Απόρριψη" };
// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var KO = {};
-KO = { dismiss: "Dismiss" };
+var GO = {};
+GO = { dismiss: "Dismiss" };
// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var qO = {};
-qO = { dismiss: "Descartar" };
+var KO = {};
+KO = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var JO = {};
-JO = { dismiss: "Lõpeta" };
+var qO = {};
+qO = { dismiss: "Lõpeta" };
// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var YO = {};
-YO = { dismiss: "Hylkää" };
+var JO = {};
+JO = { dismiss: "Hylkää" };
// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var XO = {};
-XO = { dismiss: "Rejeter" };
+var YO = {};
+YO = { dismiss: "Rejeter" };
// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var ZO = {};
-ZO = { dismiss: "התעלם" };
+var XO = {};
+XO = { dismiss: "התעלם" };
// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var QO = {};
-QO = { dismiss: "Odbaci" };
+var ZO = {};
+ZO = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var $O = {};
-$O = { dismiss: "Elutasítás" };
+var QO = {};
+QO = { dismiss: "Elutasítás" };
// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var ek = {};
-ek = { dismiss: "Ignora" };
+var $O = {};
+$O = { dismiss: "Ignora" };
// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var tk = {};
-tk = { dismiss: "閉じる" };
+var ek = {};
+ek = { dismiss: "閉じる" };
// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var nk = {};
-nk = { dismiss: "무시" };
+var tk = {};
+tk = { dismiss: "무시" };
// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var rk = {};
-rk = { dismiss: "Atmesti" };
+var nk = {};
+nk = { dismiss: "Atmesti" };
// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var ik = {};
-ik = { dismiss: "Nerādīt" };
+var rk = {};
+rk = { dismiss: "Nerādīt" };
// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var ak = {};
-ak = { dismiss: "Lukk" };
+var ik = {};
+ik = { dismiss: "Lukk" };
// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var ok = {};
-ok = { dismiss: "Negeren" };
+var ak = {};
+ak = { dismiss: "Negeren" };
// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var sk = {};
-sk = { dismiss: "Zignoruj" };
+var ok = {};
+ok = { dismiss: "Zignoruj" };
// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var ck = {};
-ck = { dismiss: "Descartar" };
+var sk = {};
+sk = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var lk = {};
-lk = { dismiss: "Dispensar" };
+var ck = {};
+ck = { dismiss: "Dispensar" };
// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var uk = {};
-uk = { dismiss: "Revocare" };
+var lk = {};
+lk = { dismiss: "Revocare" };
// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var dk = {};
-dk = { dismiss: "Пропустить" };
+var uk = {};
+uk = { dismiss: "Пропустить" };
// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var fk = {};
-fk = { dismiss: "Zrušiť" };
+var dk = {};
+dk = { dismiss: "Zrušiť" };
// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var pk = {};
-pk = { dismiss: "Opusti" };
+var fk = {};
+fk = { dismiss: "Opusti" };
// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var mk = {};
-mk = { dismiss: "Odbaci" };
+var pk = {};
+pk = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var hk = {};
-hk = { dismiss: "Avvisa" };
+var mk = {};
+mk = { dismiss: "Avvisa" };
// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var gk = {};
-gk = { dismiss: "Kapat" };
+var hk = {};
+hk = { dismiss: "Kapat" };
// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var _k = {};
-_k = { dismiss: "Скасувати" };
+var gk = {};
+gk = { dismiss: "Скасувати" };
// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var vk = {};
-vk = { dismiss: "取消" };
+var _k = {};
+_k = { dismiss: "取消" };
// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var yk = {};
-yk = { dismiss: "關閉" };
+var vk = {};
+vk = { dismiss: "關閉" };
// node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var bk = {};
-bk = {
- "ar-AE": BO,
- "bg-BG": VO,
- "cs-CZ": HO,
- "da-DK": UO,
- "de-DE": WO,
- "el-GR": GO,
- "en-US": KO,
- "es-ES": qO,
- "et-EE": JO,
- "fi-FI": YO,
- "fr-FR": XO,
- "he-IL": ZO,
- "hr-HR": QO,
- "hu-HU": $O,
- "it-IT": ek,
- "ja-JP": tk,
- "ko-KR": nk,
- "lt-LT": rk,
- "lv-LV": ik,
- "nb-NO": ak,
- "nl-NL": ok,
- "pl-PL": sk,
- "pt-BR": ck,
- "pt-PT": lk,
- "ro-RO": uk,
- "ru-RU": dk,
- "sk-SK": fk,
- "sl-SI": pk,
- "sr-SP": mk,
- "sv-SE": hk,
- "tr-TR": gk,
- "uk-UA": _k,
- "zh-CN": vk,
- "zh-TW": yk
+var yk = {};
+yk = {
+ "ar-AE": zO,
+ "bg-BG": BO,
+ "cs-CZ": VO,
+ "da-DK": HO,
+ "de-DE": UO,
+ "el-GR": WO,
+ "en-US": GO,
+ "es-ES": KO,
+ "et-EE": qO,
+ "fi-FI": JO,
+ "fr-FR": YO,
+ "he-IL": XO,
+ "hr-HR": ZO,
+ "hu-HU": QO,
+ "it-IT": $O,
+ "ja-JP": ek,
+ "ko-KR": tk,
+ "lt-LT": nk,
+ "lv-LV": rk,
+ "nb-NO": ik,
+ "nl-NL": ak,
+ "pl-PL": ok,
+ "pt-BR": sk,
+ "pt-PT": ck,
+ "ro-RO": lk,
+ "ru-RU": uk,
+ "sk-SK": dk,
+ "sl-SI": fk,
+ "sr-SP": pk,
+ "sv-SE": mk,
+ "tr-TR": hk,
+ "uk-UA": gk,
+ "zh-CN": _k,
+ "zh-TW": vk
};
// node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Rse(e) {
+function zse(e) {
return e && e.__esModule ? e.default : e;
}
-function xk(e) {
- let { onDismiss: t, ...n } = e, r = Lw(n, Yw(Rse(bk), "@react-aria/overlays").format("dismiss")), i = () => {
+function bk(e) {
+ let { onDismiss: t, ...n } = e, r = Iw(n, Jw(zse(yk), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ F.createElement(yE, null, /*#__PURE__*/ F.createElement("button", {
+ return /*#__PURE__*/ F.createElement(vE, null, /*#__PURE__*/ F.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -28135,35 +28135,35 @@ function xk(e) {
}));
}
// node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Sk = [];
-function Ck(e, t) {
+var xk = [];
+function Sk(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
- if (i && !Sk.includes(t)) return Sk.push(t), () => {
- let e = Sk.indexOf(t);
- e >= 0 && Sk.splice(e, 1);
+ if (i && !xk.includes(t)) return xk.push(t), () => {
+ let e = xk.indexOf(t);
+ e >= 0 && xk.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Sk[Sk.length - 1] === t && n && n();
+ xk[xk.length - 1] === t && n && n();
}, u = (e) => {
- let n = Sk[Sk.length - 1];
+ let n = xk[xk.length - 1];
c.current = n, (!s || s(K(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(K(e))) && (Sk[Sk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = rw({ shortcuts: { Escape: () => {
+ (!s || s(K(e))) && (xk[xk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = nw({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Sse({
+ Cse({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = cE({
+ let { focusWithinProps: p } = sE({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Poe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !Foe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -28175,87 +28175,87 @@ function Ck(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var zse = 200, Bse = 50, Vse = 600, wk = /* @__PURE__ */ new WeakMap(), Tk = /* @__PURE__ */ new Set(), Ek = /* @__PURE__ */ new Set();
-function Hse(e, t) {
- let n = Pw();
- if (e !== n || t.aborted) for (let e of Ek) e(n), Ek.delete(e);
- if (!e && n && ZS() && !t.aborted) window.clearInterval(wk.get(window)), wk.set(window, Dk(zse));
+var Bse = 200, Vse = 50, Hse = 600, Ck = /* @__PURE__ */ new WeakMap(), wk = /* @__PURE__ */ new Set(), Tk = /* @__PURE__ */ new Set();
+function Use(e, t) {
+ let n = Nw();
+ if (e !== n || t.aborted) for (let e of Tk) e(n), Tk.delete(e);
+ if (!e && n && QS() && !t.aborted) window.clearInterval(Ck.get(window)), Ck.set(window, Ek(Bse));
else {
- if (e !== n || t.aborted) for (let e of Tk) e(n), Tk.delete(e);
- (Ek.size + Tk.size <= 0 || t.aborted) && (window.clearInterval(wk.get(window)), wk.delete(window));
+ if (e !== n || t.aborted) for (let e of wk) e(n), wk.delete(e);
+ (Tk.size + wk.size <= 0 || t.aborted) && (window.clearInterval(Ck.get(window)), Ck.delete(window));
}
}
-function Dk(e = Vse) {
- return window.setInterval(Hse, Bse, Pw(), AbortSignal.timeout(e));
+function Ek(e = Hse) {
+ return window.setInterval(Use, Vse, Nw(), AbortSignal.timeout(e));
}
-function Ok(e) {
- if (!jw()) return e(!1), () => {};
+function Dk(e) {
+ if (!Aw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Mw(document.hasFocus() ? MS() : null);
- if (Pw() === t || Pw() && !t) return e(t);
- Ek.add(e), wk.has(window) || wk.set(window, Dk());
+ let t = jw(document.hasFocus() ? NS() : null);
+ if (Nw() === t || Nw() && !t) return e(t);
+ Tk.add(e), Ck.has(window) || Ck.set(window, Ek());
});
});
return () => {
- window.cancelAnimationFrame(t), Ek.delete(e);
+ window.cancelAnimationFrame(t), Tk.delete(e);
};
}
-function Use(e) {
- if (!jw()) return e(!1), () => {};
+function Wse(e) {
+ if (!Aw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Mw(document.hasFocus() ? MS() : null);
- if (Pw() === t) return e(t);
- Tk.add(e), wk.has(window) || wk.set(window, Dk());
+ let t = jw(document.hasFocus() ? NS() : null);
+ if (Nw() === t) return e(t);
+ wk.add(e), Ck.has(window) || Ck.set(window, Ek());
});
});
return () => {
- window.cancelAnimationFrame(t), Tk.delete(e);
+ window.cancelAnimationFrame(t), wk.delete(e);
};
}
// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var kk = typeof document < "u" && window.visualViewport, Ak = 0, jk;
-function Mk(e = {}) {
+var Ok = typeof document < "u" && window.visualViewport, kk = 0, Ak;
+function jk(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- BS(() => {
- if (!t) return Ak++, Ak === 1 && (jk = XS() && ZS() ? Gse() : Wse(n)), () => {
- Ak--, Ak === 0 && jk();
+ VS(() => {
+ if (!t) return kk++, kk === 1 && (Ak = ZS() && QS() ? Kse() : Gse(n)), () => {
+ kk--, kk === 0 && Ak();
};
}, [t, n]);
}
-function Wse(e) {
+function Gse(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return UC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? kS(document.documentElement, "scrollbar-gutter", "stable") : kS(document.documentElement, "padding-right", `${t}px`)), kS(document.documentElement, "overflow", "hidden"), e && Pk(), e && jw() && Nk());
+ return HC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? AS(document.documentElement, "scrollbar-gutter", "stable") : AS(document.documentElement, "padding-right", `${t}px`)), AS(document.documentElement, "overflow", "hidden"), e && Nk(), e && Aw() && Mk());
}
-function Gse() {
- let e = kS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function Kse() {
+ let e = AS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = K(e);
- t = BT(r, !0) ? r : VT(r, !0), n = !1;
+ t = zT(r, !0) ? r : BT(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = iT();
+ }, i = document.createElement("style"), a = rT();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();
- }, s = Pk(), c = UC(OS(document, "touchstart", r, {
+ }, s = Nk(), c = HC(kS(document, "touchstart", r, {
passive: !1,
capture: !0
- }), OS(document, "touchmove", o, {
+ }), kS(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Nk());
+ }), Mk());
return () => {
e(), c(), i.remove(), s();
};
}
-function Nk() {
- return OS(document, "blur", (e) => {
+function Mk() {
+ return kS(document, "blur", (e) => {
let t = K(e), n = e.relatedTarget;
- n && Mw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && jw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Pk() {
+function Nk() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -28266,9 +28266,9 @@ function Pk() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- MS() === this && Kse(this);
+ NS() === this && qse(this);
};
- Ok((t) => t ? e() : Use(() => e()));
+ Dk((t) => t ? e() : Wse(() => e()));
}
}
}), () => {
@@ -28279,15 +28279,15 @@ function Pk() {
});
};
}
-function Kse(e) {
+function qse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = VT(n);
+ let e = BT(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- kk && (n = Math.min(n, kk.offsetTop + kk.height));
+ Ok && (n = Math.min(n, Ok.offsetTop + Ok.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -28299,19 +28299,19 @@ function Kse(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function qse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Ck({
+function Jse(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = Sk({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- Mk({
+ jk({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), ID();
+ }), FD();
let { isEntering: a } = e;
return (0, F.useEffect)(() => {
- if (t.isOpen && n.current) return a ? EE(n.current) : TE([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? TE(n.current) : wE([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -28322,33 +28322,33 @@ function qse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Fk = {
+var Pk = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Ik = {
+}, Fk = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Jse = {
+}, Yse = {
top: "left",
left: "top"
-}, Lk = {
+}, Ik = {
top: "height",
left: "width"
-}, Rk = {
+}, Lk = {
width: "totalWidth",
height: "totalHeight"
-}, zk = {}, Yse = () => typeof document < "u" ? window.visualViewport : null;
-function Bk(e, t) {
+}, Rk = {}, Xse = () => typeof document < "u" ? window.visualViewport : null;
+function zk(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = Kk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return ZS() && (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} = Gk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return QS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -28358,7 +28358,7 @@ function Bk(e, t) {
left: s
};
}
-function Xse(e) {
+function Zse(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -28366,11 +28366,11 @@ function Xse(e) {
height: e.scrollHeight
};
}
-function Vk(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Lk[e]], l = o[e] + r.scroll[Fk[e]] + a, u = o[e] + r.scroll[Fk[e]] + c - a, d = t - s + r.scroll[Fk[e]] + o[e] - r[Fk[e]], f = t - s + n + r.scroll[Fk[e]] + o[e] - r[Fk[e]];
+function Bk(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Ik[e]], l = o[e] + r.scroll[Pk[e]] + a, u = o[e] + r.scroll[Pk[e]] + c - a, d = t - s + r.scroll[Pk[e]] + o[e] - r[Pk[e]], f = t - s + n + r.scroll[Pk[e]] + o[e] - r[Pk[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Zse(e) {
+function Qse(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -28379,55 +28379,55 @@ function Zse(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Hk(e) {
- if (zk[e]) return zk[e];
- let [t, n] = e.split(" "), r = Fk[t] || "right", i = Jse[r];
- Fk[n] || (n = "center");
- let a = Lk[r], o = Lk[i];
- return zk[e] = {
+function Vk(e) {
+ if (Rk[e]) return Rk[e];
+ let [t, n] = e.split(" "), r = Pk[t] || "right", i = Yse[r];
+ Pk[n] || (n = "center");
+ let a = Ik[r], o = Ik[i];
+ return Rk[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, zk[e];
+ }, Rk[e];
}
-function Uk(e, t, n, r, i, a, o, s, c, l, u) {
+function Hk(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = dE(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Rk[h]];
- _[Ik[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = uE(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Lk[h]];
+ _[Fk[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Qse(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Rk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function $se(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Lk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function Wk(e, t, n, r, i, a, o, s) {
+function Uk(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Ik[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Ik[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Fk[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[Fk[l]] - i);
}
-function $se(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Hk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Uk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Wk(s, l, t, i, a + u, v, c, g);
+function ece(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Vk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Hk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Uk(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Hk(`${Ik[S]} ${C}`), r = Uk(t, s, n, e, u, d, l, f, m, h, c);
- Wk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Vk(`${Fk[S]} ${C}`), r = Hk(t, s, n, e, u, d, l, f, m, h, c);
+ Uk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = Vk(b, w[b], n[x], s, c, a, l);
+ let O = Bk(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Qse(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Uk(t, s, n, v, T, d, l, f, m, h, c), O = Vk(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Fk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Fk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
- A[b] = dE(dE(M, t[b] + m / 2 - (w[b] + i[Fk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Fk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = $se(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Hk(t, s, n, v, T, d, l, f, m, h, c), O = Bk(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Pk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Pk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
+ A[b] = uE(uE(M, t[b] + m / 2 - (w[b] + i[Pk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Pk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -28441,17 +28441,17 @@ function $se(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function ece(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 = Yse(), h = r instanceof HTMLElement ? tce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Kk(n, !1, p) : qk(n, h, !1, p);
+function tce(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Xse(), h = r instanceof HTMLElement ? nce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Gk(n, !1, p) : Kk(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = Kk(r, !0), x = Zse(r);
+ let b = Gk(r, !0), x = Qse(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Xse(i), C = Bk(s, m), w = Bk(h, m), T;
+ let S = Zse(i), C = zk(s, m), w = zk(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Gk(h, !1);
+ let e = Wk(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -28463,11 +28463,11 @@ function ece(e) {
left: 0,
width: 0,
height: 0
- } : qk(s, h, !1);
- let E = jS(s, h);
- return $se(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Kk(s, h, !1);
+ let E = MS(s, h);
+ return ece(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Gk(e, t) {
+function Wk(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -28476,8 +28476,8 @@ function Gk(e, t) {
height: a
};
}
-function Kk(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Gk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Gk(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Wk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -28485,29 +28485,29 @@ function Kk(e, t, n) {
height: o
};
}
-function qk(e, t, n, r) {
+function Kk(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Gk(e, n);
+ if (i.position === "fixed") a = r || Wk(e, n);
else {
- a = Kk(e, n, r);
- let i = Kk(t, n), o = window.getComputedStyle(t);
+ a = Gk(e, n, r);
+ let i = Gk(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 tce(e) {
+function nce(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Jk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Jk(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !qk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !qk(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Jk(e) {
+function qk(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Yk = typeof document < "u" ? window.visualViewport : null;
-function nce(e) {
- let { direction: t } = Uw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
+var Jk = typeof document < "u" ? window.visualViewport : null;
+function rce(e) {
+ let { direction: t } = Hw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
p,
s,
i.current,
@@ -28524,15 +28524,15 @@ function nce(e) {
g,
_,
n
- ], S = (0, F.useRef)(Yk?.scale);
+ ], S = (0, F.useRef)(Jk?.scale);
(0, F.useEffect)(() => {
- m && (S.current = Yk?.scale);
+ m && (S.current = Jk?.scale);
}, [m]);
let C = (0, F.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Yk?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Jk?.scale !== S.current) return;
let e = null;
- if (o.current && PS(o.current)) {
- let t = MS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && FS(o.current)) {
+ let t = NS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -28540,8 +28540,8 @@ function nce(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 = ece({
- placement: ice(s, t),
+ let y = tce({
+ placement: ace(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -28551,28 +28551,28 @@ function nce(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Gk(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Wk(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 = MS();
+ let x = NS();
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);
- BS(C, x), rce(C), zO({
+ VS(C, x), ice(C), RO({
ref: i,
onResize: C
- }), zO({
+ }), RO({
ref: r,
onResize: C
});
let w = (0, F.useRef)(!1);
- BS(() => {
+ VS(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -28580,16 +28580,16 @@ function nce(e) {
}, n = () => {
w.current && t();
};
- Yk?.addEventListener("resize", t), Yk?.addEventListener("scroll", n);
- let r = OS(NS(window), "scroll", n);
+ Jk?.addEventListener("resize", t), Jk?.addEventListener("scroll", n);
+ let r = kS(PS(window), "scroll", n);
return () => {
- Yk?.removeEventListener("resize", t), Yk?.removeEventListener("scroll", n), r();
+ Jk?.removeEventListener("resize", t), Jk?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, F.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return fse({
+ return pse({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -28615,24 +28615,24 @@ function nce(e) {
updatePosition: C
};
}
-function rce(e) {
- BS(() => (window.addEventListener("resize", e, !1), () => {
+function ice(e) {
+ VS(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function ice(e, t) {
+function ace(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
// node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function ace(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Ck({
+function oce(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Sk({
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 } = nce({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = rce({
...c,
targetRef: n,
overlayRef: r,
@@ -28640,15 +28640,15 @@ function ace(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Mk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {
- if (t.isOpen && r.current) return a ? EE(i?.current ?? r.current) : TE([i?.current ?? r.current], { shouldUseInert: !0 });
+ jk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? TE(i?.current ?? r.current) : wE([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = cE(e);
+ let { focusWithinProps: g } = sE(e);
return {
popoverProps: q(u, f, g),
arrowProps: p,
@@ -28658,12 +28658,12 @@ function ace(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var Xk = /* @__PURE__ */ new WeakMap();
+var Yk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function oce(e, t, n) {
+function sce(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
- }, { pressProps: g, isPressed: _ } = dT({
+ }, { pressProps: g, isPressed: _ } = uT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28671,7 +28671,7 @@ function oce(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = dT({
+ }), { pressProps: v, isPressed: y } = uT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28681,11 +28681,11 @@ function oce(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = sw(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = Zw(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = ow(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = Xw(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Xk.get(t);
- qT(n, t.defaultSelectedValue, t.setSelectedValue), JT({ validationBehavior: O }, t, n);
- let k = YT();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Yk.get(t);
+ KT(n, t.defaultSelectedValue, t.setSelectedValue), qT({ validationBehavior: O }, t, n);
+ let k = JT();
return {
labelProps: q(v, (0, F.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -28716,13 +28716,13 @@ function oce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function sce(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Uw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = sE({
+function cce(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Hw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = oE({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Zw(e, { labelable: !0 }), { focusWithinProps: v } = cE({
+ }), _ = Xw(e, { labelable: !0 }), { focusWithinProps: v } = sE({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -28730,13 +28730,13 @@ function sce(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = NT(n.currentTarget, {
+ let r = MT(n.currentTarget, {
from: K(n),
- accept: (e) => e instanceof TS(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof ES(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = rw({
+ let { keyboardProps: b } = nw({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -28744,8 +28744,8 @@ function sce(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = qC(n);
- return Xk.set(t, {
+ }), x = KC(n);
+ return Yk.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -28773,21 +28773,21 @@ function sce(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-var Zk = /* @__PURE__ */ new WeakMap();
-function cce(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = AD({
+var Xk = /* @__PURE__ */ new WeakMap();
+function lce(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = kD({
usage: "search",
sensitivity: "base"
- }), u = (0, F.useMemo)(() => r || new ME(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, F.useMemo)(() => r || new jE(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = gD({
+ ]), { menuTriggerProps: d, menuProps: f } = hD({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = rw({
+ }, t, n), { keyboardProps: p } = nw({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -28803,21 +28803,21 @@ function cce(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = vD({
+ }), { typeSelectProps: m } = _D({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = sE({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = oE({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = Zw(e, { labelable: !0 }), C = q(m, d, y), w = qC();
- return Zk.set(t, {
+ let S = Xw(e, { labelable: !0 }), C = q(m, d, y), w = KC();
+ return Xk.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -28827,13 +28827,13 @@ function cce(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), MC("keyboard"));
+ e.isDisabled || (n.current?.focus(), jC("keyboard"));
}
},
triggerProps: q(S, {
...C,
isDisabled: i,
- onKeyDown: UC(C.onKeyDown, p.onKeyDown),
+ onKeyDown: HC(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -28857,7 +28857,7 @@ function cce(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- jS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ MS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -28877,13 +28877,13 @@ function cce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function lce(e, t, n) {
- let r = Zk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vE({ style: {
+function uce(e, t, n) {
+ let r = Xk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = _E({ style: {
position: "fixed",
top: 0,
left: 0
} });
- qT(e.selectRef, t.defaultValue, t.setValue), JT({
+ KT(e.selectRef, t.defaultValue, t.setValue), qT({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -28913,8 +28913,8 @@ function lce(e, t, n) {
}
};
}
-function uce(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = lce({
+function dce(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = uce({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -28938,7 +28938,7 @@ function uce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Zk.get(t) || {};
+ let { validationBehavior: e } = Xk.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -28968,8 +28968,8 @@ function uce(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function dce(e) {
- let t = Zw(e, { labelable: !0 }), n;
+function fce(e) {
+ let t = Xw(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -28977,8 +28977,8 @@ function dce(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function fce(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = iE(e, t, n);
+function pce(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = rE(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -28991,10 +28991,10 @@ function fce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Qk = class {
+var Zk = 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 pce(e.layout) : new jE(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new mce(e.layout) : new AE(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -29030,7 +29030,7 @@ var Qk = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of xD(n, this.collection)) {
+ for (let e of bD(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -29064,13 +29064,13 @@ var Qk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = xD(t, this.collection);
- return (this.direction === "rtl" ? wD(e)?.key : SD(e)?.key) ?? null;
+ let e = bD(t, this.collection);
+ return (this.direction === "rtl" ? CD(e)?.key : xD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = xD(n, this.collection), i = (this.direction === "rtl" ? CD(r, t.index - 1) : CD(r, t.index + 1)) ?? null;
+ let r = bD(n, this.collection), i = (this.direction === "rtl" ? SD(r, t.index - 1) : SD(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -29079,13 +29079,13 @@ var Qk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = xD(t, this.collection);
- return (this.direction === "rtl" ? SD(e)?.key : wD(e)?.key) ?? null;
+ let e = bD(t, this.collection);
+ return (this.direction === "rtl" ? xD(e)?.key : CD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = xD(n, this.collection), i = (this.direction === "rtl" ? CD(r, t.index + 1) : CD(r, t.index - 1)) ?? null;
+ let r = bD(n, this.collection), i = (this.direction === "rtl" ? SD(r, t.index + 1) : SD(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -29096,13 +29096,13 @@ var Qk = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? SD(xD(e, this.collection))?.key ?? null : null;
+ return e ? xD(bD(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = SD(xD(e, this.collection))?.key ?? null;
+ n = xD(bD(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29112,13 +29112,13 @@ var Qk = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? wD(xD(e, this.collection))?.key ?? null : null;
+ return e ? CD(bD(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = wD(xD(e, this.collection))?.key ?? null;
+ n = CD(bD(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29154,13 +29154,13 @@ var Qk = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? SD(xD(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? xD(bD(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;
}
-}, pce = class {
+}, mce = class {
constructor(e) {
this.layout = e;
}
@@ -29173,15 +29173,15 @@ var Qk = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, $k = /* @__PURE__ */ new WeakMap();
+}, Qk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function mce(e, t, n) {
+function hce(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let h = AD({
+ let h = kD({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Uw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Qk({
+ }), { direction: g } = Hw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Zk({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -29198,7 +29198,7 @@ function mce(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = bD({
+ ]), { collectionProps: y } = yD({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -29206,8 +29206,8 @@ function mce(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = qC(e.id);
- $k.set(t, {
+ }), b = KC(e.id);
+ Qk.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -29216,42 +29216,42 @@ function mce(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = kO({
+ let x = OO({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = Zw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
- m.isFocused ? jS(e.currentTarget, K(e)) || m.setFocused(!1) : jS(e.currentTarget, K(e)) && m.setFocused(!0);
+ }), S = Xw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
+ m.isFocused ? MS(e.currentTarget, K(e)) || m.setFocused(!1) : MS(e.currentTarget, K(e)) && m.setFocused(!0);
}, [m]), w = (0, F.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = OO(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {
+ }), [C, y.onBlur]), T = DO(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), EO({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), TO({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var eA = /* @__PURE__ */ new WeakMap();
-function tA(e) {
+var $k = /* @__PURE__ */ new WeakMap();
+function eA(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function nA(e, t) {
- let n = eA.get(e);
+function tA(e, t) {
+ let n = $k.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${tA(t)}`;
+ return `${n}-${eA(t)}`;
}
-function rA(e, t, n) {
- let r = eA.get(e);
+function nA(e, t, n) {
+ let r = $k.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${tA(t)}-${tA(n)}`;
+ return `${r}-${eA(t)}-${eA(n)}`;
}
-function iA(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => rA(e, t, n)).join(" ");
+function rA(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => nA(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var aA = {};
-aA = {
+var iA = {};
+iA = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -29265,8 +29265,8 @@ aA = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var oA = {};
-oA = {
+var aA = {};
+aA = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -29280,8 +29280,8 @@ oA = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var sA = {};
-sA = {
+var oA = {};
+oA = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -29295,8 +29295,8 @@ sA = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var cA = {};
-cA = {
+var sA = {};
+sA = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -29310,8 +29310,8 @@ cA = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var lA = {};
-lA = {
+var cA = {};
+cA = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -29325,8 +29325,8 @@ lA = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var uA = {};
-uA = {
+var lA = {};
+lA = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -29340,8 +29340,8 @@ uA = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var dA = {};
-dA = {
+var uA = {};
+uA = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -29355,8 +29355,8 @@ dA = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var fA = {};
-fA = {
+var dA = {};
+dA = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -29370,8 +29370,8 @@ fA = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var pA = {};
-pA = {
+var fA = {};
+fA = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -29385,8 +29385,8 @@ pA = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var mA = {};
-mA = {
+var pA = {};
+pA = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -29400,8 +29400,8 @@ mA = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var hA = {};
-hA = {
+var mA = {};
+mA = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -29415,8 +29415,8 @@ hA = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var gA = {};
-gA = {
+var hA = {};
+hA = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -29430,8 +29430,8 @@ gA = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var _A = {};
-_A = {
+var gA = {};
+gA = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -29445,8 +29445,8 @@ _A = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var vA = {};
-vA = {
+var _A = {};
+_A = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -29460,8 +29460,8 @@ vA = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var yA = {};
-yA = {
+var vA = {};
+vA = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -29475,8 +29475,8 @@ yA = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var bA = {};
-bA = {
+var yA = {};
+yA = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -29490,8 +29490,8 @@ bA = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var xA = {};
-xA = {
+var bA = {};
+bA = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -29505,8 +29505,8 @@ xA = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var SA = {};
-SA = {
+var xA = {};
+xA = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -29520,8 +29520,8 @@ SA = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var CA = {};
-CA = {
+var SA = {};
+SA = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -29535,8 +29535,8 @@ CA = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var wA = {};
-wA = {
+var CA = {};
+CA = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -29550,8 +29550,8 @@ wA = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var TA = {};
-TA = {
+var wA = {};
+wA = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -29565,8 +29565,8 @@ TA = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var EA = {};
-EA = {
+var TA = {};
+TA = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -29580,8 +29580,8 @@ EA = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var DA = {};
-DA = {
+var EA = {};
+EA = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -29595,8 +29595,8 @@ DA = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var OA = {};
-OA = {
+var DA = {};
+DA = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -29610,8 +29610,8 @@ OA = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var kA = {};
-kA = {
+var OA = {};
+OA = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -29625,8 +29625,8 @@ kA = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var AA = {};
-AA = {
+var kA = {};
+kA = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -29640,8 +29640,8 @@ AA = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var jA = {};
-jA = {
+var AA = {};
+AA = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -29655,8 +29655,8 @@ jA = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var MA = {};
-MA = {
+var jA = {};
+jA = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -29670,8 +29670,8 @@ MA = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var NA = {};
-NA = {
+var MA = {};
+MA = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -29685,8 +29685,8 @@ NA = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var PA = {};
-PA = {
+var NA = {};
+NA = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -29700,8 +29700,8 @@ PA = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var FA = {};
-FA = {
+var PA = {};
+PA = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -29715,8 +29715,8 @@ FA = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var IA = {};
-IA = {
+var FA = {};
+FA = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -29730,8 +29730,8 @@ IA = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var LA = {};
-LA = {
+var IA = {};
+IA = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -29745,8 +29745,8 @@ LA = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var RA = {};
-RA = {
+var LA = {};
+LA = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -29760,45 +29760,45 @@ RA = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var zA = {};
-zA = {
- "ar-AE": aA,
- "bg-BG": oA,
- "cs-CZ": sA,
- "da-DK": cA,
- "de-DE": lA,
- "el-GR": uA,
- "en-US": dA,
- "es-ES": fA,
- "et-EE": pA,
- "fi-FI": mA,
- "fr-FR": hA,
- "he-IL": gA,
- "hr-HR": _A,
- "hu-HU": vA,
- "it-IT": yA,
- "ja-JP": bA,
- "ko-KR": xA,
- "lt-LT": SA,
- "lv-LV": CA,
- "nb-NO": wA,
- "nl-NL": TA,
- "pl-PL": EA,
- "pt-BR": DA,
- "pt-PT": OA,
- "ro-RO": kA,
- "ru-RU": AA,
- "sk-SK": jA,
- "sl-SI": MA,
- "sr-SP": NA,
- "sv-SE": PA,
- "tr-TR": FA,
- "uk-UA": IA,
- "zh-CN": LA,
- "zh-TW": RA
+var RA = {};
+RA = {
+ "ar-AE": iA,
+ "bg-BG": aA,
+ "cs-CZ": oA,
+ "da-DK": sA,
+ "de-DE": cA,
+ "el-GR": lA,
+ "en-US": uA,
+ "es-ES": dA,
+ "et-EE": fA,
+ "fi-FI": pA,
+ "fr-FR": mA,
+ "he-IL": hA,
+ "hr-HR": gA,
+ "hu-HU": _A,
+ "it-IT": vA,
+ "ja-JP": yA,
+ "ko-KR": bA,
+ "lt-LT": xA,
+ "lv-LV": SA,
+ "nb-NO": CA,
+ "nl-NL": wA,
+ "pl-PL": TA,
+ "pt-BR": EA,
+ "pt-PT": DA,
+ "ro-RO": OA,
+ "ru-RU": kA,
+ "sk-SK": AA,
+ "sl-SI": jA,
+ "sr-SP": MA,
+ "sv-SE": NA,
+ "tr-TR": PA,
+ "uk-UA": FA,
+ "zh-CN": IA,
+ "zh-TW": LA
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var hce = class extends Qk {
+var gce = class extends Zk {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -29806,7 +29806,7 @@ var hce = class extends Qk {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = SD(xD(n, this.collection));
+ let e = xD(bD(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -29827,13 +29827,13 @@ var hce = class extends Qk {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of xD(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of bD(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...xD(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...bD(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -29862,7 +29862,7 @@ var hce = class extends Qk {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of xD(o, this.collection)) {
+ for (let r of bD(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -29875,14 +29875,14 @@ var hce = class extends Qk {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function gce(e) {
+function _ce(e) {
return e && e.__esModule ? e.default : e;
}
-function _ce(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = AD({
+function vce(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = kD({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Uw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new hce({
+ }), { direction: c } = Hw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new gce({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -29901,51 +29901,51 @@ function _ce(e, t, n) {
s,
a,
o
- ]), d = qC(e.id);
- eA.set(t, d);
- let { gridProps: f } = mce({
+ ]), d = KC(e.id);
+ $k.set(t, d);
+ let { gridProps: f } = hce({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = Yw(gce(zA), "@react-aria/table"), g = (0, F.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Jw(_ce(RA), "@react-aria/table"), g = (0, F.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = KT(g);
- return zT(() => {
- g && RT(g, "assertive", 500);
+ ]), _ = GT(g);
+ return RT(() => {
+ g && LT(g, "assertive", 500);
}, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
// node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function BA(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Uw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = $k.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
+function zA(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Hw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Qk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
if (n.current) {
- let e = NT(n.current);
+ let e = MT(n.current);
if (p === "child") {
- let i = MS(wS(n.current));
- if (PS(n.current) && n.current !== i) return;
- let a = wS(n.current);
+ let i = NS(TS(n.current));
+ if (FS(n.current) && n.current !== i) return;
+ let a = TS(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && jS(n.current, e)) {
- HC(e);
+ if (e && m.current === r.key && MS(n.current, e)) {
+ VC(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? VA(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? BA(e) : e.firstChild();
if (o) {
- HC(o);
+ VC(o);
return;
}
}
- (m.current != null && r.key !== m.current || !PS(n.current)) && HC(n.current);
+ (m.current != null && r.key !== m.current || !FS(n.current)) && VC(n.current);
}
- }, { itemProps: _, isPressed: v } = jO({
+ }, { itemProps: _, isPressed: v } = AO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -29957,44 +29957,44 @@ function BA(e, t, n) {
}), y = q(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = MS(wS(n.current));
- if (!jS(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = NT(n.current);
+ let i = NS(TS(n.current));
+ if (!MS(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = MT(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) HC(t), WT(t, { containingElement: VT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) VC(t), UT(t, { containingElement: BT(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : VA(a), t && (HC(t), WT(t, { containingElement: VT(n.current) })));
+ p === "cell" && l === "rtl" ? (VC(n.current), UT(n.current, { containingElement: BT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : BA(a), t && (VC(t), UT(t, { containingElement: BT(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) HC(t), WT(t, { containingElement: VT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) VC(t), UT(t, { containingElement: BT(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? VA(a) : a.firstChild(), t && (HC(t), WT(t, { containingElement: VT(n.current) })));
+ p === "cell" && l === "ltr" ? (VC(n.current), UT(n.current, { containingElement: BT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? BA(a) : a.firstChild(), t && (VC(t), UT(t, { containingElement: BT(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && jS(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && MS(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = MS(wS(n.current));
- if (jS(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = NS(TS(n.current));
+ if (MS(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
if (f === "tab" && K(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = NT(n.current, { tabbable: !0 });
+ let t = MT(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -30005,9 +30005,9 @@ function BA(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, K(e) !== n.current) {
let i = K(e);
- n.current && jS(n.current, i) && (h.current = i), AC() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && jS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && MS(wS(n.current)) === n.current && g();
+ n.current && MS(n.current, i) && (h.current = i), kC() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && MS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && NS(TS(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -30022,7 +30022,7 @@ function BA(e, t, n) {
isPressed: v
};
}
-function VA(e) {
+function BA(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -30030,32 +30030,32 @@ function VA(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function vce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = BA(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = rA(t, e.node.parentKey, a)), {
+function yce(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = zA(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = nA(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function yce(e) {
+function bce(e) {
return e && e.__esModule ? e.default : e;
}
-function bce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = BA({
+function xce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = zA({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = dT({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = uT({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = sw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !$S() && (u = d ? f : "none");
- let p = Yw(yce(zA), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && $S() && (m = `${m}, ${p.format(f)}`));
- let h = KT(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = ow({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !eC() && (u = d ? f : "none");
+ let p = Jw(bce(RA), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && eC() && (m = `${m}, ${p.format(f)}`));
+ let h = GT(m), g = t.collection.size === 0;
return (0, F.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -30066,7 +30066,7 @@ function bce(e, t, n) {
columnHeaderProps: {
...q(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: nA(t, r.key),
+ id: tA(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -30074,17 +30074,17 @@ function bce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function xce(e) {
+function Sce(e) {
return e && e.__esModule ? e.default : e;
}
-function Sce(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Yw(xce(zA), "@react-aria/table"), d = qC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Uw(), b = (0, F.useCallback)((e) => {
+function Cce(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Jw(Sce(RA), "@react-aria/table"), d = KC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Hw(), b = (0, F.useCallback)((e) => {
p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;
}, [t, o]), x = (0, F.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
s?.(r), m.current = r;
}, [t, s]), S = (0, F.useCallback)((e) => {
- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && HC(i.current)), m.current = null;
+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && VC(i.current)), m.current = null;
}, [
t,
i,
@@ -30092,14 +30092,14 @@ function Sce(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = rw({ shortcuts: {
+ }, { keyboardProps: w } = nw({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, F.useRef)(0), { moveProps: E } = gE({
+ } }), T = (0, F.useRef)(0), { moveProps: E } = hE({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -30115,12 +30115,12 @@ function Sce(e, t, n) {
g && E.onKeyDown?.(e);
}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));
k === Infinity && (k = 2 ** 53 - 1);
- let A = Math.floor(t.getColumnWidth(r.key)), j = NC();
+ let A = Math.floor(t.getColumnWidth(r.key)), j = MC();
j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");
- let M = KT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
+ let M = GT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${nA(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${tA(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -30128,11 +30128,11 @@ function Sce(e, t, n) {
value: A,
...M
}, N = (0, F.useCallback)(() => {
- n.current && HC(n.current);
- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Fw(b);
+ n.current && VC(n.current);
+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Pw(b);
(0, F.useEffect)(() => {
if (P.current !== te && te != null && te === r.key) {
- h.current = MS() === n.current, ne(r);
+ h.current = NS() === n.current, ne(r);
let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -30148,7 +30148,7 @@ function Sce(e, t, n) {
let re = (e) => {
let n = t.getColumnWidth(r.key), i = parseFloat(K(e).value);
i = i > n ? n + 10 : n - 10, x(r, i);
- }, { pressProps: I } = dT({
+ }, { pressProps: I } = uT({
preventFocusOnPress: !0,
onPressStart: (e) => {
e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));
@@ -30156,7 +30156,7 @@ function Sce(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ie } = vE();
+ }), { visuallyHiddenProps: ie } = _E();
return {
resizerProps: q(w, {
...E,
@@ -30175,19 +30175,19 @@ function Sce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Cce(e, t, n) {
+function wce(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
// node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function wce(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = $k.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = jO({
+function Tce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Qk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = AO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? UC(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? HC(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -30201,10 +30201,10 @@ function wce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Tce(e) {
+function Ece(e) {
return e && e.__esModule ? e.default : e;
}
-var HA = {
+var VA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -30214,21 +30214,21 @@ var HA = {
rtl: "ArrowRight"
}
};
-function Ece(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = wce(e, t, n), { direction: s } = Uw();
+function Dce(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Tce(e, t, n), { direction: s } = Hw();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Yw(Tce(zA), "@react-aria/table"), u = Lw({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Jw(Ece(RA), "@react-aria/table"), u = Iw({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": iA(t, r.key)
+ "aria-labelledby": rA(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = UA(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = UA(t.collection, a);
+ let n = HA(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 = HA(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === HA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === HA.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === VA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === VA.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -30246,42 +30246,42 @@ function Ece(e, t, n) {
};
}
}
- let p = rC(r.props), m = o.hasAction ? p : {};
+ let p = iC(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...q(a, d, m),
- "aria-labelledby": iA(t, r.key)
+ "aria-labelledby": rA(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function UA(e, t) {
+function HA(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Dce() {
+function Oce() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function WA() {
- return Dce();
+function UA() {
+ return Oce();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Oce(e) {
+function kce(e) {
return e && e.__esModule ? e.default : e;
}
-function kce(e, t) {
- let { key: n } = e, { checkboxProps: r } = LO(e, t);
+function Ace(e, t) {
+ let { key: n } = e, { checkboxProps: r } = IO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${iA(t, n)}`
+ "aria-labelledby": `${r.id} ${rA(t, n)}`
} };
}
-function Ace(e) {
+function jce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Yw(Oce(zA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Jw(kce(RA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -30289,22 +30289,22 @@ function Ace(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var GA = /* @__PURE__ */ new WeakMap();
-function KA(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${GA.get(e)}-${n}-${t}`) : "";
+var WA = /* @__PURE__ */ new WeakMap();
+function GA(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${WA.get(e)}-${n}-${t}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function jce(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = jO({
+function Mce(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = AO({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = KA(t, r, "tab"), m = KA(t, r, "tabpanel"), { tabIndex: h } = d, g = Zw(u?.props, { labelable: !0 });
+ }), p = GA(t, r, "tab"), m = GA(t, r, "tabpanel"), { tabIndex: h } = d, g = Xw(u?.props, { labelable: !0 });
delete g.id;
- let _ = iC(u?.props), { focusableProps: v } = sw({
+ let _ = aC(u?.props), { focusableProps: v } = ow({
...u?.props,
isDisabled: l
}, n);
@@ -30323,7 +30323,7 @@ function jce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Mce = class {
+var Nce = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -30366,11 +30366,11 @@ var Mce = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Nce(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Uw(), { collectionProps: l } = bD({
+function Pce(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Hw(), { collectionProps: l } = yD({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, F.useMemo)(() => new Mce(a, c, r, s), [
+ keyboardDelegate: (0, F.useMemo)(() => new Nce(a, c, r, s), [
a,
s,
r,
@@ -30380,9 +30380,9 @@ function Nce(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = qC();
- return GA.set(t, u), { tabListProps: {
- ...q(l, Lw({
+ }), u = KC();
+ return WA.set(t, u), { tabListProps: {
+ ...q(l, Iw({
...e,
id: u
})),
@@ -30392,12 +30392,12 @@ function Nce(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Pce(e, t, n) {
- let r = OO(n) ? void 0 : 0, i = KA(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: q(Lw({
+function Fce(e, t, n) {
+ let r = DO(n) ? void 0 : 0, i = GA(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: q(Iw({
...e,
id: i,
- "aria-labelledby": KA(t, t?.selectedKey, "tab")
+ "aria-labelledby": GA(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -30406,265 +30406,265 @@ function Pce(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Fce(e, t, n) {
- let { gridProps: r } = Ese(e, t, n);
+function Ice(e, t, n) {
+ let { gridProps: r } = Dse(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var qA = {};
-qA = {
+var KA = {};
+KA = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var JA = {};
-JA = {
+var qA = {};
+qA = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var YA = {};
-YA = {
+var JA = {};
+JA = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var XA = {};
-XA = {
+var YA = {};
+YA = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var ZA = {};
-ZA = {
+var XA = {};
+XA = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var QA = {};
-QA = {
+var ZA = {};
+ZA = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var $A = {};
-$A = {
+var QA = {};
+QA = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var ej = {};
-ej = {
+var $A = {};
+$A = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var tj = {};
-tj = {
+var ej = {};
+ej = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var nj = {};
-nj = {
+var tj = {};
+tj = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var rj = {};
-rj = {
+var nj = {};
+nj = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var ij = {};
-ij = {
+var rj = {};
+rj = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var aj = {};
-aj = {
+var ij = {};
+ij = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var oj = {};
-oj = {
+var aj = {};
+aj = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var sj = {};
-sj = {
+var oj = {};
+oj = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var cj = {};
-cj = {
+var sj = {};
+sj = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var lj = {};
-lj = {
+var cj = {};
+cj = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var uj = {};
-uj = {
+var lj = {};
+lj = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var dj = {};
-dj = {
+var uj = {};
+uj = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var fj = {};
-fj = {
+var dj = {};
+dj = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var pj = {};
-pj = {
+var fj = {};
+fj = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var mj = {};
-mj = {
+var pj = {};
+pj = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var hj = {};
-hj = {
+var mj = {};
+mj = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var gj = {};
-gj = {
+var hj = {};
+hj = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var _j = {};
-_j = {
+var gj = {};
+gj = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var vj = {};
-vj = {
+var _j = {};
+_j = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var yj = {};
-yj = {
+var vj = {};
+vj = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var bj = {};
-bj = {
+var yj = {};
+yj = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var xj = {};
-xj = {
+var bj = {};
+bj = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var Sj = {};
-Sj = {
+var xj = {};
+xj = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var Cj = {};
-Cj = {
+var Sj = {};
+Sj = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var wj = {};
-wj = {
+var Cj = {};
+Cj = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var Tj = {};
-Tj = {
+var wj = {};
+wj = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var Ej = {};
-Ej = {
+var Tj = {};
+Tj = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var Dj = {};
-Dj = {
- "ar-AE": qA,
- "bg-BG": JA,
- "cs-CZ": YA,
- "da-DK": XA,
- "de-DE": ZA,
- "el-GR": QA,
- "en-US": $A,
- "es-ES": ej,
- "et-EE": tj,
- "fi-FI": nj,
- "fr-FR": rj,
- "he-IL": ij,
- "hr-HR": aj,
- "hu-HU": oj,
- "it-IT": sj,
- "ja-JP": cj,
- "ko-KR": lj,
- "lt-LT": uj,
- "lv-LV": dj,
- "nb-NO": fj,
- "nl-NL": pj,
- "pl-PL": mj,
- "pt-BR": hj,
- "pt-PT": gj,
- "ro-RO": _j,
- "ru-RU": vj,
- "sk-SK": yj,
- "sl-SI": bj,
- "sr-SP": xj,
- "sv-SE": Sj,
- "tr-TR": Cj,
- "uk-UA": wj,
- "zh-CN": Tj,
- "zh-TW": Ej
+var Ej = {};
+Ej = {
+ "ar-AE": KA,
+ "bg-BG": qA,
+ "cs-CZ": JA,
+ "da-DK": YA,
+ "de-DE": XA,
+ "el-GR": ZA,
+ "en-US": QA,
+ "es-ES": $A,
+ "et-EE": ej,
+ "fi-FI": tj,
+ "fr-FR": nj,
+ "he-IL": rj,
+ "hr-HR": ij,
+ "hu-HU": aj,
+ "it-IT": oj,
+ "ja-JP": sj,
+ "ko-KR": cj,
+ "lt-LT": lj,
+ "lv-LV": uj,
+ "nb-NO": dj,
+ "nl-NL": fj,
+ "pl-PL": pj,
+ "pt-BR": mj,
+ "pt-PT": hj,
+ "ro-RO": gj,
+ "ru-RU": _j,
+ "sk-SK": vj,
+ "sl-SI": yj,
+ "sr-SP": bj,
+ "sv-SE": xj,
+ "tr-TR": Sj,
+ "uk-UA": Cj,
+ "zh-CN": wj,
+ "zh-TW": Tj
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function Ice(e) {
+function Lce(e) {
return e && e.__esModule ? e.default : e;
}
-function Oj(e, t, n) {
- let { node: r } = e, i = Dse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Yw(Ice(Dj), "@react-aria/tree"), s = {
+function Dj(e, t, n) {
+ let { node: r } = e, i = Ose(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Jw(Lce(Ej), "@react-aria/tree"), s = {
onPress: () => {
i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));
},
excludeFromTabOrder: !0,
preventFocusOnPress: !0,
"data-react-aria-prevent-focus": !0,
- ...Lw({
+ ...Iw({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -30675,15 +30675,15 @@ function Oj(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var kj = "(prefers-reduced-motion: reduce)", Lce = () => matchMedia(kj).matches, Rce = (e) => {
- let t = matchMedia(kj);
+var Oj = "(prefers-reduced-motion: reduce)", Rce = () => matchMedia(Oj).matches, zce = (e) => {
+ let t = matchMedia(Oj);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, Aj = /* @__PURE__ */ new Map(), jj = () => {
+}, kj = /* @__PURE__ */ new Map(), Aj = () => {
let e = document.documentElement;
- Aj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Aj.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ kj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...kj.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function zce({ children: e, count: t, label: n }) {
- let r = (0, F.useRef)(null), i = Ox(), a = (0, F.useSyncExternalStore)(Rce, Lce, () => !1), { isFocusVisible: o } = PC(), s = a || o, c = {
+function Bce({ children: e, count: t, label: n }) {
+ let r = (0, F.useRef)(null), i = kx(), a = (0, F.useSyncExternalStore)(zce, Rce, () => !1), { isFocusVisible: o } = NC(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -30691,12 +30691,12 @@ function zce({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- Aj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), jj();
+ kj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Aj();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), Aj.delete(e), jj();
+ n.disconnect(), window.removeEventListener("resize", t), kj.delete(e), Aj();
};
- }, [i]), /* @__PURE__ */ (0, I.jsxs)(pS.div, {
+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(mS.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -30729,17 +30729,17 @@ function zce({ children: e, count: t, label: n }) {
}), e]
});
}
-function Mj({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(jx, { children: e ? /* @__PURE__ */ (0, I.jsx)(zce, { ...t }, "selection") : null });
+function jj({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(Mx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Bce, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var Nj = {
+var Mj = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Bce(e, t = !1) {
+function Vce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -30755,7 +30755,7 @@ function Bce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Nj
+ Mj
];
case "junk": return [
t ? {
@@ -30776,7 +30776,7 @@ function Bce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Nj
+ Mj
];
case "follow": return [
{
@@ -30797,7 +30797,7 @@ function Bce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Nj
+ Mj
];
default: return [
{
@@ -30831,38 +30831,38 @@ function Bce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Nj
+ Mj
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var Pj = null, Fj = {
+var Nj = null, Pj = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Ij = /* @__PURE__ */ new Set();
-function Vce(e) {
- return Ij.add(e), () => {
- Ij.delete(e);
+}, Fj = /* @__PURE__ */ new Set();
+function Hce(e) {
+ return Fj.add(e), () => {
+ Fj.delete(e);
};
}
-function Hce() {
- for (let e of [...Ij]) e();
+function Uce() {
+ for (let e of [...Fj]) e();
}
-var Uce = { render(e) {
- Fj = e, (0, It.flushSync)(Hce);
+var Wce = { render(e) {
+ Pj = e, (0, It.flushSync)(Uce);
} };
-function Wce(e) {
- return Pj = e, Uce;
+function Gce(e) {
+ return Nj = e, Wce;
}
-function Gce() {
- let e = (0, F.useSyncExternalStore)(Vce, () => Fj);
- return Pj ? /* @__PURE__ */ (0, I.jsx)(Lj, {
- host: Pj,
+function Kce() {
+ let e = (0, F.useSyncExternalStore)(Hce, () => Pj);
+ return Nj ? /* @__PURE__ */ (0, I.jsx)(Ij, {
+ host: Nj,
props: e
}) : null;
}
-function Lj({ host: e, props: t }) {
+function Ij({ host: e, props: t }) {
let n = t.count > 0;
return (0, F.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -30872,11 +30872,11 @@ function Lj({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, I.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, I.jsx)(jj, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: Bce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: Vce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -30892,11 +30892,11 @@ function Lj({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function Rj(e, t, n, r) {
+function Lj(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function zj(e, t) {
+function Rj(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -30915,7 +30915,7 @@ function zj(e, t) {
};
}
// src/sort-preferences.ts
-var Bj = [
+var zj = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -30924,7 +30924,7 @@ var Bj = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Vj = ["release", "发行时间"], Hj = [...Bj, Vj].map(([e]) => e), Uj = {
+], Bj = ["release", "发行时间"], Vj = [...zj, Bj].map(([e]) => e), Hj = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -30933,43 +30933,43 @@ var Bj = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Wj = {
+}, Uj = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Gj = (e, t, n = Uj) => (n[e] || [])[+(t === "asc")] || "", Kj = (e, t = Uj) => t[e] ? "desc" : "";
-function qj(e, t, n, r = Uj) {
+}, Wj = (e, t, n = Hj) => (n[e] || [])[+(t === "asc")] || "", Gj = (e, t = Hj) => t[e] ? "desc" : "";
+function Kj(e, t, n, r = Hj) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Kj(e, r)
+ dir: Gj(e, r)
};
}
-function Jj(e, t, n) {
+function qj(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Yj(e, t, n, r, i = n) {
- let a = e ? Wj[e] : void 0, o = a ? a[0] : e, s = o && Hj.includes(o) ? o : i;
- return Uj[s] ? {
+function Jj(e, t, n, r, i = n) {
+ let a = e ? Uj[e] : void 0, o = a ? a[0] : e, s = o && Vj.includes(o) ? o : i;
+ return Hj[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Jj(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : qj(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var Xj = [
+var Yj = [
"spot1",
"spot2",
"spot3"
-], Kce = [
+], qce = [
"光晕一",
"光晕二",
"光晕三"
-], Zj = "native", Qj = [
+], Xj = "native", Zj = [
[
"ash",
"灰雾",
@@ -31275,7 +31275,7 @@ var Xj = [
"rose"
],
[
- Zj,
+ Xj,
"玻璃原色",
{
spot1: {
@@ -31293,7 +31293,7 @@ var Xj = [
},
"blue"
]
-], $j = (e) => e === Zj, eM = [...Qj.map(([e, t]) => [e, t]), ["custom", "自定义"]], qce = (e) => (eM.find(([t]) => t === e) || eM[0])[1], tM = (e) => structuredClone((Qj.find(([t]) => t === e) || Qj[0])[2]), nM = [
+], Qj = (e) => e === Xj, $j = [...Zj.map(([e, t]) => [e, t]), ["custom", "自定义"]], Jce = (e) => ($j.find(([t]) => t === e) || $j[0])[1], eM = (e) => structuredClone((Zj.find(([t]) => t === e) || Zj[0])[2]), tM = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -31306,7 +31306,7 @@ var Xj = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], rM = "blue", iM = (e) => nM.some(([t]) => t === e) ? e : rM, Jce = (e) => (Qj.find(([t]) => t === e) || [])[3] || "blue", Yce = [
+], nM = "blue", rM = (e) => tM.some(([t]) => t === e) ? e : nM, Yce = (e) => (Zj.find(([t]) => t === e) || [])[3] || "blue", Xce = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -31316,7 +31316,7 @@ var Xj = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], Xce = [
+], Zce = [
[
"gray",
"云灰",
@@ -31712,11 +31712,11 @@ var Xj = [
"霁蓝",
"#6686b8"
]
-], aM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, oM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Zce = (e, t) => `rgba(${[
+], iM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, aM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Qce = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Qce = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, $ce = {
strength: [
0,
100,
@@ -31742,7 +31742,7 @@ var Xj = [
100,
50
]
-}, sM = {
+}, oM = {
on: !0,
preset: "ash",
strength: 100,
@@ -31750,56 +31750,56 @@ var Xj = [
speed: 100,
soften: 50,
size: 50,
- ...tM("ash")
+ ...eM("ash")
};
-function cM(e) {
- let t = e && typeof e == "object" ? e : {}, n = eM.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = tM(r === "custom" ? "ash" : r), a = {
+function sM(e) {
+ let t = e && typeof e == "object" ? e : {}, n = $j.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = eM(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(Qce)) a[e] = aM(+t[e], n, r, i);
- for (let e of Xj) {
+ for (let [e, [n, r, i]] of Object.entries($ce)) a[e] = iM(+t[e], n, r, i);
+ for (let e of Yj) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: oM(r.color, o.color),
- alpha: aM(+r.alpha, 0, 100, o.alpha)
+ color: aM(r.color, o.color),
+ alpha: iM(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var $ce = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, lM = /* @__PURE__ */ new WeakMap();
-function ele(e, t) {
+var ele = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, cM = /* @__PURE__ */ new WeakMap();
+function tle(e, t) {
if (!e) return;
- let n = lM.get(e);
- n || (n = /* @__PURE__ */ new Map(), lM.set(e, n));
- let r = t.on && !$j(t.preset), i = (t, r) => {
+ let n = cM.get(e);
+ n || (n = /* @__PURE__ */ new Map(), cM.set(e, n));
+ let r = t.on && !Qj(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"), Xj.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"), Yj.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, Zce(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, Qce(r.color, r.alpha));
});
}
-function tle(e, t) {
+function nle(e, t) {
if (!e) return;
- let n = !t.on || $j(t.preset);
+ let n = !t.on || Qj(t.preset);
e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));
}
// src/appearance/settings.ts
-var nle = "peach.settings.v1", rle = [
+var rle = "peach.settings.v1", ile = [
"system",
"light",
"dark"
-], uM = [
+], lM = [
0,
7,
30,
90
-], ile = [
+], ale = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], dM = {
+], uM = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -31820,56 +31820,56 @@ var nle = "peach.settings.v1", rle = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...Il],
- homeGlow: sM,
- accent: rM,
+ homeGlow: oM,
+ accent: nM,
performerNameLanguage: "zh-CN"
-}, fM = (e, t, n) => t.includes(e) ? e : n;
-function ale(e) {
+}, dM = (e, t, n) => t.includes(e) ? e : n;
+function ole(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...dM,
+ ...uM,
...t
};
- n.followInitialDays = uM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = lM.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 = Wj[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Rj(+n.batchSize, 1, 200, 60), n.defaultSort = fM(n.defaultSort, Hj, "seed"), n.hoverDelaySeconds = Rj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Rj(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Rj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Rj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Rj(+n.feedLimit, 1, 100, 12), Object.assign(n, Za(n)), n.theme = fM(n.theme, rle, "system"), n.performerNameLanguage = fM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = cM(n.homeGlow), n.accent = iM(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {
+ let a = Uj[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Lj(+n.batchSize, 1, 200, 60), n.defaultSort = dM(n.defaultSort, Vj, "seed"), n.hoverDelaySeconds = Lj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Lj(+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 = Lj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Lj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Lj(+n.feedLimit, 1, 100, 12), Object.assign(n, Za(n)), n.theme = dM(n.theme, ile, "system"), n.performerNameLanguage = dM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = sM(n.homeGlow), n.accent = rM(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function ole(e) {
+function sle(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return ale(t);
+ return ole(t);
}
-var pM = null;
-function mM() {
- if (pM) return pM;
- let { settings: e, migrated: t } = ole(localStorage);
- return pM = zj(nle, e), t && pM.save(), pM;
+var fM = null;
+function pM() {
+ if (fM) return fM;
+ let { settings: e, migrated: t } = sle(localStorage);
+ return fM = Rj(rle, e), t && fM.save(), fM;
}
-function hM(e, t, n = mM()) {
+function mM(e, t, n = pM()) {
let r = n.value, i = e?.performerNameLanguage;
(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));
let a = e && e.followInitialDays;
- uM.includes(a) && (r.followInitialDays = a, n.save());
- for (let t of ile) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ lM.includes(a) && (r.followInitialDays = a, n.save());
+ for (let t of ale) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Rj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== dM.searchHistoryLimit && sle(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Lj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== uM.searchHistoryLimit && cle(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function sle(e = mM()) {
+function cle(e = pM()) {
return Cn("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var cle = [
+var lle = [
[
"system",
"跟随系统",
@@ -31885,31 +31885,31 @@ var cle = [
"深色",
"moon"
]
-], lle = null, gM = () => lle ??= matchMedia("(prefers-color-scheme: dark)"), _M = null;
-function ule() {
- return _M || (_M = document.createElement("style"), _M.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), _M.isConnected || document.head.append(_M), () => {
+], ule = null, hM = () => ule ??= matchMedia("(prefers-color-scheme: dark)"), gM = null;
+function dle() {
+ return gM || (gM = document.createElement("style"), gM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), gM.isConnected || document.head.append(gM), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), _M?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), gM?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function vM(e = mM().value.theme) {
- let t = ule(), n = document.documentElement;
+function _M(e = pM().value.theme) {
+ let t = dle(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && gM().matches;
+ let r = e === "dark" || e === "system" && hM().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 yM = !1;
-function dle() {
- yM || (yM = !0, gM().addEventListener("change", () => {
- mM().value.theme === "system" && vM();
+var vM = !1;
+function fle() {
+ vM || (vM = !0, hM().addEventListener("change", () => {
+ pM().value.theme === "system" && _M();
}));
}
// src/appearance/layout.ts
-var bM = [[
+var yM = [[
"big",
"大图",
"maximize"
@@ -31917,7 +31917,7 @@ var bM = [[
"small",
"小图",
"layout-grid"
-]], xM = [[
+]], bM = [[
"big",
"大图",
"maximize"
@@ -31925,7 +31925,7 @@ var bM = [[
"small",
"小图",
"layout-grid"
-]], SM = [[
+]], xM = [[
"fixed",
"固定比例",
"layout-grid"
@@ -31933,127 +31933,127 @@ var bM = [[
"masonry",
"瀑布流",
"columns-2"
-]], CM = .75, wM = () => mM().value, TM = (e = wM()) => Xa(e.javLayout), fle = (e = wM()) => Xa(e.homeLayout), EM = (e, t = wM()) => e ? fle(t) : TM(t), DM = xM.map(([e]) => e), OM = SM.map(([e]) => e), kM = (e = wM()) => fM(e.photoSize, DM, "small"), AM = (e = wM()) => fM(e.photoLayout, OM, "masonry"), jM = null;
-function MM(e, t = wM()) {
+]], SM = .75, CM = () => pM().value, wM = (e = CM()) => Xa(e.javLayout), ple = (e = CM()) => Xa(e.homeLayout), TM = (e, t = CM()) => e ? ple(t) : wM(t), EM = bM.map(([e]) => e), DM = xM.map(([e]) => e), OM = (e = CM()) => dM(e.photoSize, EM, "small"), kM = (e = CM()) => dM(e.photoLayout, DM, "masonry"), AM = null;
+function jM(e, t = CM()) {
let n = {
active: e.active,
- size: EM(e.home, t),
+ size: TM(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = jM;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (jM = n), jM;
+ }, r = AM;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (AM = n), AM;
}
-function NM(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? CM : 16 / 9;
+function MM(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? SM : 16 / 9;
}
-function ple(e, t = mM()) {
+function mle(e, t = pM()) {
t.value.homeLayout = Xa(e), t.save();
}
-function PM(e, t = mM()) {
+function NM(e, t = pM()) {
t.value.javLayout = Xa(e), t.save();
}
-function mle(e, t = mM()) {
+function hle(e, t = pM()) {
t.value.homeLayout = t.value.javLayout = Xa(e), t.save();
}
-function hle(e, t = mM()) {
- t.value.photoSize = fM(e, DM, "small"), t.save();
+function gle(e, t = pM()) {
+ t.value.photoSize = dM(e, EM, "small"), t.save();
}
-function FM(e, t = mM()) {
- t.value.photoLayout = fM(e, OM, "masonry"), t.save();
+function PM(e, t = pM()) {
+ t.value.photoLayout = dM(e, DM, "masonry"), t.save();
}
// src/appearance/density.ts
-var IM = "density", LM = {
+var FM = "density", IM = {
big: "336px",
dense: "168px"
-}, RM = () => localStorage.getItem(IM) === "dense" ? "dense" : "big";
-function zM(e, t) {
- let [n, r] = xM;
+}, LM = () => localStorage.getItem(FM) === "dense" ? "dense" : "big";
+function RM(e, t) {
+ let [n, r] = bM;
if (e.querySelector("[data-icon-swap]")) Gs(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = Ws(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- BM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ zM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function BM(e, t, n) {
+function zM(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var VM = () => document.querySelector("#density");
-function HM(e = RM()) {
+var BM = () => document.querySelector("#density");
+function VM(e = LM()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== LM[e] && t.style.setProperty("--tile", LM[e]), BM(document.body, "data-density", e);
- let n = VM();
- n && (BM(n, "aria-pressed", String(e === "dense")), BM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), zM(n, e === "big" ? "big" : "small"));
+ t.style.getPropertyValue("--tile") !== IM[e] && t.style.setProperty("--tile", IM[e]), zM(document.body, "data-density", e);
+ let n = BM();
+ n && (zM(n, "aria-pressed", String(e === "dense")), zM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), RM(n, e === "big" ? "big" : "small"));
}
-function gle() {
- let e = RM() === "big" ? "dense" : "big";
- localStorage.setItem(IM, e), HM(e);
+function _le() {
+ let e = LM() === "big" ? "dense" : "big";
+ localStorage.setItem(FM, e), VM(e);
}
-function _le(e) {
- let t = VM();
- t && (BM(t, "aria-pressed", String(e === "small")), BM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), zM(t, e));
+function vle(e) {
+ let t = BM();
+ t && (zM(t, "aria-pressed", String(e === "small")), zM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), RM(t, e));
}
// src/appearance/glow.ts
-function UM(e = mM()) {
- ele(document.querySelector(".glowlayer"), e.value.homeGlow);
+function HM(e = pM()) {
+ tle(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var WM = 0;
-function GM(e = mM()) {
- WM ||= requestAnimationFrame(() => {
- WM = 0, UM(e);
+var UM = 0;
+function WM(e = pM()) {
+ UM ||= requestAnimationFrame(() => {
+ UM = 0, HM(e);
});
}
-function KM(e = mM()) {
- tle(document.documentElement, e.value.homeGlow);
+function GM(e = pM()) {
+ nle(document.documentElement, e.value.homeGlow);
}
-function qM(e = mM()) {
+function KM(e = pM()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var JM = (e, t, n) => ({
+var qM = (e, t, n) => ({
key: e,
label: t,
- native: $j(e),
- fill: $j(e) ? "" : $ce(n)
+ native: Qj(e),
+ fill: Qj(e) ? "" : ele(n)
});
-function vle(e) {
- let t = Qj.map(([e, t, n]) => JM(e, t, Xj.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(JM("custom", "自定义", Xj.map((t) => e[t].color))), t;
+function yle(e) {
+ let t = Zj.map(([e, t, n]) => qM(e, t, Yj.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(qM("custom", "自定义", Yj.map((t) => e[t].color))), t;
}
-var yle = nM;
-function ble(e, t = mM()) {
+var ble = tM;
+function xle(e, t = pM()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, tM(e)), t.value.accent = Jce(e), t.save(), GM(t), KM(t), qM(t);
+ n.preset = e, Object.assign(n, eM(e)), t.value.accent = Yce(e), t.save(), WM(t), GM(t), KM(t);
}
-function xle(e, t = mM()) {
- t.value.accent = iM(e), t.save(), qM(t);
+function Sle(e, t = pM()) {
+ t.value.accent = rM(e), t.save(), KM(t);
}
-function Sle(e = mM()) {
+function Cle(e = pM()) {
let t = e.value.homeGlow;
- t.preset = sM.preset, Object.assign(t, tM(t.preset)), e.value.accent = rM, e.save(), GM(e), KM(e), qM(e);
+ t.preset = oM.preset, Object.assign(t, eM(t.preset)), e.value.accent = nM, e.save(), WM(e), GM(e), KM(e);
}
-function YM(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && $j(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function JM(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Qj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function Cle(e, t = mM()) {
- return YM(e, t.value.homeGlow), t.subscribe(() => YM(e, t.value.homeGlow));
+function wle(e, t = pM()) {
+ return JM(e, t.value.homeGlow), t.subscribe(() => JM(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function XM({ store: e, label: t, hidden: n }) {
+function YM({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: vle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: yle(r).map((t) => /* @__PURE__ */ (0, I.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: () => ble(t.key, e),
+ onClick: () => xle(t.key, e),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32064,14 +32064,14 @@ function XM({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var ZM = null;
-function wle(e) {
- ZM = e;
+var XM = null;
+function Tle(e) {
+ XM = e;
}
-function Tle() {
- return ZM ? /* @__PURE__ */ (0, I.jsx)(Ele, { host: ZM }) : null;
+function Ele() {
+ return XM ? /* @__PURE__ */ (0, I.jsx)(Dle, { host: XM }) : null;
}
-function Ele({ host: e }) {
+function Dle({ host: e }) {
let { store: t } = e;
(0, F.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -32083,11 +32083,11 @@ function Ele({ host: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Sle(t),
+ onClick: () => Cle(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(XM, {
+ /* @__PURE__ */ (0, I.jsx)(YM, {
store: t,
label: "光晕",
hidden: !n.on
@@ -32101,14 +32101,14 @@ function Ele({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: yle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: ble.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => xle(e, t),
+ onClick: () => Sle(e, t),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32126,31 +32126,31 @@ function Ele({ host: e }) {
] });
}
// src/player/host.ts
-var QM = null;
-function Dle(e) {
- QM = e;
+var ZM = null;
+function Ole(e) {
+ ZM = e;
}
-function $M() {
- if (!QM) throw Error("播放器还没有接上宿主(configurePlayer)");
- return QM;
+function QM() {
+ if (!ZM) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return ZM;
}
// src/player/menu.ts
-var eN = null;
-function Ole(e) {
- eN = e;
+var $M = null;
+function kle(e) {
+ $M = e;
}
-function kle() {
+function Ale() {
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 tN = null, nN = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function rN() {
+var eN = null, tN = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function nN() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && ss(e, () => {
e.innerHTML = "";
- }), tN &&= (tN(), null);
+ }), eN &&= (eN(), null);
}
-async function Ale(e) {
+async function jle(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -32163,8 +32163,8 @@ async function Ale(e) {
return t.remove(), n;
}
}
-function jle(e) {
- let t = !!eN?.inMiniplayer(e), n = e.peachItem, r = eN?.kind(e) ?? "item", i = (t) => {
+function Mle(e) {
+ let t = !!$M?.inMiniplayer(e), n = e.peachItem, r = $M?.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);
@@ -32180,7 +32180,7 @@ function jle(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Ale(i(e)).then((e) => $M().toast(e ? t : "复制失败,请手动复制地址栏", {
+ jle(i(e)).then((e) => QM().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -32192,11 +32192,11 @@ function jle(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => eN?.expand()
+ run: () => $M?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => eN?.toMiniplayer()
+ run: () => $M?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -32219,29 +32219,29 @@ function jle(e) {
run: () => s.click()
}), o;
}
-function Mle(e, t, n) {
- let r = kle();
- rN();
- let i = $M().stage();
+function Nle(e, t, n) {
+ let r = Ale();
+ nN();
+ let i = QM().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = jle(e);
+ let a = Mle(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}">${nN(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? nN(z("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${tN(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? tN(z("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), os(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- rN(), n?.run();
+ nN(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || rN();
+ r.contains(e.target) || nN();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), rN();
+ e.preventDefault(), e.stopPropagation(), nN();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -32249,49 +32249,49 @@ function Mle(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- ls(t, e.el()) && rN();
+ ls(t, e.el()) && nN();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), tN = () => {
+ }, 0), eN = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Nle(e) {
+function Ple(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Mle(e, t.clientX, t.clientY));
- }), e.on("dispose", rN);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Nle(e, t.clientX, t.clientY));
+ }), e.on("dispose", nN);
}
// src/player/registry.ts
-var iN = null, aN = () => iN;
-function oN(e) {
- iN = e;
+var rN = null, iN = () => rN;
+function aN(e) {
+ rN = e;
}
-function sN(e) {
+function oN(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function cN(e) {
+function sN(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 lN(e) {
+function cN(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var uN = 3e3;
-function dN(e, t) {
+var lN = 3e3;
+function uN(e, t) {
let n = Number(e) || 0, r = Gn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Ple(e) {
+function Fle(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32306,10 +32306,10 @@ function Ple(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = lN(e), s = e.currentTime || 0;
+ let a = performance.now(), o = cN(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > uN * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > lN * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32318,55 +32318,55 @@ function Ple(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > uN;) t.shift();
+ }); t.length > 2 && a - t[0].at > lN;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var fN = 24;
-function pN(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > fN && e.splice(0, e.length - fN);
+var dN = 24;
+function fN(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > dN && e.splice(0, e.length - dN);
}
-var mN = "peach-player-panel";
-function hN(e, t, n, r) {
- let i = [...Array(Math.max(0, fN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var pN = "peach-player-panel";
+function mN(e, t, n, r) {
+ let i = [...Array(Math.max(0, dN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;
}
-function Fle() {
+function Ile() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${z("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function gN(e, t = "") {
+function hN(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 _N(e, t = "") {
- let n = gN(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 gN(e, t = "") {
+ let n = hN(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 vN(e, t, n = "", r = null) {
+function _N(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.bandwidth?.()) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : _N(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : gN(t, n);
}
-function yN(e) {
+function vN(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 Ile(e, t) {
- return e > 0 ? yN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : yN(0);
+function Lle(e, t) {
+ return e > 0 ? vN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : vN(0);
}
// src/player/subtitle-style.ts
-var bN = {
+var yN = {
font: {
label: "字体",
values: [
@@ -32469,7 +32469,7 @@ var bN = {
["shadow", "阴影"]
]
}
-}, xN = {
+}, bN = {
font: "sans",
size: "100",
color: "white",
@@ -32479,7 +32479,7 @@ var bN = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, SN = "peach.caption-style.v1", Lle = {
+}, xN = "peach.caption-style.v1", Rle = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -32488,7 +32488,7 @@ var bN = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, Rle = {
+}, zle = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -32496,28 +32496,28 @@ var bN = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, zle = {
+}, Ble = {
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 Ble() {
+function Vle() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(SN) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(xN) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(xN).map(([t, n]) => [t, bN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
+ return Object.fromEntries(Object.entries(bN).map(([t, n]) => [t, yN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
}
-function CN(e, t, n, r) {
- let i = Ble(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
+function SN(e, t, n, r) {
+ let i = Vle(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");
let s = document.createElement("div");
s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";
let c = () => {
- let t = (e, t) => `rgba(${Lle[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", Rle[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", zle[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${Rle[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", zle[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Ble[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
}, l = () => {
s.replaceChildren();
for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {
@@ -32533,15 +32533,15 @@ function CN(e, t, n, r) {
if (!n.aborted) {
if (e.caption_style) {
let t = {
- ...xN,
+ ...bN,
...e.caption_style
};
- for (let e of Object.keys(xN)) a.has(e) || (i[e] = t[e]);
+ for (let e of Object.keys(bN)) a.has(e) || (i[e] = t[e]);
c();
} else {
let e = !1;
try {
- e = !!localStorage.getItem(SN);
+ e = !!localStorage.getItem(xN);
} catch {}
e && !a.size && r.save({ caption_style: i }).catch(() => {});
}
@@ -32549,18 +32549,18 @@ function CN(e, t, n, r) {
}), {
current: () => i,
set(e, t) {
- bN[e].values.some(([e]) => e === t) && (a.add(e), i = {
+ yN[e].values.some(([e]) => e === t) && (a.add(e), i = {
...i,
[e]: t
}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));
},
reset() {
- Object.keys(xN).forEach((e) => a.add(e)), i = { ...xN }, c(), r?.save({ caption_style: i }).catch(() => {});
+ Object.keys(bN).forEach((e) => a.add(e)), i = { ...bN }, c(), r?.save({ caption_style: i }).catch(() => {});
}
};
}
// src/player/memory.ts
-var wN = /* @__PURE__ */ new Map(), TN = /* @__PURE__ */ new WeakMap(), Vle = class {
+var CN = /* @__PURE__ */ new Map(), wN = /* @__PURE__ */ new WeakMap(), Hle = class {
cleanup = new AbortController();
reading;
listeners = /* @__PURE__ */ new Set();
@@ -32588,7 +32588,7 @@ var wN = /* @__PURE__ */ new Map(), TN = /* @__PURE__ */ new WeakMap(), Vle = cl
}
load() {
return this.url ? this.reading ||= (async () => {
- await wN.get(this.url)?.catch(() => {});
+ await CN.get(this.url)?.catch(() => {});
let e = await Cn(this.url, { signal: this.cleanup.signal });
return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;
})().catch((e) => {
@@ -32600,7 +32600,7 @@ var wN = /* @__PURE__ */ new Map(), TN = /* @__PURE__ */ new WeakMap(), Vle = cl
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (wN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (CN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = {
...this.unsaved,
...e,
@@ -32627,8 +32627,8 @@ var wN = /* @__PURE__ */ new Map(), TN = /* @__PURE__ */ new WeakMap(), Vle = cl
this.changed();
}
});
- return wN.set(this.url, t), t.finally(() => {
- wN.get(this.url) === t && wN.delete(this.url);
+ return CN.set(this.url, t), t.finally(() => {
+ CN.get(this.url) === t && CN.delete(this.url);
}).catch(() => {}), t;
}
async retry() {
@@ -32637,12 +32637,12 @@ var wN = /* @__PURE__ */ new Map(), TN = /* @__PURE__ */ new WeakMap(), Vle = cl
} catch {}
}
};
-function EN(e) {
- let t = TN.get(e);
- return t || (t = new Vle(e), TN.set(e, t)), t;
+function TN(e) {
+ let t = wN.get(e);
+ return t || (t = new Hle(e), wN.set(e, t)), t;
}
-function DN(e, t) {
- let n = EN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
+function EN(e, t) {
+ let n = TN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);
};
return n.restore((t) => {
@@ -32655,7 +32655,7 @@ function DN(e, t) {
};
}
// src/player/subtitle-memory.ts
-var ON = class {
+var DN = class {
player;
video;
changed;
@@ -32666,7 +32666,7 @@ var ON = class {
ready;
error = "";
constructor(e, t, n = () => {}) {
- this.player = e, this.video = t, this.changed = n, this.memory = EN(e);
+ this.player = e, this.video = t, this.changed = n, this.memory = TN(e);
let r = this.cleanup.signal;
t.textTracks.addEventListener("addtrack", () => {
this.apply(), this.changed();
@@ -32763,7 +32763,7 @@ var ON = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, kN = () => "<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>", Hle = class {
+}, ON = () => "<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>", Ule = class {
player;
video;
panels;
@@ -32782,7 +32782,7 @@ var ON = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = CN(e.el(), t, this.cleanup.signal, EN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = kN(), this.cc.onclick = () => {
+ this.player = e, this.video = t, this.panels = n, this.styles = SN(e.el(), t, this.cleanup.signal, TN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = ON(), 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", () => {
@@ -32792,7 +32792,7 @@ var ON = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new ON(e, t, () => {
+ }), this.session = new DN(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -32840,7 +32840,7 @@ var ON = 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(bN).map(([e, n]) => {
+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(yN).map(([e, n]) => {
let r = n.values.find(([n]) => n === t[e])?.[1] || "";
return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${z("player-menu-next")}</button>`;
}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);
@@ -32852,7 +32852,7 @@ var ON = class {
}
styleOptions(e) {
this.page = "style";
- let t = bN[e];
+ let t = yN[e];
this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {
let r = this.styles.current()[e] === t;
return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? z("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;
@@ -32968,7 +32968,7 @@ var ON = class {
}
};
// src/player/timeline.ts
-function Ule(e, t) {
+function Wle(e, t) {
if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;
if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;
let n = 0, r = t.cues.length;
@@ -32980,8 +32980,8 @@ function Ule(e, t) {
return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;
}
// src/player/rotation.ts
-function AN(e, t) {
- let n = 0, r = !1, i = EN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
+function kN(e, t) {
+ let n = 0, r = !1, i = TN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
"width",
"height",
"inset",
@@ -33009,7 +33009,7 @@ function AN(e, t) {
};
}
// src/player/pip.ts
-function Wle(e, t, n, r) {
+function Gle(e, t, n, r) {
let i = e.el().querySelector("video");
if (!i || !t) return;
let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";
@@ -33041,7 +33041,7 @@ function Wle(e, t, n, r) {
});
}
// src/player/controls.ts
-function jN(e, t, n = "") {
+function AN(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));
@@ -33052,27 +33052,27 @@ function jN(e, t, n = "") {
};
return o(), o;
}
-function MN(e, t) {
+function jN(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Gle(e, t = !0) {
- let n = $M(), r = n.settings();
+function Kle(e, t = !0) {
+ let n = QM(), 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 NN = /* @__PURE__ */ new WeakMap();
-function PN(e) {
+var MN = /* @__PURE__ */ new WeakMap();
+function NN(e) {
if (!e) return;
- let t = $M().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), NN.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = QM().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), MN.get(e)?.(t ? "默认视图" : "影院模式");
}
-function FN(e, t = !0) {
- let n = $M(), r = n.settings();
+function PN(e, t = !0) {
+ let n = QM(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), PN(i?.querySelector("[data-player-theater]")), sN(aN());
+ i?.toggleAttribute("data-theater", r.theaterMode), NN(i?.querySelector("[data-player-theater]")), oN(iN());
}
-function Kle(e) {
- let t = $M().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function qle(e) {
+ let t = QM().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -33095,9 +33095,9 @@ function Kle(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || ($M().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (QM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && $M().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && QM().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -33106,7 +33106,7 @@ function Kle(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function IN(e, t, n = 0, r = null) {
+function FN(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");
@@ -33116,8 +33116,8 @@ function IN(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]");
- jN(s, "设置");
- let l = a.querySelector(".vjs-peach-settings-menu"), u = AN(e, t), d = DN(e, t), f = EN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
+ AN(s, "设置");
+ let l = a.querySelector(".vjs-peach-settings-menu"), u = kN(e, t), d = EN(e, t), f = TN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
}, v = () => {
@@ -33156,11 +33156,11 @@ function IN(e, t, n = 0, r = null) {
active: n
};
}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(mN, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(pN, { detail: "settings" }));
}, S = () => x(!1), C = (e) => {
e.detail !== "settings" && S();
};
- document.addEventListener(mN, C);
+ document.addEventListener(pN, C);
let w = null, T = 0, E = (e, t) => {
let n = ++T;
w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;
@@ -33176,15 +33176,15 @@ function IN(e, t, n = 0, r = null) {
}), i;
}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {
O = "main";
- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${$M().settings().ambientMode}">
+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${QM().settings().ambientMode}">
${z("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${z("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${z("player-menu-next")}</button>
- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${kN()}</span><span>字幕</span><b>${B(p?.label() || "关闭")}</b>${z("player-menu-next")}</button>
+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${ON()}</span><span>字幕</span><b>${B(p?.label() || "关闭")}</b>${z("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${z("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${z("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${z("player-quality")}<span>清晰度</span><b>${B(t.label)}</b>${z("player-menu-next")}</button>
<div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);
D(r, "[data-player-ambient]").onclick = () => {
- Gle(!$M().settings().ambientMode), k();
+ Kle(!QM().settings().ambientMode), k();
}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {
f.retry();
}, A();
@@ -33288,8 +33288,8 @@ function IN(e, t, n = 0, r = null) {
A(), re();
});
return e.on("dispose", () => {
- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(mN, C), w && clearTimeout(w);
- }), p = new Hle(e, t, {
+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(pN, C), w && clearTimeout(w);
+ }), p = new Ule(e, t, {
render: E,
open: () => {
O = "subtitles", x(!0);
@@ -33298,21 +33298,21 @@ function IN(e, t, n = 0, r = null) {
back: () => {
p?.hide(), k(-1);
}
- }), y(), qle(e, a), Jle(e), (e) => {
+ }), y(), Jle(e, a), Yle(e), (e) => {
h = e?.length ? e : null, re();
};
}
-function qle(e, t) {
+function Jle(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = $M().settings().theaterMode, i = document.createElement("div");
+ let r = QM().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${z(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- NN.set(a, jN(a, "影院模式", "T")), PN(a), a.onclick = (e) => {
- e.stopPropagation(), FN(!$M().settings().theaterMode);
+ MN.set(a, AN(a, "影院模式", "T")), NN(a), a.onclick = (e) => {
+ e.stopPropagation(), PN(!QM().settings().theaterMode);
};
}
-function Jle(e) {
+function Yle(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");
@@ -33324,7 +33324,7 @@ function Jle(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 = jN(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 = AN(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 ? "播放" : "暂停");
};
@@ -33335,7 +33335,7 @@ function Jle(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 = jN(p, "静音", "M"), g = () => {
+ let h = AN(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 ? "取消静音" : "静音");
};
@@ -33361,7 +33361,7 @@ function Jle(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 = jN(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = AN(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = qn(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : qn(t)} / ${qn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${qn(n)};点击显示已播放时间` : `已播放 ${qn(t)},总时长 ${qn(n)};点击显示剩余时间`);
};
@@ -33373,10 +33373,10 @@ function Jle(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- jN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Wle(e, E, jN(E, "画中画"), (e) => $M().toast(e, { warn: !0 }));
- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = jN(D, "全屏", "F"), A = () => {
+ AN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Gle(e, E, AN(E, "画中画"), (e) => QM().toast(e, { warn: !0 }));
+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = AN(D, "全屏", "F"), A = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), sN(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), oN(e);
};
e.on([
"fullscreenchange",
@@ -33397,7 +33397,7 @@ function Jle(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${z("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);
- let N = ee.querySelector("button"), te = jN(N, "展开控件"), P = (t) => {
+ let N = ee.querySelector("button"), te = AN(N, "展开控件"), P = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");
};
N.onclick = (t) => {
@@ -33409,7 +33409,7 @@ function Jle(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();
}
-function LN(e, t, n = {}) {
+function IN(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");
@@ -33420,7 +33420,7 @@ function LN(e, t, n = {}) {
}).catch(() => {});
let f = (e, n, r, i) => {
if (!t) return;
- let a = n.columns || 10, o = a * (n.rows || 10), s = Ule(e, n);
+ let a = n.columns || 10, o = a * (n.rows || 10), s = Wle(e, n);
if (s === null) return !1;
let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);
d = !!n.cues;
@@ -33445,13 +33445,13 @@ function LN(e, t, n = {}) {
r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);
});
}
-function Yle(e, t) {
+function Xle(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => Gn(e.duration()) || Gn(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number($M().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(QM().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -33492,11 +33492,11 @@ function Yle(e, t) {
} catch {}
});
}
-function RN(e) {
+function LN(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 zN(e, t) {
+function RN(e, t) {
Cn(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -33512,35 +33512,35 @@ function zN(e, t) {
}).catch(() => {});
}
// src/player/progress.ts
-var BN = "peach.playback-position.v1", VN = /* @__PURE__ */ new WeakMap();
-function HN(e) {
- VN.get(e)?.(), VN.delete(e);
+var zN = "peach.playback-position.v1", BN = /* @__PURE__ */ new WeakMap();
+function VN(e) {
+ BN.get(e)?.(), BN.delete(e);
}
-function UN(e, t, n = null) {
+function HN(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 Xle(e) {
+function Zle(e) {
try {
- let t = localStorage.getItem(`${BN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${zN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function Zle(e, t) {
- let n = Xle(e);
+function Qle(e, t) {
+ let n = Zle(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * Gn(t.duration) : 0;
}
-function Qle(e, t) {
- HN(t);
+function $le(e, t) {
+ VN(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(`${BN}:${e}`, String(r));
+ localStorage.setItem(`${zN}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -33554,7 +33554,7 @@ function Qle(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), VN.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), BN.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -33566,19 +33566,19 @@ function Qle(e, t) {
});
}
// src/player/telemetry.ts
-var WN = /* @__PURE__ */ new WeakMap();
-function GN(e) {
- WN.get(e)?.(), WN.delete(e);
+var UN = /* @__PURE__ */ new WeakMap();
+function WN(e) {
+ UN.get(e)?.(), UN.delete(e);
}
-function KN(e, t, n, r) {
+function GN(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), WN.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), UN.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 qN(e, t, n = {}) {
+function KN(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 = Gn(e.duration) || Gn(t.duration);
@@ -33619,11 +33619,11 @@ function qN(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, KN(t, l, u, () => {
+ }, GN(t, l, u, () => {
a++;
}), c();
}
-function $le(e, t) {
+function eue(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = Gn(e.duration) || Gn(t.duration);
(r || n) && (Cn("/api/follow/activity", {
@@ -33654,22 +33654,22 @@ function $le(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, KN(t, o, s, () => {});
+ }, GN(t, o, s, () => {});
}
// src/player/dispose.ts
-function JN(e) {
+function qN(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (HN(t), GN(t));
+ t && (VN(t), WN(t));
try {
e.dispose();
} catch {}
}
// src/core/random-id.ts
-function YN() {
+function JN() {
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;
@@ -33677,23 +33677,23 @@ function YN() {
return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;
}
// src/player/stream.ts
-function XN() {
- return YN();
+function YN() {
+ return JN();
}
-function ZN(e, t) {
+function XN(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function eue(e) {
+function tue(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function QN(e, t) {
- let n = eue(e);
+async function ZN(e, t) {
+ let n = tue(e);
if (n) return n;
try {
let n = await Cn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -33702,9 +33702,9 @@ async function QN(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return ZN(e, t);
+ return XN(e, t);
}
-function $N(e) {
+function QN(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -33713,22 +33713,22 @@ function $N(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var eP = "";
+var $N = "";
+function eP() {
+ return $N;
+}
function tP() {
- return eP;
+ return $N ||= YN(), $N;
}
+var nue = (e) => XN(e, tP()), rue = (e) => ZN(e, tP());
function nP() {
- return eP ||= XN(), eP;
-}
-var tue = (e) => ZN(e, nP()), nue = (e) => QN(e, nP());
-function rP() {
- let e = eP;
- e && (eP = "", $N(e));
+ let e = $N;
+ e && ($N = "", QN(e));
}
// src/player/v10-player.ts
-var iP = (e) => typeof e == "string" ? [e] : e, rue = (e, t) => {
+var rP = (e) => typeof e == "string" ? [e] : e, iue = (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-${YN()}`, n.setAttribute("lang", "zh-CN");
+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${JN()}`, 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 = {
@@ -33823,9 +33823,9 @@ var iP = (e) => typeof e == "string" ? [e] : e, rue = (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) => iP(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => iP(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => iP(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => rP(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => rP(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => rP(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -33880,7 +33880,7 @@ var iP = (e) => typeof e == "string" ? [e] : e, rue = (e, t) => {
n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);
}
};
-}, iue = "/vendor/videojs/10.2.0/", aue = [
+}, aue = "/vendor/videojs/10.2.0/", oue = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -33898,17 +33898,17 @@ var iP = (e) => typeof e == "string" ? [e] : e, rue = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], aP = null;
-function oP() {
- return aP ??= Promise.all(aue.map((e) => import(
+], iP = null;
+function aP() {
+ return iP ??= Promise.all(oue.map((e) => import(
/* @vite-ignore */
- `${iue}${e}`
-))).then(() => rue).catch((e) => {
- throw aP = null, e;
- }), aP;
+ `${aue}${e}`
+))).then(() => iue).catch((e) => {
+ throw iP = null, e;
+ }), iP;
}
// src/player/immerse-player.ts
-var oue = {
+var sue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -33920,45 +33920,45 @@ var oue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function sue(e, t) {
+function cue(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([QN(n, r), oP().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([ZN(n, r), aP().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = ZN(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = XN(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, oue);
- i = t, t.peachItem = n, t.peachPlaybackKey = UN("item", n);
+ let t = s(e, sue);
+ i = t, t.peachItem = n, t.peachPlaybackKey = HN("item", n);
let r = new AbortController();
- CN(t.el(), e, r.signal, EN(t)), AN(t, e), DN(t, e), t.on("dispose", () => r.abort()), new ON(t, e), zN(t, n.id), l && t.one("error", () => {
+ SN(t.el(), e, r.signal, TN(t)), kN(t, e), EN(t, e), t.on("dispose", () => r.abort()), new DN(t, e), RN(t, n.id), l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- qN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ KN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, $N(r), i ? JN(i) : (e.pause(), GN(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, QN(r), i ? qN(i) : (e.pause(), WN(e), e.removeAttribute("src"), e.load()));
};
}
// src/player/guide-preview.ts
-var sP = !1, cP = () => sP;
-function cue() {
- return sP = !0, () => {
- sP = !1;
+var oP = !1, sP = () => oP;
+function lue() {
+ return oP = !0, () => {
+ oP = !1;
};
}
// src/player/detail-player.ts
-var lP = /* @__PURE__ */ new WeakMap(), uP = null, dP = null, fP = null;
-function pP() {
- uP &&= (clearInterval(uP), null), dP &&= (clearInterval(dP), null), fP &&= (clearTimeout(fP), null);
+var cP = /* @__PURE__ */ new WeakMap(), lP = null, uP = null, dP = null;
+function fP() {
+ lP &&= (clearInterval(lP), null), uP &&= (clearInterval(uP), null), dP &&= (clearTimeout(dP), null);
}
-async function lue(e, t, n, r = {}) {
- let i = aN();
+async function uue(e, t, n, r = {}) {
+ let i = iN();
if (i && !i.isDisposed()) return i;
- let a = $M(), o = r.resume ?? null;
+ let a = QM(), o = r.resume ?? null;
o?.autoplay && (n = !0), r.guidePreview && (n = !1);
- let s = () => r.source ? Promise.resolve(r.source) : nue(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : rue(e), c;
try {
- c = await oP();
+ c = await aP();
} catch {
return t.controls = !0, r.guidePreview || s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -33984,7 +33984,7 @@ async function lue(e, t, n, r = {}) {
} }
}
});
- oN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || UN("item", e), Nle(l), l.on("loadedmetadata", () => {
+ aN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || HN("item", e), Ple(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}`);
});
@@ -33992,7 +33992,7 @@ async function lue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Ple(dN(f, e.duration)), m = 0, h = !1, g = () => aN() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Fle(uN(f, e.duration)), m = 0, h = !1, g = () => iN() === 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(() => {
@@ -34003,15 +34003,15 @@ async function lue(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- lP.set(l, y), y.updateStats = () => {
+ cP.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 = tP(), h = s ? gN(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 = eP(), h = s ? hN(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 = vN(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 = _N(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 = cN(t);
- pN(d.speed, x), pN(d.activity, C), pN(d.buffer, w);
+ let w = sN(t);
+ fN(d.speed, x), fN(d.activity, C), fN(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? Jn(_) : "—"} · ${h.length} 请求`,
@@ -34029,17 +34029,17 @@ async function lue(e, t, n, r = {}) {
[
"连接速度",
D,
- hN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ mN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- hN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ mN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- hN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ mN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${qn(t.currentTime)} / ${qn(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -34055,15 +34055,15 @@ async function lue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = vN(l, e.id, tP(), r ? null : p), a = r ? yN(i) : Ile(i, cN(t));
+ let i = _N(l, e.id, eP(), r ? null : p), a = r ? vN(i) : Lle(i, sN(t));
n.innerHTML = `${z("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), dP && clearInterval(dP), dP = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), uP && clearInterval(uP), uP = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (fP && clearTimeout(fP), fP = setTimeout(() => {
- e.hidden = !0, dP &&= (clearInterval(dP), null);
+ e && (dP && clearTimeout(dP), dP = setTimeout(() => {
+ e.hidden = !0, uP &&= (clearInterval(uP), null);
}, 1400));
};
return l.on([
@@ -34074,7 +34074,7 @@ async function lue(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(tue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(nue(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))}`
@@ -34082,13 +34082,13 @@ async function lue(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = IN(l, t, e.height, r.qualities ?? null);
+ let n = FN(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 = dN(r, e.duration));
- }).catch(() => {}), LN(l, e, { thumbnail: !r.source }), r.guidePreview || Yle(l, e), RN(l), r.source || zN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = uN(r, e.duration));
+ }).catch(() => {}), IN(l, e, { thumbnail: !r.source }), r.guidePreview || Xle(l, e), LN(l), r.source || RN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), r.guidePreview || s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -34097,16 +34097,16 @@ async function lue(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var uue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function mP(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", uue), e.querySelector("#playerStatsBtn")) return;
+var due = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function pP(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", due), e.querySelector("#playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Fle();
+ n.innerHTML = Ile();
let r = e.querySelector(":scope > [data-player-toolbar]");
r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);
}
-function hP(e, t) {
- let n = lP.get(e);
+function mP(e, t) {
+ let n = cP.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`#${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -34118,30 +34118,30 @@ function hP(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), uP &&= (clearInterval(uP), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), lP &&= (clearInterval(lP), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(mN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), uP && clearInterval(uP), uP = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(pN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), lP && clearInterval(lP), lP = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(mN, t), s = () => document.removeEventListener(mN, t);
+ document.addEventListener(pN, t), s = () => document.removeEventListener(pN, t);
}
- let c = e.el().querySelector("video"), l = c ? Kle(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, pP()));
+ let c = e.el().querySelector("video"), l = c ? qle(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, fP()));
};
return e.one("dispose", d), d;
}
-function gP(e, t) {
- if (t.kind === "immerse") return sue(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = cP(), c = $M(), l = t.chrome === !1 ? null : e.parentElement;
- l && mP(l, e);
- let u = UN(n, r, i?.index ?? null), d = {
+function hP(e, t) {
+ if (t.kind === "immerse") return cue(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = sP(), c = QM(), l = t.chrome === !1 ? null : e.parentElement;
+ l && pP(l, e);
+ let u = HN(n, r, i?.index ?? null), d = {
guidePreview: s,
playbackKey: u,
resume: s ? null : t.resume ?? {
- time: Zle(u, r),
+ time: Qle(u, r),
autoplay: !1
}
};
@@ -34161,36 +34161,36 @@ function gP(e, t) {
t && (e.poster = t);
}
let f = null, p = !1, m = () => {}, h = e, g = () => {
- m(), !(f && a?.(f)) && (HN(h), f ? (aN() === f && (oN(null), pP()), JN(f)) : GN(h));
+ m(), !(f && a?.(f)) && (VN(h), f ? (iN() === f && (aN(null), fP()), qN(f)) : WN(h));
};
- return lue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (Qle(u, h), n === "follow" ? $le(r, h) : (h.addEventListener("play", () => {
+ return uue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : ($le(u, h), n === "follow" ? eue(r, h) : (h.addEventListener("play", () => {
Cn("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), qN(r, h, {
+ }, { once: !0 }), KN(r, h, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (l && (m = hP(t, l)), o?.(t)) : o?.(null)));
+ })), t ? (l && (m = mP(t, l)), o?.(t)) : o?.(null)));
}), () => {
p = !0, g();
};
}
// src/player/playback.ts
-function _P(e) {
+function gP(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function vP(e, t) {
+function _P(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
// src/player/preview-player.ts
-function due(e, t, n) {
+function fue(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return oP().then((a) => {
+ return aP().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -34215,30 +34215,30 @@ function due(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (IN(o, e), LN(o, null, { thumbnail: !1 }), RN(o));
+ r || o.isDisposed() || (FN(o, e), IN(o, null, { thumbnail: !1 }), LN(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, JN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, qN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function yP(e, t) {
+function vP(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var fue = (e, t) => [
+var pue = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], pue = (e, t) => [
+], mue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function mue(e, t, n, r, i) {
+async function hue(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 V(`/api/items?${a}`, i), s = {
@@ -34248,22 +34248,22 @@ async function mue(e, t, n, r, i) {
};
return t || s.items.length || r || (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var hue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, gue = (e, t) => {
+var gue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, _ue = (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 _ue(e) {
- let t = yP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function vue(e) {
+ let t = vP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: fue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => mue(t, e, n, r, i),
+ queryKey: pue(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => hue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: hue(n)
+ getNextPageParam: gue(n)
};
}
-function vue(e) {
+function yue(e) {
return {
- queryKey: pue(e.entityKey || "", e.revision || 0),
+ queryKey: mue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -34278,14 +34278,14 @@ function vue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: gue
+ getNextPageParam: _ue
};
}
-function bP(e) {
+function yP(e) {
let t = JSON.stringify(e);
return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function xP(e, t, n) {
+function bP(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -34300,24 +34300,24 @@ function xP(e, t, n) {
return !0;
}) : [...e];
}
-var SP = (e, t) => !!e && !!$a(e, t);
-function yue(e, t) {
- let n = (e) => SP(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) => SP(e, t)) || e[e.length - 1];
+var xP = (e, t) => !!e && !!$a(e, t);
+function bue(e, t) {
+ let n = (e) => xP(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) => xP(e, t)) || e[e.length - 1];
}
-function bue(e, { collapse: t, mix: n, javImage: r }) {
+function xue(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 = xP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = bP(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 = yue(e, r);
+ let t = bue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -34330,16 +34330,16 @@ function bue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function xue(e, t, n) {
+function Sue(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 Sue(e, t) {
+function Cue(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 Cue(e, t) {
+function wue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -34352,10 +34352,10 @@ function Cue(e, t) {
strip: null
}), r;
}
-function CP(e, t) {
- wP((t) => t.id === e, t);
+function SP(e, t) {
+ CP((t) => t.id === e, t);
}
-function wP(e, t) {
+function CP(e, t) {
U.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {
...n,
cuts: n.cuts.map((n) => ({
@@ -34385,34 +34385,34 @@ function wP(e, t) {
} : n)
});
}
-var TP = (e) => Math.min(Math.max(e || 0, 0), 100), EP = (e) => Math.round(TP(e) / 20), wue = (e) => {
- let t = EP(e);
+var wP = (e) => Math.min(Math.max(e || 0, 0), 100), TP = (e) => Math.round(wP(e) / 20), Tue = (e) => {
+ let t = TP(e);
return t ? `${t} 星` : "未评分";
-}, DP = (e, t) => t === EP(e) ? 0 : t * 20, OP = (e) => ["item", e], kP = (e) => [
+}, EP = (e, t) => t === TP(e) ? 0 : t * 20, DP = (e) => ["item", e], OP = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Tue = (e, t) => [
+], Eue = (e, t) => [
"item-related",
e,
t
-], Eue = (e) => `/api/item?id=${e}`, Due = (e, t) => `/api/related?id=${e}&limit=${t}`, AP = "/api/playlist", jP = "/api/feedback", MP = "/api/item-tag", NP = "/api/watch-later", PP = "/api/quality-goal", FP = "/api/preference", IP = class extends Error {};
-async function LP(e, t) {
- let n = await V(Eue(e), t);
- if (n.error) throw new IP(n.error);
+], Due = (e) => `/api/item?id=${e}`, Oue = (e, t) => `/api/related?id=${e}&limit=${t}`, kP = "/api/playlist", AP = "/api/feedback", jP = "/api/item-tag", MP = "/api/watch-later", NP = "/api/quality-goal", PP = "/api/preference", FP = class extends Error {};
+async function IP(e, t) {
+ let n = await V(Due(e), t);
+ if (n.error) throw new FP(n.error);
return n;
}
-async function RP(e, t, n) {
+async function LP(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([LP(r, n), t.mixRelated(r)]);
- return U.setQueryData(OP(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([IP(r, n), t.mixRelated(r)]);
+ return U.setQueryData(DP(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${Ao(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return zP(await V(`${AP}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return RP(await V(`${kP}?id=${e.playlistId}`, n));
let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -34423,19 +34423,19 @@ async function RP(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var zP = (e) => ({
+var RP = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), BP = (e) => e.disposal === "vanished";
-function VP(e, t) {
+}), zP = (e) => e.disposal === "vanished";
+function BP(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !BP(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !zP(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 Oue(e, t) {
+function kue(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 : {
@@ -34443,20 +34443,20 @@ function Oue(e, t) {
part_label: n
};
}
-function HP(e, t) {
+function VP(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 UP(e, t) {
+async function HP(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = kP(n);
+ let o = OP(n);
try {
let r = n.fresh ? void 0 : U.getQueryData(o);
a = !r && n.kind === "mix", i = r || await U.fetchQuery({
queryKey: o,
- queryFn: () => RP(n, e.helpers, t),
+ queryFn: () => LP(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -34468,21 +34468,21 @@ async function UP(e, t) {
return;
}
}
- let o = i ? VP(i, e.id) : e.id;
+ let o = i ? BP(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 ? U.getQueryData(OP(o)) : void 0;
+ let s, c = a && o === i?.seedId ? U.getQueryData(DP(o)) : void 0;
try {
s = c || await U.fetchQuery({
- queryKey: OP(o),
- queryFn: () => LP(o, t),
+ queryKey: DP(o),
+ queryFn: () => IP(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof IP) {
+ if (e instanceof FP) {
r.redirect({ kind: "gone" });
return;
}
@@ -34493,7 +34493,7 @@ async function UP(e, t) {
id: Number(s.follow_item_id)
});
}
-function kue(e) {
+function Aue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Vn(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -34515,35 +34515,35 @@ function kue(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function Aue(e, t) {
+function jue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Vn(t.tagLabel(e.k)), i = n.get(r);
(!i || Vn(e.k) === r && Vn(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var WP = (e, t) => (e.tags || []).some((e) => Vn(e.k) === Vn(t)), GP = (e, t) => ({
+var UP = (e, t) => (e.tags || []).some((e) => Vn(e.k) === Vn(t)), WP = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Vn(e.k) !== Vn(t))
-}), KP = (e, t) => WP(e, t.k) ? e : {
+}), GP = (e, t) => UP(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, qP = "peach.recentTags";
-function JP() {
+}, KP = "peach.recentTags";
+function qP() {
try {
- let e = JSON.parse(localStorage.getItem(qP) || "[]");
+ let e = JSON.parse(localStorage.getItem(KP) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function YP(e) {
+function JP(e) {
try {
- let t = JP().filter((t) => Vn(t) !== Vn(e));
- localStorage.setItem(qP, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = qP().filter((t) => Vn(t) !== Vn(e));
+ localStorage.setItem(KP, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function jue(e, t, n) {
+function Mue(e, t, n) {
let r = Vn(e), i = new Map(t.map((e) => [Vn(e.k), e])), a = t.filter((e) => !r || Vn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Vn(e)) || {
k: e,
n: 0
@@ -34554,72 +34554,72 @@ function jue(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Mue = {
+var Nue = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Nue = {
+}, Pue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Pue(e) {
+function Fue(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: Nue[e.kind],
+ title: Pue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var XP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Fue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(XP(e.part_label))}</small>` : "";
-function Iue(e, t, n, r) {
+var YP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Iue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(YP(e.part_label))}</small>` : "";
+function Lue(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Lue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Rue(e, t) {
+var Rue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function zue(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 zue(e) {
+function Bue(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 ZP(e, t) {
+function XP(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
// src/react/immerse/immerse.ts
-var Bue = (e, t, n) => [
+var Vue = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Vue(e) {
+function Hue(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 Hue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function Uue(e, t = Math.random) {
+var Uue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function Wue(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 Wue(e, t) {
- return Uue(((await V(`/api/items?${e}`)).items || []).filter((e) => Hue(e, t)));
+async function Gue(e, t) {
+ return Wue(((await V(`/api/items?${e}`)).items || []).filter((e) => Uue(e, t)));
}
-var QP = (e) => U.ensureQueryData({
- queryKey: OP(e),
- queryFn: ({ signal: t }) => LP(e, t)
+var ZP = (e) => U.ensureQueryData({
+ queryKey: DP(e),
+ queryFn: ({ signal: t }) => IP(e, t)
});
-function Gue(e, t) {
+function Kue(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Kue(e) {
+function que(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,
@@ -34628,306 +34628,306 @@ function Kue(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function que(e, t, n) {
+function Jue(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 Jue(e, t) {
+function Yue(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 Yue = 15e3, $P = {
+var Xue = 15e3, QP = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, eF = null, tF = null, nF = $P, rF = /* @__PURE__ */ new Set(), iF = 0, aF = 0, oF = 0, sF = "", cF = [], lF = 0, uF = !1, dF = !1, fF = null, pF = /* @__PURE__ */ new Set(), mF = "", hF = null, gF = 0, _F = null, vF = !1;
-function yF() {
- if (!eF) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return eF;
+}, $P = null, eF = null, tF = QP, nF = /* @__PURE__ */ new Set(), rF = 0, iF = 0, aF = 0, oF = "", sF = [], cF = 0, lF = !1, uF = !1, dF = null, fF = /* @__PURE__ */ new Set(), pF = "", mF = null, hF = 0, gF = null, _F = !1;
+function vF() {
+ if (!$P) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return $P;
}
-function Xue(e) {
- return rF.add(e), () => {
- rF.delete(e);
+function Zue(e) {
+ return nF.add(e), () => {
+ nF.delete(e);
};
}
-function Zue() {
- for (let e of [...rF]) e();
+function Que() {
+ for (let e of [...nF]) e();
}
-function bF() {
- (0, It.flushSync)(Zue);
+function yF() {
+ (0, It.flushSync)(Que);
}
-function xF() {
- let e = hF ? _N(hF.id) : 0;
- return e ? `${mF} · ${yN(e)}` : mF;
+function bF() {
+ let e = mF ? gN(mF.id) : 0;
+ return e ? `${pF} · ${vN(e)}` : pF;
}
-function SF(e, t = null) {
- clearInterval(gF), gF = 0, e === null ? (nF = {
- ...nF,
+function xF(e, t = null) {
+ clearInterval(hF), hF = 0, e === null ? (tF = {
+ ...tF,
loading: null
- }, bF()) : (mF = e, hF = t, nF = {
- ...nF,
- loading: xF()
- }, bF(), gF = window.setInterval(() => {
- hF = cF[lF] ?? null, nF = {
- ...nF,
- loading: xF()
- }, bF();
+ }, yF()) : (pF = e, mF = t, tF = {
+ ...tF,
+ loading: bF()
+ }, yF(), hF = window.setInterval(() => {
+ mF = sF[cF] ?? null, tF = {
+ ...tF,
+ loading: bF()
+ }, yF();
}, 500));
}
-function Que(e) {
+function $ue(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), tF.track.append(t);
- let r = XN(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), eF.track.append(t);
+ let r = YN(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => $N(r),
+ release: () => QN(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return pF.add(a), a;
+ return fF.add(a), a;
}
-function $ue(e, t) {
+function ede(e, t) {
return new Promise((n) => {
- e.release = gP(e.video, {
+ e.release = hP(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- nF.open && kF(1);
+ tF.open && OF(1);
}
}), e.gone.then(n);
});
}
-function CF(e) {
- e && !e.disposed && (e.disposed = !0, pF.delete(e), e.leave(), e.release(), e.el.remove(), fF === e && (fF = null));
+function SF(e) {
+ e && !e.disposed && (e.disposed = !0, fF.delete(e), e.leave(), e.release(), e.el.remove(), dF === e && (dF = null));
}
-var wF = [
+var CF = [
"loadeddata",
"canplay",
"error"
];
-function ede(e) {
+function tde(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), wF.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), CF.forEach((e) => t.removeEventListener(e, i)), n());
};
- wF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, Yue);
+ CF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, Xue);
e.gone.then(i);
});
}
-function TF(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = que(e.videoWidth, e.videoHeight, n);
+function wF(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Jue(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var EF = () => tF?.track.querySelectorAll("video").forEach(TF);
-function tde(e) {
- delete e.dataset.fit, e.readyState >= 1 ? TF(e) : e.addEventListener("loadedmetadata", () => TF(e), { once: !0 });
-}
+var TF = () => eF?.track.querySelectorAll("video").forEach(wF);
function nde(e) {
- nF = {
- ...nF,
+ delete e.dataset.fit, e.readyState >= 1 ? wF(e) : e.addEventListener("loadedmetadata", () => wF(e), { once: !0 });
+}
+function rde(e) {
+ tF = {
+ ...tF,
wide: e
- }, bF(), EF();
+ }, yF(), TF();
}
-var DF = () => {
- let e = sF;
+var EF = () => {
+ let e = oF;
return U.fetchQuery({
- queryKey: Bue(e, aF, oF),
- queryFn: () => Wue(e, yF().sourceOffline),
+ queryKey: Vue(e, iF, aF),
+ queryFn: () => Gue(e, vF().sourceOffline),
staleTime: Infinity
});
};
-function rde(e, t) {
+function ide(e, t) {
let n = () => Gn(e.duration) || Gn(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && tF && (tF.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), _F = {
+ t && eF && (eF.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), gF = {
video: e,
duration: n
};
}
-async function OF(e = 0) {
- let t = cF[lF];
- if (!t || uF) return;
- let n = iF;
- yF().route(t.id), uF = !0, SF(e ? "切换中" : "加载中", t);
+async function DF(e = 0) {
+ let t = sF[cF];
+ if (!t || lF) return;
+ let n = rF;
+ vF().route(t.id), lF = !0, xF(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await QP(t.id).catch((e) => {
- if (!(e instanceof IP)) throw e;
- }), n !== iF) return;
- let i = fF, a = !!(e && i);
- a || CF(i);
- let o = Que(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, tde(o.video), await $ue(o, t), await ede(o), o.disposed || (nde(Jue(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await ZP(t.id).catch((e) => {
+ if (!(e instanceof FP)) throw e;
+ }), n !== rF) return;
+ let i = dF, a = !!(e && i);
+ a || SF(i);
+ let o = $ue(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, nde(o.video), await ede(o, t), await tde(o), o.disposed || (rde(Yue(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)), CF(i), o.el.style.transform = ""), o.disposed)) return;
- fF = o, r = null, o.video.play()?.catch(() => {}), nF = {
- ...nF,
+ })), await new Promise((e) => setTimeout(e, 210)), SF(i), o.el.style.transform = ""), o.disposed)) return;
+ dF = o, r = null, o.video.play()?.catch(() => {}), tF = {
+ ...tF,
idle: !1,
shown: {
item: t,
- index: lF,
- length: cF.length
+ index: cF,
+ length: sF.length
}
- }, rde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), SF(null);
+ }, ide(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), xF(null);
} catch {
- CF(r), n === iF && SF(null);
+ SF(r), n === rF && xF(null);
} finally {
- n === iF && (uF = !1);
+ n === rF && (lF = !1);
}
}
-async function kF(e) {
- if (uF || !nF.open) return;
- let t = iF;
- if (lF += e, SF("切换中", cF[lF] ?? null), lF >= cF.length - 3 && !dF) {
- dF = !0;
+async function OF(e) {
+ if (lF || !tF.open) return;
+ let t = rF;
+ if (cF += e, xF("切换中", sF[cF] ?? null), cF >= sF.length - 3 && !uF) {
+ uF = !0;
try {
- oF += 1;
- let e = await DF();
- t === iF && (cF = Gue(cF, e));
+ aF += 1;
+ let e = await EF();
+ t === rF && (sF = Kue(sF, e));
} catch {} finally {
- dF = !1;
+ uF = !1;
}
}
- t === iF && (lF >= cF.length && (lF = 0), lF < 0 && (lF = cF.length - 1), await OF(e));
+ t === rF && (cF >= sF.length && (cF = 0), cF < 0 && (cF = sF.length - 1), await DF(e));
}
-async function ide(e) {
- let t = ++iF;
- AF(), aF += 1, oF = 0, sF = Vue(yF().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), nF = {
- ...nF,
+async function ade(e) {
+ let t = ++rF;
+ kF(), iF += 1, aF = 0, oF = Hue(vF().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), tF = {
+ ...tF,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), SF("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), xF("加载内容");
try {
- let n = await DF();
+ let n = await EF();
if (e && !n.some((t) => t.id === e)) {
- let t = await QP(e).catch((e) => {
- if (e instanceof IP) return null;
+ let t = await ZP(e).catch((e) => {
+ if (e instanceof FP) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== iF) return;
- if (cF = n, !cF.length) {
- jF(), yF().warn("当前筛选下没有可直接播放的内容");
+ if (t !== rF) return;
+ if (sF = n, !sF.length) {
+ AF(), vF().warn("当前筛选下没有可直接播放的内容");
return;
}
- lF = Math.max(0, cF.findIndex((t) => t.id === e)), await OF();
+ cF = Math.max(0, sF.findIndex((t) => t.id === e)), await DF();
} catch {
- if (t !== iF) return;
- SF(null), jF();
+ if (t !== rF) return;
+ xF(null), AF();
}
}
-function AF() {
- clearInterval(gF), gF = 0, LF(), FF = null, _F = null, vF = !1, [...pF].forEach(CF), uF = !1;
+function kF() {
+ clearInterval(hF), hF = 0, IF(), PF = null, gF = null, _F = !1, [...fF].forEach(SF), lF = !1;
}
-function jF() {
- nF.open && (iF++, AF(), nF = $P, document.body.removeAttribute("data-immerse-open"), bF(), yF().closed());
+function AF() {
+ tF.open && (rF++, kF(), tF = QP, document.body.removeAttribute("data-immerse-open"), yF(), vF().closed());
}
-var MF = 0, NF = null, PF = 0, FF = null, IF = 0;
-function LF() {
- clearTimeout(MF), MF = 0, NF = null;
+var jF = 0, MF = null, NF = 0, PF = null, FF = 0;
+function IF() {
+ clearTimeout(jF), jF = 0, MF = null;
}
-function ade(e) {
- let t = fF?.video;
+function ode(e) {
+ let t = dF?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- NF && NF.side === n && r - NF.at <= 280 ? (LF(), vP(t, yF().seekSeconds() * n)) : (MF && (clearTimeout(MF), MF = 0, _P(t)), NF = {
+ MF && MF.side === n && r - MF.at <= 280 ? (IF(), _P(t, vF().seekSeconds() * n)) : (jF && (clearTimeout(jF), jF = 0, gP(t)), MF = {
side: n,
at: r
- }, MF = window.setTimeout(() => {
- MF = 0, NF = null, nF.open && _P(fF?.video);
+ }, jF = window.setTimeout(() => {
+ jF = 0, MF = null, tF.open && gP(dF?.video);
}, 280));
}
-function ode() {
- Date.now() < PF || _P(fF?.video);
+function sde() {
+ Date.now() < NF || gP(dF?.video);
}
-var RF = (e) => tF?.bar.toggleAttribute("data-scrubbing", e);
-function zF(e) {
- tF && (tF.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var LF = (e) => eF?.bar.toggleAttribute("data-scrubbing", e);
+function RF(e) {
+ eF && (eF.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function BF(e) {
+function zF(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- FF = null;
+ PF = null;
return;
}
- let n = fF?.video;
- FF = {
+ let n = dF?.video;
+ PF = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function VF(e) {
- if (!FF || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - FF.x, n = e.touches[0].clientY - FF.y;
- if (!FF.axis) {
+function BF(e) {
+ if (!PF || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - PF.x, n = e.touches[0].clientY - PF.y;
+ if (!PF.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- FF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", FF.axis === "x" && RF(!0);
+ PF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", PF.axis === "x" && LF(!0);
}
- if (FF.axis !== "x") return;
- let r = fF?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), FF.to = Math.min(i, Math.max(0, FF.from + t / window.innerWidth * i)), zF(FF.to / i));
+ if (PF.axis !== "x") return;
+ let r = dF?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), PF.to = Math.min(i, Math.max(0, PF.from + t / window.innerWidth * i)), RF(PF.to / i));
}
-function HF(e) {
- if (!FF) return;
- let t = FF;
- if (FF = null, PF = Date.now() + 700, RF(!1), t.axis === "x") {
- let e = fF?.video;
+function VF(e) {
+ if (!PF) return;
+ let t = PF;
+ if (PF = null, NF = Date.now() + 700, LF(!1), t.axis === "x") {
+ let e = dF?.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 ? (LF(), kF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ade(n.clientX));
+ Math.abs(i) > 60 ? (IF(), OF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ode(n.clientX));
}
-function UF() {
- FF = null, RF(!1);
+function HF() {
+ PF = null, LF(!1);
}
-function WF(e) {
+function UF(e) {
let t = Date.now();
- t - IF < 260 || (IF = t, kF(e.deltaY > 0 ? 1 : -1));
+ t - FF < 260 || (FF = t, OF(e.deltaY > 0 ? 1 : -1));
}
-function GF(e) {
- let t = tF.bar.getBoundingClientRect();
+function WF(e) {
+ let t = eF.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function sde(e) {
- _F?.duration() && (vF = !0, RF(!0), e.currentTarget.setPointerCapture(e.pointerId), zF(GF(e)), e.preventDefault());
-}
function cde(e) {
- vF && zF(GF(e));
+ gF?.duration() && (_F = !0, LF(!0), e.currentTarget.setPointerCapture(e.pointerId), RF(WF(e)), e.preventDefault());
}
function lde(e) {
- if (!vF) return;
- vF = !1, RF(!1);
- let t = _F?.duration();
- _F && t && (_F.video.currentTime = t * GF(e));
+ _F && RF(WF(e));
}
-function ude() {
- vF = !1, RF(!1);
+function ude(e) {
+ if (!_F) return;
+ _F = !1, LF(!1);
+ let t = gF?.duration();
+ gF && t && (gF.video.currentTime = t * WF(e));
}
-async function KF(e, t) {
- let n = await H(jP, {
+function dde() {
+ _F = !1, LF(!1);
+}
+async function GF(e, t) {
+ let n = await H(AP, {
id: e,
kind: t
- }), r = U.getQueryData(OP(e));
- if (!r) return CP(e, {
+ }), r = U.getQueryData(DP(e));
+ if (!r) return SP(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -34936,7 +34936,7 @@ async function KF(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return U.setQueryData(OP(e), i), CP(e, {
+ return U.setQueryData(DP(e), i), SP(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -34944,7 +34944,7 @@ async function KF(e, t) {
o_count: i.o_count
}), n;
}
-var dde = [
+var fde = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -34961,31 +34961,31 @@ var dde = [
label: "记一次高潮"
}
];
-function qF(e) {
+function KF(e) {
return Nt({
- queryKey: OP(e ?? 0),
- queryFn: ({ signal: t }) => LP(e, t),
+ queryKey: DP(e ?? 0),
+ queryFn: ({ signal: t }) => IP(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function fde({ kind: e, glyph: t, label: n, id: r }) {
- let i = qF(r), a = Pt({
+function pde({ kind: e, glyph: t, label: n, id: r }) {
+ let i = KF(r), a = Pt({
mutationFn: async (t) => {
- let n = U.getQueryData(OP(t))?.feedback || null;
+ let n = U.getQueryData(DP(t))?.feedback || null;
return {
- result: await KF(t, e),
+ result: await GF(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- yF().toast(ZP(e, t), { undo: async () => {
- e === "o" ? await KF(r, "o-undo") : (t.feedback && await KF(r, t.feedback), n && await KF(r, n));
+ vF().toast(XP(e, t), { undo: async () => {
+ e === "o" ? await GF(r, "o-undo") : (t.feedback && await GF(r, t.feedback), n && await GF(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- kF(1);
+ OF(1);
}, 260);
},
- onError: (e) => yF().failure("更新反馈", e)
+ onError: (e) => vF().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-action": "",
@@ -35016,11 +35016,11 @@ function fde({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function pde({ shown: e }) {
- let t = e?.item ?? null, n = qF(t?.id ?? null), r = n ? Kue(n) : null, i = yF(), a = (e) => {
- e.preventDefault(), n && (jF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function mde({ shown: e }) {
+ let t = e?.item ?? null, n = KF(t?.id ?? null), r = n ? que(n) : null, i = vF(), a = (e) => {
+ e.preventDefault(), n && (AF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (jF(), i.openItem(t.id));
+ t && (AF(), i.openItem(t.id));
}, s = r ? ho(r.name, r.ref, Ya(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-ui": "",
@@ -35049,18 +35049,18 @@ function pde({ shown: e }) {
})]
});
}
-var mde = { __html: Rs("媒体加载中") };
-function hde({ view: e }) {
+var hde = { __html: Rs("媒体加载中") };
+function gde({ view: e }) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current;
- return tF = {
+ return eF = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", BF, { passive: !0 }), e.addEventListener("touchmove", VF, { passive: !1 }), e.addEventListener("touchend", HF, { passive: !1 }), e.addEventListener("touchcancel", UF, { passive: !0 }), e.addEventListener("wheel", WF, { passive: !0 }), () => {
- e.removeEventListener("touchstart", BF), e.removeEventListener("touchmove", VF), e.removeEventListener("touchend", HF), e.removeEventListener("touchcancel", UF), e.removeEventListener("wheel", WF), tF = null;
+ }, e.addEventListener("touchstart", zF, { passive: !0 }), e.addEventListener("touchmove", BF, { passive: !1 }), e.addEventListener("touchend", VF, { passive: !1 }), e.addEventListener("touchcancel", HF, { passive: !0 }), e.addEventListener("wheel", UF, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", zF), e.removeEventListener("touchmove", BF), e.removeEventListener("touchend", VF), e.removeEventListener("touchcancel", HF), e.removeEventListener("wheel", UF), eF = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -35077,10 +35077,10 @@ function hde({ view: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: ode
+ onClick: sde
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-immerse-actions": "",
- children: dde.map((e) => /* @__PURE__ */ (0, I.jsx)(fde, {
+ children: fde.map((e) => /* @__PURE__ */ (0, I.jsx)(pde, {
...e,
id: a
}, e.kind))
@@ -35093,7 +35093,7 @@ function hde({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: mde
+ dangerouslySetInnerHTML: hde
}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -35101,7 +35101,7 @@ function hde({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: jF,
+ onClick: AF,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-x" })
@@ -35110,41 +35110,41 @@ function hde({ view: e }) {
/* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: sde,
- onPointerMove: cde,
- onPointerUp: lde,
- onPointerCancel: ude,
+ onPointerDown: cde,
+ onPointerMove: lde,
+ onPointerUp: ude,
+ onPointerCancel: dde,
children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, I.jsx)(pde, { shown: e.shown })
+ /* @__PURE__ */ (0, I.jsx)(mde, { shown: e.shown })
]
});
}
-var gde = {
- open: ide,
- close: jF,
- isOpen: () => nF.open,
- activeVideo: () => nF.open ? fF?.video ?? null : null
+var _de = {
+ open: ade,
+ close: AF,
+ isOpen: () => tF.open,
+ activeVideo: () => tF.open ? dF?.video ?? null : null
};
-function _de(e) {
- if (!nF.open) return;
+function vde(e) {
+ if (!tF.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && kF(1), e.key === "ArrowUp" && kF(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && OF(1), e.key === "ArrowUp" && OF(-1));
}
-function vde(e) {
- let t = !eF;
- return eF = e, t && (document.addEventListener("keydown", _de), addEventListener("resize", () => {
- nF.open && EF();
+function yde(e) {
+ let t = !$P;
+ return $P = e, t && (document.addEventListener("keydown", vde), addEventListener("resize", () => {
+ tF.open && TF();
}), addEventListener("pagehide", () => {
- pF.forEach((e) => $N(e.session));
- })), gde;
+ fF.forEach((e) => QN(e.session));
+ })), _de;
}
-function yde() {
- let e = (0, F.useSyncExternalStore)(Xue, () => nF);
- return eF ? /* @__PURE__ */ (0, I.jsx)(hde, { view: e }) : null;
+function bde() {
+ let e = (0, F.useSyncExternalStore)(Zue, () => tF);
+ return $P ? /* @__PURE__ */ (0, I.jsx)(gde, { view: e }) : null;
}
// src/manage-header.ts
-var JF = {
+var qF = {
...qf,
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
@@ -35152,47 +35152,47 @@ var JF = {
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, bde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function xde(e) {
- let t = JF[e.path] ? "cleanup" : e.section;
+}, xde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function Sde(e) {
+ let t = qF[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var Sde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function YF(e) {
+var Cde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function JF(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = JF[e.path] ?? "";
+ let n = qF[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: xde(e),
+ pressed: Sde(e),
crumb: n,
- compact: bde.has(e.path) || e.section === "configuration",
+ compact: xde.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Sde(e.trash),
+ text: Cde(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var XF = (e) => e.replace(/[&<>"']/g, (e) => ({
+var YF = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), ZF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${XF(e)}"/></svg>`, QF = "<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 Cde(e) {
- let t = YF(e);
+})[e]), XF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${YF(e)}"/></svg>`, ZF = "<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 wde(e) {
+ let t = JF(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${XF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${ZF(r)}<span>${XF(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${ZF("chevron-right")}</li><li aria-current="true"><span>${XF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? QF : `<span data-lede-text="">${XF(t.lede.text)}</span>${t.lede.total ? wde : ""}`}</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=\"\"" : ""}>${XF(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${YF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${XF(r)}<span>${YF(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${XF("chevron-right")}</li><li aria-current="true"><span>${YF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ZF : `<span data-lede-text="">${YF(t.lede.text)}</span>${t.lede.total ? Tde : ""}`}</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=\"\"" : ""}>${YF(t.title)}</h2>` + i;
}
-var wde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Tde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
// src/react/settings-panel/icon.tsx
-function $F({ name: e }) {
+function QF({ name: e }) {
let { wide: t, viewBox: n } = xn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -35201,7 +35201,7 @@ function $F({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function Tde({ name: e }) {
+function Ede({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -35209,88 +35209,88 @@ function Tde({ name: e }) {
});
}
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var Ede = (e, t) => {
+var Dde = (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;
-}, Dde = (e, t) => ({
+}, Ode = (e, t) => ({
classGroupId: e,
validator: t
-}), eI = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), $F = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), tI = "-", nI = [], Ode = "arbitrary..", kde = (e) => {
- let t = jde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), eI = "-", tI = [], kde = "arbitrary..", Ade = (e) => {
+ let t = Mde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Ade(e);
- let n = e.split(tI);
- return rI(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return jde(e);
+ let n = e.split(eI);
+ return nI(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Ede(i, t) : t : i || nI;
+ return t ? i ? Dde(i, t) : t : i || tI;
}
- return n[e] || nI;
+ return n[e] || tI;
}
};
-}, rI = (e, t, n) => {
+}, nI = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = rI(e, t + 1, i);
+ let n = nI(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(tI) : e.slice(t).join(tI), s = a.length;
+ let o = t === 0 ? e.join(eI) : e.slice(t).join(eI), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Ade = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, jde = (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 ? Ode + r : void 0;
-})(), jde = (e) => {
+ return r ? kde + r : void 0;
+})(), Mde = (e) => {
let { theme: t, classGroups: n } = e;
- return Mde(n, t);
-}, Mde = (e, t) => {
- let n = eI();
+ return Nde(n, t);
+}, Nde = (e, t) => {
+ let n = $F();
for (let r in e) {
let i = e[r];
- iI(i, n, r, t);
+ rI(i, n, r, t);
}
return n;
-}, iI = (e, t, n, r) => {
+}, rI = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Nde(i, t, n, r);
+ Pde(i, t, n, r);
}
-}, Nde = (e, t, n, r) => {
- typeof e == "string" ? Pde(e, t, n) : typeof e == "function" ? Fde(e, t, n, r) : Ide(e, t, n, r);
-}, Pde = (e, t, n) => {
- let r = e === "" ? t : aI(t, e);
+}, Pde = (e, t, n, r) => {
+ typeof e == "string" ? Fde(e, t, n) : typeof e == "function" ? Ide(e, t, n, r) : Lde(e, t, n, r);
+}, Fde = (e, t, n) => {
+ let r = e === "" ? t : iI(t, e);
r.classGroupId = n;
-}, Fde = (e, t, n, r) => {
- Lde(e) ? iI(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Dde(n, e)));
}, Ide = (e, t, n, r) => {
+ Rde(e) ? rI(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ode(n, e)));
+}, Lde = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- iI(o, aI(t, a), n, r);
+ rI(o, iI(t, a), n, r);
}
-}, aI = (e, t) => {
- let n = e, r = t.split(tI), i = r.length;
+}, iI = (e, t) => {
+ let n = e, r = t.split(eI), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = eI(), n.nextPart.set(t, i)), n = i;
+ i || (i = $F(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Lde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Rde = (e) => {
+}, Rde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, zde = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -35308,19 +35308,19 @@ var Ede = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, oI = "!", sI = ":", zde = [], cI = (e, t, n, r, i) => ({
+}, aI = "!", oI = ":", Bde = [], sI = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Bde = (e) => {
+}), Vde = (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 === sI) {
+ if (o === oI) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -35332,13 +35332,13 @@ var Ede = (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(oI) ? (c = s.slice(0, -1), l = !0) : s.startsWith(oI) && (c = s.slice(1), l = !0);
+ s.endsWith(aI) ? (c = s.slice(0, -1), l = !0) : s.startsWith(aI) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return cI(t, l, c, u);
+ return sI(t, l, c, u);
};
if (t) {
- let e = t + sI, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : cI(zde, !1, t, void 0, !0);
+ let e = t + oI, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : sI(Bde, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -35348,7 +35348,7 @@ var Ede = (e, t) => {
});
}
return r;
-}, Vde = (e) => {
+}, Hde = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -35360,18 +35360,18 @@ var Ede = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Hde = (e) => ({
- cache: Rde(e.cacheSize),
- parseClassName: Bde(e),
- sortModifiers: Vde(e),
- postfixLookupClassGroupIds: Ude(e),
- ...kde(e)
-}), Ude = (e) => {
+}, Ude = (e) => ({
+ cache: zde(e.cacheSize),
+ parseClassName: Vde(e),
+ sortModifiers: Hde(e),
+ postfixLookupClassGroupIds: Wde(e),
+ ...Ade(e)
+}), Wde = (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;
-}, Wde = /\s+/, Gde = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Wde), l = "";
+}, Gde = /\s+/, Kde = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Gde), 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) {
@@ -35391,7 +35391,7 @@ var Ede = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + oI : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + aI : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -35402,34 +35402,34 @@ var Ede = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Kde = (...e) => {
+}, qde = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = lI(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = cI(n)) && (i && (i += " "), i += r);
return i;
-}, lI = (e) => {
+}, cI = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = lI(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = cI(e[r])) && (n && (n += " "), n += t);
return n;
-}, uI = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Hde(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, lI = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Ude(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 = Gde(e, n);
+ let a = Kde(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Kde(...e));
-}, qde = [], dI = (e) => {
- let t = (t) => t[e] || qde;
+ return a = o, (...e) => a(qde(...e));
+}, Jde = [], uI = (e) => {
+ let t = (t) => t[e] || Jde;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, fI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Jde = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yde = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xde = /\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$/, Zde = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Qde = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $de = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, mI = (e) => Jde.test(e), hI = (e) => !!e && !Number.isNaN(Number(e)), gI = (e) => !!e && Number.isInteger(Number(e)), _I = (e) => e.endsWith("%") && hI(e.slice(0, -1)), vI = (e) => Yde.test(e), yI = () => !0, bI = (e) => Xde.test(e) && !Zde.test(e), xI = () => !1, SI = (e) => Qde.test(e), CI = (e) => $de.test(e), wI = (e) => !EI(e) && !jI(e), TI = (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)), efe = (e) => FI(e, zI, xI), EI = (e) => fI.test(e), DI = (e) => FI(e, BI, bI), OI = (e) => FI(e, cfe, hI), tfe = (e) => FI(e, HI, yI), nfe = (e) => FI(e, VI, xI), kI = (e) => FI(e, LI, xI), rfe = (e) => FI(e, RI, CI), AI = (e) => FI(e, UI, SI), jI = (e) => pI.test(e), MI = (e) => II(e, BI), ife = (e) => II(e, VI), NI = (e) => II(e, LI), afe = (e) => II(e, zI), ofe = (e) => II(e, RI), PI = (e) => II(e, UI, !0), sfe = (e) => II(e, HI, !0), FI = (e, t, n) => {
- let r = fI.exec(e);
+}, dI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, fI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yde = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Xde = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zde = /\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$/, Qde = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, $de = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pI = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, mI = (e) => Yde.test(e), hI = (e) => !!e && !Number.isNaN(Number(e)), gI = (e) => !!e && Number.isInteger(Number(e)), _I = (e) => e.endsWith("%") && hI(e.slice(0, -1)), vI = (e) => Xde.test(e), yI = () => !0, bI = (e) => Zde.test(e) && !Qde.test(e), xI = () => !1, SI = (e) => $de.test(e), CI = (e) => pI.test(e), wI = (e) => !TI(e) && !AI(e), efe = (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)), tfe = (e) => PI(e, RI, xI), TI = (e) => dI.test(e), EI = (e) => PI(e, zI, bI), DI = (e) => PI(e, lfe, hI), nfe = (e) => PI(e, VI, yI), rfe = (e) => PI(e, BI, xI), OI = (e) => PI(e, II, xI), ife = (e) => PI(e, LI, CI), kI = (e) => PI(e, HI, SI), AI = (e) => fI.test(e), jI = (e) => FI(e, zI), afe = (e) => FI(e, BI), MI = (e) => FI(e, II), ofe = (e) => FI(e, RI), sfe = (e) => FI(e, LI), NI = (e) => FI(e, HI, !0), cfe = (e) => FI(e, VI, !0), PI = (e, t, n) => {
+ let r = dI.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, II = (e, t, n = !1) => {
- let r = pI.exec(e);
+}, FI = (e, t, n = !1) => {
+ let r = fI.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, LI = (e) => e === "position" || e === "percentage", RI = (e) => e === "image" || e === "url", zI = (e) => e === "length" || e === "size" || e === "bg-size", BI = (e) => e === "length", cfe = (e) => e === "number", VI = (e) => e === "family-name", HI = (e) => e === "number" || e === "weight", UI = (e) => e === "shadow", WI = () => {
- let e = dI("color"), t = dI("font"), n = dI("text"), r = dI("font-weight"), i = dI("tracking"), a = dI("leading"), o = dI("breakpoint"), s = dI("container"), c = dI("spacing"), l = dI("radius"), u = dI("shadow"), d = dI("inset-shadow"), f = dI("text-shadow"), p = dI("drop-shadow"), m = dI("blur"), h = dI("perspective"), g = dI("aspect"), _ = dI("ease"), v = dI("animate"), y = () => [
+}, II = (e) => e === "position" || e === "percentage", LI = (e) => e === "image" || e === "url", RI = (e) => e === "length" || e === "size" || e === "bg-size", zI = (e) => e === "length", lfe = (e) => e === "number", BI = (e) => e === "family-name", VI = (e) => e === "number" || e === "weight", HI = (e) => e === "shadow", UI = () => {
+ let e = uI("color"), t = uI("font"), n = uI("text"), r = uI("font-weight"), i = uI("tracking"), a = uI("leading"), o = uI("breakpoint"), s = uI("container"), c = uI("spacing"), l = uI("radius"), u = uI("shadow"), d = uI("inset-shadow"), f = uI("text-shadow"), p = uI("drop-shadow"), m = uI("blur"), h = uI("perspective"), g = uI("aspect"), _ = uI("ease"), v = uI("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -35454,8 +35454,8 @@ var Ede = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- jI,
- EI
+ AI,
+ TI
], S = () => [
"auto",
"hidden",
@@ -35467,8 +35467,8 @@ var Ede = (e, t) => {
"contain",
"none"
], w = () => [
- jI,
- EI,
+ AI,
+ TI,
c
], T = () => [
mI,
@@ -35479,31 +35479,31 @@ var Ede = (e, t) => {
gI,
"none",
"subgrid",
- jI,
- EI
+ AI,
+ TI
], D = () => [
"auto",
{ span: [
"full",
gI,
- jI,
- EI
+ AI,
+ TI
] },
gI,
- jI,
- EI
+ AI,
+ TI
], O = () => [
gI,
"auto",
- jI,
- EI
+ AI,
+ TI
], k = () => [
"auto",
"min",
"max",
"fr",
- jI,
- EI
+ AI,
+ TI
], A = () => [
"start",
"end",
@@ -35562,13 +35562,13 @@ var Ede = (e, t) => {
...w()
], P = () => [
e,
- jI,
- EI
+ AI,
+ TI
], ne = () => [
...b(),
- NI,
- kI,
- { position: [jI, EI] }
+ MI,
+ OI,
+ { position: [AI, TI] }
], re = () => ["no-repeat", { repeat: [
"",
"x",
@@ -35579,25 +35579,25 @@ var Ede = (e, t) => {
"auto",
"cover",
"contain",
- afe,
- efe,
- { size: [jI, EI] }
+ ofe,
+ tfe,
+ { size: [AI, TI] }
], I = () => [
_I,
- MI,
- DI
+ jI,
+ EI
], ie = () => [
"",
"none",
"full",
l,
- jI,
- EI
+ AI,
+ TI
], ae = () => [
"",
hI,
- MI,
- DI
+ jI,
+ EI
], oe = () => [
"solid",
"dashed",
@@ -35623,28 +35623,28 @@ var Ede = (e, t) => {
], ce = () => [
hI,
_I,
- NI,
- kI
+ MI,
+ OI
], le = () => [
"",
"none",
m,
- jI,
- EI
+ AI,
+ TI
], ue = () => [
"none",
hI,
- jI,
- EI
+ AI,
+ TI
], de = () => [
"none",
hI,
- jI,
- EI
+ AI,
+ TI
], fe = () => [
hI,
- jI,
- EI
+ AI,
+ TI
], pe = () => [
mI,
"full",
@@ -35718,8 +35718,8 @@ var Ede = (e, t) => {
"auto",
"square",
mI,
- EI,
- jI,
+ TI,
+ AI,
g
] }],
container: ["container"],
@@ -35727,15 +35727,15 @@ var Ede = (e, t) => {
"",
"normal",
"size",
- jI,
- EI
+ AI,
+ TI
] }],
- "container-named": [TI],
+ "container-named": [efe],
columns: [{ columns: [
hI,
"auto",
- EI,
- jI,
+ TI,
+ AI,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -35834,8 +35834,8 @@ var Ede = (e, t) => {
z: [{ z: [
gI,
"auto",
- jI,
- EI
+ AI,
+ TI
] }],
basis: [{ basis: [
mI,
@@ -35861,27 +35861,27 @@ var Ede = (e, t) => {
"auto",
"initial",
"none",
- EI
+ TI
] }],
grow: [{ grow: [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
shrink: [{ shrink: [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
order: [{ order: [
gI,
"first",
"last",
"none",
- jI,
- EI
+ AI,
+ TI
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -35988,15 +35988,15 @@ var Ede = (e, t) => {
"font-size": [{ text: [
"base",
n,
- MI,
- DI
+ jI,
+ EI
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- sfe,
- tfe
+ cfe,
+ nfe
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -36009,14 +36009,14 @@ var Ede = (e, t) => {
"extra-expanded",
"ultra-expanded",
_I,
- EI
+ TI
] }],
"font-family": [{ font: [
- ife,
- nfe,
+ afe,
+ rfe,
t
] }],
- "font-features": [{ "font-features": [EI] }],
+ "font-features": [{ "font-features": [TI] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -36025,14 +36025,14 @@ var Ede = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- jI,
- EI
+ AI,
+ TI
] }],
"line-clamp": [{ "line-clamp": [
hI,
"none",
- jI,
- OI
+ AI,
+ DI
] }],
leading: [{ leading: [
"none",
@@ -36041,16 +36041,16 @@ var Ede = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- jI,
- EI
+ AI,
+ TI
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- jI,
- EI
+ AI,
+ TI
] }],
"text-alignment": [{ text: [
"left",
@@ -36073,15 +36073,15 @@ var Ede = (e, t) => {
hI,
"from-font",
"auto",
- jI,
- DI
+ AI,
+ EI
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
hI,
"auto",
- jI,
- EI
+ AI,
+ TI
] }],
"text-transform": [
"uppercase",
@@ -36103,8 +36103,8 @@ var Ede = (e, t) => {
indent: [{ indent: w() }],
"tab-size": [{ tab: [
gI,
- jI,
- EI
+ AI,
+ TI
] }],
"vertical-align": [{ align: [
"baseline",
@@ -36115,8 +36115,8 @@ var Ede = (e, t) => {
"text-bottom",
"sub",
"super",
- jI,
- EI
+ AI,
+ TI
] }],
whitespace: [{ whitespace: [
"normal",
@@ -36144,8 +36144,8 @@ var Ede = (e, t) => {
] }],
content: [{ content: [
"none",
- jI,
- EI
+ AI,
+ TI
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -36181,23 +36181,23 @@ var Ede = (e, t) => {
"tl"
] },
gI,
- jI,
- EI
+ AI,
+ TI
],
radial: [
"",
- jI,
- EI
+ AI,
+ TI
],
conic: [
"",
gI,
- jI,
- EI
+ AI,
+ TI
]
},
- ofe,
- rfe
+ sfe,
+ ife
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: I() }],
@@ -36265,14 +36265,14 @@ var Ede = (e, t) => {
] }],
"outline-offset": [{ "outline-offset": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"outline-w": [{ outline: [
"",
hI,
- MI,
- DI
+ jI,
+ EI
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -36280,35 +36280,35 @@ var Ede = (e, t) => {
"inner",
"none",
u,
- PI,
- AI
+ NI,
+ kI
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- PI,
- AI
+ NI,
+ kI
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [hI, DI] }],
+ "ring-offset-w": [{ "ring-offset": [hI, EI] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- PI,
- AI
+ NI,
+ kI
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -36359,7 +36359,7 @@ var Ede = (e, t) => {
"mask-image-y-to-pos": [{ "mask-y-to": ce() }],
"mask-image-y-from-color": [{ "mask-y-from": P() }],
"mask-image-y-to-color": [{ "mask-y-to": P() }],
- "mask-image-radial": [{ "mask-radial": [jI, EI] }],
+ "mask-image-radial": [{ "mask-radial": [AI, TI] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],
"mask-image-radial-from-color": [{ "mask-radial-from": P() }],
@@ -36394,111 +36394,111 @@ var Ede = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- jI,
- EI
+ AI,
+ TI
] }],
filter: [{ filter: [
"",
"none",
- jI,
- EI
+ AI,
+ TI
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
contrast: [{ contrast: [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- PI,
- AI
+ NI,
+ kI
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"hue-rotate": [{ "hue-rotate": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
invert: [{ invert: [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
saturate: [{ saturate: [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
sepia: [{ sepia: [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
hI,
- jI,
- EI
+ AI,
+ TI
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -36514,39 +36514,39 @@ var Ede = (e, t) => {
"shadow",
"transform",
"none",
- jI,
- EI
+ AI,
+ TI
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
hI,
"initial",
- jI,
- EI
+ AI,
+ TI
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- jI,
- EI
+ AI,
+ TI
] }],
delay: [{ delay: [
hI,
- jI,
- EI
+ AI,
+ TI
] }],
animate: [{ animate: [
"none",
v,
- jI,
- EI
+ AI,
+ TI
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- jI,
- EI
+ AI,
+ TI
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -36562,8 +36562,8 @@ var Ede = (e, t) => {
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- jI,
- EI,
+ AI,
+ TI,
"",
"none",
"gpu",
@@ -36578,8 +36578,8 @@ var Ede = (e, t) => {
"translate-none": ["translate-none"],
zoom: [{ zoom: [
gI,
- jI,
- EI
+ AI,
+ TI
] }],
accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -36629,8 +36629,8 @@ var Ede = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- jI,
- EI
+ AI,
+ TI
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -36716,15 +36716,15 @@ var Ede = (e, t) => {
"scroll",
"contents",
"transform",
- jI,
- EI
+ AI,
+ TI
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
hI,
- MI,
- DI,
- OI
+ jI,
+ EI,
+ DI
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -36982,16 +36982,16 @@ var Ede = (e, t) => {
"selection"
]
};
-}, lfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (GI(e, "cacheSize", t), GI(e, "prefix", n), GI(e, "experimentalParseClassName", r), KI(e.theme, a.theme), KI(e.classGroups, a.classGroups), KI(e.conflictingClassGroups, a.conflictingClassGroups), KI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), GI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), GI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), qI(e.theme, i.theme), qI(e.classGroups, i.classGroups), qI(e.conflictingClassGroups, i.conflictingClassGroups), qI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), JI(e, i, "postfixLookupClassGroups"), JI(e, i, "orderSensitiveModifiers"), e), GI = (e, t, n) => {
+}, ufe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (WI(e, "cacheSize", t), WI(e, "prefix", n), WI(e, "experimentalParseClassName", r), GI(e.theme, a.theme), GI(e.classGroups, a.classGroups), GI(e.conflictingClassGroups, a.conflictingClassGroups), GI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), WI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), WI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), KI(e.theme, i.theme), KI(e.classGroups, i.classGroups), KI(e.conflictingClassGroups, i.conflictingClassGroups), KI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), qI(e, i, "postfixLookupClassGroups"), qI(e, i, "orderSensitiveModifiers"), e), WI = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, GI = (e, t) => {
+ if (t) for (let n in t) WI(e, n, t[n]);
}, KI = (e, t) => {
- if (t) for (let n in t) GI(e, n, t[n]);
-}, qI = (e, t) => {
- if (t) for (let n in t) JI(e, t, n);
-}, JI = (e, t, n) => {
+ if (t) for (let n in t) qI(e, t, n);
+}, qI = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, ufe = (e, ...t) => typeof e == "function" ? uI(WI, e, ...t) : uI(() => lfe(WI(), e), ...t), dfe = [
+}, dfe = (e, ...t) => typeof e == "function" ? lI(UI, e, ...t) : lI(() => ufe(UI(), e), ...t), ffe = [
"large-title",
"display-1",
"display-2",
@@ -37005,17 +37005,17 @@ var Ede = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], ffe = [
+], pfe = [
"regular",
"medium",
"semibold",
"bold"
-], YI = ufe({ extend: { classGroups: { "font-size": [{ text: dfe.flatMap((e) => ffe.map((t) => `${e}-${t}`)) }] } } });
-function XI(e) {
+], JI = dfe({ extend: { classGroups: { "font-size": [{ text: ffe.flatMap((e) => pfe.map((t) => `${e}-${t}`)) }] } } });
+function YI(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var pfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, ZI = XI({
+var mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, XI = YI({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -37037,9 +37037,9 @@ var pfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, ZI = XI({
gray: "text-text-primary"
}
});
-function QI({ children: e, className: t, ref: n, container: r, ...i }) {
+function ZI({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);
- pfe(() => {
+ mfe(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -37075,7 +37075,7 @@ function QI({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: YI("pointer-events-none absolute left-0 top-0", ZI.radius[o.variant], ZI.thumb[o.variant]),
+ className: JI("pointer-events-none absolute left-0 top-0", XI.radius[o.variant], XI.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -37086,43 +37086,43 @@ function QI({ children: e, className: t, ref: n, container: r, ...i }) {
return r === void 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
ref: c,
role: "group",
- className: YI("relative inline-flex items-center gap-1", t),
+ className: JI("relative inline-flex items-center gap-1", t),
...i,
children: [l, e]
}) : r ? (0, It.createPortal)(l, r) : null;
}
// src/react/manage-header/manage-header-island.tsx
-var $I = null, eL = null, tL = /* @__PURE__ */ new Set();
-function mfe(e) {
- return tL.add(e), () => {
- tL.delete(e);
+var QI = null, $I = null, eL = /* @__PURE__ */ new Set();
+function hfe(e) {
+ return eL.add(e), () => {
+ eL.delete(e);
};
}
-function hfe() {
- for (let e of [...tL]) e();
+function gfe() {
+ for (let e of [...eL]) e();
}
-var gfe = { render(e) {
- eL = e, (0, It.flushSync)(hfe);
+var _fe = { render(e) {
+ $I = e, (0, It.flushSync)(gfe);
} };
-function _fe(e) {
- return $I = e, eL = null, gfe;
+function vfe(e) {
+ return QI = e, $I = null, _fe;
}
-function vfe() {
- let e = (0, F.useSyncExternalStore)(mfe, () => eL);
- return $I && e ? /* @__PURE__ */ (0, I.jsx)(yfe, {
- host: $I,
+function yfe() {
+ let e = (0, F.useSyncExternalStore)(hfe, () => $I);
+ return QI && e ? /* @__PURE__ */ (0, I.jsx)(bfe, {
+ host: QI,
props: e
}) : null;
}
-function yfe({ host: e, props: t }) {
- let n = YF(t);
+function bfe({ host: e, props: t }) {
+ let n = JF(t);
return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(bfe, {
+ /* @__PURE__ */ (0, I.jsx)(xfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, I.jsx)(xfe, {
+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(Sfe, {
host: e,
label: n.crumb
}) : null,
@@ -37131,13 +37131,13 @@ function yfe({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Sfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Cfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function bfe({ host: e, pressed: t, menu: n }) {
+function xfe({ host: e, pressed: t, menu: n }) {
let r = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -37147,7 +37147,7 @@ function bfe({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, I.jsx)(QI, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZI, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -37161,13 +37161,13 @@ function bfe({ host: e, pressed: t, menu: n }) {
"data-pill-selected": a ? "" : void 0,
"data-pill-variant": "gray",
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, I.jsx)($F, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function xfe({ host: e, label: t }) {
+function Sfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -37177,20 +37177,20 @@ function xfe({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {
+ }), /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, I.jsx)("span", { children: t })
})] })
});
}
-function Sfe({ host: e, lede: t }) {
+function Cfe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: QF }
- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Cfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: ZF }
+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -37200,7 +37200,7 @@ function Sfe({ host: e, lede: t }) {
}) : null] })
});
}
-function Cfe({ text: e }) {
+function wfe({ text: e }) {
let t = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
Ks(t.current, e);
@@ -37210,29 +37210,29 @@ function Cfe({ text: e }) {
});
}
// src/core/text-lang.ts
-var wfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Tfe = /[㐀-鿿豈-﫿]/, Efe = /[A-Za-z]/;
-function nL(e) {
+var Tfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Efe = /[㐀-鿿豈-﫿]/, Dfe = /[A-Za-z]/;
+function tL(e) {
let t = String(e ?? "");
- if (wfe.test(t)) return "ja";
- if (!Tfe.test(t) && Efe.test(t)) return "en";
+ if (Tfe.test(t)) return "ja";
+ if (!Efe.test(t) && Dfe.test(t)) return "en";
}
-var Dfe = (e) => {
- let t = nL(e);
+var Ofe = (e) => {
+ let t = tL(e);
return t ? ` lang="${t}"` : "";
-}, Ofe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, kfe = (e, t = e?.name) => {
+}, kfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Afe = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(Ofe, "") : n;
-}, Afe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), jfe = (e) => {
+ return e?.is_jav ? n.replace(kfe, "") : n;
+}, jfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Mfe = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Afe) || t[0] || "";
+ return t.find(jfe) || t[0] || "";
};
-function rL(e, t = e?.name) {
- let n = kfe(e, t), r = String(e?.code || "").trim().toUpperCase();
+function nL(e, t = e?.name) {
+ let n = Afe(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 = jfe(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 = Mfe(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) => [
"中字",
"无码",
"无码破解"
@@ -37243,23 +37243,23 @@ function rL(e, t = e?.name) {
badges: f
};
}
-var iL = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = rL(e, t);
+var rL = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = nL(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function aL(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = rL(e, t);
+function iL(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = nL(e, t);
if (!n) return B(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");
- return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Dfe(r)}>${B(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Ofe(r)}>${B(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var oL = "/api/tasks", sL = ["tasks"];
-function Mfe(e, t) {
+var aL = "/api/tasks", oL = ["tasks"];
+function Nfe(e, t) {
let n = 0, r = 0, i = 0, a = 0;
for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);
return {
@@ -37270,7 +37270,7 @@ function Mfe(e, t) {
settled: n - r
};
}
-function Nfe(e) {
+function Pfe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
let e = t.get(n.task_key);
@@ -37281,11 +37281,11 @@ function Nfe(e) {
}
return [...t.values()];
}
-var Pfe = (e, t) => V(`${oL}?${new URLSearchParams({
+var Ffe = (e, t) => V(`${aL}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ffe(...e) {
+function Ife(...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) => {
@@ -37293,26 +37293,26 @@ function Ffe(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Ife = 2e3, Lfe = 1e4, cL = (e) => e?.running?.length ? Ife : Lfe, lL = (e) => V(oL, e), Rfe = (e, t, n) => H(`${oL}/${e}/control`, { action: t }, "POST", n);
-async function zfe(e) {
+var Lfe = 2e3, Rfe = 1e4, sL = (e) => e?.running?.length ? Lfe : Rfe, cL = (e) => V(aL, e), zfe = (e, t, n) => H(`${aL}/${e}/control`, { action: t }, "POST", n);
+async function Bfe(e) {
await U.fetchQuery({
- queryKey: sL,
- queryFn: () => lL(e)
+ queryKey: oL,
+ queryFn: () => cL(e)
});
}
-var Bfe = {
+var Vfe = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Vfe = {
+}, Hfe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Hfe = (e) => Vfe[e] || e, uL = {
+}, Ufe = (e) => Hfe[e] || e, lL = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37389,7 +37389,7 @@ var Bfe = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Ufe = [
+}, Wfe = [
"gone_count",
"unclear_count",
"source_failed",
@@ -37411,14 +37411,14 @@ var Bfe = {
"paused_count",
"miss",
"incomplete"
-], Wfe = ["face_match_unavailable"], dL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Wfe.some((t) => e.result_summary?.[t] === !0) || Ufe.some((t) => Number(e.result_summary?.[t]) > 0);
-function Gfe(e) {
+], Gfe = ["face_match_unavailable"], uL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Gfe.some((t) => e.result_summary?.[t] === !0) || Wfe.some((t) => Number(e.result_summary?.[t]) > 0);
+function Kfe(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 fL = /* @__PURE__ */ new Set(["library-processing"]);
-function Kfe(e, t = !0) {
- if (!dL(e) && e.status !== "failed" || fL.has(e.task_key) && !t) return null;
+var dL = /* @__PURE__ */ new Set(["library-processing"]);
+function qfe(e, t = !0) {
+ if (!uL(e) && e.status !== "failed" || dL.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -37436,12 +37436,12 @@ function Kfe(e, t = !0) {
label: n[1]
} : null;
}
-function qfe(e) {
+function Jfe(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) fL.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) dL.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 Jfe(e) {
+function Yfe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -37450,7 +37450,7 @@ function Jfe(e) {
}
return t;
}
-function Yfe(e, t) {
+function Xfe(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -37472,12 +37472,12 @@ function Yfe(e, t) {
}
return n;
}
-var Xfe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !dL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), pL = (e) => e.status === "pending" || e.status === "running";
-function Zfe(e) {
+var Zfe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !uL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), fL = (e) => e.status === "pending" || e.status === "running";
+function Qfe(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, gL(e.error) || ipe(o) || (pL(e) && i > 0 ? `${hL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, hL(e.error) || ape(o) || (fL(e) && i > 0 ? `${mL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function mL(e) {
+function pL(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -37486,19 +37486,19 @@ function mL(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function hL(e, t) {
+function mL(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function Qfe(e) {
+function $fe(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 gL(e) {
- let t = Qfe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function hL(e) {
+ let t = $fe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? yn(n[1]) : t;
}
-var $fe = {
+var epe = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -37516,11 +37516,11 @@ var $fe = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, _L = {
+}, gL = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, epe = {
+}, tpe = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -37531,8 +37531,8 @@ var $fe = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, tpe = (e) => $fe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${_L[t.toLowerCase()]} 资料页` : `已保存来自 ${_L[t.toLowerCase()]} 的资料`);
-function vL(e) {
+}, npe = (e) => epe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${gL[t.toLowerCase()]} 资料页` : `已保存来自 ${gL[t.toLowerCase()]} 的资料`);
+function _L(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -37542,7 +37542,7 @@ function vL(e) {
minute: "2-digit"
});
}
-var npe = /* @__PURE__ */ new Set([
+var rpe = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -37551,20 +37551,20 @@ var npe = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function yL(e) {
- let t = rpe(e);
+function vL(e) {
+ let t = ipe(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function rpe(e) {
- return Object.entries(e || {}).filter(([e, t]) => !npe.has(e) && (e in uL || 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" ? gL(String(t)) : e === "outcome" || e === "result" ? tpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${uL[e]} ${Jn(Number(t))}` : e === "operation" ? `操作:${epe[String(t)] || "批量操作"}` : `${uL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function ipe(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !rpe.has(e) && (e in lL || 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" ? hL(String(t)) : e === "outcome" || e === "result" ? npe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${lL[e]} ${Jn(Number(t))}` : e === "operation" ? `操作:${tpe[String(t)] || "批量操作"}` : `${lL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var ipe = (e) => yL(e).join(" · ");
+var ape = (e) => vL(e).join(" · ");
// src/react/use-entity-names.ts
-function bL() {
+function yL() {
return (0, F.useSyncExternalStore)(qt, Kt, Kt);
}
// src/react/components/async-text.tsx
-function xL({ text: e, busy: t, placeholder: n }) {
+function bL({ text: e, busy: t, placeholder: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;
return (0, F.useLayoutEffect)(() => {
e === void 0 ? a === void 0 && lc(r.current) : i.current = e;
@@ -37585,7 +37585,7 @@ function xL({ text: e, busy: t, placeholder: n }) {
});
}
// src/react/boardui/components/base/buttons/icon-button.tsx
-var SL = XI({
+var xL = YI({
base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",
size: {
medium: "size-9",
@@ -37596,20 +37596,20 @@ var SL = XI({
small: "size-4 shrink-0"
}
});
-function CL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function SL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
ref: i,
type: r,
- className: YI(SL.base, SL.size[t], n),
+ className: JI(xL.base, xL.size[t], n),
...a,
children: /* @__PURE__ */ (0, I.jsx)(e, {
- className: SL.icon[t],
+ className: xL.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function wL() {
+function CL() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -37623,7 +37623,7 @@ function wL() {
});
}
// src/react/components/use-stuck.ts
-function TL(e) {
+function wL(e) {
(0, F.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -37640,7 +37640,7 @@ function TL(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function EL(e, t = !0) {
+function TL(e, t = !0) {
let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -37654,17 +37654,17 @@ function EL(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var ape = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var ope = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: Rs("正在处理") }
});
-function DL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(CL, {
+function EL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(SL, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? ape : t,
+ icon: n && r === "spinner" ? ope : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -37674,9 +37674,9 @@ function DL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function ope({ title: e, children: t }) {
+function spe({ title: e, children: t }) {
let n = (0, F.useRef)(null);
- return TL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
+ return wL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -37689,20 +37689,20 @@ function ope({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, I.jsx)(wL, {})
+ /* @__PURE__ */ (0, I.jsx)(CL, {})
]
});
}
-function OL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
- let d = (0, F.useRef)(null), f = EL(), p = EL(u);
- return TL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
+function DL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+ let d = (0, F.useRef)(null), f = TL(), p = TL(u);
+ return wL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: YI("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: JI("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -37710,37 +37710,37 @@ function OL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: YI("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: JI("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, I.jsx)("div", {
ref: p,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: YI("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: JI("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, I.jsx)(wL, {})
+ /* @__PURE__ */ (0, I.jsx)(CL, {})
]
});
}
-var spe = "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 kL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var cpe = "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 OL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: YI(spe, r),
+ className: JI(cpe, r),
onClick: n,
children: e
});
}
-var cpe = "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 AL({ children: e, onPress: t, busy: n = !1 }) {
+var lpe = "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 kL({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: cpe,
+ className: lpe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -37750,13 +37750,13 @@ function AL({ children: e, onPress: t, busy: n = !1 }) {
});
}
// src/react/components/use-view-glide.ts
-var jL = (e, t) => [
+var AL = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function ML(e, t, n) {
+function jL(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;
@@ -37780,17 +37780,17 @@ function ML(e, t, n) {
h: e.offsetHeight
};
}
-function NL(e, t, n, r, { axis: i = "x" } = {}) {
+function ML(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, F.useRef)(null), o = (0, F.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? ML(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? jL(u, l, i) : null;
if (!d || !d.w || !d.h) {
Hc(s), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && jL(f, d)) && Bc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && AL(f, d)) && Bc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -37811,8 +37811,8 @@ function NL(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 ? ML(o, r, i) : null, l = a.current;
- s && l && jL(s, l) || c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? jL(o, r, i) : null, l = a.current;
+ s && l && AL(s, l) || c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37843,7 +37843,7 @@ function NL(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var PL = XI({
+var NL = YI({
base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",
size: {
medium: "h-9 rounded-2lg p-2 text-body-medium",
@@ -37876,52 +37876,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, I.jsxs)("button", {
ref: c,
type: s,
- className: YI(PL.base, PL.size[t], PL.variant[e], n && PL.iconOnlySize[t], o),
+ className: JI(NL.base, NL.size[t], NL.variant[e], n && NL.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: PL.icon[t],
+ className: NL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: PL.label[t],
+ className: NL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: PL.icon[t],
+ className: NL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function FL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function PL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, I.jsxs)("a", {
ref: s,
- className: YI(PL.base, PL.size[t], PL.variant[e], n && PL.iconOnlySize[t], o),
+ className: JI(NL.base, NL.size[t], NL.variant[e], n && NL.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: PL.icon[t],
+ className: NL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: PL.label[t],
+ className: NL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: PL.icon[t],
+ className: NL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
// node_modules/react-aria-components/dist/private/utils.mjs
-var IL = Symbol("default");
-function LL({ values: e, children: t }) {
+var FL = Symbol("default");
+function IL({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);
return t;
}
-function RL(e) {
+function LL(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, F.useMemo)(() => {
let e, l, u;
@@ -37955,11 +37955,11 @@ function RL(e) {
c
]);
}
-function zL(e, t) {
+function RL(e, t) {
let n = (0, F.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || IL;
+ let e = t || FL;
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}.`);
@@ -37968,8 +37968,8 @@ function zL(e, t) {
}
return n;
}
-function BL(e, t, n) {
- let { ref: r, ...i } = zL(n, e.slot) || {}, a = iw((0, F.useMemo)(() => YC(t, r), [t, r])), o = q(i, e);
+function zL(e, t, n) {
+ let { ref: r, ...i } = RL(n, e.slot) || {}, a = rw((0, F.useMemo)(() => JC(t, r), [t, r])), o = q(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,
@@ -37987,42 +37987,42 @@ function BL(e, t, n) {
...e.style
}), [o, a];
}
-function VL(e = !0) {
+function BL(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return BS(() => {
+ return VS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function HL(e) {
+function VL(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function lpe(e, t, n) {
- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => YC(n, a), [n, a]);
- BS(() => {}, [e, r]);
+function upe(e, t, n) {
+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => JC(n, a), [n, a]);
+ VS(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);
}
-var UL = {}, WL = new Proxy({}, { get(e, t) {
+var HL = {}, UL = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = UL[t];
- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(lpe.bind(null, t)), UL[t] = n), n;
-} }), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), JL = {
+ let n = HL[t];
+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(upe.bind(null, t)), HL[t] = n), n;
+} }), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return YL(e, null, t);
+ return JL(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return YL(e, t, n);
+ return JL(e, t, n);
}
};
-function YL(e, t, n) {
- return SS({
+function JL(e, t, n) {
+ return CS({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -38032,11 +38032,11 @@ function YL(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, upe(e, t, n));
+ }), r, dpe(e, t, n));
}
});
}
-function upe(e, t, n) {
+function dpe(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);
@@ -38055,24 +38055,24 @@ function upe(e, t, n) {
}
return s;
}
-var XL = /*#__PURE__*/ (0, F.createContext)(JL);
-function ZL(e) {
+var YL = /*#__PURE__*/ (0, F.createContext)(qL);
+function XL(e) {
return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, QL);
- let { elementType: n = "label", ...r } = e, i = WL[n];
+var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, ZL);
+ let { elementType: n = "label", ...r } = e, i = UL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), dpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)({}), tR = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, eR);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ooe(e, t);
- i = ppe(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = LD(e), { hoverProps: l, isHovered: u } = VD({
+}), fpe = /*#__PURE__*/ (0, F.createContext)(null), $L = /*#__PURE__*/ (0, F.createContext)({}), eR = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, $L);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = koe(e, t);
+ i = mpe(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = ID(e), { hoverProps: l, isHovered: u } = BD({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -38082,24 +38082,24 @@ var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = RL({
+ }, f = LL({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = qC(i.id), m = qC(), h = i["aria-labelledby"];
+ }), p = KC(i.id), m = KC(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, F.useRef)(r);
(0, F.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && RT(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && LT(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Zw(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ F.createElement(WL.button, {
+ let _ = Xw(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ F.createElement(UL.button, {
...q(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -38113,61 +38113,61 @@ var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ F.createElement(dpe.Provider, { value: { id: m } }, f.children));
-}), fpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function ppe(e, t) {
+ }, /*#__PURE__*/ F.createElement(fpe.Provider, { value: { id: m } }, f.children));
+}), ppe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function mpe(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !fpe.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !ppe.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
// node_modules/react-aria-components/dist/private/Heading.mjs
-var nR = /*#__PURE__*/ (0, F.createContext)({}), rR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, nR);
- let { children: n, level: r = 3, className: i, ...a } = e, o = WL[`h${r}`];
+var tR = /*#__PURE__*/ (0, F.createContext)({}), nR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, tR);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = UL[`h${r}`];
return /*#__PURE__*/ F.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), iR = /*#__PURE__*/ (0, F.createContext)({}), mpe = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, iR);
- let { elementType: n = "span", ...r } = e, i = WL[n];
+}), rR = /*#__PURE__*/ (0, F.createContext)({}), hpe = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, rR);
+ let { elementType: n = "span", ...r } = e, i = UL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null), cR = /*#__PURE__*/ (0, F.createContext)(null), hpe = /*#__PURE__*/ (0, F.createContext)(null), lR = /*#__PURE__*/ (0, F.createContext)(null);
-function gpe(e, t) {
- let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(hpe), a = iw((0, F.useMemo)(() => YC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...HL(e),
+}), iR = /*#__PURE__*/ (0, F.createContext)(null), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null), gpe = /*#__PURE__*/ (0, F.createContext)(null), cR = /*#__PURE__*/ (0, F.createContext)(null);
+function _pe(e, t) {
+ let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(gpe), a = rw((0, F.useMemo)(() => JC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...VL(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Zoe(o, i, a) : aE(o, uE(e), a), a];
+ return [i ? Qoe(o, i, a) : iE(o, lE(e), a), a];
}
-var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = BL(r, t, sR);
- let [i, a] = gpe(e, n);
- return /*#__PURE__*/ F.createElement(lR.Provider, { value: {
+ [e, t] = zL(r, t, oR);
+ let [i, a] = _pe(e, n);
+ return /*#__PURE__*/ F.createElement(cR.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ F.createElement(vpe, {
+ } }, /*#__PURE__*/ F.createElement(ype, {
...e,
ref: t
}));
-}), vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(lR), { isFocused: p, isFocusVisible: m, focusProps: h } = LD(), g = a || o, { hoverProps: _, isHovered: v } = VD({
+}), ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(cR), { isFocused: p, isFocusVisible: m, focusProps: h } = ID(), g = a || o, { hoverProps: _, isHovered: v } = BD({
...e,
isDisabled: g
- }), y = RL({
+ }), y = LL({
...e,
defaultClassName: u,
values: {
@@ -38182,8 +38182,8 @@ var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = Zw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(WL.label, {
+ }), b = Xw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(UL.label, {
...q(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38197,20 +38197,20 @@ var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ F.createElement(yE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(vE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...q(r, h),
ref: l
})), y.children);
-}), uR = /*#__PURE__*/ (0, F.createContext)({}), dR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, uR);
+}), lR = /*#__PURE__*/ (0, F.createContext)({}), uR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, lR);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
- let { hoverProps: l, isHovered: u } = VD({
+ let { hoverProps: l, isHovered: u } = BD({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = LD({ within: !0 }), m = RL({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ID({ within: !0 }), m = LL({
...e,
values: {
isHovered: u,
@@ -38221,7 +38221,7 @@ var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ F.createElement(WL.div, {
+ return /*#__PURE__*/ F.createElement(UL.div, {
...q(c, p, l),
...m,
ref: t,
@@ -38234,18 +38234,18 @@ var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), fR = /*#__PURE__*/ (0, F.createContext)({}), ype = (e) => {
+}), dR = /*#__PURE__*/ (0, F.createContext)({}), bpe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, bpe = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, fR);
- let { hoverProps: n, isHovered: r } = VD({
+}, xpe = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, dR);
+ let { hoverProps: n, isHovered: r } = BD({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = LD({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ID({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LL({
...e,
values: {
isHovered: r,
@@ -38256,8 +38256,8 @@ var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ F.createElement(WL.input, {
- ...q(ype(e), o, n),
+ return /*#__PURE__*/ F.createElement(UL.input, {
+ ...q(bpe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -38266,24 +38266,24 @@ var _pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), xpe = 0, Spe = 100, Cpe = 1;
-function wpe(e) {
- let { isDisabled: t = !1, minValue: n = xpe, maxValue: r = Spe, numberFormatter: i, step: a = Cpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
+}), Spe = 0, Cpe = 100, wpe = 1;
+function Tpe(e) {
+ let { isDisabled: t = !1, minValue: n = Spe, maxValue: r = Cpe, numberFormatter: i, step: a = wpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
let e = (r - n) / 10;
- return e = pE(e, 0, e + a, a), Math.max(e, a);
+ return e = fE(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => pE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => fE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
- ]), l = (0, F.useMemo)(() => c(mR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(mR(e.defaultValue) ?? [n]), [
+ ]), l = (0, F.useMemo)(() => c(pR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(pR(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = hR(e.value, e.defaultValue, e.onChange), f = hR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = lE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
+ ]), d = mR(e.value, e.defaultValue, e.onChange), f = mR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = cE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -38306,15 +38306,15 @@ function wpe(e) {
function A(e, n) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
- n = pE(n, r, i, a);
- let o = pR(x.current, e, n);
+ n = fE(n, r, i, a);
+ let o = fR(x.current, e, n);
C(o);
}
function j(e, n) {
if (t || !O(e)) return;
n && (x.current = p);
let r = S.current[e];
- S.current = pR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
+ S.current = fR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
}
let M = (0, F.useRef)(null);
function ee(e = p) {
@@ -38335,15 +38335,15 @@ function wpe(e) {
return Math.round((e - n) / a) * a + n;
}
function P(e) {
- return dE(te(e * (r - n) + n), n, r);
+ return uE(te(e * (r - n) + n), n, r);
}
function ne(e, t = 1) {
let i = Math.max(t, a);
- A(e, pE(p[e] + i, n, r, a));
+ A(e, fE(p[e] + i, n, r, a));
}
function re(e, t = 1) {
let i = Math.max(t, a);
- A(e, pE(p[e] - i, n, r, a));
+ A(e, fE(p[e] - i, n, r, a));
}
return {
values: p,
@@ -38372,31 +38372,31 @@ function wpe(e) {
isDisabled: t
};
}
-function pR(e, t, n) {
+function fR(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function mR(e) {
+function pR(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function hR(e, t, n) {
+function mR(e, t, n) {
return (r) => {
typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);
};
}
// node_modules/react-aria-components/dist/private/Slider.mjs
-var Tpe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.createContext)(null), _R = /*#__PURE__*/ (0, F.createContext)(null), Epe = /*#__PURE__*/ (0, F.createContext)(null), Dpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, Tpe);
- let n = (0, F.useRef)(null), r = nse(e.formatOptions), i = wpe({
+var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.createContext)(null), Dpe = /*#__PURE__*/ (0, F.createContext)(null), Ope = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, Epe);
+ let n = (0, F.useRef)(null), r = rse(e.formatOptions), i = Tpe({
...e,
numberFormatter: r
- }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = rse({
+ }), [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = ise({
...e,
label: o
- }, i, n), d = RL({
+ }, i, n), d = LL({
...e,
values: {
orientation: i.orientation,
@@ -38404,32 +38404,32 @@ var Tpe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = Zw(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ F.createElement(LL, { values: [
- [gR, i],
- [_R, {
+ }), f = Xw(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ F.createElement(IL, { values: [
+ [hR, i],
+ [gR, {
...c,
ref: n
}],
- [Epe, u],
- [QL, {
+ [Dpe, u],
+ [ZL, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ F.createElement(WL.div, {
+ ] }, /*#__PURE__*/ F.createElement(UL.div, {
...q(f, d, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), Ope = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, _R);
- let n = (0, F.useContext)(gR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = VD({
+}), kpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, gR);
+ let n = (0, F.useContext)(hR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = BD({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = RL({
+ }), l = LL({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -38439,7 +38439,7 @@ var Tpe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre
state: n
}
});
- return /*#__PURE__*/ F.createElement(WL.div, {
+ return /*#__PURE__*/ F.createElement(UL.div, {
...q(o, s),
...l,
ref: t,
@@ -38447,14 +38447,14 @@ var Tpe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), kpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, F.useContext)(gR), { ref: i } = zL(_R), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = VL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = ise({
+}), Ape = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { inputRef: n = null } = e, r = (0, F.useContext)(hR), { ref: i } = RL(gR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = BL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = ase({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = LD(), { hoverProps: v, isHovered: y } = VD(e), b = RL({
+ }, r), { focusProps: g, isFocusVisible: _ } = ID(), { hoverProps: v, isHovered: y } = BD(e), b = LL({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -38465,8 +38465,8 @@ var Tpe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = Zw(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ F.createElement(WL.div, {
+ }), x = Xw(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ F.createElement(UL.div, {
...q(x, u, v),
...b,
ref: t,
@@ -38479,330 +38479,330 @@ var Tpe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ F.createElement(yE, null, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(vE, null, /*#__PURE__*/ F.createElement("input", {
ref: s,
...q(d, g)
- })), /*#__PURE__*/ F.createElement(LL, { values: [[QL, {
+ })), /*#__PURE__*/ F.createElement(IL, { values: [[ZL, {
...f,
ref: c
}]] }, b.children));
-}), vR = {};
-vR = {
+}), _R = {};
+_R = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
tableResizer: "أداة تغيير الحجم"
};
// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var yR = {};
-yR = {
+var vR = {};
+vR = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
tableResizer: "Преоразмерител"
};
// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var bR = {};
-bR = {
+var yR = {};
+yR = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
tableResizer: "Změna velikosti"
};
// node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var xR = {};
-xR = {
+var bR = {};
+bR = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
tableResizer: "Størrelsesændring"
};
// node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var SR = {};
-SR = {
+var xR = {};
+xR = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
tableResizer: "Größenanpassung"
};
// node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var CR = {};
-CR = {
+var SR = {};
+SR = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
tableResizer: "Αλλαγή μεγέθους"
};
// node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var wR = {};
-wR = {
+var CR = {};
+CR = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
colorSwatchPicker: "Color swatches"
};
// node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var TR = {};
-TR = {
+var wR = {};
+wR = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
tableResizer: "Cambiador de tamaño"
};
// node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var ER = {};
-ER = {
+var TR = {};
+TR = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
tableResizer: "Suuruse muutja"
};
// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var DR = {};
-DR = {
+var ER = {};
+ER = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
tableResizer: "Koon muuttaja"
};
// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var OR = {};
-OR = {
+var DR = {};
+DR = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
tableResizer: "Redimensionneur"
};
// node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var kR = {};
-kR = {
+var OR = {};
+OR = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
tableResizer: "שינוי גודל"
};
// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var AR = {};
-AR = {
+var kR = {};
+kR = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
tableResizer: "Promjena veličine"
};
// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var jR = {};
-jR = {
+var AR = {};
+AR = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
tableResizer: "Átméretező"
};
// node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var MR = {};
-MR = {
+var jR = {};
+jR = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
tableResizer: "Ridimensionamento"
};
// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var NR = {};
-NR = {
+var MR = {};
+MR = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
tableResizer: "サイズ変更ツール"
};
// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var PR = {};
-PR = {
+var NR = {};
+NR = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
tableResizer: "크기 조정기"
};
// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var FR = {};
-FR = {
+var PR = {};
+PR = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
tableResizer: "Dydžio keitiklis"
};
// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var IR = {};
-IR = {
+var FR = {};
+FR = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
tableResizer: "Izmēra mainītājs"
};
// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var LR = {};
-LR = {
+var IR = {};
+IR = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
tableResizer: "Størrelsesendrer"
};
// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var RR = {};
-RR = {
+var LR = {};
+LR = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
tableResizer: "Resizer"
};
// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var zR = {};
-zR = {
+var RR = {};
+RR = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
tableResizer: "Zmiana rozmiaru"
};
// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var BR = {};
-BR = {
+var zR = {};
+zR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var VR = {};
-VR = {
+var BR = {};
+BR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var HR = {};
-HR = {
+var VR = {};
+VR = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
tableResizer: "Instrument de redimensionare"
};
// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var UR = {};
-UR = {
+var HR = {};
+HR = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
tableResizer: "Средство изменения размера"
};
// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var WR = {};
-WR = {
+var UR = {};
+UR = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
tableResizer: "Nástroj na zmenu veľkosti"
};
// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var GR = {};
-GR = {
+var WR = {};
+WR = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
tableResizer: "Spreminjanje velikosti"
};
// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var KR = {};
-KR = {
+var GR = {};
+GR = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
tableResizer: "Promena veličine"
};
// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var qR = {};
-qR = {
+var KR = {};
+KR = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
tableResizer: "Storleksändrare"
};
// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var JR = {};
-JR = {
+var qR = {};
+qR = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
tableResizer: "Yeniden boyutlandırıcı"
};
// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var YR = {};
-YR = {
+var JR = {};
+JR = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
tableResizer: "Засіб змінення розміру"
};
// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var XR = {};
-XR = {
+var YR = {};
+YR = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
tableResizer: "尺寸调整器"
};
// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var ZR = {};
-ZR = {
+var XR = {};
+XR = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
tableResizer: "大小調整器"
};
// node_modules/react-aria-components/dist/private/intlStrings.mjs
-var QR = {};
-QR = {
- "ar-AE": vR,
- "bg-BG": yR,
- "cs-CZ": bR,
- "da-DK": xR,
- "de-DE": SR,
- "el-GR": CR,
- "en-US": wR,
- "es-ES": TR,
- "et-EE": ER,
- "fi-FI": DR,
- "fr-FR": OR,
- "he-IL": kR,
- "hr-HR": AR,
- "hu-HU": jR,
- "it-IT": MR,
- "ja-JP": NR,
- "ko-KR": PR,
- "lt-LT": FR,
- "lv-LV": IR,
- "nb-NO": LR,
- "nl-NL": RR,
- "pl-PL": zR,
- "pt-BR": BR,
- "pt-PT": VR,
- "ro-RO": HR,
- "ru-RU": UR,
- "sk-SK": WR,
- "sl-SI": GR,
- "sr-SP": KR,
- "sv-SE": qR,
- "tr-TR": JR,
- "uk-UA": YR,
- "zh-CN": XR,
- "zh-TW": ZR
+var ZR = {};
+ZR = {
+ "ar-AE": _R,
+ "bg-BG": vR,
+ "cs-CZ": yR,
+ "da-DK": bR,
+ "de-DE": xR,
+ "el-GR": SR,
+ "en-US": CR,
+ "es-ES": wR,
+ "et-EE": TR,
+ "fi-FI": ER,
+ "fr-FR": DR,
+ "he-IL": OR,
+ "hr-HR": kR,
+ "hu-HU": AR,
+ "it-IT": jR,
+ "ja-JP": MR,
+ "ko-KR": NR,
+ "lt-LT": PR,
+ "lv-LV": FR,
+ "nb-NO": IR,
+ "nl-NL": LR,
+ "pl-PL": RR,
+ "pt-BR": zR,
+ "pt-PT": BR,
+ "ro-RO": VR,
+ "ru-RU": HR,
+ "sk-SK": UR,
+ "sl-SI": WR,
+ "sr-SP": GR,
+ "sv-SE": KR,
+ "tr-TR": qR,
+ "uk-UA": JR,
+ "zh-CN": YR,
+ "zh-TW": XR
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var $R = /*#__PURE__*/ (0, F.createContext)({}), ez = /*#__PURE__*/ (0, F.createContext)(null), Ape = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { render: n } = (0, F.useContext)(ez);
+var QR = /*#__PURE__*/ (0, F.createContext)({}), $R = /*#__PURE__*/ (0, F.createContext)(null), jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { render: n } = (0, F.useContext)($R);
return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));
});
-function tz(e, t) {
+function ez(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Ape, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(jpe, { target: e });
}, [
t?.target,
r,
@@ -38810,7 +38810,7 @@ function tz(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function nz(e, t, n) {
+function tz(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;
@@ -38831,13 +38831,13 @@ function nz(e, t, n) {
return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
// node_modules/react-aria-components/dist/private/Header.mjs
-var rz = /*#__PURE__*/ (0, F.createContext)({}), jpe = /*#__PURE__*/ (0, F.createContext)(null);
-function iz(e) {
+var nz = /*#__PURE__*/ (0, F.createContext)({}), Mpe = /*#__PURE__*/ (0, F.createContext)(null);
+function rz(e) {
let t = (0, F.useRef)({});
- return /*#__PURE__*/ F.createElement(jpe.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ F.createElement(Mpe.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE__*/ (0, F.createContext)({}), Mpe = /*#__PURE__*/ _w(class extends mS {
+var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ gw(class extends hS {
static {
this.type = "separator";
}
@@ -38850,14 +38850,14 @@ var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = BL(e, t, oz);
+ [e, t] = zL(e, t, az);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = WL[c], { separatorProps: u } = dce({
+ let l = UL[c], { separatorProps: u } = fce({
...s,
elementType: n,
orientation: r
- }), d = Zw(e, { global: !0 });
+ }), d = Xw(e, { global: !0 });
return /*#__PURE__*/ F.createElement(l, {
render: e.render,
...q(d, u),
@@ -38868,12 +38868,12 @@ var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE_
});
});
// node_modules/react-aria/dist/private/utils/inertValue.mjs
-function sz(e) {
+function oz(e) {
let t = F.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
// node_modules/react-stately/dist/private/list/ListCollection.mjs
-var cz = class {
+var sz = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -38917,19 +38917,19 @@ var cz = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, lz = class e extends Set {
+}, cz = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Npe(e, t) {
+function Ppe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function uz(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = lE((0, F.useMemo)(() => dz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => dz(e.defaultSelectedKeys, new lz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
+function lz(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = cE((0, F.useMemo)(() => uz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => uz(e.defaultSelectedKeys, new cz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
@@ -38956,17 +38956,17 @@ function uz(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Npe(e, d)) && f(e);
+ (r || !Ppe(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function dz(e, t) {
- return e ? e === "all" ? "all" : new lz(e) : t;
+function uz(e, t) {
+ return e ? e === "all" ? "all" : new cz(e) : t;
}
// node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var fz = class e {
+var dz = 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;
}
@@ -39022,7 +39022,7 @@ var fz = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && TD(this.collection, n, e) < 0) && (e = n);
+ (!e || n && wD(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39030,7 +39030,7 @@ var fz = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && TD(this.collection, n, e) > 0) && (e = n);
+ (!e || n && wD(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39049,10 +39049,10 @@ var fz = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new lz([t], t, t);
+ if (this.state.selectedKeys === "all") n = new cz([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new lz(e, r, t);
+ n = new cz(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);
}
@@ -39060,7 +39060,7 @@ var fz = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? TD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? wD(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);
@@ -39086,19 +39086,19 @@ var fz = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new lz(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new cz(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 lz([t], t, t) : new lz();
+ let n = this.canSelectItem(t) ? new cz([t], t, t) : new cz();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new lz();
+ let t = new cz();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -39110,7 +39110,7 @@ var fz = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(SD(xD(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(xD(bD(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -39121,7 +39121,7 @@ var fz = 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 lz());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new cz());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -39162,9 +39162,9 @@ var fz = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Ppe = class {
+}, Fpe = class {
build(e, t) {
- return this.context = t, pz(() => this.iterateCollection(e));
+ return this.context = t, fz(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -39246,10 +39246,10 @@ var fz = class e {
...a,
key: l,
index: s,
- wrapper: Fpe(e.wrapper, a.wrapper)
+ wrapper: Ipe(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 <${mz(t.type)}> in <${mz(r?.type ?? "unknown parent type")}>. Only <${mz(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 <${pz(t.type)}> in <${pz(r?.type ?? "unknown parent type")}>. Only <${pz(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -39271,7 +39271,7 @@ var fz = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: pz(function* () {
+ childNodes: fz(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -39290,7 +39290,7 @@ var fz = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function pz(e) {
+function fz(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -39298,17 +39298,17 @@ function pz(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Fpe(e, t) {
+function Ipe(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function mz(e) {
+function pz(e) {
return e[0].toUpperCase() + e.slice(1);
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
-function hz(e, t, n) {
- let r = (0, F.useMemo)(() => new Ppe(), []), { children: i, items: a, collection: o } = e;
+function mz(e, t, n) {
+ let r = (0, F.useMemo)(() => new Fpe(), []), { children: i, items: a, collection: o } = e;
return (0, F.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -39322,27 +39322,27 @@ function hz(e, t, n) {
]);
}
// node_modules/react-stately/dist/private/list/useListState.mjs
-function gz(e) {
- let { filter: t, layoutDelegate: n } = e, r = uz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = hz(e, (0, F.useCallback)((e) => t ? new cz(t(e)) : new cz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new fz(a, r, { layoutDelegate: n }), [
+function hz(e) {
+ let { filter: t, layoutDelegate: n } = e, r = lz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = mz(e, (0, F.useCallback)((e) => t ? new sz(t(e)) : new sz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new dz(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return _z(a, o), {
+ return gz(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Ipe(e, t) {
+function Lpe(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return _z(n, r), {
+ return gz(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function _z(e, t) {
+function gz(e, t) {
let n = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -39369,15 +39369,15 @@ function _z(e, t) {
}, [e, t]);
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function vz(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Fw((e) => {
+function _z(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Pw((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- BS(() => {
+ VS(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: VT(t?.current),
+ root: BT(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -39392,42 +39392,42 @@ function vz(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var yz = /*#__PURE__*/ (0, F.createContext)(null), bz = /*#__PURE__*/ (0, F.createContext)(null), Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, yz);
- let n = (0, F.useContext)(bz);
- return n ? /*#__PURE__*/ F.createElement(xz, {
+var vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null), Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, vz);
+ let n = (0, F.useContext)(yz);
+ return n ? /*#__PURE__*/ F.createElement(bz, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ F.createElement(mw, { content: /*#__PURE__*/ F.createElement(xw, e) }, (n) => /*#__PURE__*/ F.createElement(Rpe, {
+ }) : /*#__PURE__*/ F.createElement(pw, { content: /*#__PURE__*/ F.createElement(bw, e) }, (n) => /*#__PURE__*/ F.createElement(zpe, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Rpe({ props: e, listBoxRef: t, collection: n }) {
+function zpe({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, F.useContext)(XL), i = gz({
+ let { layoutDelegate: r } = (0, F.useContext)(YL), i = hz({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ F.createElement(xz, {
+ return /*#__PURE__*/ F.createElement(bz, {
state: i,
props: e,
listBoxRef: t
});
}
-function xz({ state: e, props: t, listBoxRef: n }) {
- [t, n] = BL(t, n, GL);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Ipe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Uw(), { disabledBehavior: p, disabledKeys: m } = l, h = AD({
+function bz({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = zL(t, n, WL);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Lpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Hw(), { disabledBehavior: p, disabledKeys: m } = l, h = kD({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(XL), b = (0, F.useMemo)(() => t.keyboardDelegate || new ME({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(YL), b = (0, F.useMemo)(() => t.keyboardDelegate || new jE({
collection: c,
collator: h,
ref: n,
@@ -39448,7 +39448,7 @@ function xz({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = jse({
+ ]), { listBoxProps: x } = Mse({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -39480,7 +39480,7 @@ function xz({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = LD(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = ID(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -39488,7 +39488,7 @@ function xz({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = RL({
+ }, ee = LL({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -39498,8 +39498,8 @@ function xz({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = Zw(t, { global: !0 });
- return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {
+ let te = Xw(t, { global: !0 });
+ return /*#__PURE__*/ F.createElement(bT, null, /*#__PURE__*/ F.createElement(UL.div, {
...q(te, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -39510,60 +39510,60 @@ function xz({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [yz, t],
- [bz, s],
- [$R, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [vz, t],
+ [yz, s],
+ [QR, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [oz, { elementType: "div" }],
- [ez, { render: Vpe }],
- [qL, {
+ [az, { elementType: "div" }],
+ [$R, { render: Hpe }],
+ [KL, {
name: "ListBoxSection",
- render: zpe
+ render: Bpe
}]
- ] }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(y, {
+ ] }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: nz(l, r, C),
- renderDropIndicator: tz(r, C)
+ persistedKeys: tz(l, r, C),
+ renderDropIndicator: ez(r, C)
}))), N, E));
}
-function zpe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, F.useContext)(bz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)($R), { CollectionBranch: s } = (0, F.useContext)(XL), [c, l] = VL(), { headingProps: u, groupProps: d } = Mse({
+function Bpe(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, F.useContext)(yz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(QR), { CollectionBranch: s } = (0, F.useContext)(YL), [c, l] = BL(), { headingProps: u, groupProps: d } = Nse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = RL({
+ }), f = LL({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Zw(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ F.createElement(WL.section, {
+ }), p = Xw(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ F.createElement(UL.section, {
...q(p, f, d),
ref: t
- }, /*#__PURE__*/ F.createElement(rz.Provider, { value: {
+ }, /*#__PURE__*/ F.createElement(nz.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ F.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: tz(a, o)
+ renderDropIndicator: ez(a, o)
})));
}
-var Bpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
- let r = iw(t), i = (0, F.useContext)(bz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Nse({
+var Vpe = /*#__PURE__*/ gw(vS, function(e, t, n) {
+ let r = rw(t), i = (0, F.useContext)(yz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(QR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Pse({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = VD({
+ }, i, r), { hoverProps: p, isHovered: m } = BD({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = rw(e), { focusProps: g } = $C(e), _ = null;
+ }), { keyboardProps: h } = nw(e), { focusProps: g } = QC(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -39574,7 +39574,7 @@ var Bpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = RL({
+ let y = o && o.isDragging(n.key), b = LL({
...e,
id: void 0,
children: e.children,
@@ -39592,7 +39592,7 @@ var Bpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
(0, F.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? WL.a : WL.div, S = Zw(e, { global: !0 });
+ let x = e.href ? UL.a : UL.div, S = Xw(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {
...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -39606,29 +39606,29 @@ var Bpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ F.createElement(LL, { values: [[iR, { slots: {
- [IL]: u,
+ }, /*#__PURE__*/ F.createElement(IL, { values: [[rR, { slots: {
+ [FL]: u,
label: u,
description: d
- } }], [az, { isSelected: f.isSelected }]] }, b.children));
+ } }], [iz, { isSelected: f.isSelected }]] }, b.children));
});
-function Vpe(e, t) {
- t = iw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ F.createElement(Upe, {
+function Hpe(e, t) {
+ t = rw(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ F.createElement(Wpe, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Hpe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = RL({
+function Upe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LL({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
...n,
...a,
role: "option",
@@ -39636,10 +39636,10 @@ function Hpe(e, t) {
"data-drop-target": r || void 0
}));
}
-var Upe = /*#__PURE__*/ (0, F.forwardRef)(Hpe);
-_w(gS, function(e, t, n) {
- let r = (0, F.useContext)(bz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- vz((0, F.useMemo)(() => ({
+var Wpe = /*#__PURE__*/ (0, F.forwardRef)(Upe);
+gw(_S, function(e, t, n) {
+ let r = (0, F.useContext)(yz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ _z((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39649,7 +39649,7 @@ _w(gS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = RL({
+ let l = LL({
...s,
id: void 0,
children: n.rendered,
@@ -39662,7 +39662,7 @@ _w(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: sz(!0)
+ inert: oz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39671,18 +39671,18 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {
- ...q(Zw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
+ ...q(Xw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Wpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
+var Gpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function Sz(e) {
- let [t, n] = lE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
+function xz(e) {
+ let [t, n] = cE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -39700,15 +39700,15 @@ function Sz(e) {
};
}
// node_modules/react-aria/dist/private/utils/animation.mjs
-function Cz(e, t = !0, n) {
+function Sz(e, t = !0, n) {
let [r, i] = (0, F.useState)(!0), a = r && t;
- return BS(() => {
- if (!t && e.current) return UC(kS(e.current, "opacity", "0"), kS(e.current, "clip", "rect(0 0 0 0)"), kS(e.current, "clip-path", "inset(50%)"), kS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), BS(() => {
+ return VS(() => {
+ if (!t && e.current) return HC(AS(e.current, "opacity", "0"), AS(e.current, "clip", "rect(0 0 0 0)"), AS(e.current, "clip-path", "inset(50%)"), AS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), VS(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), Tz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), wz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
}
-function wz(e, t, n) {
+function Cz(e, t, n) {
let [r, i] = (0, F.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -39718,13 +39718,13 @@ function wz(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return Tz(e, a, n, (0, F.useCallback)(() => {
+ return wz(e, a, n, (0, F.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function Tz(e, t, n, r) {
- let i = (0, F.useRef)(null), a = Fw(n);
- BS(() => {
+function wz(e, t, n, r) {
+ let i = (0, F.useRef)(null), a = Pw(n);
+ VS(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -39749,9 +39749,9 @@ function Tz(e, t, n, r) {
]);
}
// node_modules/react-aria-components/dist/private/Popover.mjs
-var Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, Ez);
- let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = uw(), { direction: c } = Uw();
+var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, Tz);
+ let n = (0, F.useContext)(zz), r = xz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Cz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = lw(), { direction: c } = Hw();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -39762,7 +39762,7 @@ var Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.crea
defaultChildren: null
})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Gpe, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Kpe, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -39771,13 +39771,13 @@ var Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.crea
dir: c
});
});
-function Gpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Dz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ace({
+function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Ez), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = oce({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = Cz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = RL({
+ }, e), g = i.popoverRef, _ = Sz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = LL({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -39787,10 +39787,10 @@ function Gpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");
- BS(() => {
+ VS(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, F.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || jC() !== "pointer") && g.current && !PS(g.current) && HC(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || AC() !== "pointer") && g.current && !FS(g.current) && VC(g.current);
}, [
x,
g,
@@ -39798,12 +39798,12 @@ function Gpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let C = (0, F.useMemo)(() => {
let e = y.children;
- for (let t of [Ez, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
+ for (let t of [Tz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {
i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- BS(E, [E]), zO({
+ VS(E, [E]), RO({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -39813,9 +39813,9 @@ function Gpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- BS(() => Ok(() => u(!0)), []);
- let O = /*#__PURE__*/ F.createElement(WL.div, {
- ...q(Zw(i, { global: !0 }), d),
+ VS(() => Dk(() => u(!0)), []);
+ let O = /*#__PURE__*/ F.createElement(UL.div, {
+ ...q(Xw(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -39830,17 +39830,17 @@ function Gpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ F.createElement(xk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Wpe.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(bk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Gpe.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ F.createElement(xk, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ F.createElement(FD, {
+ } }, C), /*#__PURE__*/ F.createElement(bk, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ F.createElement(PD, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ F.createElement(FD, {
+ }, O) : /*#__PURE__*/ F.createElement(PD, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -39855,13 +39855,13 @@ function Gpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ F.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(Dz.Provider, { value: o }, O)));
+ }, /*#__PURE__*/ F.createElement(Ez.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Kpe = /*#__PURE__*/ (0, F.createContext)({});
+var qpe = /*#__PURE__*/ (0, F.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function kz(e) {
- let t = Sz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
+function Oz(e) {
+ let t = xz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -39886,7 +39886,7 @@ function kz(e) {
};
}
// node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var qpe = class {
+var Jpe = 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) => {
@@ -39929,8 +39929,8 @@ var qpe = class {
}
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Az(e) {
- let { onExpandedChange: t } = e, [n, r] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = uz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = hz(e, (0, F.useCallback)((e) => new qpe(e, { expandedKeys: n }), [n]), null);
+function kz(e) {
+ let { onExpandedChange: t } = e, [n, r] = cE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = lz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = mz(e, (0, F.useCallback)((e) => new Jpe(e, { expandedKeys: n }), [n]), null);
return (0, F.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -39938,31 +39938,31 @@ function Az(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Jpe(n, e));
+ r(Ype(n, e));
},
setExpandedKeys: r,
- selectionManager: new fz(o, i)
+ selectionManager: new dz(o, i)
};
}
-function Jpe(e, t) {
+function Ype(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
// node_modules/react-aria-components/dist/private/Menu.mjs
-var jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ (0, F.createContext)(null);
-function Ype(e) {
- let t = kz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = gD({
+var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null);
+function Xpe(e) {
+ let t = Oz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = hD({
...e,
type: "menu"
}, t, n), a = (0, F.useRef)(null);
- return uw() ? null : /*#__PURE__*/ F.createElement(LL, { values: [
- [jz, {
+ return lw() ? null : /*#__PURE__*/ F.createElement(IL, { values: [
+ [Az, {
...i,
ref: a
}],
- [Bz, t],
- [Nz, t],
- [Ez, {
+ [zz, t],
+ [Mz, t],
+ [Tz, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -39970,14 +39970,14 @@ function Ype(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ F.createElement(gse, {
+ ] }, /*#__PURE__*/ F.createElement(_se, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var Xpe = /*#__PURE__*/ (0, F.createContext)(null);
-(class extends mS {
+var Zpe = /*#__PURE__*/ (0, F.createContext)(null);
+(class extends hS {
static {
this.type = "submenutrigger";
}
@@ -39990,24 +39990,24 @@ var Xpe = /*#__PURE__*/ (0, F.createContext)(null);
return null;
}
});
-var Zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = BL(e, t, jz), /*#__PURE__*/ F.createElement(mw, { content: /*#__PURE__*/ F.createElement(xw, e) }, (n) => /*#__PURE__*/ F.createElement(Qpe, {
+var Qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = zL(e, t, Az), /*#__PURE__*/ F.createElement(pw, { content: /*#__PURE__*/ F.createElement(bw, e) }, (n) => /*#__PURE__*/ F.createElement($pe, {
props: e,
collection: n,
menuRef: t
}));
});
-function Qpe({ props: e, collection: t, menuRef: n }) {
- [e, n] = BL(e, n, GL);
- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Az({
+function $pe({ props: e, collection: t, menuRef: n }) {
+ [e, n] = zL(e, n, WL);
+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = kz({
...e,
collection: a,
children: void 0
- }), s = (0, F.useContext)(Nz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(XL), { menuProps: u } = Pse({
+ }), s = (0, F.useContext)(Mz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(YL), { menuProps: u } = Fse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = RL({
+ }, o, n), d = LL({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -40017,36 +40017,36 @@ function Qpe({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {
+ let p = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(bT, null, /*#__PURE__*/ F.createElement(UL.div, {
...q(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [Mz, o],
- [oz, { elementType: "div" }],
- [qL, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [jz, o],
+ [az, { elementType: "div" }],
+ [KL, {
name: "MenuSection",
- render: Fz
+ render: Pz
}],
- [Xpe, {
+ [Zpe, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Lz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Iz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [WL, null],
[GL, null],
- [KL, null],
- [Pz, o.selectionManager],
- [Nz, s ?? kz({})]
- ] }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(l, {
+ [Nz, o.selectionManager],
+ [Mz, s ?? Oz({})]
+ ] }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(l, {
collection: o.collection,
- persistedKeys: ZL(o.selectionManager.focusedKey),
+ persistedKeys: XL(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var $pe = class extends fz {
+var eme = class extends dz {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40066,11 +40066,11 @@ var $pe = class extends fz {
return this.parent.childFocusStrategy;
}
};
-function Fz(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, F.useContext)(Mz), { CollectionBranch: a } = (0, F.useContext)(XL), [o, s] = VL(), { headingProps: c, groupProps: l } = Ise({
+function Pz(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, F.useContext)(jz), { CollectionBranch: a } = (0, F.useContext)(YL), [o, s] = BL(), { headingProps: c, groupProps: l } = Lse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = RL({
+ }), u = LL({
...e,
id: void 0,
children: void 0,
@@ -40078,31 +40078,31 @@ function Fz(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, F.useContext)(Pz), f = uz(e), p = e.selectionMode == null ? d : new $pe(d, f), m = zL(Lz)?.shouldCloseOnSelect, h = Zw(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ F.createElement(WL.section, {
+ }), d = (0, F.useContext)(Nz), f = lz(e), p = e.selectionMode == null ? d : new eme(d, f), m = RL(Iz)?.shouldCloseOnSelect, h = Xw(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ F.createElement(UL.section, {
...q(h, u, l),
ref: t
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [rz, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [nz, {
...c,
ref: o
}],
- [Pz, p],
- [Lz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [Nz, p],
+ [Iz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ F.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Iz = /*#__PURE__*/ vw(tae, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ _w(_S, function(e, t, n) {
- [e, t] = BL(e, t, Lz);
- let r = zL(Lz)?.id, i = (0, F.useContext)(Mz), a = iw(t), o = (0, F.useContext)(Pz), { isVirtualized: s } = (0, F.useContext)(XL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Fse({
+var Fz = /*#__PURE__*/ _w(eae, Pz), Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ gw(vS, function(e, t, n) {
+ [e, t] = zL(e, t, Iz);
+ let r = RL(Iz)?.id, i = (0, F.useContext)(jz), a = rw(t), o = (0, F.useContext)(Nz), { isVirtualized: s } = (0, F.useContext)(YL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Ise({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = VD({ isDisabled: f.isDisabled }), h = RL({
+ }, i, a), { hoverProps: p, isHovered: m } = BD({ isDisabled: f.isDisabled }), h = LL({
...e,
id: void 0,
children: n.rendered,
@@ -40116,7 +40116,7 @@ var Iz = /*#__PURE__*/ vw(tae, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? WL.a : WL.div, _ = Zw(e, { global: !0 });
+ }), g = e.href ? UL.a : UL.div, _ = Xw(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {
...q(_, h, c, p),
ref: a,
@@ -40129,19 +40129,19 @@ var Iz = /*#__PURE__*/ vw(tae, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [iR, { slots: {
- [IL]: l,
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [rR, { slots: {
+ [FL]: l,
label: l,
description: u
} }],
- [Kpe, d],
- [az, { isSelected: f.isSelected }]
+ [qpe, d],
+ [iz, { isSelected: f.isSelected }]
] }, h.children));
});
-_w(gS, function(e, t, n) {
- let r = (0, F.useContext)(Mz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- vz((0, F.useMemo)(() => ({
+gw(_S, function(e, t, n) {
+ let r = (0, F.useContext)(jz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ _z((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -40151,7 +40151,7 @@ _w(gS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = RL({
+ let l = LL({
...s,
id: void 0,
children: n.rendered,
@@ -40164,7 +40164,7 @@ _w(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: sz(!0)
+ inert: oz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -40173,89 +40173,89 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {
- ...q(Zw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
+ ...q(Xw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/Dialog.mjs
-var zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.createContext)(null), Vz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var Rz = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = BL(e, t, zz);
- let { dialogProps: r, titleProps: i, contentProps: a } = vse({
+ [e, t] = zL(e, t, Rz);
+ let { dialogProps: r, titleProps: i, contentProps: a } = yse({
...e,
"aria-labelledby": n
- }, t), o = (0, F.useContext)(Bz);
+ }, t), o = (0, F.useContext)(zz);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = RL({
+ let s = LL({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(WL.section, {
+ }), c = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(UL.section, {
...q(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [nR, { slots: {
- [IL]: {},
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [tR, { slots: {
+ [FL]: {},
title: {
...i,
level: 2
}
} }],
- [iR, { slots: {
- [IL]: {},
+ [rR, { slots: {
+ [FL]: {},
description: a
} }],
- [eR, { slots: {
- [IL]: {},
+ [$L, { slots: {
+ [FL]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Hz = typeof document < "u" && window.visualViewport;
-function eme() {
- let e = hC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
+}), Vz = typeof document < "u" && window.visualViewport;
+function tme() {
+ let e = mC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
width: 0,
height: 0
- } : Uz());
+ } : Hz());
return (0, F.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- Hz && Hz.scale > 1 || e(Uz());
+ Vz && Vz.scale > 1 || e(Hz());
}, i = (n) => {
- Hz && Hz.scale > 1 || Mw(K(n)) && (t.current = Ok((t) => {
+ Vz && Vz.scale > 1 || jw(K(n)) && (t.current = Dk((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(Uz()), XS() && ZS() && window.addEventListener("blur", i, !0), Hz ? Hz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), XS() && ZS() && window.removeEventListener("blur", i, !0), Hz ? Hz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(Hz()), ZS() && QS() && window.addEventListener("blur", i, !0), Vz ? Vz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), ZS() && QS() && window.removeEventListener("blur", i, !0), Vz ? Vz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function Uz() {
+function Hz() {
return {
- width: Hz ? Math.min(Hz.width * Hz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Hz ? Hz.height * Hz.scale : document.documentElement.clientHeight
+ width: Vz ? Math.min(Vz.width * Vz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Vz ? Vz.height * Vz.scale : document.documentElement.clientHeight
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var tme = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.createContext)(null), nme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- if ((0, F.useContext)(Wz)) return /*#__PURE__*/ F.createElement(Kz, {
+var nme = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.createContext)(null), rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ if ((0, F.useContext)(Uz)) return /*#__PURE__*/ F.createElement(Gz, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ F.createElement(Gz, {
+ return /*#__PURE__*/ F.createElement(Wz, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -40265,15 +40265,15 @@ var tme = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ F.createElement(Kz, {
+ }, /*#__PURE__*/ F.createElement(Gz, {
...f,
modalRef: t
}, s));
});
-function rme(e, t) {
- [e, t] = BL(e, t, tme);
- let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = iw(t), o = (0, F.useRef)(null), s = wz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = wz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = hC();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(ime, {
+function ime(e, t) {
+ [e, t] = zL(e, t, nme);
+ let n = (0, F.useContext)(zz), r = xz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = rw(t), o = (0, F.useRef)(null), s = Cz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = Cz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = mC();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(ame, {
...e,
state: i,
isExiting: u,
@@ -40282,12 +40282,12 @@ function rme(e, t) {
onExitRef: c
});
}
-var Gz = /*#__PURE__*/ (0, F.forwardRef)(rme);
-function ime({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Cz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = qse({
+var Wz = /*#__PURE__*/ (0, F.forwardRef)(ime);
+function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Sz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Jse({
...n,
isEntering: c
- }, i, r), d = (0, F.useContext)(zz), f = t ? ame(d, { isEntering: c }) : d, p = RL({
+ }, i, r), d = (0, F.useContext)(Rz), f = t ? ome(d, { isEntering: c }) : d, p = LL({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -40295,9 +40295,9 @@ function ime({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = eme(), h, g;
+ }), m = tme(), h, g;
if (typeof document < "u") {
- let e = BT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = zT(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 _ = {
@@ -40307,18 +40307,18 @@ function ime({ 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 BS(() => Ok(() => o(!0)), []), /*#__PURE__*/ F.createElement(FD, {
+ return VS(() => Dk(() => o(!0)), []), /*#__PURE__*/ F.createElement(PD, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ F.createElement(WL.div, {
- ...q(Zw(n, { global: !0 }), u),
+ }, /*#__PURE__*/ F.createElement(UL.div, {
+ ...q(Xw(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [Wz, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [Uz, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -40326,11 +40326,11 @@ function ime({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [Bz, i],
- [zz, f]
+ [zz, i],
+ [Rz, f]
] }, p.children)));
}
-function ame(e, t) {
+function ome(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -40347,8 +40347,8 @@ function ame(e, t) {
...t
};
}
-function Kz(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Wz), s = (0, F.useContext)(Bz), c = iw((0, F.useMemo)(() => YC(e.modalRef, n), [e.modalRef, n])), l = Cz(c, o, e.onEnter), u = RL({
+function Gz(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Uz), s = (0, F.useContext)(zz), c = rw((0, F.useMemo)(() => JC(e.modalRef, n), [e.modalRef, n])), l = Sz(c, o, e.onEnter), u = LL({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -40357,20 +40357,20 @@ function Kz(e) {
state: s
}
});
- return BS(() => {
+ return VS(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ F.createElement(WL.div, {
- ...q(Zw(e, { global: !0 }), t),
+ }), /*#__PURE__*/ F.createElement(UL.div, {
+ ...q(Xw(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ F.createElement(xk, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ F.createElement(bk, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var ome = Math.round(Math.random() * 1e10), sme = 0;
-function cme(e) {
- let t = (0, F.useMemo)(() => e.name || `radio-group-${ome}-${++sme}`, [e.name]), [n, r] = lE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = eE({
+var sme = Math.round(Math.random() * 1e10), cme = 0;
+function lme(e) {
+ let t = (0, F.useMemo)(() => e.name || `radio-group-${sme}-${++cme}`, [e.name]), [n, r] = cE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = $T({
...e,
value: n
}), c = (t) => {
@@ -40392,16 +40392,16 @@ function cme(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var lme = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.createContext)(null), qz = /*#__PURE__*/ (0, F.createContext)(null), Jz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, lme);
- let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = cme({
+var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), qz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, ume);
+ let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = lme({
...e,
validationBehavior: r
- }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = sce({
+ }), [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = cce({
...e,
label: o,
validationBehavior: r
- }, i), f = RL({
+ }, i), f = LL({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -40412,8 +40412,8 @@ var lme = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(WL.div, {
+ }), p = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(UL.div, {
...q(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -40422,39 +40422,39 @@ var lme = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [qz, i],
- [QL, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [Kz, i],
+ [ZL, {
...c,
ref: a,
elementType: "span"
}],
- [iR, { slots: {
+ [rR, { slots: {
description: l,
errorMessage: u
} }],
- [aR, d]
- ] }, /*#__PURE__*/ F.createElement(iz, null, f.children)));
-}), Yz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [iR, d]
+ ] }, /*#__PURE__*/ F.createElement(rz, null, f.children)));
+}), Jz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = BL(r, t, ume);
- let i = F.useContext(qz), a = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = oce({
- ...HL(e),
+ [e, t] = zL(r, t, dme);
+ let i = F.useContext(Kz), a = rw((0, F.useMemo)(() => JC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = sce({
+ ...VL(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ F.createElement(Xz.Provider, { value: {
+ return /*#__PURE__*/ F.createElement(Yz.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ F.createElement(dme, {
+ } }, /*#__PURE__*/ F.createElement(fme, {
...e,
ref: t
}));
-}), Xz = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Xz), l = F.useContext(qz), { isFocused: u, isFocusVisible: d, focusProps: f } = LD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = VD({
+}), Yz = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Yz), l = F.useContext(Kz), { isFocused: u, isFocusVisible: d, focusProps: f } = ID(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = BD({
...e,
isDisabled: p
- }), g = RL({
+ }), g = LL({
...e,
defaultClassName: s,
values: {
@@ -40468,8 +40468,8 @@ var lme = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Zw(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(WL.label, {
+ }), _ = Xw(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(UL.label, {
...q(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -40481,18 +40481,18 @@ var lme = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(yE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(vE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...q(r, f),
ref: c
})), g.children);
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
-function fme(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Sz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function pme(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = xz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = lE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = cE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -40504,12 +40504,12 @@ function fme(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = gz({
+ }, d = hz({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, F.useMemo)(() => pme(l), [l]),
+ selectedKeys: (0, F.useMemo)(() => mme(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -40519,7 +40519,7 @@ function fme(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = eE({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = $T({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);
@@ -40546,15 +40546,15 @@ function fme(e) {
setFocused: g
};
}
-function pme(e) {
+function mme(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
// node_modules/react-aria-components/dist/private/Select.mjs
-function mme(e) {
+function hme(e) {
return e && e.__esModule ? e.default : e;
}
-var Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), hme = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, Zz);
+var Xz = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), gme = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, Xz);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -40569,24 +40569,24 @@ var Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.crea
i,
a
]);
- return /*#__PURE__*/ F.createElement(mw, { content: o }, (n) => /*#__PURE__*/ F.createElement(_me, {
+ return /*#__PURE__*/ F.createElement(pw, { content: o }, (n) => /*#__PURE__*/ F.createElement(vme, {
props: e,
collection: n,
selectRef: t
}));
-}), gme = [
- QL,
- eR,
- iR
+}), _me = [
+ ZL,
+ $L,
+ rR
];
-function _me({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = zL(oR) || {}, i = e.validationBehavior ?? r ?? "native", a = fme({
+function vme({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = RL(aR) || {}, i = e.validationBehavior ?? r ?? "native", a = pme({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = LD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = VL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = cce({
- ...HL(e),
+ }), { isFocusVisible: o, focusProps: s } = ID({ within: !0 }), c = (0, F.useRef)(null), [l, u] = BL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = lce({
+ ...VL(e),
label: u,
validationBehavior: i
}, a, c), y = (0, F.useMemo)(() => ({
@@ -40603,48 +40603,48 @@ function _me({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = RL({
+ ]), b = LL({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = Zw(e, { global: !0 });
+ }), x = Xw(e, { global: !0 });
delete x.id;
let S = (0, F.useRef)(null);
- return /*#__PURE__*/ F.createElement(LL, { values: [
- [Zz, e],
- [Qz, a],
- [$z, p],
- [QL, {
+ return /*#__PURE__*/ F.createElement(IL, { values: [
+ [Xz, e],
+ [Zz, a],
+ [Qz, p],
+ [ZL, {
...d,
ref: l,
elementType: "span"
}],
- [eR, {
+ [$L, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Bz, a],
- [Ez, {
+ [zz, a],
+ [Tz, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: gme
+ clearContexts: _me
}],
- [yz, {
+ [vz, {
...m,
ref: S
}],
- [bz, a],
- [iR, { slots: {
+ [yz, a],
+ [rR, { slots: {
description: h,
errorMessage: g
} }],
- [aR, v]
- ] }, /*#__PURE__*/ F.createElement(WL.div, {
+ [iR, v]
+ ] }, /*#__PURE__*/ F.createElement(UL.div, {
...q(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -40654,14 +40654,14 @@ function _me({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ F.createElement(uce, {
+ }, b.children, /*#__PURE__*/ F.createElement(dce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, $z);
- let n = (0, F.useContext)(Qz), { placeholder: r } = zL(Zz), i = n.selectedItems.map((e) => {
+for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, Qz);
+ let n = (0, F.useContext)(Zz), { placeholder: r } = RL(Xz), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -40673,7 +40673,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = yse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = bse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -40688,7 +40688,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
a,
o,
i
- ]), u = Yw(mme(QR), "react-aria-components"), d = RL({
+ ]), u = Jw(hme(ZR), "react-aria-components"), d = LL({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40699,33 +40699,33 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(WL.span, {
+ }), f = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(UL.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ F.createElement(iR.Provider, { value: void 0 }, d.children));
-}), yme = /*#__PURE__*/ (0, F.createContext)(null), eB = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ F.createElement(rR.Provider, { value: void 0 }, d.children));
+}), bme = /*#__PURE__*/ (0, F.createContext)(null), $z = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = BL(r, t, yme);
- let i = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = uE(e), o = fce({
- ...HL(e),
+ [e, t] = zL(r, t, bme);
+ let i = rw((0, F.useMemo)(() => JC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = lE(e), o = pce({
+ ...VL(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ F.createElement(LL, { values: [[eB, a], [tB, {
+ return /*#__PURE__*/ F.createElement(IL, { values: [[$z, a], [eB, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ F.createElement(xme, {
+ }]] }, /*#__PURE__*/ F.createElement(Sme, {
...e,
ref: t
}));
-}), tB = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(tB), { isFocused: f, isFocusVisible: p, focusProps: m } = LD(), h = a || o, g = (0, F.useContext)(eB), { hoverProps: _, isHovered: v } = VD({
+}), eB = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(eB), { isFocused: f, isFocusVisible: p, focusProps: m } = ID(), h = a || o, g = (0, F.useContext)($z), { hoverProps: _, isHovered: v } = BD({
...e,
isDisabled: h
- }), y = RL({
+ }), y = LL({
...e,
defaultClassName: u,
values: {
@@ -40740,8 +40740,8 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
isRequired: d || !1,
state: g
}
- }), b = Zw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(WL.label, {
+ }), b = Xw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(UL.label, {
...q(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -40754,11 +40754,11 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ F.createElement(yE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(vE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...q(r, m),
ref: l
})), y.children);
-}), nB = 10, rB = 5, iB = class {
+}), tB = 10, nB = 5, rB = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -40768,7 +40768,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(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) > rB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > nB && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > nB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > tB && (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);
@@ -40847,11 +40847,11 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > rB && i) {
+ if (Math.abs(r - c.lastSwitchY) > nB && 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 > nB && a) {
+ if (l > tB && 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;
}
@@ -40866,7 +40866,7 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
boundaryContext: null
};
}
-}, Sme = class {
+}, Cme = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -40936,8 +40936,8 @@ for (var $z = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ lw(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, aB = "row-header-column-" + Math.random().toString(36).slice(2), oB = "row-header-column-" + Math.random().toString(36).slice(2); aB === oB;) oB = "row-header-column-" + Math.random().toString(36).slice(2);
-function sB(e, t) {
+}, iB = "row-header-column-" + Math.random().toString(36).slice(2), aB = "row-header-column-" + Math.random().toString(36).slice(2); iB === aB;) aB = "row-header-column-" + Math.random().toString(36).slice(2);
+function oB(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -41021,13 +41021,13 @@ function sB(e, t) {
textValue: ""
}));
}
-var Cme = class extends Sme {
+var wme = class extends Cme {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: aB,
+ key: iB,
value: null,
textValue: "",
level: 0,
@@ -41042,7 +41042,7 @@ var Cme = class extends Sme {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: oB,
+ key: aB,
value: null,
textValue: "",
level: 0,
@@ -41069,7 +41069,7 @@ var Cme = class extends Sme {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = sB(s, a);
+ let l = oB(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -41095,10 +41095,10 @@ var Cme = class extends Sme {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return SD(this.body.childNodes)?.key ?? null;
+ return xD(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return wD(this.body.childNodes)?.key ?? null;
+ return CD(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -41129,15 +41129,15 @@ var Cme = class extends Sme {
}
};
// node_modules/react-stately/dist/private/table/TableUtils.mjs
-function wme(e) {
+function Tme(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function Tme(e) {
+function Eme(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function cB(e, t) {
+function sB(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");
@@ -41145,19 +41145,19 @@ function cB(e, t) {
}
return e;
}
-function lB(e, t) {
- return e == null ? 2 ** 53 - 1 : cB(e, t);
+function cB(e, t) {
+ return e == null ? 2 ** 53 - 1 : sB(e, t);
}
-function uB(e, t) {
- return e == null ? 0 : cB(e, t);
+function lB(e, t) {
+ return e == null ? 0 : sB(e, t);
}
-function Eme(e, t, n, r, i) {
+function Dme(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;
- wme(o) ? (l = cB(o, e), s = !0) : (u = Tme(o), u <= 0 && (s = !0));
- let f = uB(t.minWidth ?? i?.(a) ?? 0, e), p = lB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ Tme(o) ? (l = sB(o, e), s = !0) : (u = Eme(o), u <= 0 && (s = !0));
+ let f = lB(t.minWidth ?? i?.(a) ?? 0, e), p = cB(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,
@@ -41191,14 +41191,14 @@ function Eme(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = Dme(l);
+ let u = Ome(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 Dme(e) {
+function Ome(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -41206,7 +41206,7 @@ function Dme(e) {
}), r;
}
// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var Ome = class {
+var kme = 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);
}
@@ -41235,18 +41235,18 @@ var Ome = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Eme(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Dme(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, uB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, lB(a.props.maxWidth, e));
+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, lB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, cB(a.props.maxWidth, e));
}), this.columnWidths;
}
};
// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function kme(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Ome({
+function Ame(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new kme({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);
@@ -41297,19 +41297,19 @@ function kme(e, t) {
]);
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Ame(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || uz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function jme(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || lz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = xD(n, t);
- e = r === "last" ? wD(i)?.key ?? null : SD(i)?.key ?? null;
+ let i = bD(n, t);
+ e = r === "last" ? CD(i)?.key ?? null : xD(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, F.useMemo)(() => new fz(t, r), [t, r]), s = (0, F.useRef)(null);
+ let o = (0, F.useMemo)(() => new dz(t, r), [t, r]), s = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -41329,7 +41329,7 @@ function Ame(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...xD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...bD(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);
}
@@ -41347,11 +41347,11 @@ function Ame(e) {
};
}
// node_modules/react-stately/dist/private/table/useTableState.mjs
-var jme = {
+var Mme = {
ascending: "descending",
descending: "ascending"
};
-function Mme(e) {
+function Nme(e) {
let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -41362,11 +41362,11 @@ function Mme(e) {
i,
r,
a
- ]), c = hz(e, (0, F.useCallback)((e) => new Cme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Ame({
+ ]), c = mz(e, (0, F.useCallback)((e) => new wme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = jme({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = cE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -41378,7 +41378,7 @@ function Mme(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? jme[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Mme[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -41391,7 +41391,7 @@ function Mme(e) {
treeColumn: o
};
}
-function Nme(e, t) {
+function Pme(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -41400,10 +41400,10 @@ function Nme(e, t) {
};
}
// node_modules/react-aria-components/dist/private/Table.mjs
-function Pme(e) {
+function Fme(e) {
return e && e.__esModule ? e.default : e;
}
-var Fme = class extends vS {
+var Ime = class extends yS {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -41418,7 +41418,7 @@ var Fme = class extends vS {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new yB(-2);
+ return new vB(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -41444,7 +41444,7 @@ var Fme = class extends vS {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = sB(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 = oB(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;
@@ -41525,28 +41525,28 @@ var Fme = class extends vS {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new hB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new mB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, dB = /*#__PURE__*/ (0, F.createContext)(null), Ime = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = iw(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
- BS(() => {
+}, uB = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = rw(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
+ VS(() => {
let e = r.current;
- for (; e && e !== n.current && !BT(e);) e = e.parentElement;
+ for (; e && e !== n.current && !zT(e);) e = e.parentElement;
i.current = e;
- }, [n]), zO({
+ }, [n]), RO({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), BS(() => {
+ }), VS(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, F.useMemo)(() => ({
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: kme,
+ useTableColumnResizeState: Ame,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -41557,17 +41557,17 @@ var Fme = class extends vS {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ F.createElement(WL.div, {
+ return /*#__PURE__*/ F.createElement(UL.div, {
render: e.render,
- ...Zw(e, { global: !0 }),
+ ...Xw(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(dB.Provider, { value: s }, e.children));
-}), Lme = /*#__PURE__*/ (0, F.createContext)(null), fB = /*#__PURE__*/ (0, F.createContext)(null), pB = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, Lme);
- let n = uz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
+ }, /*#__PURE__*/ F.createElement(uB.Provider, { value: s }, e.children));
+}), Rme = /*#__PURE__*/ (0, F.createContext)(null), dB = /*#__PURE__*/ (0, F.createContext)(null), fB = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, Rme);
+ let n = lz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -41577,26 +41577,26 @@ var Fme = class extends vS {
i,
a,
o
- ]), c = /*#__PURE__*/ F.createElement(Vme.Provider, { value: s }, /*#__PURE__*/ F.createElement(xw, e));
- return /*#__PURE__*/ F.createElement(mw, {
+ ]), c = /*#__PURE__*/ F.createElement(Hme.Provider, { value: s }, /*#__PURE__*/ F.createElement(bw, e));
+ return /*#__PURE__*/ F.createElement(pw, {
content: c,
- createCollection: () => new Fme()
- }, (r) => /*#__PURE__*/ F.createElement(Bme, {
+ createCollection: () => new Ime()
+ }, (r) => /*#__PURE__*/ F.createElement(Vme, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}), Bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.table, {
+ }) : /*#__PURE__*/ F.createElement(UL.table, {
...e,
ref: t
});
-}), mB = {
+}), pB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41606,26 +41606,26 @@ var Fme = class extends vS {
rtl: "ArrowRight"
}
};
-function Bme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = BL(e, t, GL);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(dB);
- t = iw((0, F.useMemo)(() => YC(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = zL(e, t, WL);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(uB);
+ t = rw((0, F.useMemo)(() => JC(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = cE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Mme({
+ let d = Nme({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Nme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(XL), { dragAndDropHooks: _ } = e, { gridProps: v } = _ce({
+ }), f = Pme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(YL), { dragAndDropHooks: _ } = e, { gridProps: v } = vce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Uw(), [k] = (0, F.useState)(() => new iB());
+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Hw(), [k] = (0, F.useState)(() => new rB());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -41640,7 +41640,7 @@ function Bme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new ME({
+ let e = new jE({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -41660,12 +41660,12 @@ function Bme({ 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 === mB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === mB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === pB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === pB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = LD(), ee = RL({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = ID(), ee = LL({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -41681,19 +41681,19 @@ function Bme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(LL, { values: [
- [fB, f],
- [pB, P],
- [$R, {
+ let ne = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(IL, { values: [
+ [dB, f],
+ [fB, P],
+ [QR, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [ez, { render: Zme }],
- [GL, null],
- [KL, null]
- ] }, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(zme, {
+ [$R, { render: Qme }],
+ [WL, null],
+ [GL, null]
+ ] }, /*#__PURE__*/ F.createElement(bT, null, /*#__PURE__*/ F.createElement(Bme, {
...q(ne, ee, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -41703,55 +41703,55 @@ function Bme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(g, {
+ }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: nz(y, _, C)
+ persistedKeys: tz(y, _, C)
})))), E);
}
-var Vme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends mS {
+var Hme = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends hS {
static {
this.type = "tableheader";
}
-}, Hme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}, Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.thead, {
+ }) : /*#__PURE__*/ F.createElement(UL.thead, {
...e,
ref: t
});
-}), gB = /*#__PURE__*/ vw(hB, (e, t) => {
- let n = (0, F.useContext)(fB).collection, r = SS({
+}), hB = /*#__PURE__*/ _w(mB, (e, t) => {
+ let n = (0, F.useContext)(dB).collection, r = CS({
items: n.headerRows,
children: (0, F.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ F.createElement(Wme, { item: e });
+ case "headerrow": return /*#__PURE__*/ F.createElement(Gme, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = WA(), { hoverProps: a, isHovered: o } = VD({
+ }), { rowGroupProps: i } = UA(), { hoverProps: a, isHovered: o } = BD({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = RL({
+ }), s = LL({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ F.createElement(Hme, {
- ...q(Zw(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ F.createElement(Ume, {
+ ...q(Xw(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ F.createElement(xw, {
+}, (e) => /*#__PURE__*/ F.createElement(bw, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
+}, e.children)), Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
return n ? /*#__PURE__*/ F.createElement("div", {
...e,
ref: t
@@ -41760,41 +41760,41 @@ var Vme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends mS {
ref: t
});
});
-function Wme({ item: e }) {
- let t = (0, F.useRef)(null), n = (0, F.useContext)(fB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(XL), { rowProps: a } = Cce({
+function Gme({ item: e }) {
+ let t = (0, F.useRef)(null), n = (0, F.useContext)(dB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(YL), { rowProps: a } = wce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Ace(n);
- return /*#__PURE__*/ F.createElement(Ume, {
+ }, n, t), { checkboxProps: o } = jce(n);
+ return /*#__PURE__*/ F.createElement(Wme, {
...a,
ref: t
- }, /*#__PURE__*/ F.createElement(LL, { values: [[sR, { slots: { selection: o } }], [cR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [[oR, { slots: { selection: o } }], [sR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Gme = class extends mS {
+var Kme = class extends hS {
static {
this.type = "column";
}
-}, Kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}, qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.th, {
+ }) : /*#__PURE__*/ F.createElement(UL.th, {
...e,
ref: t
});
-}), _B = /*#__PURE__*/ _w(Gme, (e, t, n) => {
- let r = iw(t), i = (0, F.useContext)(fB), { isVirtualized: a } = (0, F.useContext)(XL), { columnHeaderProps: o, isPressed: s } = bce({
+}), gB = /*#__PURE__*/ gw(Kme, (e, t, n) => {
+ let r = rw(t), i = (0, F.useContext)(dB), { isVirtualized: a } = (0, F.useContext)(YL), { columnHeaderProps: o, isPressed: s } = xce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = LD(), d = (0, F.useContext)(pB), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ID(), d = (0, F.useContext)(fB), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = VD({ isDisabled: !e.allowsSorting }), h = RL({
+ let { hoverProps: p, isHovered: m } = BD({ isDisabled: !e.allowsSorting }), h = LL({
...e,
id: void 0,
children: n.rendered,
@@ -41820,8 +41820,8 @@ var Gme = class extends mS {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Zw(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ F.createElement(Kme, {
+ let _ = Xw(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ F.createElement(qme, {
...q(_, o, u, p),
...h,
style: g,
@@ -41833,29 +41833,29 @@ var Gme = class extends mS {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [[vB, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [[_B, {
column: n,
triggerRef: r
- }], [XL, JL]] }, h.children));
-}), vB = /*#__PURE__*/ (0, F.createContext)(null), qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = (0, F.useContext)(pB);
+ }], [YL, qL]] }, h.children));
+}), _B = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = (0, F.useContext)(fB);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = Yw(Pme(QR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(dB), { column: s, triggerRef: c } = (0, F.useContext)(vB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Sce({
+ let r = Jw(Fme(ZR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(uB), { column: s, triggerRef: c } = (0, F.useContext)(_B), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Cce({
column: s,
"aria-label": e["aria-label"] || r.format("tableResizer"),
onResizeStart: i,
onResize: a,
onResizeEnd: o,
triggerRef: c
- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = LD(), { hoverProps: _, isHovered: v } = VD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Uw(), S = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = ID(), { hoverProps: _, isHovered: v } = BD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Hw(), S = "both";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = iw(t), [w, T] = (0, F.useState)("");
+ let C = rw(t), [w, T] = (0, F.useState)("");
(0, F.useEffect)(() => {
if (!C.current) return;
let e = window.getComputedStyle(C.current);
T(e.cursor);
}, [C, S]);
- let E = RL({
+ let E = LL({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -41865,8 +41865,8 @@ var Gme = class extends mS {
isHovered: v,
resizableDirection: S
}
- }), D = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(WL.div, {
+ }), D = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(UL.div, {
ref: C,
role: "presentation",
...q(D, E, u, _),
@@ -41889,24 +41889,24 @@ var Gme = class extends mS {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), yB = class extends hS {
+}), vB = class extends gS {
static {
this.type = "tablebody";
}
-}, Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}, Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.tbody, {
+ }) : /*#__PURE__*/ F.createElement(UL.tbody, {
...e,
ref: t
});
-}), bB = /*#__PURE__*/ vw(yB, (e, t, n) => {
- let r = (0, F.useContext)(fB), { isVirtualized: i } = (0, F.useContext)(XL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(XL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)($R), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), yB = /*#__PURE__*/ _w(vB, (e, t, n) => {
+ let r = (0, F.useContext)(dB), { isVirtualized: i } = (0, F.useContext)(YL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(YL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(QR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = RL({
+ }, p = LL({
...e,
id: void 0,
children: void 0,
@@ -41915,33 +41915,33 @@ var Gme = class extends mS {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(SB, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(xB, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ F.createElement(wB, {
+ }, /*#__PURE__*/ F.createElement(CB, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = WA(), _ = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(Jme, {
+ let { rowGroupProps: g } = UA(), _ = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(Yme, {
...q(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ F.createElement(nhe, null), /*#__PURE__*/ F.createElement(o, {
+ }, l && /*#__PURE__*/ F.createElement(rhe, null), /*#__PURE__*/ F.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: tz(s, c)
+ renderDropIndicator: ez(s, c)
}), m);
});
-(class extends hS {
+(class extends gS {
static {
this.type = "tablefooter";
}
});
-var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Yme = class extends mS {
+var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xme = class extends hS {
static {
this.type = "item";
}
@@ -41953,31 +41953,31 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
}
return null;
}
-}, SB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}, xB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.tr, {
+ }) : /*#__PURE__*/ F.createElement(UL.tr, {
...e,
ref: t
});
-}), CB = /*#__PURE__*/ vw(Yme, (e, t, n) => {
- let r = iw(t), i = (0, F.useContext)(fB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(XL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Ece({
+}), SB = /*#__PURE__*/ _w(Xme, (e, t, n) => {
+ let r = rw(t), i = (0, F.useContext)(dB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(QR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(YL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Dce({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = LD(), { isFocusVisible: _, focusProps: v } = LD({ within: !0 }), { hoverProps: y, isHovered: b } = VD({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ID(), { isFocusVisible: _, focusProps: v } = ID({ within: !0 }), { hoverProps: y, isHovered: b } = BD({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = kce({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Ace({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = vE();
+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = _E();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -41987,7 +41987,7 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
(0, F.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = RL({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = LL({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -42008,11 +42008,11 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
isExpanded: j,
level: n.level + 1
}
- }), ee = Zw(e, { global: !0 });
- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(SB, {
+ }), ee = Xw(e, { global: !0 });
+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(xB, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(wB, {
+ }, /*#__PURE__*/ F.createElement(CB, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -42021,7 +42021,7 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ F.createElement(SB, {
+ }))), /*#__PURE__*/ F.createElement(xB, {
...q(ee, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -42037,17 +42037,17 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [sR, { slots: {
- [IL]: {},
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [oR, { slots: {
+ [FL]: {},
selection: x
} }],
- [cR, { slots: {
- [IL]: {},
+ [sR, { slots: {
+ [FL]: {},
selection: x
} }],
- [eR, { slots: {
- [IL]: {},
+ [$L, { slots: {
+ [FL]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -42055,8 +42055,8 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
style: { pointerEvents: "none" }
}
} }],
- [az, { isSelected: p.isSelected }],
- [xB, { isFocusVisibleWithinRow: _ }]
+ [iz, { isSelected: p.isSelected }],
+ [bB, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ F.createElement(l, {
collection: i.collection,
parent: n
@@ -42064,34 +42064,34 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ F.createElement(xw, {
+ return /*#__PURE__*/ F.createElement(bw, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), Xme = class extends mS {
+}), Zme = class extends hS {
static {
this.type = "cell";
}
-}, wB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}, CB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.td, {
+ }) : /*#__PURE__*/ F.createElement(UL.td, {
...e,
ref: t
});
-}), TB = /*#__PURE__*/ _w(Xme, (e, t, n) => {
- let r = iw(t), i = (0, F.useContext)(fB), { dragState: a } = (0, F.useContext)($R), { isVirtualized: o } = (0, F.useContext)(XL);
+}), wB = /*#__PURE__*/ gw(Zme, (e, t, n) => {
+ let r = rw(t), i = (0, F.useContext)(dB), { dragState: a } = (0, F.useContext)(QR), { isVirtualized: o } = (0, F.useContext)(YL);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = vce({
+ let { gridCellProps: s, isPressed: c } = yce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = LD(), { hoverProps: f, isHovered: p } = VD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(xB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = RL({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ID(), { hoverProps: f, isHovered: p } = BD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(bB), 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 = LL({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -42110,8 +42110,8 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = Zw(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ F.createElement(wB, {
+ }), S = Xw(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ F.createElement(CB, {
...q(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -42125,14 +42125,14 @@ var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Ym
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, x.children));
+ }, /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, x.children));
});
-function Zme(e, t) {
- t = iw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function Qme(e, t) {
+ t = rw(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ F.createElement(the, {
+ return /*#__PURE__*/ F.createElement(nhe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42141,40 +42141,40 @@ function Zme(e, t) {
ref: t
});
}
-var Qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+var $me = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.tr, {
+ }) : /*#__PURE__*/ F.createElement(UL.tr, {
...e,
ref: t
});
-}), $me = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(XL);
- return n ? /*#__PURE__*/ F.createElement(WL.div, {
+}), ehe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(YL);
+ return n ? /*#__PURE__*/ F.createElement(UL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(WL.td, {
+ }) : /*#__PURE__*/ F.createElement(UL.td, {
...e,
ref: t
});
});
-function ehe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(fB), { visuallyHiddenProps: c } = vE(), l = RL({
+function the(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(dB), { visuallyHiddenProps: c } = _E(), l = LL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(Qme, {
- ...Zw(e, { global: !0 }),
+ return /*#__PURE__*/ F.createElement($me, {
+ ...Xw(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ F.createElement($me, {
+ }, /*#__PURE__*/ F.createElement(ehe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -42185,14 +42185,14 @@ function ehe(e, t) {
ref: i
}), l.children));
}
-var the = /*#__PURE__*/ (0, F.forwardRef)(ehe);
-function nhe() {
- let e = (0, F.useContext)(fB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)($R), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vE();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(SB, {
+var nhe = /*#__PURE__*/ (0, F.forwardRef)(the);
+function rhe() {
+ let e = (0, F.useContext)(dB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(QR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = _E();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(xB, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(wB, {
+ }, /*#__PURE__*/ F.createElement(CB, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -42203,9 +42203,9 @@ function nhe() {
ref: r
})));
}
-_w(gS, function(e, t, n) {
- let r = (0, F.useContext)(fB), { isVirtualized: i } = (0, F.useContext)(XL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
- vz((0, F.useMemo)(() => ({
+gw(_S, function(e, t, n) {
+ let r = (0, F.useContext)(dB), { isVirtualized: i } = (0, F.useContext)(YL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
+ _z((0, F.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -42215,7 +42215,7 @@ _w(gS, function(e, t, n) {
s,
r?.collection
]), u);
- let d = RL({
+ let d = LL({
...c,
id: void 0,
children: n.rendered,
@@ -42223,10 +42223,10 @@ _w(gS, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(SB, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xB, {
style: { height: 0 },
- inert: sz(!0)
- }, /*#__PURE__*/ F.createElement(wB, { style: {
+ inert: oz(!0)
+ }, /*#__PURE__*/ F.createElement(CB, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ F.createElement("div", {
@@ -42237,22 +42237,22 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ F.createElement(SB, {
- ...q(Zw(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ F.createElement(xB, {
+ ...q(Xw(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(wB, {
+ }, /*#__PURE__*/ F.createElement(CB, {
role: "rowheader",
...p,
style: m
}, d.children)));
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function rhe(e) {
- let [t, n] = lE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = gz({
+function ihe(e) {
+ let [t, n] = cE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = hz({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -42274,24 +42274,24 @@ function rhe(e) {
};
}
// node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function ihe(e) {
- let t = rhe({
+function ahe(e) {
+ let t = ihe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? EB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? TB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = EB(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 = TB(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 EB(e, t) {
+function TB(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);
@@ -42300,24 +42300,24 @@ function EB(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var DB = /*#__PURE__*/ (0, F.createContext)(null), OB = /*#__PURE__*/ (0, F.createContext)(null), ahe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, DB);
+var EB = /*#__PURE__*/ (0, F.createContext)(null), DB = /*#__PURE__*/ (0, F.createContext)(null), ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, EB);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, F.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ F.createElement(mw, { content: n }, (n) => /*#__PURE__*/ F.createElement(ohe, {
+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(pw, { content: n }, (n) => /*#__PURE__*/ F.createElement(she, {
props: e,
collection: n,
tabsRef: t
}));
});
-function ohe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = ihe({
+function she({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = ahe({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = LD({ within: !0 }), c = (0, F.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = ID({ within: !0 }), c = (0, F.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -42325,12 +42325,12 @@ function ohe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = RL({
+ ]), l = LL({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(WL.div, {
+ }), u = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(UL.div, {
...q(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -42338,20 +42338,20 @@ function ohe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [[DB, e], [OB, i]] }, l.children));
+ }, /*#__PURE__*/ F.createElement(IL, { values: [[EB, e], [DB, i]] }, l.children));
}
-var kB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return (0, F.useContext)(OB) ? /*#__PURE__*/ F.createElement(she, {
+var OB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return (0, F.useContext)(DB) ? /*#__PURE__*/ F.createElement(che, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ F.createElement(xw, e);
+ }) : /*#__PURE__*/ F.createElement(bw, e);
});
-function she({ props: e, forwardedRef: t }) {
- let n = (0, F.useContext)(OB), { CollectionRoot: r } = (0, F.useContext)(XL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = zL(DB), o = iw(t), { tabListProps: s } = Nce({
+function che({ props: e, forwardedRef: t }) {
+ let n = (0, F.useContext)(DB), { CollectionRoot: r } = (0, F.useContext)(YL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RL(EB), o = rw(t), { tabListProps: s } = Pce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = RL({
+ }, n, o), c = LL({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -42359,30 +42359,30 @@ function she({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Zw(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ F.createElement(WL.div, {
+ }), l = Xw(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ F.createElement(UL.div, {
...q(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(r, {
+ }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(r, {
collection: n.collection,
- persistedKeys: ZL(n.selectionManager.focusedKey)
+ persistedKeys: XL(n.selectionManager.focusedKey)
})));
}
-var che = /*#__PURE__*/ _w(class extends mS {
+var lhe = /*#__PURE__*/ gw(class extends hS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(OB), i = iw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = jce({
+ let r = (0, F.useContext)(DB), i = rw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Mce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = LD(), { hoverProps: f, isHovered: p } = VD({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ID(), { hoverProps: f, isHovered: p } = BD({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = RL({
+ }), m = LL({
...e,
id: void 0,
children: n.rendered,
@@ -42395,7 +42395,7 @@ var che = /*#__PURE__*/ _w(class extends mS {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? WL.a : WL.div, g = Zw(e, { global: !0 });
+ }), h = n.props.href ? UL.a : UL.div, g = Xw(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {
...q(g, m, a, l, f),
ref: i,
@@ -42405,54 +42405,54 @@ var che = /*#__PURE__*/ _w(class extends mS {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ F.createElement(az.Provider, { value: { isSelected: o } }, m.children));
-}), lhe = /*#__PURE__*/ lw(function(e, t) {
- let n = (0, F.useContext)(OB), r = iw(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ F.createElement(iz.Provider, { value: { isSelected: o } }, m.children));
+}), uhe = /*#__PURE__*/ cw(function(e, t) {
+ let n = (0, F.useContext)(DB), r = rw(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = wz(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(uhe, {
+ let s = Cz(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(dhe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function uhe(e) {
- let t = (0, F.useContext)(OB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Pce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = LD(), d = t.selectedKey === e.id, f = Cz(r) && !i, p = RL({
+function dhe(e) {
+ let t = (0, F.useContext)(DB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Fce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ID(), d = t.selectedKey === e.id, f = Sz(r) && !i, p = LL({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: sz(!d),
+ isInert: oz(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Zw(o, { global: !0 });
+ }), m = Xw(o, { global: !0 });
delete m.id;
let h = d ? q(m, s, c, p) : q(m, p);
- return /*#__PURE__*/ F.createElement(WL.div, {
+ return /*#__PURE__*/ F.createElement(UL.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: sz(!d || e.inert),
+ inert: oz(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [[DB, null], [OB, null]] }, /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, p.children)));
+ }, /*#__PURE__*/ F.createElement(IL, { values: [[EB, null], [DB, null]] }, /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
+var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = BL(e, t, AB);
- let { hoverProps: n, isHovered: r } = VD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = LD({
+}, phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = zL(e, t, kB);
+ let { hoverProps: n, isHovered: r } = BD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = ID({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LL({
...e,
values: {
isHovered: r,
@@ -42463,8 +42463,8 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ F.createElement(WL.textarea, {
- ...q(dhe(e), o, n),
+ return /*#__PURE__*/ F.createElement(UL.textarea, {
+ ...q(fhe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -42473,18 +42473,18 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), phe = /*#__PURE__*/ (0, F.createContext)(null), mhe = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = BL(e, t, phe);
- let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
- [e, i] = BL(e, i, KL);
- let [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tse({
- ...HL(e),
+}), mhe = /*#__PURE__*/ (0, F.createContext)(null), hhe = /*#__PURE__*/ cw(function(e, t) {
+ [e, t] = zL(e, t, mhe);
+ let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
+ [e, i] = zL(e, i, GL);
+ let [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = nse({
+ ...VL(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, F.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = RL({
+ }, [i]), h = LL({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -42493,8 +42493,8 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Zw(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ F.createElement(WL.div, {
+ }), g = Xw(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ F.createElement(UL.div, {
...g,
...h,
ref: t,
@@ -42503,31 +42503,31 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [QL, {
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [ZL, {
...l,
ref: a
}],
- [fR, {
+ [dR, {
...u,
ref: m
}],
- [AB, {
+ [kB, {
...u,
ref: m
}],
- [uR, {
+ [lR, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [iR, { slots: {
+ [rR, { slots: {
description: d,
errorMessage: f
} }],
- [aR, p]
+ [iR, p]
] }, h.children));
-}), hhe = class e extends vS {
+}), ghe = class e extends yS {
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;
@@ -42599,10 +42599,10 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, ghe = /*#__PURE__*/ (0, F.createContext)(null), jB = /*#__PURE__*/ (0, F.createContext)(null), _he = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = BL(e, t, ghe), /*#__PURE__*/ F.createElement(mw, {
- content: /*#__PURE__*/ F.createElement(xw, e),
- createCollection: () => new hhe()
+}, AB = /*#__PURE__*/ (0, F.createContext)(null), jB = /*#__PURE__*/ (0, F.createContext)(null), _he = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = zL(e, t, AB), /*#__PURE__*/ F.createElement(pw, {
+ content: /*#__PURE__*/ F.createElement(bw, e),
+ createCollection: () => new ghe()
}, (n) => /*#__PURE__*/ F.createElement(vhe, {
props: e,
collection: n,
@@ -42619,16 +42619,16 @@ var AB = /*#__PURE__*/ (0, F.createContext)({}), dhe = (e) => {
}
};
function vhe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = Uw(), a = AD({
+ let { dragAndDropHooks: r } = e, { direction: i } = Hw(), a = kD({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);
(0, F.useEffect)(() => {
c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
}, [o, s]);
- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(XL), [y, b] = lE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(YL), [y, b] = cE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
The(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
- let D = Az({
+ let D = kz({
...e,
selectionMode: u,
expandedKeys: y,
@@ -42636,7 +42636,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Fce({
+ }), { gridProps: O } = Ice({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -42650,7 +42650,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;
}
- let [te] = (0, F.useState)(() => new iB());
+ let [te] = (0, F.useState)(() => new rB());
if (s && r) {
A = r.useDroppableCollectionState({
collection: D.collection,
@@ -42658,7 +42658,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });
te.setup(e, D, i);
- let t = new ME({
+ let t = new jE({
collection: D.collection,
collator: a,
ref: n,
@@ -42685,7 +42685,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {
}
}, A, n), M = A.isDropTarget({ type: "root" });
}
- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = LD(), ie = {
+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = ID(), ie = {
isEmpty: D.collection.size === 0,
isFocused: re,
isFocusVisible: I,
@@ -42693,7 +42693,7 @@ function vhe({ props: e, collection: t, treeRef: n }) {
selectionMode: D.selectionManager.selectionMode,
allowsDragging: !!P,
state: D
- }, ae = RL({
+ }, ae = LL({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -42710,8 +42710,8 @@ function vhe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let se = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {
+ let se = Xw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(bT, null, /*#__PURE__*/ F.createElement(UL.div, {
...q(se, ae, O, ne, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -42721,54 +42721,54 @@ function vhe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": I || void 0,
"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,
"data-allows-dragging": !!P || void 0
- }, /*#__PURE__*/ F.createElement(LL, { values: [
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
[jB, D],
- [$R, {
+ [QR, {
dragAndDropHooks: r,
dragState: k,
dropState: A
}],
- [ez, { render: xhe }]
- ] }, s && /*#__PURE__*/ F.createElement(whe, null), /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(h, {
+ [$R, { render: xhe }]
+ ] }, s && /*#__PURE__*/ F.createElement(whe, null), /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(h, {
collection: D.collection,
- persistedKeys: nz(D.selectionManager, r, A),
+ persistedKeys: tz(D.selectionManager, r, A),
scrollRef: n,
- renderDropIndicator: tz(r, A)
+ renderDropIndicator: ez(r, A)
}))), oe)), ee);
}
-var yhe = /*#__PURE__*/ _w(class extends mS {
+var yhe = /*#__PURE__*/ gw(class extends hS {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, F.useContext)(NB), n = RL({
+ let t = (0, F.useContext)(NB), n = LL({
children: e.children,
values: t
});
- return /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, n.children);
-}), NB = /*#__PURE__*/ (0, F.createContext)(null), bhe = /*#__PURE__*/ vw(class extends mS {
+ return /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, n.children);
+}), NB = /*#__PURE__*/ (0, F.createContext)(null), bhe = /*#__PURE__*/ _w(class extends hS {
static {
this.type = "item";
}
}, (e, t, n) => {
let r = (0, F.useContext)(jB);
- t = iw(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)($R), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Oj({
+ t = rw(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(QR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Dj({
node: n,
shouldSelectOnPressUp: !!a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = VD({
+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = BD({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = LD(), { isFocusVisible: b, focusProps: x } = LD({ within: !0 }), { checkboxProps: S } = Ase({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = ID(), { isFocusVisible: b, focusProps: x } = ID({ within: !0 }), { checkboxProps: S } = jse({ key: n.key }, r), C = null;
a && i && (C = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = vE();
+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = _E();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -42807,7 +42807,7 @@ var yhe = /*#__PURE__*/ _w(class extends mS {
A,
M,
j
- ]), N = RL({
+ ]), N = LL({
...e,
id: void 0,
children: n.rendered,
@@ -42824,7 +42824,7 @@ var yhe = /*#__PURE__*/ _w(class extends mS {
(0, F.useEffect)(() => {
a && te.current;
}, []);
- let P = SS({
+ let P = CS({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -42834,7 +42834,7 @@ var yhe = /*#__PURE__*/ _w(class extends mS {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), ne = qC(), re = Zw(e, { global: !0 });
+ }), ne = KC(), re = Xw(e, { global: !0 });
return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -42857,7 +42857,7 @@ var yhe = /*#__PURE__*/ _w(class extends mS {
"aria-labelledby": `${ne} ${c.id}`,
tabIndex: -1,
ref: D
- }))), /*#__PURE__*/ F.createElement(WL.div, {
+ }))), /*#__PURE__*/ F.createElement(UL.div, {
...q(re, c, y, g, x, C?.dragProps),
...N,
ref: t,
@@ -42877,17 +42877,17 @@ var yhe = /*#__PURE__*/ _w(class extends mS {
}, /*#__PURE__*/ F.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(LL, { values: [
- [sR, { slots: {
- [IL]: {},
+ }, /*#__PURE__*/ F.createElement(IL, { values: [
+ [oR, { slots: {
+ [FL]: {},
selection: S
} }],
- [cR, { slots: {
- [IL]: {},
+ [sR, { slots: {
+ [FL]: {},
selection: S
} }],
- [eR, { slots: {
- [IL]: {},
+ [$L, { slots: {
+ [FL]: {},
chevron: {
...u,
ref: T
@@ -42899,12 +42899,12 @@ var yhe = /*#__PURE__*/ _w(class extends mS {
}
} }],
[NB, { ...ee }],
- [az, { isSelected: f.isSelected }]
+ [iz, { isSelected: f.isSelected }]
] }, P))));
});
-_w(gS, function(e, t, n) {
- let { isVirtualized: r } = (0, F.useContext)(XL), i = (0, F.useContext)(jB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
- vz((0, F.useMemo)(() => ({
+gw(_S, function(e, t, n) {
+ let { isVirtualized: r } = (0, F.useContext)(YL), i = (0, F.useContext)(jB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
+ _z((0, F.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -42913,11 +42913,11 @@ _w(gS, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = iw(t);
- let { rowProps: u, gridCellProps: d } = Oj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = rw(t);
+ let { rowProps: u, gridCellProps: d } = Dj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = RL({
+ }, m = LL({
...c,
id: void 0,
children: n.rendered,
@@ -42930,7 +42930,7 @@ _w(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: sz(!0)
+ inert: oz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -42939,9 +42939,9 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ F.createElement(WL.div, {
+ })), a && m.children && /*#__PURE__*/ F.createElement(UL.div, {
ref: t,
- ...q(Zw(e), p),
+ ...q(Xw(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ F.createElement("div", {
@@ -42950,8 +42950,8 @@ _w(gS, function(e, t, n) {
}, m.children)));
});
function xhe(e, t) {
- t = iw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ t = rw(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
return /*#__PURE__*/ F.createElement(Che, {
@@ -42964,7 +42964,7 @@ function xhe(e, t) {
});
}
function She(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vE(), c = RL({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = _E(), c = LL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -42973,7 +42973,7 @@ function She(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(WL.div, {
+ return /*#__PURE__*/ F.createElement(UL.div, {
...c,
role: "row",
"aria-level": a,
@@ -42988,7 +42988,7 @@ function She(e, t) {
}
var Che = /*#__PURE__*/ (0, F.forwardRef)(She);
function whe() {
- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)($R), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vE();
+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(QR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = _E();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -43593,10 +43593,10 @@ var Ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));
// src/react/boardui/components/base/input/label.tsx
function pV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsxs)($L, {
+ return /* @__PURE__ */ (0, I.jsxs)(QL, {
"data-label": "true",
...a,
- className: YI("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: JI("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, I.jsx)("span", {
@@ -43613,10 +43613,10 @@ function pV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
// src/react/boardui/components/base/input/hint-text.tsx
function mV({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, I.jsx)(mpe, {
+ return /* @__PURE__ */ (0, I.jsx)(hpe, {
slot: e ? "errorMessage" : "description",
...n,
- className: YI("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: JI("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
// src/react/boardui/components/base/input/input.tsx
@@ -43628,16 +43628,16 @@ function gV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, I.jsx)(mhe, {
+ children: /* @__PURE__ */ (0, I.jsx)(hhe, {
...a,
"data-input-size": e,
- className: YI("group flex h-max w-full flex-col items-start gap-1", r),
+ className: JI("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
gV.displayName = "TextField";
-var _V = XI({
+var _V = YI({
field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",
fieldSize: {
medium: "p-2",
@@ -43654,9 +43654,9 @@ var _V = XI({
});
function vV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
let l = (0, F.useContext)(hV), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, I.jsx)(dR, {
+ return /* @__PURE__ */ (0, I.jsx)(uR, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => YI(_V.field, d ? _V.fieldWithAddonSize[u] : _V.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 }) => JI(_V.field, d ? _V.fieldWithAddonSize[u] : _V.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, I.jsxs)("div", {
className: _V.content,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -43664,10 +43664,10 @@ function vV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {
className: _V.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, I.jsx)(bpe, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(xpe, {
ref: o,
...c,
- className: YI(_V.input, l.inputClassName, a)
+ className: JI(_V.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, I.jsx)(n, {
className: _V.icon,
@@ -43715,8 +43715,8 @@ var fge = {
tutorial: "max-w-2xl"
};
function bV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
- let { isFocusVisible: o } = PC();
- return /* @__PURE__ */ (0, I.jsx)(Gz, {
+ let { isFocusVisible: o } = NC();
+ return /* @__PURE__ */ (0, I.jsx)(Wz, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -43724,11 +43724,11 @@ function bV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
"data-modal-kind": n,
"data-motion-instant": o || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, I.jsx)(nme, {
+ children: /* @__PURE__ */ (0, I.jsx)(rme, {
"data-modal-surface": "",
"data-modal-width": n,
- className: YI("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", fge[n], a),
- children: /* @__PURE__ */ (0, I.jsx)(Vz, {
+ className: JI("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", fge[n], a),
+ children: /* @__PURE__ */ (0, I.jsx)(Bz, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -43747,9 +43747,9 @@ function xV({ children: e }) {
function SV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-note-layout": "",
- className: YI("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
+ className: JI("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
- className: YI("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
+ className: JI("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
children: [t ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-medium wrap-anywhere",
children: t
@@ -43766,27 +43766,27 @@ function SV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
switch (e) {
case "info": return /* @__PURE__ */ (0, I.jsx)("div", {
role: "status",
- className: YI("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
+ className: JI("@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, I.jsx)("div", {
role: "status",
- className: YI("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
+ className: JI("@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, I.jsx)("div", {
role: "note",
- className: YI("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
+ className: JI("@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, I.jsx)("div", {
role: "alert",
- className: YI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
+ className: JI("@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, I.jsx)("div", {
role: "note",
- className: YI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
+ className: JI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
children: s
});
}
@@ -43937,7 +43937,7 @@ function zV({ item: e }) {
return /* @__PURE__ */ (0, I.jsx)(_ge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
function _ge({ item: e }) {
- bL();
+ yL();
let t = AV(!1), n = (0, F.useRef)(t.data), r = jV(), i = t.data && t.data !== n.current ? MV(t.data.favorites || [], e) : e.favorite ?? (t.data ? MV(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
@@ -43977,7 +43977,7 @@ function BV({ currentHref: e, kind: t }) {
let [n, r] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, I.jsx)(DL, {
+ children: /* @__PURE__ */ (0, I.jsx)(EL, {
"data-shortcuts-trigger": "",
label: "我的收藏",
icon: NV,
@@ -43998,13 +43998,13 @@ function BV({ currentHref: e, kind: t }) {
})] });
}
function vge({ currentHref: e, kind: t, close: n }) {
- bL();
+ yL();
let r = AV(), i = jV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, F.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = NL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = ML(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, F.useLayoutEffect)(() => {
b.current && (x.current = Io(b.current) || null);
}, []), (0, F.useLayoutEffect)(() => {
@@ -44150,7 +44150,7 @@ function vge({ currentHref: e, kind: t, close: n }) {
size: "compact",
icon: TV("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, I.jsx)(FL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/",
onClick: n,
@@ -44223,7 +44223,7 @@ function vge({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, I.jsx)(FL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/",
onClick: n,
@@ -44342,7 +44342,7 @@ function Cge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
return /* @__PURE__ */ (0, I.jsx)("nav", {
ref: r,
"aria-label": t,
- className: YI("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
+ className: JI("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, I.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Sge, {
@@ -44359,10 +44359,10 @@ function HV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}), e] });
if (i) return /* @__PURE__ */ (0, I.jsx)("li", {
"aria-current": "page",
- className: YI("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
+ className: JI("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
children: o
});
- let s = YI("-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 = JI("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);
return /* @__PURE__ */ (0, I.jsx)("li", {
className: "flex items-center",
children: n ? /* @__PURE__ */ (0, I.jsx)(bge, {
@@ -44372,20 +44372,20 @@ function HV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}) : /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: r,
- className: YI("cursor-pointer", s),
+ className: JI("cursor-pointer", s),
children: o
})
});
}
// src/react/boardui/components/foundations/direction/direction.tsx
function UV() {
- return Uw().direction;
+ return Hw().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
var WV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", wge = "w-[266px]", Tge = "flex w-full flex-col gap-1 outline-none", GV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", KV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
function Ege({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = UV(), l = (0, F.useContext)(XL), u = l === JL && !s.dragAndDropHooks ? JV : l;
+ let c = UV(), l = (0, F.useContext)(YL), u = l === qL && !s.dragAndDropHooks ? JV : l;
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -44402,7 +44402,7 @@ function Ege({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, I.jsx)(XL.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(YL.Provider, {
value: u,
children: /* @__PURE__ */ (0, I.jsx)(_he, {
...s,
@@ -44411,7 +44411,7 @@ function Ege({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => YI("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 === JV ? "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) => JI("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 === JV ? "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)
})
})
});
@@ -44426,7 +44426,7 @@ function qV({ 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) => YI("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),
+ className: (e) => JI("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),
children: [/* @__PURE__ */ (0, I.jsx)(yhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
let f = n === null ? null : o && r ? r : n ?? (t ? o ? YB : qB : Vhe);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -44440,20 +44440,20 @@ function qV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(tR, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(eR, {
slot: "chevron",
isDisabled: s,
className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",
children: /* @__PURE__ */ (0, I.jsx)(IB, {
"aria-hidden": !0,
- className: YI("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
+ className: JI("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
- className: YI("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
+ className: JI("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
}), f && /* @__PURE__ */ (0, I.jsx)(f, {
"aria-hidden": !0,
- className: YI("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
+ className: JI("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
})]
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -44469,18 +44469,18 @@ function qV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
});
}
var JV = {
- ...JL,
+ ...qL,
CollectionRoot: Dge
};
function Dge({ collection: e, ...t }) {
let n = (0, F.useContext)(jB);
- return n ? /* @__PURE__ */ (0, I.jsx)(jx, {
+ return n ? /* @__PURE__ */ (0, I.jsx)(Mx, {
initial: !1,
children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(kge, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, I.jsx)(JL.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, I.jsx)(qL.CollectionRoot, {
collection: e,
...t
});
@@ -44518,7 +44518,7 @@ function Oge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
height: "7",
viewBox: `0 0 ${i} 7`,
fill: "none",
- className: YI("absolute start-0", a === "rtl" && "-scale-x-100"),
+ className: JI("absolute start-0", a === "rtl" && "-scale-x-100"),
style: { top: "calc(50% - 6px)" },
children: /* @__PURE__ */ (0, I.jsx)("path", {
d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,
@@ -44545,8 +44545,8 @@ function Oge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
});
}
function kge({ state: e, children: t }) {
- let n = Ox(), r = tS(), [i, a] = (0, F.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(pS.div, {
+ let n = kx(), r = nS(), [i, a] = (0, F.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(mS.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -44610,7 +44610,7 @@ function XV({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = YV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
- className: YI("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? YI("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : YI("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: JI("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? JI("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : JI("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, I.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44635,15 +44635,15 @@ function XV({ state: e, size: t = "md" }) {
// src/react/boardui/components/base/checkbox/checkbox.tsx
function ZV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = YV[n];
- return /* @__PURE__ */ (0, I.jsx)(_pe, {
+ return /* @__PURE__ */ (0, I.jsx)(vpe, {
ref: r,
...i,
- className: (t) => YI("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => JI("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(XV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: YI(a.label, "text-text-primary"),
+ className: JI(a.label, "text-text-primary"),
children: t
})] })
});
@@ -44668,9 +44668,9 @@ function Age() {
function eH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)(oe, {
client: U,
- children: /* @__PURE__ */ (0, I.jsx)(qre, {
+ children: /* @__PURE__ */ (0, I.jsx)(Kre, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, I.jsx)(MD, {
+ children: /* @__PURE__ */ (0, I.jsx)(jD, {
getContainer: Age,
children: e
})
@@ -45379,11 +45379,11 @@ function l_e(e) {
function u_e(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = c_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${mL(e.waited_seconds)}` : "";
+ let t = c_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${pL(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
function d_e(e) {
- let t = e.total ? `${hL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ let t = e.total ? `${mL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
return u_e(e) + (t ? ` · ${t}` : "");
}
function f_e(e) {
@@ -45415,7 +45415,7 @@ function m_e(e, t, n) {
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var TH = XI({
+var TH = YI({
base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",
size: {
medium: "text-body-medium",
@@ -45433,7 +45433,7 @@ var TH = XI({
}
});
function EH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = YI(TH.base, TH.size[t], TH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
+ let c = JI(TH.base, TH.size[t], TH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
n ? /* @__PURE__ */ (0, I.jsx)(n, {
className: TH.icon[t],
"aria-hidden": !0
@@ -45581,7 +45581,7 @@ function kH(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 = eae(n, { transform: [r, E] }, __e[e]);
+ l = $ie(n, { transform: [r, E] }, __e[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45619,7 +45619,7 @@ function kH(e) {
// src/react/components/menu-dialog.tsx
function AH(e) {
let t = kH("hover");
- return /* @__PURE__ */ (0, I.jsx)(Vz, {
+ return /* @__PURE__ */ (0, I.jsx)(Bz, {
...e,
ref: t
});
@@ -45734,7 +45734,7 @@ function IH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsxs)(Dpe, {
+ /* @__PURE__ */ (0, I.jsxs)(Ope, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45746,7 +45746,7 @@ function IH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
e !== i && n(jH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, I.jsx)($L, {
+ children: [/* @__PURE__ */ (0, I.jsx)(QL, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45767,9 +45767,9 @@ function IH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
}),
a === 2 ? /* @__PURE__ */ (0, I.jsx)(y_e, { animate: r }) : null,
- /* @__PURE__ */ (0, I.jsx)(Ope, {
+ /* @__PURE__ */ (0, I.jsx)(kpe, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, I.jsx)(kpe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Ape, {
"aria-label": MH[a],
className: "processing-effort-thumb"
})
@@ -45804,7 +45804,7 @@ function b_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
},
children: MH[s]
})
- }), /* @__PURE__ */ (0, I.jsx)(Oz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Dz, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
@@ -46088,19 +46088,19 @@ function KH(e) {
// src/react/boardui/components/application/settings/settings-rows.tsx
function qH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
- className: YI("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: JI("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function JH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
- className: YI("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: JI("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
function j_e({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
- className: YI("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: JI("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
@@ -46271,7 +46271,7 @@ function QH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
id: s,
inert: !d,
children: /* @__PURE__ */ (0, I.jsx)("div", {
- className: YI("flex flex-col gap-2 pt-3", o),
+ className: JI("flex flex-col gap-2 pt-3", o),
children: r
})
})]
@@ -46577,7 +46577,7 @@ function lU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"data-processing-tone": d ? "error" : h ? "warning" : "neutral",
"aria-label": "扫描任务",
role: d ? "alert" : "status",
- className: YI("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
+ className: JI("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
@@ -46646,7 +46646,7 @@ function lU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "pt-3",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
- className: YI("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),
+ className: JI("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),
children: [
e?.steps?.length ? /* @__PURE__ */ (0, I.jsx)("ol", {
"aria-label": "处理步骤",
@@ -46654,16 +46654,16 @@ function lU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
children: e.steps.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {
"data-processing-step": e.status,
"aria-current": e.status === "current" ? "step" : void 0,
- className: YI("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
+ className: JI("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
children: [
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Phe, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}) : /* @__PURE__ */ (0, I.jsx)(Fhe, {
"aria-hidden": !0,
- className: YI("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
+ className: JI("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, I.jsx)(yE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, I.jsx)(vE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46821,15 +46821,15 @@ function eve() {
}
// src/react/components/segmented.tsx
function tve(e) {
- let t = EL(kH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(kB, {
+ let t = TL(kH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(OB, {
...e,
ref: t
});
}
function gU(e) {
- let t = EL(kH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ let t = TL(kH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(qz, {
...e,
ref: t
});
@@ -47688,7 +47688,7 @@ function gve({ chapter: e, className: t = "size-5" }) {
let n = hve[e] || VB;
return /* @__PURE__ */ (0, I.jsx)(n, {
"aria-hidden": !0,
- className: YI(t, "shrink-0")
+ className: JI(t, "shrink-0")
});
}
function IU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
@@ -48282,6 +48282,7 @@ function Sve({ go: e }) {
]
});
}
+var UU = "tutorial-sync";
function Cve({ actions: e }) {
let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(cve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = QV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
C.current = l;
@@ -48308,8 +48309,22 @@ function Cve({ actions: e }) {
--A.current;
}
});
- };
- (0, F.useEffect)(() => {
+ }, P = (0, F.useRef)(N);
+ P.current = N, (0, F.useEffect)(() => {
+ !p || t ? rH.dismiss(UU) : rH.error(p, {
+ id: UU,
+ toasterId: "receipts",
+ duration: Infinity,
+ action: {
+ label: "重新读取",
+ onClick: (e) => {
+ e.preventDefault(), P.current();
+ }
+ }
+ });
+ }, [p, t]), (0, F.useEffect)(() => () => {
+ rH.dismiss(UU);
+ }, []), (0, F.useEffect)(() => {
if (!d && !p) return;
let e = document.getElementById("tutorialBtn");
e && (e.hidden = !p && l.completed);
@@ -48318,7 +48333,7 @@ function Cve({ actions: e }) {
d,
p
]);
- let P = () => {
+ let ne = () => {
x.current?.stop(), x.current = null, i(!1), te({
...C.current,
invited: !0
@@ -48333,9 +48348,9 @@ function Cve({ actions: e }) {
invitation: !0,
navigate: e.navigate,
previous: () => {},
- close: P,
+ close: ne,
next: () => {
- P(), n(!0);
+ ne(), n(!0);
}
}), x.current = a, a.show({
id: "tutorial-entry",
@@ -48354,11 +48369,11 @@ function Cve({ actions: e }) {
p,
d
]);
- let ne = () => {
+ let re = () => {
let e = T.current;
e?.isConnected && e.getBoundingClientRect().width ? e.focus() : document.getElementById("settingsBtn")?.focus();
- }, re = (t = !1) => {
- S.current += 1, b.current?.stop(), b.current = null, document.body.classList.remove("peach-guiding"), v(!1), t ? (e.closeSettings?.(), E.current && E.current !== `${location.pathname}${location.search}${location.hash}` && e.navigate(E.current), n(!0)) : ne();
+ }, ie = (t = !1) => {
+ S.current += 1, b.current?.stop(), b.current = null, document.body.classList.remove("peach-guiding"), v(!1), t ? (e.closeSettings?.(), E.current && E.current !== `${location.pathname}${location.search}${location.hash}` && e.navigate(E.current), n(!0)) : re();
};
(0, F.useEffect)(() => {
M.current = !0;
@@ -48372,13 +48387,13 @@ function Cve({ actions: e }) {
(async () => {
let t = document.activeElement;
if (await k.current, !M.current || !await N() || e.invitation) return;
- re(), T.current = t, g(""), c("");
+ ie(), T.current = t, g(""), c("");
let r = jU.find((t) => t.id === e.chapter);
e.reopen ? (i(!1), te({
...C.current,
invited: !0,
completed: !1
- }, { action: "reopen" })) : P(), ne(), r ? (o(r.kind), O.current(r, !1)) : n(!0);
+ }, { action: "reopen" })) : ne(), re(), r ? (o(r.kind), O.current(r, !1)) : n(!0);
})();
}), a = () => {
document.visibilityState === "visible" && !b.current && !A.current && N();
@@ -48389,11 +48404,11 @@ function Cve({ actions: e }) {
}, []), (0, F.useEffect)(() => {
y.current && (y.current.scrollTop = 0);
}, [a]);
- let ie = () => {
- S.current += 1, v(!1), n(!1), ne();
- }, ae = (t) => {
- D.current && t !== location.pathname ? g("当前配置表单有编辑内容。请先处理表单,再打开其他页面。") : (ie(), e.navigate(t));
- }, oe = async (t, r) => {
+ let ae = () => {
+ S.current += 1, v(!1), n(!1), re();
+ }, oe = (t) => {
+ D.current && t !== location.pathname ? g("当前配置表单有编辑内容。请先处理表单,再打开其他页面。") : (ae(), e.navigate(t));
+ }, se = async (t, r) => {
if (!C.current.campaign || p) {
g("请先重新读取教程状态,再开始导览。");
return;
@@ -48402,7 +48417,7 @@ function Cve({ actions: e }) {
g("请先关闭当前详情或对话框,再开始导览。");
return;
}
- if (t.steps.some((e) => e.surface) && r8()?.miniplayerActive()) {
+ if (t.steps.some((e) => e.surface) && i8()?.miniplayerActive()) {
g("请先关闭正在播放的小窗,再开始播放器导览。");
return;
}
@@ -48417,7 +48432,7 @@ function Cve({ actions: e }) {
let { createGuideSession: r } = await import("./peach-app.guide-driver-BZX0VpRC.js");
if (a !== S.current) return;
let s = kf(location.pathname) ? Dp() : null, c = new URL(kf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);
- new URLSearchParams(location.search).has("edit") && c.searchParams.set("edit", ""), E.current = `${c.pathname}${c.search}${c.hash}`, w.current = Math.min(i, t.steps.length - 1), P(), (0, It.flushSync)(() => n(!1)), document.body.classList.add("peach-guiding");
+ new URLSearchParams(location.search).has("edit") && c.searchParams.set("edit", ""), E.current = `${c.pathname}${c.search}${c.hash}`, w.current = Math.min(i, t.steps.length - 1), ne(), (0, It.flushSync)(() => n(!1)), document.body.classList.add("peach-guiding");
let l = () => {
let e = C.current, n = e.chapters[t.id] || {
next: 0,
@@ -48443,9 +48458,9 @@ function Cve({ actions: e }) {
mountPopover: HU,
navigate: e.navigate,
close: () => {
- re(!0), o(t.kind);
+ ie(!0), o(t.kind);
},
- leave: () => re(),
+ leave: () => ie(),
previous: () => {
w.current > 0 && (--w.current, l());
},
@@ -48462,7 +48477,7 @@ function Cve({ actions: e }) {
...C.current,
completed: !0
}, { action: "complete" }), await k.current, a !== S.current) return;
- re(!0), o(t.kind), g(MU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
+ ie(!0), o(t.kind), g(MU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
} else w.current = n, l();
}
}), l();
@@ -48473,27 +48488,13 @@ function Cve({ actions: e }) {
}
};
O.current = (e, t) => {
- oe(e, t);
+ se(e, t);
};
- let se = sve(location.pathname);
- return (0, It.createPortal)(/* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [p && !t ? /* @__PURE__ */ (0, I.jsx)("aside", {
- className: "peach-react peach-guide-invitation",
- "aria-label": "教程同步状态",
- children: /* @__PURE__ */ (0, I.jsx)(SV, {
- tone: "error",
- action: /* @__PURE__ */ (0, I.jsx)(J, {
- size: "small",
- onClick: () => {
- N();
- },
- children: "重新读取"
- }),
- children: p
- })
- }) : null, /* @__PURE__ */ (0, I.jsxs)(bV, {
+ let ce = sve(location.pathname);
+ return (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(bV, {
isOpen: t,
onOpenChange: (e) => {
- e || ie();
+ e || ae();
},
width: "tutorial",
label: "新手教程",
@@ -48507,7 +48508,7 @@ function Cve({ actions: e }) {
children: "新手教程"
}), /* @__PURE__ */ (0, I.jsx)(EV, {
label: "关闭新手教程",
- onPress: ie
+ onPress: ae
})]
}),
/* @__PURE__ */ (0, I.jsx)("div", {
@@ -48525,7 +48526,7 @@ function Cve({ actions: e }) {
["start", "开始使用"],
["interface", "界面导览"],
["settings", "设置导览"]
- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Yz, {
+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Jz, {
value: e,
className: vU,
children: t
@@ -48555,32 +48556,32 @@ function Cve({ actions: e }) {
className: "mb-4",
children: h
}) : null,
- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Sve, { go: ae }) : /* @__PURE__ */ (0, I.jsx)(_ve, {
+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(Sve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(_ve, {
kind: a,
query: s,
setQuery: c,
- context: se,
+ context: ce,
progress: l,
loading: _,
start: (e, t) => {
- oe(e, t);
+ se(e, t);
}
}, a)
]
})
})
]
- })] }), document.body);
+ }) }), document.body);
}
// src/react/client-updates.tsx
-var wve = 12e4, Tve = 15e3, UU = () => document.visibilityState !== "hidden", WU = /* @__PURE__ */ new Set([
+var wve = 12e4, Tve = 15e3, WU = () => document.visibilityState !== "hidden", GU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), GU = "/settings/maintenance#releaseUpdates";
+]), KU = "/settings/maintenance#releaseUpdates";
function Eve() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
@@ -48592,11 +48593,11 @@ function Eve() {
return null;
}
}
-function KU() {
+function qU() {
let e = (0, F.useRef)(Eve()), [t, n] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let t = !1, r, i, a = async () => {
- if (t || !UU()) return;
+ if (t || !WU()) return;
let o = new AbortController();
i = o;
let s = setTimeout(() => o.abort(), Tve);
@@ -48605,10 +48606,10 @@ function KU() {
let r = await V("/api/client-updates", o.signal);
!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));
} catch {} finally {
- clearTimeout(s), i === o && (i = void 0, !t && UU() && (r = setTimeout(a, wve)));
+ clearTimeout(s), i === o && (i = void 0, !t && WU() && (r = setTimeout(a, wve)));
}
}, o = () => {
- clearTimeout(r), i?.abort(), i = void 0, UU() && a();
+ clearTimeout(r), i?.abort(), i = void 0, WU() && a();
};
return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {
t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);
@@ -48619,11 +48620,11 @@ function KU() {
};
}
function Dve({ navigate: e }) {
- let { snapshot: t, refresh: n } = KU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
+ let { snapshot: t, refresh: n } = qU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
if (!t || !a) return null;
- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : WU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : GU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
if (!l) return null;
- let u = (s.state === "ready" || WU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
+ let u = (s.state === "ready" || GU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
l,
c.version,
c.build_id
@@ -48655,9 +48656,9 @@ function Dve({ navigate: e }) {
}) : /* @__PURE__ */ (0, I.jsx)(EH, {
variant: "secondary",
size: "small",
- href: GU,
+ href: KU,
onClick: (t) => {
- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(GU));
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(KU));
},
"data-copy-key": `clientUpdates.${l}.action`,
children: l === "preparing" ? "查看进度" : "查看更新"
@@ -48683,7 +48684,7 @@ function Ove() {
}, [e]), null;
}
// src/junk-queue.ts
-var qU = [
+var JU = [
[
"",
"全部",
@@ -48719,37 +48720,37 @@ var qU = [
"其它",
"hard-drive"
]
-], kve = (e) => qU.find(([t]) => t === e)?.[0] ?? "";
-function JU(e) {
+], kve = (e) => JU.find(([t]) => t === e)?.[0] ?? "";
+function YU(e) {
let t = new URLSearchParams(e);
return {
kind: kve(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function YU(e = "", t = "pending") {
+function XU(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function XU(e) {
+function ZU(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: YU("", "pending")
+ href: XU("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: YU("", "dismissed")
+ href: XU("", "dismissed")
};
}
-var ZU = (e) => e === "dismissed" ? "已排除" : "待判断", QU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+var QU = (e) => e === "dismissed" ? "已排除" : "待判断", $U = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
function Ave({ kind: e, view: t }) {
- let n = qU.map(([n, r, i]) => `<a href="${YU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${QU(i)}${B(r)}</a>`).join(""), r = XU(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ps(ZU(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${QU(r.glyph)}${r.label}</a></nav></div></div></div>`;
+ let n = JU.map(([n, r, i]) => `<a href="${XU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${$U(i)}${B(r)}</a>`).join(""), r = ZU(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ps(QU(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\"" : ""}>${$U(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
function jve(e, t, n) {
@@ -48779,33 +48780,33 @@ function Mve(e, t) {
}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
}
// src/react/boardui/components/base/select/select.tsx
-var $U = (0, F.createContext)("md");
-function eW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var eW = (0, F.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, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);
jve(d, () => f(!1), [l, u]);
let p = Mve(d, l);
- return /* @__PURE__ */ (0, I.jsx)(hme, {
+ return /* @__PURE__ */ (0, I.jsx)(gme, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: YI("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(tR, {
+ className: JI("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(eR, {
ref: l,
- className: YI("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, I.jsx)(vme, {
- className: YI("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: JI("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, I.jsx)(yme, {
+ className: JI("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, I.jsx)(xge, { className: YI("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, I.jsx)(Oz, {
+ }), /* @__PURE__ */ (0, I.jsx)(xge, { className: JI("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, I.jsx)(Dz, {
ref: u,
isNonModal: !0,
offset: 4,
- className: YI(wge, WV, "p-2", n),
- children: /* @__PURE__ */ (0, I.jsx)(Lpe, {
+ className: JI(wge, WV, "p-2", n),
+ children: /* @__PURE__ */ (0, I.jsx)(Rpe, {
items: a,
- className: YI(Tge, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, I.jsx)($U.Provider, {
+ className: JI(Tge, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, I.jsx)(eW.Provider, {
value: r,
children: i
})
@@ -48813,16 +48814,16 @@ function eW({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function tW({ className: e, children: t, ...n }) {
- let r = (0, F.useContext)($U);
- return /* @__PURE__ */ (0, I.jsx)(Bpe, {
+function nW({ className: e, children: t, ...n }) {
+ let r = (0, F.useContext)(eW);
+ return /* @__PURE__ */ (0, I.jsx)(Vpe, {
...n,
- className: (t) => YI(GV, 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) => JI(GV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
// src/react/boardui/components/base/badges/chip.tsx
-var nW = XI({
+var rW = YI({
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",
@@ -48841,15 +48842,15 @@ var nW = XI({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function rW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function iW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
ref: r,
- className: YI(nW.base, nW.variant[e], nW.color[t], n),
+ className: JI(rW.base, rW.variant[e], rW.color[t], n),
...i
});
}
// src/react/components/art-slot.tsx
-function iW({ artwork: e, identity: t = e.html, relayout: n }) {
+function aW({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, F.useState)({
identity: t,
artwork: e
@@ -48868,7 +48869,7 @@ function iW({ artwork: e, identity: t = e.html, relayout: n }) {
});
}
// src/react/activity/downloads-panel.tsx
-var aW = "/api/downloads", oW = ["downloads"], Nve = "/api/downloads/cancel", Pve = "/api/downloads/postprocess", sW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Fve = {
+var oW = "/api/downloads", sW = ["downloads"], Nve = "/api/downloads/cancel", Pve = "/api/downloads/postprocess", cW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Fve = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -48877,21 +48878,21 @@ var aW = "/api/downloads", oW = ["downloads"], Nve = "/api/downloads/cancel", Pv
remote_done: "lime",
landed: "lime",
submitted: "neutral"
-}, cW = (e) => {
- let t = e.display_code || e.code || "", { title: n } = rL({
+}, lW = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = nL({
is_jav: !!t,
code: t,
name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name
});
return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;
-}, lW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Ive = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+}, uW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Ive = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
function Lve() {
let e = (0, F.useId)(), t = Ft({
- queryKey: [...oW, "pages"],
+ queryKey: [...sW, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => V(`${aW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => V(`${oW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,
- refetchInterval: (e) => e.state.data?.pages.some((e) => sW(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => cW(e) === 5e3) ? 5e3 : 3e4
}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];
return !r.length && !t.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {
id: "cloudDownloads",
@@ -48930,13 +48931,13 @@ function Lve() {
});
}
function Rve({ task: e, writable: t }) {
- bL();
- let n = ae(), r = DH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = lW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
+ yL();
+ let n = ae(), r = DH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = uW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
e.display_code || e.code ? "" : "番号未识别",
e.target,
- vL(e.submitted_at)
+ _L(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: oW });
+ n.invalidateQueries({ queryKey: sW });
}, g = () => {
r.run("cancel", (t) => H(Nve, { id: e.id }, "POST", t), h);
}, _ = () => {
@@ -48948,7 +48949,7 @@ function Rve({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => H(aW, t, "POST", e), h);
+ r.run("resubmit", (e) => H(oW, t, "POST", e), h);
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
@@ -48967,14 +48968,14 @@ function Rve({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(CM) },
+ style: { "--card-ratio": String(SM) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-nopic": "",
children: "无封面"
}),
- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(iW, {
+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(aW, {
artwork: {
kind: "cover",
html: bo(u, "big")
@@ -48984,7 +48985,7 @@ function Rve({ task: e, writable: t }) {
f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-cover-link": "",
href: f,
- "aria-label": `打开作品详情:${cW(e)}`,
+ "aria-label": `打开作品详情:${lW(e)}`,
className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"
}) : null
]
@@ -48995,19 +48996,19 @@ function Rve({ task: e, writable: t }) {
className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("strong", {
className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
- title: cW(e),
+ title: lW(e),
children: f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-title-link": "",
href: f,
className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",
- children: cW(e)
- }) : cW(e)
+ children: lW(e)
+ }) : lW(e)
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(rW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(iW, {
color: Fve[e.state] ?? "neutral",
children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(rW, {
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(iW, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
children: e.postprocess_label
}) : null]
@@ -49108,7 +49109,7 @@ function Rve({ task: e, writable: t }) {
id: c,
"data-download-title-full": !0,
className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",
- children: cW(e)
+ children: lW(e)
}) : null,
l || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
@@ -49121,7 +49122,7 @@ function Rve({ task: e, writable: t }) {
});
}
// src/react/activity/work-code.ts
-var uW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), dW = (e, t) => !!uW(e) && uW(e) === uW(t);
+var dW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), fW = (e, t) => !!dW(e) && dW(e) === dW(t);
// src/react/activity/resource-search.tsx
function zve({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
@@ -49150,7 +49151,7 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => dW(e.code, t));
+ let r = (n.items || []).find((e) => fW(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -49192,7 +49193,7 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(ZH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(eW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(ZH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(tW, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -49200,15 +49201,15 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, I.jsx)(tW, {
+ /* @__PURE__ */ (0, I.jsx)(nW, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, I.jsx)(tW, {
+ /* @__PURE__ */ (0, I.jsx)(nW, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, I.jsx)(tW, {
+ /* @__PURE__ */ (0, I.jsx)(nW, {
id: "uncensored",
children: "无码"
})
@@ -49281,7 +49282,7 @@ var Hve = {
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function fW({ prefill: e, close: t, receipt: n, provider: r }) {
+function pW({ prefill: e, close: t, receipt: n, provider: r }) {
return /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: !!e,
onOpenChange: (e) => {
@@ -49298,12 +49299,12 @@ function fW({ prefill: e, close: t, receipt: n, provider: r }) {
}
function Uve({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Nt({
- queryKey: oW,
- queryFn: ({ signal: e }) => V(`${aW}?limit=50`, e),
- refetchInterval: (e) => sW(e.state.data)
+ queryKey: sW,
+ queryFn: ({ signal: e }) => V(`${oW}?limit=50`, e),
+ refetchInterval: (e) => cW(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, I.jsx)(rR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nR, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
@@ -49361,14 +49362,14 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => H(aW, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: oW });
+ b(""), S.run("submit", (e) => H(oW, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: sW });
let t = Hve[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = lW(e.task);
+ let n = uW(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -49404,13 +49405,13 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- dW(e, _?.code) || (v(dW(e, n.code) ? n : null), f("")), m(e);
+ fW(e, _?.code) || (v(fW(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? dW(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? fW(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : dW(t?.code, n.code) ? t : null),
+ } : e : fW(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
@@ -49428,14 +49429,14 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
className: "flex flex-col gap-1",
children: [
/* @__PURE__ */ (0, I.jsx)(ZH, { children: "下载到" }),
- /* @__PURE__ */ (0, I.jsx)(eW, {
+ /* @__PURE__ */ (0, I.jsx)(tW, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {
+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(nW, {
id: e.key,
textValue: e.label,
children: /* @__PURE__ */ (0, I.jsx)(nU, {
@@ -49473,7 +49474,7 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), dW(e, _?.code) || v(null);
+ m(e), fW(e, _?.code) || v(null);
}
}),
y || S.error ? /* @__PURE__ */ (0, I.jsx)(XH, { children: y || S.error }) : null
@@ -49496,7 +49497,7 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/wants/wants.ts
-var pW = "/api/wants", mW = ["wants"], Gve = (e) => [
+var mW = "/api/wants", hW = ["wants"], Gve = (e) => [
"wants",
"follow",
e
@@ -49505,9 +49506,9 @@ var pW = "/api/wants", mW = ["wants"], Gve = (e) => [
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], hW = (e) => V(pW, e);
+], gW = (e) => V(mW, e);
function qve(e, t) {
- U.setQueryData(mW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+ U.setQueryData(hW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -49515,16 +49516,16 @@ function qve(e, t) {
} : n)
} : n);
}
-var gW = (e, t) => V(`${pW}?follow=${encodeURIComponent(e)}`, t), _W = (e, t) => H(pW, {
+var Jve = (e, t) => V(`${mW}?follow=${encodeURIComponent(e)}`, t), _W = (e, t) => H(mW, {
action: "add",
...e
-}, "POST", t), vW = (e, t) => H(pW, {
+}, "POST", t), vW = (e, t) => H(mW, {
action: "remove",
ids: e
-}, "POST", t), yW = (e, t) => H(pW, {
+}, "POST", t), yW = (e, t) => H(mW, {
action: "reset",
ids: e
-}, "POST", t), bW = () => U.invalidateQueries({ queryKey: mW }), xW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+}, "POST", t), bW = () => U.invalidateQueries({ queryKey: hW }), xW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
function SW(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} 次` : "还没查过";
}
@@ -49555,8 +49556,8 @@ function TW(e, t, n) {
}
async function EW(e, t) {
e === "wants" ? await U.ensureQueryData({
- queryKey: mW,
- queryFn: () => hW(t),
+ queryKey: hW,
+ queryFn: () => gW(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await U.ensureQueryData({
@@ -49576,7 +49577,7 @@ function DW({ value: e }) {
}
var OW = "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 kW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, F.useRef)(null), o = EL(a);
+ let a = (0, F.useRef)(null), o = TL(a);
return (0, F.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -49585,7 +49586,7 @@ function kW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
let n = t.offsetLeft, r = n + t.offsetWidth;
n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);
})();
- }, [t]), /* @__PURE__ */ (0, I.jsx)(QI, {
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(ZI, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -49651,7 +49652,7 @@ function jW({ navigate: e, receipt: t }) {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, I.jsx)(fW, {
+ }), /* @__PURE__ */ (0, I.jsx)(pW, {
prefill: n,
close: () => r(null),
receipt: t
@@ -49695,7 +49696,7 @@ function zW(e, t, n, r) {
state: "trash",
q: ""
};
- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = mM().value;
+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = pM().value;
return {
...i,
loc: o.get("loc") ?? r.defaultLoc(),
@@ -49709,7 +49710,7 @@ function zW(e, t, n, r) {
dur_max: o.get("dur_max") || "",
orient: o.get("orient") || "",
state: Dn[e] || o.get("state") || "",
- ...Yj(o.get("sort"), o.get("dir"), s, c),
+ ...Jj(o.get("sort"), o.get("dir"), s, c),
seed: o.get("seed") || (n ? nr() : i.seed || nr()),
q: o.get("q") || "",
jav: o.get("jav") || "",
@@ -49746,8 +49747,8 @@ function VW(e, t) {
}
let { pathname: o, search: s } = G.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = JU(s);
- LW = !0, Tp(YU(e, t), { replace: !0 });
+ let { kind: e, view: t } = YU(s);
+ LW = !0, Tp(XU(e, t), { replace: !0 });
return;
}
let c = LW;
@@ -49901,7 +49902,7 @@ function rG({ target: e }) {
}
function iG(e, t, n) {
let r = new URL(e, window.location.href);
- N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
function aG() {
let e = (0, F.useContext)(tG), [t, n] = (0, F.useState)(cp), r = (0, F.useRef)(null);
@@ -49932,7 +49933,7 @@ var oG = class extends F.Component {
return this.state.failed ? null : this.props.children;
}
}, sG = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
- return q6(e.path) ? (0, It.createPortal)(uFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+ return J6(e.path) ? (0, It.createPortal)(fFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
function cG({ children: e }) {
let t = Zd();
@@ -49942,37 +49943,37 @@ function cG({ children: e }) {
/* @__PURE__ */ (0, I.jsxs)(Cf, {
location: n ?? t,
children: [
- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(oFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(cFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- K6.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ q6.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
- element: B6["/"].element
+ element: V6["/"].element
}, e)),
- Object.entries(sFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(lFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
Nf.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(QW, {}) : B6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(QW, {}) : V6["/"].element
}, e)),
Of.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
@@ -50045,7 +50046,7 @@ function pG(e, t) {
return e.pathname + (n.size ? `?${n}` : "");
}
// src/react/catalog-folders/folder-rule-dialog.tsx
-function Jve({ folder: e, rule: t, revision: n, close: r }) {
+function Yve({ folder: e, rule: t, revision: n, close: r }) {
let i = (0, F.useContext)(tG), a = DH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
folder: e.id,
purpose: o,
@@ -50089,7 +50090,7 @@ function Jve({ folder: e, rule: t, revision: n, close: r }) {
className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, I.jsx)(rR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nR, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -50109,14 +50110,14 @@ function Jve({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(pV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(eW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(pV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(tW, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(dG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(tW, {
+ children: Object.entries(dG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(nW, {
id: e,
children: t
}, e))
@@ -50244,7 +50245,7 @@ function Jve({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function Yve(e, t) {
+function Xve(e, t) {
(0, F.useLayoutEffect)(() => {
if (!e) return;
let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {
@@ -50268,13 +50269,13 @@ function Yve(e, t) {
}
// src/react/catalog-folders/catalog-folders-page.tsx
function mG() {
- return Xd() ? /* @__PURE__ */ (0, I.jsx)(Xve, {}) : null;
+ return Xd() ? /* @__PURE__ */ (0, I.jsx)(Zve, {}) : null;
}
-function Xve() {
+function Zve() {
let e = Zd(), t = (0, F.useContext)(tG);
if (!kn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
- return /* @__PURE__ */ (0, I.jsx)(CL, {
+ return /* @__PURE__ */ (0, I.jsx)(SL, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
@@ -50288,13 +50289,13 @@ function Xve() {
} : { browse: "folders" }))
});
}
-function Zve({ children: e, enabled: t }) {
- return Xd() ? /* @__PURE__ */ (0, I.jsx)(Qve, {
+function Qve({ children: e, enabled: t }) {
+ return Xd() ? /* @__PURE__ */ (0, I.jsx)($ve, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });
}
-function Qve({ children: e, enabled: t }) {
+function $ve({ children: e, enabled: t }) {
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = Zd(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "entity-folder-workspace",
@@ -50327,7 +50328,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- Yve(o, e);
+ Xve(o, e);
let c = a.get("folder") || "", l = Nt({
...fG(s, c),
enabled: o
@@ -50347,7 +50348,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(eye, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(tye, {
scope: s,
selected: c,
current: _,
@@ -50364,7 +50365,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, I.jsx)(CL, {
+ children: /* @__PURE__ */ (0, I.jsx)(SL, {
"aria-label": "打开文件夹目录",
icon: nge,
size: "small",
@@ -50388,7 +50389,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, I.jsx)(CL, {
+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(SL, {
"aria-label": "设置目录用途",
icon: Ghe,
size: "small",
@@ -50437,7 +50438,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-children",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))
}) : null,
- _?.children.length ? /* @__PURE__ */ (0, I.jsx)($ve, {
+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(eye, {
nodes: _.children,
go: g
}, c) : null
@@ -50462,7 +50463,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Jve, {
+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Yve, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -50470,7 +50471,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function $ve({ nodes: e, go: t }) {
+function eye({ nodes: e, go: t }) {
let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-2",
@@ -50498,7 +50499,7 @@ function $ve({ nodes: e, go: t }) {
}) : null]
});
}
-function eye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+function tye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
let a = Nt(fG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Nt({
...fG(e, "", u),
enabled: !!u.trim()
@@ -50612,7 +50613,7 @@ function eye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
size: "compact",
icon: qB,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, I.jsx)(FL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -50633,14 +50634,14 @@ function yG() {
return vG;
}
}
-function tye(e) {
+function nye(e) {
vG = e === "list" ? "list" : "cards";
try {
localStorage.setItem(gG, vG);
} catch {}
_G.forEach((e) => e());
}
-function nye(e) {
+function rye(e) {
_G.add(e);
let t = (t) => {
(t.key === gG || t.key === null) && e();
@@ -50649,18 +50650,18 @@ function nye(e) {
_G.delete(e), removeEventListener("storage", t);
};
}
-var bG = () => (0, F.useSyncExternalStore)(nye, yG, () => "cards");
+var bG = () => (0, F.useSyncExternalStore)(rye, yG, () => "cards");
// src/react/catalog-grid/catalog-view-toggle.tsx
function xG() {
let e = bG();
- return /* @__PURE__ */ (0, I.jsxs)(Jz, {
+ return /* @__PURE__ */ (0, I.jsxs)(qz, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: tye,
+ onChange: nye,
"data-entity-layout": "",
className: yU,
- children: [/* @__PURE__ */ (0, I.jsx)(Yz, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Jz, {
value: "cards",
"aria-label": "卡片",
className: bU,
@@ -50673,7 +50674,7 @@ function xG() {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(Yz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Jz, {
value: "list",
"aria-label": "列表",
className: bU,
@@ -50691,7 +50692,7 @@ function xG() {
}
// src/react/components/icon-swap.tsx
function SG({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = PC();
+ let { isFocusVisible: i } = NC();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -50778,9 +50779,9 @@ function FG(e, t) {
let n = wG(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var rye = 864e5, iye = (e, t) => {
+var iye = 864e5, aye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > rye;
+ return Number.isFinite(n) && n - t > iye;
};
function IG(e, t) {
let n = wG(e.published_at);
@@ -50789,14 +50790,14 @@ function IG(e, t) {
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: iye(n, t) ? " · 晚于现在" : ""
+ suffix: aye(n, t) ? " · 晚于现在" : ""
};
}
function LG(e, t = Date.now()) {
let n = IG(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function aye(e, t = Date.now()) {
+function oye(e, t = Date.now()) {
let n = IG(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
@@ -50812,7 +50813,7 @@ function VG() {
body: JSON.stringify({ entries: e })
}).catch(() => {}), zG.length && (BG = setTimeout(VG, 800));
}
-function oye(e, t, n, r) {
+function sye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
RG.has(i) || (RG.add(i), zG.push(t === null ? {
item: e,
@@ -50826,22 +50827,22 @@ function oye(e, t, n, r) {
}), BG ||= setTimeout(VG, 800));
}
// src/react/entity-filter/entity-filter.ts
-var sye = (e) => e === "videos", HG = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var cye = (e) => e === "videos", HG = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), cye = TV("shuffle"), lye = TV("arrow-up"), uye = TV("arrow-down");
-function dye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = sye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), lye = TV("shuffle"), uye = TV("arrow-up"), dye = TV("arrow-down");
+function fye(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = cye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = NL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = NL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = NL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = ML(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = ML(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = ML(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, F.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
}, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, I.jsx)(OL, {
+ }), /* @__PURE__ */ (0, I.jsx)(DL, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -50870,14 +50871,14 @@ function dye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(hye, {
+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(gye, {
keys: n,
view: t,
row: _,
glide: S,
onView: s.setView
}), d ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null] }) : null,
- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(pye, {
+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(mye, {
head: T,
row: w,
glide: E,
@@ -50907,7 +50908,7 @@ function dye(e) {
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(kL, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(OL, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -50916,17 +50917,17 @@ function dye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(mye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(hye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, I.jsx)(gye, { ...e })
+ bottom: /* @__PURE__ */ (0, I.jsx)(_ye, { ...e })
})] });
}
-var fye = [[
+var pye = [[
"videos",
"视频",
"play",
@@ -50937,7 +50938,7 @@ var fye = [[
"pics",
"image"
]];
-function pye({ head: e, row: t, glide: n, onMedia: r }) {
+function mye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
role: "group",
@@ -50945,7 +50946,7 @@ function pye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: fye.map(([t, i, a, o]) => {
+ children: pye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -50963,7 +50964,7 @@ function pye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function mye({ head: e, actions: t }) {
+function hye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -50976,7 +50977,7 @@ function mye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: EG(n) }
}, n)),
e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(kL, {
+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(OL, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -50989,7 +50990,7 @@ function mye({ head: e, actions: t }) {
}, e.k))
] });
}
-function hye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function gye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -51057,7 +51058,7 @@ function UG({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function gye(e) {
+function _ye(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -51069,30 +51070,30 @@ function gye(e) {
dangerouslySetInnerHTML: { __html: z("chevron-left") }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(_ye, {
+ /* @__PURE__ */ (0, I.jsx)(vye, {
text: n,
busy: r
}),
/* @__PURE__ */ (0, I.jsx)(BV, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(vye, {
+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(yye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(bye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(xye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(yye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(bye, {
head: e.online,
actions: o
}) : null
] });
}
-function _ye({ text: e, busy: t }) {
+function vye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
text: t ? void 0 : e,
busy: t,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51104,7 +51105,7 @@ function _ye({ text: e, busy: t }) {
});
}
function WG({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ return /* @__PURE__ */ (0, I.jsx)(qz, {
name: e,
"aria-label": t,
orientation: "horizontal",
@@ -51114,7 +51115,7 @@ function WG({ name: e, label: t, value: n, options: r, onChange: i }) {
className: yU,
children: r.map(([e, t, n]) => {
let r = TV(n);
- return /* @__PURE__ */ (0, I.jsx)(Yz, {
+ return /* @__PURE__ */ (0, I.jsx)(Jz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -51129,16 +51130,16 @@ function WG({ name: e, label: t, value: n, options: r, onChange: i }) {
});
}
function GG({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, I.jsx)(DL, {
+ return /* @__PURE__ */ (0, I.jsx)(EL, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: cye,
+ icon: lye,
onPress: e
});
}
-function vye({ head: e, actions: t }) {
+function yye({ head: e, actions: t }) {
let n = bG();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
@@ -51168,14 +51169,14 @@ function KG({ sorts: e, onSort: t }) {
"aria-label": e.ariaLabel || void 0,
onClick: () => t(e.key),
children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(SG, {
- a: lye,
- b: uye,
+ a: uye,
+ b: dye,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
}, e.key)) });
}
-function yye({ head: e, actions: t }) {
+function bye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -51207,7 +51208,7 @@ function yye({ head: e, actions: t }) {
]
});
}
-function bye({ head: e, actions: t, helpers: n }) {
+function xye({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, F.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
@@ -51235,7 +51236,7 @@ function bye({ head: e, actions: t, helpers: n }) {
});
}
// src/react/catalog-filter/catalog-filter.ts
-var xye = "peach.catalog.tiers.v1";
+var Sye = "peach.catalog.tiers.v1";
function qG() {
try {
let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");
@@ -51250,18 +51251,18 @@ function qG() {
};
}
}
-function Sye(e) {
+function Cye(e) {
try {
let t = JSON.stringify({
performers: e.performers,
studios: e.studios
});
- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(xye, t);
+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Sye, t);
} catch {}
}
// src/react/catalog-filter/catalog-filter-page.tsx
-function Cye(e) {
- let t = !e.tiers, n = Aye(e.comboHost);
+function wye(e) {
+ let t = !e.tiers, n = jye(e.comboHost);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
@@ -51273,13 +51274,13 @@ function Cye(e) {
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, I.jsx)(Eye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(wye, { ...e })
+ /* @__PURE__ */ (0, I.jsx)(Dye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Tye, { ...e })
]
});
}
-function wye(e) {
- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = NL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Tye(e) {
+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = ML(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, F.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
@@ -51307,7 +51308,7 @@ function wye(e) {
e.sorts
]), (0, F.useLayoutEffect)(() => {
Xs(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, I.jsx)(OL, {
+ }, [f]), /* @__PURE__ */ (0, I.jsx)(DL, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -51351,23 +51352,23 @@ function wye(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Tye, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Eye, {
tag: n,
pending: e.tiersPending,
onPress: t.toggleTag
}, n.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Oye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(kye, { ...e })
});
}
-function Tye({ tag: e, pending: t, onPress: n }) {
- return /* @__PURE__ */ (0, I.jsxs)(kL, {
+function Eye({ tag: e, pending: t, onPress: n }) {
+ return /* @__PURE__ */ (0, I.jsxs)(OL, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
onPress: () => n(e.k),
- children: [/* @__PURE__ */ (0, I.jsx)(xL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(bL, {
text: e.label,
busy: t
}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51376,15 +51377,15 @@ function Tye({ tag: e, pending: t, onPress: n }) {
})]
});
}
-function Eye(e) {
- bL();
+function Dye(e) {
+ yL();
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
}, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = YG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = YG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? qG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
return (0, F.useEffect)(() => {
- i || Sye({
+ i || Cye({
performers: f,
studios: p
});
@@ -51416,7 +51417,7 @@ function Eye(e) {
dangerouslySetInnerHTML: { __html: n.ringHtml }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-name": "",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
text: en("performer", n.name),
busy: e.tiersPending
})
@@ -51431,7 +51432,7 @@ function Eye(e) {
"data-entity-kind": "studio",
"data-entity-name": n.name,
onClick: () => t.openEntity("studio", n.name),
- children: [/* @__PURE__ */ (0, I.jsx)(Dye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Oye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(bL, {
text: n.name,
busy: e.tiersPending
})]
@@ -51439,7 +51440,7 @@ function Eye(e) {
}) : null]
});
}
-function Dye({ studio: e }) {
+function Oye({ studio: e }) {
let [t, n] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-mark": "",
@@ -51473,11 +51474,11 @@ function JG({ kind: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Oye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function kye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let a = bG(), [o, s] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, I.jsx)(kye, { count: e }), /* @__PURE__ */ (0, I.jsx)(BV, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, I.jsx)(Aye, { count: e }), /* @__PURE__ */ (0, I.jsx)(BV, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -51503,13 +51504,13 @@ function Oye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
]
})] });
}
-function kye({ count: e }) {
+function Aye({ count: e }) {
let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-readout": "",
"data-count-readout": "",
role: "status",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
text: t,
busy: e === null,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51520,7 +51521,7 @@ function kye({ count: e }) {
})
});
}
-function Aye(e) {
+function jye(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -51574,7 +51575,7 @@ function YG(e, t, n, r, i) {
}
// src/react/components/grid-reveal.tsx
var XG = "100% 0px";
-function jye(e, t) {
+function Mye(e, t) {
let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
a.current && lc(a.current);
@@ -51638,7 +51639,7 @@ function QG({ pending: e, skeletonHtml: t, children: n }) {
}
// src/library-catalog.ts
var $G = "peach.library-colors.v1", eK = null, tK = /* @__PURE__ */ new Set();
-function Mye() {
+function Nye() {
try {
let e = JSON.parse(localStorage.getItem($G) || "{}");
return e && typeof e == "object" ? e : {};
@@ -51656,14 +51657,14 @@ function nK(e) {
function rK() {
return eK;
}
-function Nye(e) {
+function Pye(e) {
return tK.add(e), () => {
tK.delete(e);
};
}
// src/react/components/library-tint.ts
var iK = /* @__PURE__ */ new Map(), aK = !1, oK = /* @__PURE__ */ new Set();
-function Pye(e) {
+function Fye(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();
@@ -51672,7 +51673,7 @@ function Pye(e) {
function sK(e) {
iK = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...iK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Pye(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...iK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Fye(e.color)}}`).join("\n");
}
function cK(e) {
sK(e), oK.forEach((e) => e());
@@ -51684,15 +51685,15 @@ var lK = (e) => new Map(e.map((e) => [e.id, {
location: e.roots?.[0]?.location || "",
color: e.color || ""
}])), uK = !1;
-function Fye() {
+function Iye() {
if (uK) return;
- uK = !0, Nye((e) => cK(lK(e)));
+ uK = !0, Pye((e) => cK(lK(e)));
let e = rK();
if (e) {
sK(lK(e));
return;
}
- let t = Object.entries(Mye()).filter(([, e]) => e);
+ let t = Object.entries(Nye()).filter(([, e]) => e);
t.length && sK(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
@@ -51701,12 +51702,12 @@ function Fye() {
color: t
}])));
}
-function Iye() {
+function Lye() {
aK || rK() || (aK = !0, V("/api/libraries").then((e) => nK(e.libraries || [])).catch(() => {
aK = !1;
}));
}
-function Lye(e, t) {
+function Rye(e, t) {
let n = iK.get(e) ?? {
id: e,
name: "",
@@ -51719,20 +51720,20 @@ function Lye(e, t) {
color: t
}]]));
}
-function Rye(e) {
+function zye(e) {
return oK.add(e), () => {
oK.delete(e);
};
}
function dK({ names: e = !1 } = {}) {
- return Fye(), e && Iye(), (0, F.useSyncExternalStore)(Rye, () => iK, () => iK);
+ return Iye(), e && Lye(), (0, F.useSyncExternalStore)(zye, () => iK, () => iK);
}
// src/react/components/row-click.ts
-var zye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
+var Bye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
function fK(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(zye);
+ let r = n.closest(Bye);
return !r || !t.contains(r) || r === t;
}
function pK(e) {
@@ -51747,18 +51748,18 @@ function gK({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var Bye = {
+var Vye = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Vye = {
+}, Hye = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function Hye(e) {
+function Uye(e) {
if (Number(e.duration) < 0) return {
key: "unavailable",
label: "探查错误"
@@ -51788,7 +51789,7 @@ function Hye(e) {
}
function _K({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && Vye[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && Hye[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
@@ -51815,7 +51816,7 @@ function vK({ item: e, actions: t }) {
}) : null] });
}
function yK(e, t, n) {
- return t === "short" ? mK : NM(n);
+ return t === "short" ? mK : MM(n);
}
function bK(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Oo(e), s = i[0] || "", c = po(e);
@@ -51868,7 +51869,7 @@ function bK(e) {
})
};
}
-function Uye() {
+function Wye() {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -51887,7 +51888,7 @@ function Uye() {
})]
});
}
-function Wye({ item: e, actions: t, on: n, onChange: r }) {
+function Gye({ item: e, actions: t, on: n, onChange: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-later": "",
@@ -51906,7 +51907,7 @@ function Wye({ item: e, actions: t, on: n, onChange: r }) {
})
});
}
-function Gye({ reason: e }) {
+function Kye({ reason: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
ref: t,
@@ -51920,7 +51921,7 @@ function Gye({ reason: e }) {
e.stopPropagation(), r(!0);
},
children: e
- }), /* @__PURE__ */ (0, I.jsx)(Oz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Dz, {
triggerRef: t,
isOpen: n,
onOpenChange: r,
@@ -51928,7 +51929,7 @@ function Gye({ reason: e }) {
offset: 8,
containerPadding: 12,
className: WV,
- children: /* @__PURE__ */ (0, I.jsx)(Vz, {
+ children: /* @__PURE__ */ (0, I.jsx)(Bz, {
"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",
@@ -51940,14 +51941,14 @@ function xK(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 Kye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
- bL();
+function qye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
+ yL();
let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = dK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
_.current = e;
let v = (0, F.useCallback)((e) => {
let t = _.current;
u.current && u.current !== e && Al(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Ml(e, t);
- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = yK(e, t, n), w = S ? n.size : "small", T = C === mK && !!e.is_jav, E = T ? To(e, !1) : Co(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Co(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || hK, A = o.titleHtml(e, O).trim() || B(hK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Hye(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = bK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = yK(e, t, n), w = S ? n.size : "small", T = C === mK && !!e.is_jav, E = T ? To(e, !1) : Co(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Co(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || hK, A = o.titleHtml(e, O).trim() || B(hK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Uye(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = bK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
let n = t.target;
if (n.closest("[data-media-reason-dialog]")) return;
let r = u.current;
@@ -51977,7 +51978,7 @@ function Kye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pic-portrait": C === mK ? "" : void 0,
style: { "--card-ratio": String(C) },
children: [
- E.html ? /* @__PURE__ */ (0, I.jsx)(iW, {
+ E.html ? /* @__PURE__ */ (0, I.jsx)(aW, {
artwork: E,
identity: D,
relayout: (e) => Sl(e, w)
@@ -52027,7 +52028,7 @@ function Kye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, I.jsx)(Uye, {}),
+ /* @__PURE__ */ (0, I.jsx)(Wye, {}),
p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-status": "",
children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -52042,7 +52043,7 @@ function Kye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "heart" })
}) : null]
}) : null,
- i ? null : /* @__PURE__ */ (0, I.jsx)(Wye, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(Gye, {
item: e,
actions: s,
on: p,
@@ -52147,7 +52148,7 @@ function Kye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
})
]
}),
- t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(Gye, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
+ t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(Kye, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-tags": "",
children: ne.map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52164,8 +52165,8 @@ function Kye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function qye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Bye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function Jye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Vye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, I.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -52247,17 +52248,17 @@ function qye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function Jye(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(qye, { ...e }) : /* @__PURE__ */ (0, I.jsx)(Kye, { ...e });
+function Yye(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(Jye, { ...e }) : /* @__PURE__ */ (0, I.jsx)(qye, { ...e });
}
-var SK = (0, F.memo)(Jye), Yye = 1100, Xye = 340, Zye = 5e3;
-function Qye(e, t, n) {
+var SK = (0, F.memo)(Yye), Xye = 1100, Zye = 340, Qye = 5e3;
+function $ye(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, Zye);
+ }, s = () => o(!1), c = setTimeout(s, Qye);
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;
@@ -52305,11 +52306,11 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Qye(t, e, n)));
+ let s = await Promise.all(a.map((t) => $ye(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, Yye);
+ p(), e.cycle = setInterval(p, Xye);
}));
};
return (0, F.useEffect)(() => d, [d]), {
@@ -52318,7 +52319,7 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Xye, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Zye, () => {
e.armed = null, m();
});
},
@@ -52329,7 +52330,7 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {
}
// src/react/components/mix-card.tsx
var wK = TV("play");
-function $ye({ src: e }) {
+function ebe({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
"data-mix-poster": "",
@@ -52343,7 +52344,7 @@ function $ye({ src: e }) {
});
}
var TK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function ebe({ faces: e, fallback: t, onOpenEntity: n }) {
+function tbe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {
@@ -52389,11 +52390,11 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, I.jsx)(iW, {
+ f?.html ? /* @__PURE__ */ (0, I.jsx)(aW, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, I.jsx)($ye, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, I.jsx)(ebe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -52437,7 +52438,7 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
"data-mix-glyph": "",
"aria-hidden": !0,
children: /* @__PURE__ */ (0, I.jsx)(wK, {})
- }) : /* @__PURE__ */ (0, I.jsx)(ebe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(tbe, {
faces: o,
fallback: Qn(e),
onOpenEntity: s
@@ -52460,7 +52461,7 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
});
}
// src/react/video-wall/folia/blockReflows.ts
-var tbe = [
+var nbe = [
[
[
{
@@ -56329,15 +56330,15 @@ var tbe = [
OK,
kK,
(e) => OK(kK(e))
-], jK = DK.flatMap((e) => AK.map((t) => t(e))), nbe = tbe.flatMap((e) => AK.map((t) => e.map(t)));
+], jK = DK.flatMap((e) => AK.map((t) => t(e))), rbe = nbe.flatMap((e) => AK.map((t) => e.map(t)));
jK.length;
-var rbe = (e, t) => {
+var ibe = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
}, MK = (e, t) => {
let n = DK.length;
- return ((e + t * 2) % n + n) % n * AK.length + rbe(e, t) % AK.length;
-}, ibe = (e, t) => jK[MK(e, t)], abe = (e, t, n) => n < 0 || n >= 12 ? null : nbe[MK(e, t)][n], NK = 103.36, PK = 6.08, FK = 12 * NK, IK = 8 * NK, LK = 12, RK = (e, t) => (e % t + t) % t, obe = (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;
+ return ((e + t * 2) % n + n) % n * AK.length + ibe(e, t) % AK.length;
+}, abe = (e, t) => jK[MK(e, t)], obe = (e, t, n) => n < 0 || n >= 12 ? null : rbe[MK(e, t)][n], NK = 103.36, PK = 6.08, FK = 12 * NK, IK = 8 * NK, LK = 12, RK = (e, t) => (e % t + t) % t, sbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
function zK(e, t) {
let n = Math.max(1, Math.ceil(e / LK)), r = t ? 3 : Math.min(3, n);
return {
@@ -56347,7 +56348,7 @@ function zK(e, t) {
};
}
function BK(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = ibe(e, t)[n];
+ let { x: r, y: i, cols: a, rows: o } = abe(e, t)[n];
return {
x: e * FK + r * NK,
y: t * IK + i * NK,
@@ -56355,7 +56356,7 @@ function BK(e, t, n) {
height: o * NK - PK
};
}
-function sbe(e) {
+function cbe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
function VK(e, t, n) {
@@ -56375,13 +56376,13 @@ function VK(e, t, n) {
key: n
};
}
-function cbe(e, t) {
+function lbe(e, t) {
if (t < 0 || t >= e) return null;
let n = Math.floor(t / LK);
return VK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % LK}`);
}
function HK(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = abe(r, i, a);
+ let [r, i, a] = n.key.split(":").map(Number), o = obe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
x: r * FK + e.x * NK,
y: i * IK + e.y * NK,
@@ -56389,7 +56390,7 @@ function HK(e, t, n) {
height: e.rows * NK - PK
}]));
}
-function lbe(e) {
+function ube(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
let e = Math.floor(r / LK), i = BK(e % 3, Math.floor(e / 3), r % LK);
@@ -56400,7 +56401,7 @@ function lbe(e) {
height: n
};
}
-function ube(e, t, n, r) {
+function dbe(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 {
@@ -56409,7 +56410,7 @@ function ube(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function dbe(e, t, n, r) {
+function fbe(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
@@ -56424,7 +56425,7 @@ function dbe(e, t, n, r) {
let u = (l * o.columns + i) * LK + s;
if (t && u >= e) continue;
let d = BK(r, n, s);
- obe(d, a) && c.push({
+ sbe(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -56433,7 +56434,7 @@ function dbe(e, t, n, r) {
}
return c;
}
-var fbe = class {
+var pbe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -56506,7 +56507,7 @@ var fbe = class {
"dur_max",
"region"
];
-function pbe(e = {}) {
+function mbe(e = {}) {
return UK.some((t) => !!e[t]);
}
// src/react/video-wall/use-wall-camera.ts
@@ -56515,7 +56516,7 @@ var WK = {
y: 16,
scale: 1
};
-function mbe(e, t, n = WK, r = !1) {
+function hbe(e, t, n = WK, r = !1) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({
width: 0,
height: 0
@@ -56535,7 +56536,7 @@ function mbe(e, t, n = WK, r = !1) {
let f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, F.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = ube(e, o.current, lbe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = dbe(e, o.current, ube(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));
@@ -56606,7 +56607,7 @@ function mbe(e, t, n = WK, r = !1) {
x: o.current.width / 2 - (e.x + e.width / 2) * i,
y: o.current.height / 2 - (e.y + e.height / 2) * i
};
- !t || v() ? _(a, !0, n) : p.current = fS(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = pS(0, 1, {
duration: .42,
ease: [
.22,
@@ -56696,16 +56697,16 @@ function mbe(e, t, n = WK, r = !1) {
};
}
// src/react/video-wall/wall-motion.ts
-var hbe = {
+var gbe = {
type: "spring",
stiffness: 300,
damping: 34
-}, gbe = {
+}, _be = {
delay: .14,
duration: .24
};
// src/react/video-wall/use-wall-playback.ts
-function _be(e, t, n) {
+function vbe(e, t, n) {
let [r, i] = (0, F.useState)({
paused: !0,
time: 0,
@@ -56746,15 +56747,15 @@ function _be(e, t, n) {
};
}
// src/react/video-wall/wall-controls.tsx
-function vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
- let b = tS(), x = _be(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function ybe({ 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 = nS(), x = vbe(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(yn(e));
}
};
- return /* @__PURE__ */ (0, I.jsxs)(pS.div, {
+ return /* @__PURE__ */ (0, I.jsxs)(mS.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -56764,7 +56765,7 @@ function vbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : gbe,
+ transition: b ? { duration: 0 } : _be,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -56927,7 +56928,7 @@ function KK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var ybe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
+var bbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -56936,7 +56937,7 @@ var ybe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
]
});
// src/react/video-wall/wall-queue.tsx
-function bbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function xbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
@@ -56950,14 +56951,14 @@ function bbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? XP(e.part_label) : "",
+ e.part_label ? YP(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, I.jsx)(iW, { artwork: Co(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, I.jsx)(aW, { artwork: Co(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [
e.edition_label,
- e.part_label ? XP(e.part_label) : "",
+ e.part_label ? YP(e.part_label) : "",
Kn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -56965,7 +56966,7 @@ function bbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
});
}
// src/react/video-wall/wall-route.ts
-function xbe(e = `${location.pathname}${location.search}`, t = {}) {
+function Sbe(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",
@@ -57003,7 +57004,7 @@ var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, I.jsx)(iW, {
+ children: /* @__PURE__ */ (0, I.jsx)(aW, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && cl(e, r);
@@ -57011,31 +57012,31 @@ var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image:
})
});
});
-function Sbe({ 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 Cbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, F.useState)(() => {
let e = YK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, F.useState)(() => m?.exploration || new fbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
+ }), [h] = (0, F.useState)(() => m?.exploration || new pbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
kind: "editions",
seedId: w.edition_group.seed_id
} : w?.part_group ? {
kind: "parts",
seedId: w.part_group.seed_id
} : null, ee = Nt({
- queryKey: kP(M || {
+ queryKey: OP(M || {
kind: "parts",
seedId: 0
}),
enabled: !!M,
- queryFn: ({ signal: e }) => RP(M, {
+ queryFn: ({ signal: e }) => LP(M, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === VP(N, O || w?.id || null)) || w, P = mbe(e.length, t && !!e.length, m?.camera || {
+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === BP(N, O || w?.id || null)) || w, P = hbe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), ne = tS(), [re, ie] = (0, F.useState)(!!m);
+ }, !!w), ne = nS(), [re, ie] = (0, F.useState)(!!m);
(0, F.useEffect)(() => {
if (!e.length || re || ne) return;
let t = setTimeout(() => ie(!0), 1100);
@@ -57076,7 +57077,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), YK.size > 8 && YK.delete(YK.keys().next().value));
};
(0, F.useLayoutEffect)(Ae);
- let je = dbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Me = i ? je.map((e) => ({
+ let je = fbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Me = i ? je.map((e) => ({
...e,
index: -1
})) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? VK(e.length, !0, E) : h.tile(E, e.length)), Pe = Ne ? HK(e.length, t, Ne) : /* @__PURE__ */ new Map();
@@ -57140,7 +57141,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && de(!1);
}
}, Be = () => {
- let e = HP(N || null, oe || 0);
+ let e = VP(N || null, oe || 0);
e && (k(e.id), ze(e));
};
(0, F.useEffect)(() => {
@@ -57162,7 +57163,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (P.view.size.width / 2 - r.x) / r.scale,
y: (P.view.size.height / 2 - r.y) / r.scale
- }, o = t ? cbe(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? lbe(e.length, i) : h.nearest(e.length, i, a);
o && (Le(n, o), le(n.id));
}, We = async () => {
if (!(r || g.current)) {
@@ -57291,7 +57292,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Ye.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Je(Ye).startsWith(Ye.code) ? Je(Ye).slice(Ye.code.length).trim() : Je(Ye) }) : null,
/* @__PURE__ */ (0, I.jsx)("span", { children: Ye.performers?.join(" · ") || Ye.creator || "未归属" }),
- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? XP(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? YP(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -57318,7 +57319,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(vbe, {
+ /* @__PURE__ */ (0, I.jsx)(ybe, {
item: Ye,
playing: oe,
frame: b,
@@ -57340,7 +57341,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Be,
error: pe
}),
- A ? /* @__PURE__ */ (0, I.jsx)(bbe, {
+ A ? /* @__PURE__ */ (0, I.jsx)(xbe, {
items: Ve,
activeId: Ye.id,
kind: N?.kind || "wall",
@@ -57413,11 +57414,11 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
value: we,
onChange: Te,
className: _U,
- children: [/* @__PURE__ */ (0, I.jsx)(Yz, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Jz, {
value: "cover",
className: vU,
children: "封面"
- }), /* @__PURE__ */ (0, I.jsx)(Yz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Jz, {
value: "thumbnail",
className: vU,
children: "缩略图"
@@ -57491,7 +57492,7 @@ function Sbe({ 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 = Pe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, I.jsx)(pS.article, {
+ return /* @__PURE__ */ (0, I.jsx)(mS.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -57512,7 +57513,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: ne ? { duration: 0 } : {
- layout: hbe,
+ layout: gbe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -57571,7 +57572,7 @@ function Sbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },
"aria-label": "观看进度"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(pS.span, {
+ /* @__PURE__ */ (0, I.jsx)(mS.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: ne ? 0 : .24 }
@@ -57675,7 +57676,7 @@ var ZK = [
"jav",
"thumb"
];
-function Cbe(e = typeof location > "u" ? "/" : location.href) {
+function wbe(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
...ZK,
@@ -57685,7 +57686,7 @@ function Cbe(e = typeof location > "u" ? "/" : location.href) {
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function wbe(e, t) {
+async function Tbe(e, t) {
let n = new URLSearchParams();
for (let t of ZK) 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([
@@ -57700,7 +57701,7 @@ async function wbe(e, t) {
}
function QK({ 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 Hs("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? B(Cbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
+ if (t || n) return Hs("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? B(wbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -57718,7 +57719,7 @@ function QK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
return Hs("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });
}
// src/react/video-wall/wall-empty.ts
-function Tbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+function Ebe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
return e ? r || QK() : t ? Hs("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Hs("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${qK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
@@ -57729,7 +57730,7 @@ function $K({ label: e, maintenance: t = !1, children: n }) {
role: "group",
"aria-label": e,
"data-processing-maintenance": t || void 0,
- className: YI("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),
+ className: JI("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),
children: n
});
}
@@ -57739,7 +57740,7 @@ function eq({ option: e, metadataOnly: t, onRun: n }) {
type: "button",
disabled: i,
title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: YI(GV, i ? "cursor-not-allowed opacity-50" : KV, "text-body-2-medium"),
+ className: JI(GV, i ? "cursor-not-allowed opacity-50" : KV, "text-body-2-medium"),
onClick: () => n(e.command),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -57750,7 +57751,7 @@ function eq({ option: e, metadataOnly: t, onRun: n }) {
})
});
}
-function Ebe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function Dbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");
(0, F.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
@@ -57883,7 +57884,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Ebe, {
+ u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Dbe, {
command: u.command,
dialog: u.dialog,
speed: i,
@@ -57924,14 +57925,14 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Oz, {
+ /* @__PURE__ */ (0, I.jsx)(Dz, {
triggerRef: c,
isOpen: p,
onOpenChange: m,
placement: "bottom end",
offset: 4,
className: WV,
- children: /* @__PURE__ */ (0, I.jsxs)(Vz, {
+ children: /* @__PURE__ */ (0, I.jsxs)(Bz, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
children: [n ? /* @__PURE__ */ (0, I.jsxs)($K, {
@@ -57971,13 +57972,13 @@ function nq(e, t) {
return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Co(e, "small", !1, t).html).map((e) => e.id))];
}
function rq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, I.jsx)(Dbe, {
+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Obe, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function Dbe({ assetIds: e, onComplete: t, className: n }) {
+function Obe({ assetIds: e, onComplete: t, className: n }) {
let r = Nt({
queryKey: uH,
queryFn: ({ signal: e }) => vH(e),
@@ -58003,7 +58004,7 @@ function Dbe({ assetIds: e, onComplete: t, className: n }) {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
- className: YI("@container", n),
+ className: JI("@container", n),
children: /* @__PURE__ */ (0, I.jsxs)(SV, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -58030,22 +58031,22 @@ function Dbe({ assetIds: e, onComplete: t, className: n }) {
});
}
// node_modules/@tanstack/react-table/dist/FlexRender.js
-function Obe(e) {
- return kbe(e) || typeof e == "function" || Abe(e);
-}
function kbe(e) {
+ return Abe(e) || typeof e == "function" || jbe(e);
+}
+function Abe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Abe(e) {
+function jbe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
function iq(e, t) {
- return e == null ? null : Obe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
+ return e == null ? null : kbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
}
-function jbe(e) {
+function Mbe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
return r.getIsAggregated?.() ? iq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : iq(n.cell, t.getContext());
@@ -58054,7 +58055,7 @@ function jbe(e) {
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function Mbe({ update: e, notify: t, unwatched: n }) {
+function Nbe({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -58171,7 +58172,7 @@ function Mbe({ update: e, notify: t, unwatched: n }) {
}
}
// node_modules/@tanstack/store/dist/atom.js
-function Nbe(e, t, n) {
+function Pbe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -58179,7 +58180,7 @@ function Nbe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var aq = [], oq = 0, { link: sq, unlink: Pbe, propagate: Fbe, checkDirty: cq, shallowPropagate: lq } = /* @__PURE__ */ Mbe({
+var aq = [], oq = 0, { link: sq, unlink: Fbe, propagate: Ibe, checkDirty: cq, shallowPropagate: lq } = /* @__PURE__ */ Nbe({
update(e) {
return e._update();
},
@@ -58190,7 +58191,7 @@ var aq = [], oq = 0, { link: sq, unlink: Pbe, propagate: Fbe, checkDirty: cq, sh
e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, mq(e));
}
}), uq = 0, dq = 0, fq, pq = 0;
-function Ibe(e) {
+function Lbe(e) {
try {
++pq, e();
} finally {
@@ -58199,7 +58200,7 @@ function Ibe(e) {
}
function mq(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = Pbe(n, e);
+ for (; n !== void 0;) n = Fbe(n, e);
}
function hq() {
if (!(pq > 0)) {
@@ -58210,7 +58211,7 @@ function hq() {
uq = 0, dq = 0;
}
}
-function Lbe(e, t) {
+function Rbe(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -58222,7 +58223,7 @@ function Lbe(e, t) {
return fq !== void 0 && sq(i, fq, oq), i._snapshot;
},
subscribe(e) {
- let t = Nbe(e), n = { current: !1 }, r = Rbe(() => {
+ let t = Pbe(e), n = { current: !1 }, r = zbe(() => {
i.get(), n.current ? (fq = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
@@ -58254,11 +58255,11 @@ function Lbe(e, t) {
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (Fbe(e), lq(e), hq());
+ e !== void 0 && (Ibe(e), lq(e), hq());
}
}, i;
}
-function Rbe(e) {
+function zbe(e) {
let t = () => {
let t = fq;
fq = n, ++oq, n.depsTail = void 0, n.flags = 6;
@@ -58307,8 +58308,8 @@ function _q(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var zbe = /* @__PURE__ */ o(((e) => {
- var t = A(), n = dw();
+var Bbe = /* @__PURE__ */ o(((e) => {
+ var t = A(), n = uw();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -58353,32 +58354,32 @@ var zbe = /* @__PURE__ */ o(((e) => {
}, [p]), l(p), p;
};
})), vq = /* @__PURE__ */ o(((e, t) => {
- t.exports = zbe();
-})), Bbe = vq();
-function Vbe(e, t) {
+ t.exports = Bbe();
+})), Vbe = vq();
+function Hbe(e, t) {
return e === t;
}
function yq(e, t = (e) => e, n) {
- let r = n?.compare ?? Vbe, i = (0, F.useCallback)((t) => {
+ let r = n?.compare ?? Hbe, i = (0, F.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);
- return (0, Bbe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, Vbe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
-function Hbe(e) {
+function Ube(e) {
let t = yq(e.source, e.selector, { compare: gq });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function Ube(e) {
+function Wbe(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
} }), "set" in e && (t.setState = e.set.bind(e)), t;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function Wbe(e) {
+function Gbe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -58408,7 +58409,7 @@ function Wbe(e) {
}
};
}
-function Gbe(e, t = Object.is) {
+function Kbe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -58421,10 +58422,10 @@ function Gbe(e, t = Object.is) {
};
}
// node_modules/@tanstack/react-table/dist/reactivity.js
-function Kbe() {
- return Wbe({
- createAtom: Lbe,
- batch: Ibe
+function qbe() {
+ return Gbe({
+ createAtom: Rbe,
+ batch: Lbe
});
}
// node_modules/@tanstack/table-core/dist/utils.js
@@ -58478,9 +58479,9 @@ function Eq(e) {
function Dq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var qbe = 3;
-function Jbe(e, t) {
- return Oq(e, t, qbe);
+var Jbe = 3;
+function Ybe(e, t) {
+ return Oq(e, t, Jbe);
}
function Oq(e, t, n) {
if (Object.is(e, t)) return !0;
@@ -58494,17 +58495,17 @@ function Oq(e, t, n) {
}
return !0;
}
-function kq(e, t, n, r = Jbe) {
+function kq(e, t, n, r = Ybe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
let t = bq(n, e);
return r(e, t) ? e : t;
});
}
-function Ybe(e) {
+function Xbe(e) {
return e instanceof Function;
}
-function Xbe(e, t) {
+function Zbe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -58514,7 +58515,7 @@ function Xbe(e, t) {
};
return r(e), n;
}
-var Zbe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var Qbe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -58539,7 +58540,7 @@ function jq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
} : void 0 };
- return Zbe({
+ return Qbe({
...a,
...o
});
@@ -58592,13 +58593,13 @@ function Fq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function Qbe(e) {
+function $be(e) {
return e.row.getValue(e.column.id);
}
-function $be(e) {
+function exe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function exe(e) {
+function txe(e) {
return {
table: e.table,
column: e.column,
@@ -58609,18 +58610,18 @@ function exe(e) {
};
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var txe = { assignCellPrototype: (e, t) => {
+var nxe = { assignCellPrototype: (e, t) => {
Pq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => Qbe(e) },
- cell_renderValue: { fn: (e) => $be(e) },
+ cell_getValue: { fn: (e) => $be(e) },
+ cell_renderValue: { fn: (e) => exe(e) },
cell_getContext: {
- fn: (e) => exe(e),
+ fn: (e) => txe(e),
memoDeps: (e) => [e]
}
});
} };
// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function nxe(e) {
+function rxe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -58628,7 +58629,7 @@ function nxe(e) {
}
return e._columnPrototype;
}
-function rxe(e, t, n, r) {
+function ixe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -58648,7 +58649,7 @@ function rxe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = nxe(e), u = Object.create(l);
+ let l = rxe(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);
@@ -58658,7 +58659,7 @@ function rxe(e, t, n, r) {
function Iq(e) {
return e.getIsVisible?.() ?? !0;
}
-function ixe(e) {
+function axe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
function Lq(e, t) {
@@ -58671,30 +58672,30 @@ function Rq(e, t, n, r) {
function zq(e, t) {
return e._expandRows?.(t) ?? t;
}
-function axe(e) {
+function oxe(e) {
e.autoResetExpanded?.();
}
function Bq(e) {
e.autoResetPageIndex?.();
}
-function oxe(e) {
+function sxe(e) {
e.autoResetSorting?.();
}
-function sxe(e) {
+function cxe(e) {
e.autoResetCellSelection?.();
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function cxe(e) {
+function lxe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function lxe(e) {
+function uxe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
return Lq(e.table, t);
}
return [e];
}
-function uxe(e) {
+function dxe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -58709,18 +58710,18 @@ function Vq(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 = rxe(e, o, r, n), c = o;
+ let o = t[a], s = ixe(e, o, r, n), c = o;
s.columns = c.columns ? Vq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function dxe(e) {
+function fxe(e) {
return Vq(e, e.options.columns);
}
-function fxe(e) {
+function pxe(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
-function pxe(e) {
+function mxe(e) {
let t = Cq(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
@@ -58728,10 +58729,10 @@ function pxe(e) {
}
return t;
}
-function mxe(e) {
+function hxe(e) {
return Lq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
-function hxe(e) {
+function gxe(e) {
let t = Cq(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
@@ -58739,19 +58740,19 @@ function hxe(e) {
}
return t;
}
-function gxe(e, t) {
+function _xe(e, t) {
return e.getAllFlatColumnsById()[t];
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var _xe = {
+var vxe = {
assignColumnPrototype: (e, t) => {
Pq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => cxe(e),
+ fn: (e) => lxe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => lxe(e),
+ fn: (e) => uxe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -58764,23 +58765,23 @@ var _xe = {
constructTableAPIs: (e) => {
Nq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => uxe(e),
+ fn: () => dxe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => dxe(e),
+ fn: () => fxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => fxe(e),
+ fn: () => pxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => pxe(e),
+ fn: () => mxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => mxe(e),
+ fn: () => hxe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -58789,15 +58790,15 @@ var _xe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => hxe(e),
+ fn: () => gxe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => gxe(e, t) }
+ table_getColumn: { fn: (t) => _xe(e, t) }
});
}
};
// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function vxe(e) {
+function yxe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -58806,7 +58807,7 @@ function vxe(e) {
return e._headerPrototype;
}
function Hq(e, t, n) {
- let r = vxe(e), i = Object.create(r);
+ let r = yxe(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);
@@ -58821,14 +58822,14 @@ function Uq(e, t = 1) {
}
return n;
}
-function yxe(e, t) {
+function bxe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function bxe(e, t, n, r) {
+function xxe(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 xxe(e, t) {
+function Sxe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
@@ -58836,7 +58837,7 @@ function xxe(e, t) {
function Wq(e, t, n, r, i, a) {
let o = {
depth: t,
- id: yxe(r, t),
+ id: bxe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -58845,9 +58846,9 @@ function Wq(e, t, n, r, i, a) {
if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);
else {
let e = Hq(n, u, {
- id: bxe(r, t, u.id, a.id),
+ id: xxe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(xxe(s, u)) : void 0,
+ placeholderId: d ? String(Sxe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -58877,7 +58878,7 @@ function Gq(e) {
} else n.rowSpan = 1;
}
}
-function Sxe(e, t, n, r) {
+function Cxe(e, t, n, r) {
let i = Uq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
for (let e = 0; e < t.length; e++) e in t && (s[e] = Hq(n, t[e], {
depth: i,
@@ -58890,24 +58891,24 @@ function Kq(e, t) {
for (let n = 0; n < e.subHeaders.length; n++) Kq(e.subHeaders[n], t);
t.push(e);
}
-function Cxe(e) {
+function wxe(e) {
let t = [];
return Kq(e, t), t;
}
-function wxe(e) {
+function Txe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function Txe(e) {
- return Sxe(e.getAllColumns(), Rq(e, ixe(e), (e) => e.id), e);
-}
function Exe(e) {
- return [...e.getHeaderGroups()].reverse();
+ return Cxe(e.getAllColumns(), Rq(e, axe(e), (e) => e.id), e);
}
function Dxe(e) {
+ return [...e.getHeaderGroups()].reverse();
+}
+function Oxe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -58915,7 +58916,7 @@ function Dxe(e) {
}
return n;
}
-function Oxe(e) {
+function kxe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -58924,15 +58925,15 @@ function Oxe(e) {
return n;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var kxe = {
+var Axe = {
assignHeaderPrototype: (e, t) => {
Pq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => Cxe(e),
+ fn: (e) => wxe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => wxe(e),
+ fn: (e) => Txe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
@@ -58940,7 +58941,7 @@ var kxe = {
constructTableAPIs: (e) => {
Nq("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => Txe(e),
+ fn: () => Exe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -58951,22 +58952,22 @@ var kxe = {
]
},
table_getFooterGroups: {
- fn: () => Exe(e),
+ fn: () => Dxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => Dxe(e),
+ fn: () => Oxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => Oxe(e),
+ fn: () => kxe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function Axe(e) {
+function jxe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -58974,35 +58975,35 @@ function Axe(e) {
}
return e._rowPrototype;
}
-var jxe = (e, t, n, r, i, a, o) => {
- let s = Axe(e), c = Object.create(s);
+var Mxe = (e, t, n, r, i, a, o) => {
+ let s = jxe(e), c = Object.create(s);
c._displayIndexCache = -1, c._uniqueValuesCache = Cq(), c._valuesCache = Cq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
let l = e._rowInstanceInitFns;
for (let e = 0; e < l.length; e++) l[e](c);
return c;
};
// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function Mxe() {
+function Nxe() {
return (e) => jq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => Nxe(e, e.options.data),
+ fn: () => Pxe(e, e.options.data),
onAfterUpdate: Aq(() => {
- axe(e), Bq(e), oxe(e), sxe(e);
+ oxe(e), Bq(e), sxe(e), cxe(e);
})
});
}
function qq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = jxe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
+ let s = n[o], c = Mxe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = qq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function Nxe(e, t) {
+function Pxe(e, t) {
let n = {
rows: [],
flatRows: [],
@@ -59011,61 +59012,61 @@ function Nxe(e, t) {
return n.rows = qq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function Pxe(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Mxe()(e)), e._rowModels.coreRowModel();
-}
function Fxe(e) {
- return e.getCoreRowModel();
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Nxe()(e)), e._rowModels.coreRowModel();
}
function Ixe(e) {
- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
+ return e.getCoreRowModel();
}
function Lxe(e) {
- return e.getFilteredRowModel();
+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
}
function Rxe(e) {
- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
+ return e.getFilteredRowModel();
}
function zxe(e) {
- return e.getGroupedRowModel();
+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
}
function Bxe(e) {
- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
+ return e.getGroupedRowModel();
}
function Vxe(e) {
- return e.getSortedRowModel();
+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
}
function Hxe(e) {
- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
+ return e.getSortedRowModel();
}
function Uxe(e) {
- return e.getExpandedRowModel();
+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
}
function Wxe(e) {
- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();
+ return e.getExpandedRowModel();
}
function Gxe(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 Kxe(e) {
return e.getPaginatedRowModel();
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var Kxe = { constructTableAPIs: (e) => {
+var qxe = { constructTableAPIs: (e) => {
Nq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => Pxe(e) },
- table_getPreFilteredRowModel: { fn: () => Fxe(e) },
- table_getFilteredRowModel: { fn: () => Ixe(e) },
- table_getPreGroupedRowModel: { fn: () => Lxe(e) },
- table_getGroupedRowModel: { fn: () => Rxe(e) },
- table_getPreSortedRowModel: { fn: () => zxe(e) },
- table_getSortedRowModel: { fn: () => Bxe(e) },
- table_getPreExpandedRowModel: { fn: () => Vxe(e) },
- table_getExpandedRowModel: { fn: () => Hxe(e) },
- table_getPrePaginatedRowModel: { fn: () => Uxe(e) },
- table_getPaginatedRowModel: { fn: () => Wxe(e) },
- table_getRowModel: { fn: () => Gxe(e) }
+ table_getCoreRowModel: { fn: () => Fxe(e) },
+ table_getPreFilteredRowModel: { fn: () => Ixe(e) },
+ table_getFilteredRowModel: { fn: () => Lxe(e) },
+ table_getPreGroupedRowModel: { fn: () => Rxe(e) },
+ table_getGroupedRowModel: { fn: () => zxe(e) },
+ table_getPreSortedRowModel: { fn: () => Bxe(e) },
+ table_getSortedRowModel: { fn: () => Vxe(e) },
+ table_getPreExpandedRowModel: { fn: () => Hxe(e) },
+ table_getExpandedRowModel: { fn: () => Uxe(e) },
+ table_getPrePaginatedRowModel: { fn: () => Wxe(e) },
+ table_getPaginatedRowModel: { fn: () => Gxe(e) },
+ table_getRowModel: { fn: () => Kxe(e) }
});
} };
// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function qxe(e) {
+function Jxe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -59073,48 +59074,48 @@ function qxe(e) {
}
return e._cellPrototype;
}
-function Jxe(e, t, n) {
- let r = qxe(n), i = Object.create(r);
+function Yxe(e, t, n) {
+ let r = Jxe(n), i = Object.create(r);
i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;
let a = n._cellInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
return i;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function Yxe(e) {
+function Xxe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function Xxe(e) {
+function Zxe(e) {
let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? zq(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function Zxe(e, t) {
+function Qxe(e, t) {
if (wq(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 Qxe(e, t) {
+function $xe(e, t) {
if (wq(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 $xe(e, t) {
+function eSe(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function eSe(e) {
- return Xbe(e.subRows, (e) => e.subRows);
-}
function tSe(e) {
+ return Zbe(e.subRows, (e) => e.subRows);
+}
+function nSe(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 nSe(e) {
+function rSe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function rSe(e) {
+function iSe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -59123,17 +59124,17 @@ function rSe(e) {
}
return t.reverse();
}
-function iSe(e) {
+function aSe(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 = Jxe(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = Yxe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function aSe(e) {
+function oSe(e) {
let t = Cq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
@@ -59141,52 +59142,52 @@ function aSe(e) {
}
return t;
}
-function oSe(e, t, n, r) {
+function sSe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function sSe(e, t, n) {
+function cSe(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var cSe = {
+var lSe = {
assignRowPrototype: (e, t) => {
Pq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => Yxe(e) },
+ row_getDisplayIndex: { fn: (e) => Xxe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => aSe(e),
+ fn: (e) => oSe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => iSe(e),
+ fn: (e) => aSe(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => eSe(e),
+ fn: (e) => tSe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => nSe(e) },
- row_getParentRows: { fn: (e) => rSe(e) },
- row_getUniqueValues: { fn: (e, t) => Qxe(e, t) },
- row_getValue: { fn: (e, t) => Zxe(e, t) },
- row_renderValue: { fn: (e, t) => $xe(e, t) }
+ row_getParentRow: { fn: (e) => rSe(e) },
+ row_getParentRows: { fn: (e) => iSe(e) },
+ row_getUniqueValues: { fn: (e, t) => $xe(e, t) },
+ row_getValue: { fn: (e, t) => Qxe(e, t) },
+ row_renderValue: { fn: (e, t) => eSe(e, t) }
});
},
constructTableAPIs: (e) => {
Nq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => Xxe(e),
+ fn: () => Zxe(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => oSe(t, e, n, r) },
- table_getRow: { fn: (t, n) => sSe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => sSe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => cSe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => tSe(e),
+ fn: () => nSe(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
@@ -59209,7 +59210,7 @@ function Yq(e, t, n = (e, t) => e === t) {
Jq(e, t, n), e._reactivity.commit?.();
});
}
-function lSe(e) {
+function uSe(e) {
let t = xq(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
@@ -59221,7 +59222,7 @@ function lSe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function uSe(e, t) {
+function dSe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -59254,19 +59255,19 @@ function uSe(e, t) {
});
}
function Xq(e, t, n) {
- let r = uSe(e, bq(t, e.options));
+ let r = dSe(e, bq(t, e.options));
e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Yq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var dSe = {
- coreCellsFeature: txe,
- coreColumnsFeature: _xe,
- coreHeadersFeature: kxe,
- coreRowModelsFeature: Kxe,
- coreRowsFeature: cSe,
+var fSe = {
+ coreCellsFeature: nxe,
+ coreColumnsFeature: vxe,
+ coreHeadersFeature: Axe,
+ coreRowModelsFeature: qxe,
+ coreRowsFeature: lSe,
coreTablesFeature: { constructTableAPIs: (e) => {
Nq("coreTablesFeature", e, {
- table_reset: { fn: () => lSe(e) },
+ table_reset: { fn: () => uSe(e) },
table_setOptions: { fn: (t) => Xq(e, t) }
});
} }
@@ -59291,17 +59292,17 @@ function Qq(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function fSe(e, t = {}) {
+function pSe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
}), xq(t);
}
-function pSe(e) {
+function mSe(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: {
- ...dSe,
+ ...fSe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -59339,7 +59340,7 @@ function pSe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = fSe(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = pSe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -59354,7 +59355,7 @@ function pSe(e) {
return r;
}, { debugName: `table/atoms/${n}` });
}
- Jq(v), v.store = Ube(t.createReadonlyAtom(() => {
+ Jq(v), v.store = Wbe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -59372,7 +59373,7 @@ function pSe(e) {
return v;
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function mSe() {
+function hSe() {
return Cq();
}
function $q(e, t) {
@@ -59394,12 +59395,12 @@ function eJ(e) {
function tJ(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function hSe(e) {
+function gSe(e) {
return (t) => {
$q(e, t.target.checked);
};
}
-function gSe(e) {
+function _Se(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
@@ -59415,16 +59416,16 @@ function nJ(e) {
}
return t;
}
-function _Se(e) {
+function vSe(e) {
return e.getAllFlatColumns().filter((e) => Fq(e, "getIsVisible", eJ));
}
-function vSe(e) {
+function ySe(e) {
return e.getAllLeafColumns().filter((e) => Fq(e, "getIsVisible", eJ));
}
function rJ(e, t) {
kq(e, "columnVisibility", t);
}
-function ySe(e, t) {
+function bSe(e, t) {
rJ(e, t ? Cq() : Object.assign(Cq(), xq(e.initialState.columnVisibility ?? {})));
}
function iJ(e, t) {
@@ -59439,10 +59440,10 @@ function iJ(e, t) {
function aJ(e) {
return !e.getAllLeafColumns().some((e) => !Fq(e, "getIsVisible", eJ));
}
-function bSe(e) {
+function xSe(e) {
return e.getAllLeafColumns().some((e) => Fq(e, "getIsVisible", eJ));
}
-function xSe(e) {
+function SSe(e) {
return (t) => {
iJ(e, t.target.checked);
};
@@ -59450,7 +59451,7 @@ function xSe(e) {
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
var oJ = {
getInitialState: (e) => ({
- columnVisibility: mSe(),
+ columnVisibility: hSe(),
...e
}),
getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: Tq("columnVisibility", e) }),
@@ -59465,14 +59466,14 @@ var oJ = {
]
},
column_getCanHide: { fn: (e) => tJ(e) },
- column_getToggleVisibilityHandler: { fn: (e) => hSe(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => gSe(e) },
column_toggleVisibility: { fn: (e, t) => $q(e, t) }
});
},
assignRowPrototype: (e, t) => {
Pq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => gSe(e),
+ fn: (e) => _Se(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -59488,7 +59489,7 @@ var oJ = {
constructTableAPIs: (e) => {
Nq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => _Se(e),
+ fn: () => vSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59498,7 +59499,7 @@ var oJ = {
]
},
table_getVisibleLeafColumns: {
- fn: () => vSe(e),
+ fn: () => ySe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59508,11 +59509,11 @@ var oJ = {
]
},
table_setColumnVisibility: { fn: (t) => rJ(e, t) },
- table_resetColumnVisibility: { fn: (t) => ySe(e, t) },
+ table_resetColumnVisibility: { fn: (t) => bSe(e, t) },
table_toggleAllColumnsVisible: { fn: (t) => iJ(e, t) },
table_getIsAllColumnsVisible: { fn: () => aJ(e) },
- table_getIsSomeColumnsVisible: { fn: () => bSe(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => xSe(e) }
+ table_getIsSomeColumnsVisible: { fn: () => xSe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => SSe(e) }
});
}
}, sJ = 0, cJ = 10;
@@ -59522,7 +59523,7 @@ function lJ() {
pageSize: cJ
};
}
-function SSe(e) {
+function CSe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
if ((e.atoms.pagination?.get()?.pageIndex ?? sJ) === sJ) return;
fJ(e, !0);
@@ -59531,7 +59532,7 @@ function SSe(e) {
function uJ(e, t) {
kq(e, "pagination", t);
}
-function CSe(e, t) {
+function wSe(e, t) {
uJ(e, t ? lJ() : xq(e.initialState.pagination ?? lJ()));
}
function dJ(e, t) {
@@ -59546,7 +59547,7 @@ function dJ(e, t) {
function fJ(e, t) {
dJ(e, t ? sJ : e.initialState.pagination?.pageIndex ?? sJ);
}
-function wSe(e, t) {
+function TSe(e, t) {
pJ(e, t ? cJ : e.initialState.pagination?.pageSize ?? cJ);
}
function pJ(e, t) {
@@ -59559,31 +59560,31 @@ function pJ(e, t) {
};
});
}
-function TSe(e) {
+function ESe(e) {
let t = mJ(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
-function ESe(e) {
+function DSe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
-function DSe(e) {
+function OSe(e) {
let t = e.atoms.pagination?.get()?.pageIndex ?? sJ, n = mJ(e);
return n === -1 || n !== 0 && t < n - 1;
}
-function OSe(e) {
+function kSe(e) {
let t = e.atoms.pagination?.get()?.pageIndex ?? sJ, n = mJ(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
-function kSe(e) {
+function ASe(e) {
return dJ(e, (e) => e - 1);
}
-function ASe(e) {
+function jSe(e) {
return dJ(e, (e) => e + 1);
}
-function jSe(e) {
+function MSe(e) {
return dJ(e, 0);
}
-function MSe(e) {
+function NSe(e) {
let t = mJ(e);
if (!(!Number.isFinite(t) || t <= 0)) return dJ(e, t - 1);
}
@@ -59608,34 +59609,34 @@ var gJ = {
getDefaultTableOptions: (e) => ({ onPaginationChange: Tq("pagination", e) }),
constructTableAPIs: (e) => {
Nq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => SSe(e) },
+ table_autoResetPageIndex: { fn: () => CSe(e) },
table_setPagination: { fn: (t) => uJ(e, t) },
- table_resetPagination: { fn: (t) => CSe(e, t) },
+ table_resetPagination: { fn: (t) => wSe(e, t) },
table_setPageIndex: { fn: (t) => dJ(e, t) },
table_resetPageIndex: { fn: (t) => fJ(e, t) },
table_setPageSize: { fn: (t) => pJ(e, t) },
table_getPageCount: { fn: () => mJ(e) },
- table_resetPageSize: { fn: (t) => wSe(e, t) },
- table_getPageOptions: { fn: () => TSe(e) },
- table_getCanPreviousPage: { fn: () => ESe(e) },
- table_getCanNextPage: { fn: () => DSe(e) },
- table_getCanLastPage: { fn: () => OSe(e) },
- table_previousPage: { fn: () => kSe(e) },
- table_nextPage: { fn: () => ASe(e) },
- table_firstPage: { fn: () => jSe(e) },
- table_lastPage: { fn: () => MSe(e) },
+ table_resetPageSize: { fn: (t) => TSe(e, t) },
+ table_getPageOptions: { fn: () => ESe(e) },
+ table_getCanPreviousPage: { fn: () => DSe(e) },
+ table_getCanNextPage: { fn: () => OSe(e) },
+ table_getCanLastPage: { fn: () => kSe(e) },
+ table_previousPage: { fn: () => ASe(e) },
+ table_nextPage: { fn: () => jSe(e) },
+ table_firstPage: { fn: () => MSe(e) },
+ table_lastPage: { fn: () => NSe(e) },
table_getRowCount: { fn: () => hJ(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function NSe() {
+function PSe() {
return Cq();
}
function _J(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function PSe(e, t) {
+function FSe(e, t) {
e._lastSelectedRowId = null, _J(e, t ? Cq() : Object.assign(Cq(), xq(e.initialState.rowSelection ?? {})));
}
function vJ(e, t, n) {
@@ -59663,10 +59664,10 @@ function yJ(e, t, n) {
}), a;
});
}
-function FSe(e) {
+function ISe(e) {
return e.getCoreRowModel();
}
-function ISe(e) {
+function LSe(e) {
let t = e.getCoreRowModel();
return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {
rows: [],
@@ -59674,7 +59675,7 @@ function ISe(e) {
rowsById: Cq()
};
}
-function LSe(e) {
+function RSe(e) {
let t = e.getFilteredRowModel();
return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {
rows: [],
@@ -59682,7 +59683,7 @@ function LSe(e) {
rowsById: Cq()
};
}
-function RSe(e) {
+function zSe(e) {
let t = e.getSortedRowModel();
return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {
rows: [],
@@ -59713,15 +59714,15 @@ function SJ(e) {
function CJ(e) {
return Fq(e, "getSelectedRowIds", bJ).length > 0;
}
-function zSe(e) {
+function BSe(e) {
return e.getPaginatedRowModel().flatRows.filter((e) => DJ(e)).some((e) => TJ(e) || Fq(e, "getIsSomeSelected", EJ));
}
-function BSe(e) {
+function VSe(e) {
return (t) => {
vJ(e, t.target.checked);
};
}
-function VSe(e) {
+function HSe(e) {
return (t) => {
yJ(e, t.target.checked);
};
@@ -59740,7 +59741,7 @@ function TJ(e) {
function EJ(e) {
return IJ(e) === "some";
}
-function HSe(e) {
+function USe(e) {
return IJ(e) === "all";
}
function DJ(e) {
@@ -59755,15 +59756,15 @@ function kJ(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function USe(e, t) {
+function WSe(e, t) {
let n = DJ(e);
return (r) => {
if (!n) return;
let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;
- a.options.enableRowRangeSelection !== !1 && s !== null && kJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && WSe(e, s, o, t) || wJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && kJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && GSe(e, s, o, t) || wJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function WSe(e, t, n, r) {
+function GSe(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];
@@ -59858,7 +59859,7 @@ var LJ = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: NSe(),
+ rowSelection: PSe(),
...e
}),
getDefaultTableOptions: (e) => ({
@@ -59885,7 +59886,7 @@ var LJ = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => HSe(e),
+ fn: (e) => USe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -59895,26 +59896,26 @@ var LJ = {
row_getCanSelect: { fn: (e) => DJ(e) },
row_getCanSelectSubRows: { fn: (e) => OJ(e) },
row_getCanMultiSelect: { fn: (e) => kJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => USe(e, t) }
+ row_getToggleSelectedHandler: { fn: (e, t) => WSe(e, t) }
});
},
constructTableAPIs: (e) => {
Nq("rowSelectionFeature", e, {
table_setRowSelection: { fn: (t) => _J(e, t) },
- table_resetRowSelection: { fn: (t) => PSe(e, t) },
+ table_resetRowSelection: { fn: (t) => FSe(e, t) },
table_toggleAllRowsSelected: { fn: (t, n) => vJ(e, t, n) },
table_toggleAllPageRowsSelected: { fn: (t, n) => yJ(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => FSe(e) },
+ table_getPreSelectedRowModel: { fn: () => ISe(e) },
table_getSelectedRowModel: {
- fn: () => ISe(e),
+ fn: () => LSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => LSe(e),
+ fn: () => RSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => RSe(e),
+ fn: () => zSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
@@ -59944,32 +59945,32 @@ var LJ = {
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => zSe(e),
+ fn: () => BSe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => BSe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => VSe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => VSe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => HSe(e) }
});
}
-}, GSe = /([0-9]+)/gm;
+}, KSe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function KSe(e) {
+function qSe(e) {
let t = Object.assign((e, n, r) => {
let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;
return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);
}, e);
return t;
}
-var RJ = /* @__PURE__ */ KSe({ sort: (e, t) => qSe(e, t) });
-function qSe(e, t) {
+var RJ = /* @__PURE__ */ qSe({ sort: (e, t) => JSe(e, t) });
+function JSe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function JSe() {
+function YSe() {
return [];
}
function zJ(e, t) {
@@ -59978,7 +59979,7 @@ function zJ(e, t) {
function BJ(e, t) {
zJ(e, t ? [] : xq(e.initialState.sorting ?? []));
}
-function YSe(e) {
+function XSe(e) {
e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && BJ(e);
}
function VJ(e) {
@@ -59989,7 +59990,7 @@ function VJ(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(GSe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(KSe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -60010,7 +60011,7 @@ function HJ(e) {
}
function UJ(e) {
let t = e.table._rowModelFns.sortFns;
- return Ybe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? VJ(e) : t?.[e.columnDef.sortFn] ?? RJ;
+ return Xbe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? VJ(e) : t?.[e.columnDef.sortFn] ?? RJ;
}
function WJ(e, t, n) {
let r = KJ(e, n && JJ(e)), i = t !== void 0;
@@ -60048,13 +60049,13 @@ function YJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function XSe(e) {
+function ZSe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
-function ZSe(e) {
+function QSe(e) {
zJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
-function QSe(e) {
+function $Se(e) {
let t = qJ(e);
return (n) => {
t && WJ(e, void 0, JJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
@@ -60064,7 +60065,7 @@ function QSe(e) {
var XJ = {
getInitialState(e) {
return {
- sorting: JSe(),
+ sorting: YSe(),
...e
};
},
@@ -60092,34 +60093,34 @@ var XJ = {
column_getCanSort: { fn: (e) => qJ(e) },
column_getCanMultiSort: { fn: (e) => JJ(e) },
column_getIsSorted: { fn: (e) => YJ(e) },
- column_getSortIndex: { fn: (e) => XSe(e) },
- column_clearSorting: { fn: (e) => ZSe(e) },
- column_getToggleSortingHandler: { fn: (e) => QSe(e) }
+ column_getSortIndex: { fn: (e) => ZSe(e) },
+ column_clearSorting: { fn: (e) => QSe(e) },
+ column_getToggleSortingHandler: { fn: (e) => $Se(e) }
});
},
constructTableAPIs(e) {
Nq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => YSe(e) },
+ table_autoResetSorting: { fn: () => XSe(e) },
table_setSorting: { fn: (t) => zJ(e, t) },
table_resetSorting: { fn: (t) => BJ(e, t) }
});
}
-}, $Se = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
+}, eCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
function ZJ(e, t) {
let [{ table: n, rootSource: r }] = (0, F.useState)(() => {
- let t = pSe({
+ let t = mSe({
...e,
features: {
- coreReactivityFeature: Kbe(),
+ coreReactivityFeature: qbe(),
...e.features
}
});
- return t.Subscribe = ((e) => Hbe({
+ return t.Subscribe = ((e) => Ube({
...e,
source: e.source ?? t.store
- })), t.FlexRender = jbe, {
+ })), t.FlexRender = Mbe, {
table: t,
- rootSource: Gbe(t.store, gq)
+ rootSource: Kbe(t.store, gq)
};
}), i = n;
Xq(i, (t) => ({
@@ -60127,7 +60128,7 @@ function ZJ(e, t) {
...e
}), { syncExternalState: !1 });
let a = i.options.state, o = r.get(), s = yq(r, t, { compare: gq });
- return $Se(() => {
+ return eCe(() => {
r.markCommitted(o), Yq(i, a ?? null, gq);
}), (0, F.useMemo)(() => ({
...n,
@@ -60142,16 +60143,16 @@ function ZJ(e, t) {
// src/react/boardui/components/base/table/table.tsx
function QJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
- className: YI("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, I.jsx)(Rme, {
+ className: JI("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, I.jsx)(zme, {
ref: r,
...i,
- className: YI("bui-table", e === "sm" && "bui-table-sm", t)
+ className: JI("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility.v1", eCe = {
+var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility.v1", tCe = {
select: {
width: 48,
min: 48,
@@ -60217,13 +60218,13 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility
min: 144,
max: 560
}
-}, tCe = {
+}, nCe = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
-}, nCe = {
+}, rCe = {
select: "选择",
name: "作品",
dur: "时长",
@@ -60253,11 +60254,11 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility
"release"
].map((e) => ({
id: e,
- label: nCe[e],
- ...eCe[e],
+ label: rCe[e],
+ ...tCe[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: tCe[e] !== !1
+ visible: nCe[e] !== !1
}));
function nY(e) {
try {
@@ -60267,7 +60268,7 @@ function nY(e) {
return {};
}
}
-function rCe() {
+function iCe() {
let e = nY($J), t = nY(eY);
return tY.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);
@@ -60288,22 +60289,22 @@ function iY() {
return !1;
}
}
-function iCe(e) {
+function aCe(e) {
try {
e ? localStorage.setItem(rY, "1") : localStorage.removeItem(rY);
} catch {}
}
-var aCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var oCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
function aY(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 oCe(e) {
- let t = rCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${aY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (iY() ? aCe : "") + `<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 sCe(e) {
+ let t = iCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${aY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (iY() ? oCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;
}
function oY(e, t) {
- return yG() === "list" ? oCe(e) : tc(e, {
+ return yG() === "list" ? sCe(e) : tc(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
@@ -60326,7 +60327,7 @@ function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let r = t.closest("[role=\"row\"][data-key]");
r && fK(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, I.jsx)(Ime, {
+ children: r ? /* @__PURE__ */ (0, I.jsx)(Lme, {
className: "relative min-w-0",
onResize: r.resize,
onResizeEnd: r.save,
@@ -60336,7 +60337,7 @@ function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
}
// src/react/components/select.tsx
function cY({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, I.jsx)(eW, {
+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(tW, {
...r,
size: n,
renderValue: t
@@ -60346,7 +60347,7 @@ function cY({ prefix: e, renderValue: t, size: n, ...r }) {
className: `shrink-0 text-text-tertiary ${i}`,
children: e
}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });
- return /* @__PURE__ */ (0, I.jsx)(eW, {
+ return /* @__PURE__ */ (0, I.jsx)(tW, {
...r,
size: n,
renderValue: a
@@ -60406,10 +60407,10 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, I.jsx)(tW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nW, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {
+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(nW, {
id: e.id,
children: e.label
}, e.id))]
@@ -60454,7 +60455,7 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
pageSize: Number(e)
});
},
- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {
+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(nW, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
@@ -60484,7 +60485,7 @@ function pY(e, t) {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function sCe(e, t) {
+function cCe(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];
@@ -60516,7 +60517,7 @@ function sCe(e, t) {
}
};
}
-function cCe(e, t, n, r = {}) {
+function lCe(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]))
@@ -60535,7 +60536,7 @@ function mY(e, t, n) {
min: e.min ?? 96,
max: e.max ?? (e.flex ? 2e3 : 800),
flex: e.flex
- }])), [t]), i = sCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = cCe(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 = cCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = lCe(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,
@@ -60554,7 +60555,7 @@ function mY(e, t, n) {
};
}
// src/react/catalog-grid/catalog-column-widths.ts
-function lCe() {
+function uCe() {
return mY("catalog", tY, {
widths: $J,
visibility: eY
@@ -60601,9 +60602,9 @@ function gY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
});
}
// src/react/catalog-grid/catalog-table-controls.tsx
-function uCe({ item: e, actions: t }) {
- let { rating: n } = e, r = DH(), i = (0, F.useRef)(0), a = EP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- CP(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {
+function dCe({ item: e, actions: t }) {
+ let { rating: n } = e, r = DH(), i = (0, F.useRef)(0), a = TP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ SP(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -60651,7 +60652,7 @@ function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
- className: YI("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
+ className: JI("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
size: "small",
@@ -60699,13 +60700,13 @@ function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
"aria-label": t,
onClick: () => u(!0),
children: t
- }), /* @__PURE__ */ (0, I.jsx)(Oz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Dz, {
triggerRef: c,
isOpen: l,
onOpenChange: u,
placement: "bottom end",
offset: 4,
- className: YI(WV, "w-max overscroll-contain"),
+ className: JI(WV, "w-max overscroll-contain"),
children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(AH, {
"aria-label": e,
"data-selection-placement": t ?? "bottom",
@@ -60751,7 +60752,7 @@ function bY({ preferences: e, label: t = "表格" }) {
}
function xY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(qme, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Jme, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
function SY(e, t) {
@@ -60776,12 +60777,12 @@ function CY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var dCe = Qq({
+var fCe = Qq({
rowSortingFeature: XJ,
rowSelectionFeature: LJ,
rowPaginationFeature: gJ,
columnVisibilityFeature: oJ
-}), fCe = [
+}), pCe = [
{
id: "name",
label: "名称"
@@ -60819,8 +60820,8 @@ var dCe = Qq({
label: "观看时间"
}
], wY = /* @__PURE__ */ new Map();
-function pCe(e) {
- let t = lCe(), n = dK(), r = yP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
+function mCe(e) {
+ let t = uCe(), n = dK(), r = vP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
let t = new URLSearchParams(r);
return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;
}), [a, o] = (0, F.useState)(() => wY.get(i) || {
@@ -60859,7 +60860,7 @@ function pCe(e) {
}
}), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : nq(f, e.layout.javImage), [h] = (0, F.useState)(iY);
(0, F.useEffect)(() => {
- d.data && !d.isPlaceholderData && iCe(m.length > 0);
+ d.data && !d.isPlaceholderData && aCe(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -60892,7 +60893,7 @@ function pCe(e) {
c.pageIndex
]);
let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = ZJ({
- features: dCe,
+ features: fCe,
columns: (0, F.useMemo)(() => {
let t = Zq();
return t.columns([
@@ -60915,7 +60916,7 @@ function pCe(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(mCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(hCe, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -60972,7 +60973,7 @@ function pCe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(uCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(dCe, {
item: t.original,
actions: e.actions
})
@@ -61061,7 +61062,7 @@ function pCe(e) {
"data-toolbar-actions": "",
children: [/* @__PURE__ */ (0, I.jsx)(bY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(uY, {
label: "作品列表",
- options: fCe,
+ options: pCe,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -61096,7 +61097,7 @@ function pCe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, I.jsxs)(gB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(_B, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(hB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(gB, {
id: e.id,
isRowHeader: e.id === "name",
allowsSorting: e.column.getCanSort(),
@@ -61112,27 +61113,27 @@ function pCe(e) {
preferences: t,
id: e.id
})] })
- }, e.id)), /* @__PURE__ */ (0, I.jsx)(_B, {
+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(gB, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
width: t.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, I.jsx)(bB, {
+ })] }), /* @__PURE__ */ (0, I.jsx)(yB, {
renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",
- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(CB, {
+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(SB, {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: aY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]
- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(CB, {
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(wB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: aY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(wB, { "data-table-space": "" })]
+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(SB, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,
"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: iq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(wB, { children: iq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(wB, { "data-table-space": "" })]
}, e.id))
})]
})
@@ -61148,9 +61149,9 @@ function pCe(e) {
]
});
}
-function mCe({ item: e, props: t, disabled: n }) {
+function hCe({ item: e, props: t, disabled: n }) {
let r = Co(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";
- bL();
+ yL();
let { avatar: l, who: u } = bK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = dK({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -61176,7 +61177,7 @@ function mCe({ item: e, props: t, disabled: n }) {
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-picture": "",
children: [
- r.html ? /* @__PURE__ */ (0, I.jsx)(iW, {
+ r.html ? /* @__PURE__ */ (0, I.jsx)(aW, {
artwork: r,
relayout: (e) => Sl(e, "small")
}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),
@@ -61241,13 +61242,13 @@ function mCe({ item: e, props: t, disabled: n }) {
// src/react/catalog-grid/catalog-grid-page.tsx
function TY(e) {
let t = bG();
- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(gCe, { ...e });
- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${yP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(pCe, { ...e }, n);
+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(_Ce, { ...e });
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${vP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(mCe, { ...e }, n);
let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;
- return /* @__PURE__ */ (0, I.jsx)(_Ce, { ...e }, r);
+ return /* @__PURE__ */ (0, I.jsx)(vCe, { ...e }, r);
}
-function hCe({ name: e }) {
+function gCe({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -61270,7 +61271,7 @@ function EY({ children: e, selectMode: t }) {
children: e
});
}
-function gCe(e) {
+function _Ce(e) {
let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(SK, {
item: i,
variant: r,
@@ -61290,8 +61291,8 @@ function gCe(e) {
children: i
});
}
-function _Ce(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vue(e) : _ue(e), [s] = (0, F.useState)(() => e.wall ? bP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? bP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
+function vCe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? yue(e) : vue(e), [s] = (0, F.useState)(() => e.wall ? yP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? yP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -61317,7 +61318,7 @@ function _Ce(e) {
u.isPlaceholderData,
e.revision
]);
- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => bue(u.data?.pages || [], {
+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => xue(u.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -61327,7 +61328,7 @@ function _Ce(e) {
e.mix,
a,
r.javImage
- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || pbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && sbe(e.item) ? [e.item] : []), y = a ? [] : nq(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = vCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || mbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && cbe(e.item) ? [e.item] : []), y = a ? [] : nq(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = yCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
(0, F.useLayoutEffect)(() => {
if (!u.data || u.isPlaceholderData) return;
let t = !0;
@@ -61355,7 +61356,7 @@ function _Ce(e) {
let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {
let e = await u.fetchNextPage();
if (e.isFetchNextPageError) throw e.error;
- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(bCe, {
+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(xCe, {
seed: i.seed,
layout: r,
helpers: t,
@@ -61372,8 +61373,8 @@ function _Ce(e) {
actions: n,
onOpen: a ? w : C
}, i.item.id), O = () => {
- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Sbe, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${yP(e.filters || {}, !!e.excludeVertical)}`,
+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Cbe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${vP(e.filters || {}, !!e.excludeVertical)}`,
items: v,
finite: g,
hasMore: !!u.hasNextPage,
@@ -61381,7 +61382,7 @@ function _Ce(e) {
loading: u.isPending || !u.data && u.isFetching,
error: !u.data && !u.isPending ? yn(u.error) : "",
retry: () => void u.refetch(),
- emptyHtml: u.data && !v.length ? Tbe({
+ emptyHtml: u.data && !v.length ? Ebe({
libraryEmpty: !!u.data.pages[0]?.libraryEmpty,
matches: h,
hasMore: !!u.hasNextPage,
@@ -61413,7 +61414,7 @@ function _Ce(e) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Cue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(EY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(yCe, {
+ children: wue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(EY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(bCe, {
cut: t.strip,
props: e,
onOpen: T
@@ -61505,13 +61506,13 @@ function DY({ entity: e, load: t, enabled: n, children: r }) {
onRetry: () => void d(!0)
}) : null] });
}
-function vCe(e, t, n, r, i) {
- let a = ["catalog-short-layout", yP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
+function yCe(e, t, n, r, i) {
+ let a = ["catalog-short-layout", vP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
let t = e.restoreNavigation ? U.getQueryData(a) : void 0, n = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
};
- return t && xP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
+ return t && bP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
stamp: o,
cuts: t?.cuts || [],
offset: t?.offset || 0,
@@ -61537,7 +61538,7 @@ function vCe(e, t, n, r, i) {
let r = new AbortController();
p.controllers.push(r);
let i = n - 1;
- V(`/api/items?${Sue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
+ V(`/api/items?${Cue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
if (c.current !== p || r.signal.aborted) return;
let t = e.items || [];
t.length ? f({
@@ -61551,9 +61552,9 @@ function vCe(e, t, n, r, i) {
}, [t, p]), (0, F.useLayoutEffect)(() => {
if (!d || d.stamp !== o) return;
f(null);
- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = xue(n.length - t, h, l);
+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Sue(n.length - t, h, l);
if (!g.length) return;
- let _ = xP(d.items, p.groups, e.groupCollapse !== !1);
+ let _ = bP(d.items, p.groups, e.groupCollapse !== !1);
if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;
let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {
at: v,
@@ -61570,7 +61571,7 @@ function vCe(e, t, n, r, i) {
});
}, [d]), m;
}
-function yCe({ cut: e, props: t, onOpen: n }) {
+function bCe({ cut: e, props: t, onOpen: n }) {
let r = (0, F.useRef)(null), { wireDrag: i } = t;
return (0, F.useEffect)(() => {
r.current && i(r.current);
@@ -61586,7 +61587,7 @@ function yCe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, I.jsx)(hCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(gCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
@@ -61609,11 +61610,11 @@ function yCe({ cut: e, props: t, onOpen: n }) {
function OY(e, t, n) {
return wo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function bCe({ seed: e, layout: t, helpers: n, actions: r }) {
+function xCe({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);
a.current = t;
let o = Ao(e, n.tagLabel), s = (0, F.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => SP(e, t.javImage)).slice(0, 9);
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => xP(e, t.javImage)).slice(0, 9);
return i.current = new Map(n.map((e) => [String(e.id), OY(e, t, !0).html])), n.map((e) => String(e.id));
}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = OY(e, t, !1);
return /* @__PURE__ */ (0, I.jsx)(EK, {
@@ -61648,31 +61649,31 @@ async function kY(e) {
queryFn: () => vr(e)
});
}
-var xCe = (e) => (e?.sources ?? []).filter((e) => gn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), SCe = "/api/duplicates?limit=120", AY = ["duplicates"], jY = "/api/batch", MY = (e) => V(SCe, e), CCe = /[\s\-_.()[\]【】/\\]/;
-function wCe(e) {
+var SCe = (e) => (e?.sources ?? []).filter((e) => gn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), CCe = "/api/duplicates?limit=120", AY = ["duplicates"], jY = "/api/batch", MY = (e) => V(CCe, e), wCe = /[\s\-_.()[\]【】/\\]/;
+function TCe(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 && !CCe.test(n[r - 1]);) --r;
+ for (; r > 0 && !wCe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var TCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function ECe(e) {
+var ECe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function DCe(e) {
await Promise.all([U.fetchQuery({
queryKey: AY,
queryFn: () => MY(e)
}), kY(e)]);
}
-var DCe = {
+var OCe = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, OCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), NY = (e, t) => OCe(e, t).filter((t) => e.some((e) => e.location !== t)), kCe = (e, t) => t.filter((t) => e.some((e) => NY(e.files, [t]).length));
-function ACe(e, t) {
+}, kCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), NY = (e, t) => kCe(e, t).filter((t) => e.some((e) => e.location !== t)), ACe = (e, t) => t.filter((t) => e.some((e) => NY(e.files, [t]).length));
+function jCe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -61691,11 +61692,11 @@ function ACe(e, t) {
}
return n;
}
-function jCe(e, t) {
+function MCe(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 MCe(e, t) {
+async function NCe(e, t) {
for (let n = 0; n < e.length; n += 200) await H(jY, {
ids: e.slice(n, n + 200),
operation: t,
@@ -61703,7 +61704,7 @@ async function MCe(e, t) {
});
}
// src/react/media-repair/media-repair.ts
-var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "libraries"], NCe = {
+var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "libraries"], PCe = {
status: "idle",
library: "",
stage: "",
@@ -61716,7 +61717,7 @@ var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "libr
skipped: 0,
message: ""
}, LY = (e) => V(PY, e), RY = async (e) => (await V("/api/libraries", e)).libraries || [];
-async function PCe(e) {
+async function FCe(e) {
await Promise.all([U.fetchQuery({
queryKey: FY,
queryFn: () => LY(e)
@@ -61726,28 +61727,28 @@ async function PCe(e) {
})]);
}
var zY = (e) => Number(e).toLocaleString();
-function FCe(e) {
+function ICe(e) {
if (e.status === "running") {
let t = e.total ? `${zY(Math.min(e.checked || 0, e.total))} / ${zY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${zY(e.repaired)} 部,${zY(e.failed)} 部修不了` : `修好 ${zY(e.repaired)} 部` : "";
}
-var ICe = (e) => `${zY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, LCe = "/api/quality-goals?limit=200", BY = ["quality-goals"], VY = (e) => V(LCe, e);
-async function RCe(e) {
+var LCe = (e) => `${zY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, RCe = "/api/quality-goals?limit=200", BY = ["quality-goals"], VY = (e) => V(RCe, e);
+async function zCe(e) {
await U.fetchQuery({
queryKey: BY,
queryFn: () => VY(e)
});
}
-var zCe = (e) => e.has_cover ? so(e) : `/poster?id=${e.id}&c=4`;
+var BCe = (e) => e.has_cover ? so(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
function HY(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
// src/react/review/review.ts
-var BCe = "/api/review", VCe = "/api/review/decision", HCe = "/api/review/genre", UY = ["review"], WY = {
+var VCe = "/api/review", HCe = "/api/review/decision", UCe = "/api/review/genre", UY = ["review"], WY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -61757,7 +61758,7 @@ var BCe = "/api/review", VCe = "/api/review/decision", HCe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, UCe = Object.keys(WY), WCe = "metadata_fields", GY = (e) => typeof e == "string" && Object.hasOwn(WY, e), GCe = {
+}, WCe = Object.keys(WY), GCe = "metadata_fields", GY = (e) => typeof e == "string" && Object.hasOwn(WY, e), KCe = {
creator_tags: "creator",
western_identity: "creator"
}, KY = [
@@ -61768,7 +61769,7 @@ var BCe = "/api/review", VCe = "/api/review/decision", HCe = "/api/review/genre"
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
-}, KCe = {
+}, qCe = {
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
@@ -61776,7 +61777,7 @@ var BCe = "/api/review", VCe = "/api/review/decision", HCe = "/api/review/genre"
sections: e.sections,
counts: e.counts
} : e.queues[t];
-function qCe(e, t) {
+function JCe(e, t) {
return {
...e,
...t(YY(e, "pending")),
@@ -61786,7 +61787,7 @@ function qCe(e, t) {
}
};
}
-function JCe(e, t) {
+function YCe(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;
}
@@ -61807,10 +61808,10 @@ function XY(e, t) {
}
return [...n.values()];
}
-function YCe(e, t, n) {
+function XCe(e, t, n) {
return n && XY(e, t).find((e) => e.key === n)?.rows || e;
}
-function XCe(e, t) {
+function ZCe(e, t) {
let n = mr(e.length, 20), r = hr(t, n);
return {
page: r,
@@ -61818,32 +61819,32 @@ function XCe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function ZCe(e) {
+function QCe(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 QCe(e, t, n, r, i, a) {
+function $Ce(e, t, n, r, i, a) {
return HY(e, t, n, r, i, a);
}
-function $Ce(e, t) {
+function ewe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
function ZY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
var QY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function ewe(e, t) {
+function twe(e, t) {
let n = ZY(e, t), r = QY(e, t);
return r ? `${n} · ${r}` : n;
}
-var twe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", nwe = (e) => String(e.tags || "").split("|").filter(Boolean), rwe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function iwe(e) {
+var nwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", rwe = (e) => String(e.tags || "").split("|").filter(Boolean), iwe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function awe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function awe(e, t, n, r) {
+function owe(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -61859,22 +61860,22 @@ function awe(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var owe = (e) => ({
+var swe = (e) => ({
approved: "已通过资料",
rejected: "已忽略资料",
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
async function $Y(e) {
- let t = await V(BCe, e);
+ let t = await V(VCe, e);
for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${qY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
-async function swe(e) {
- let t = await H(VCe, e);
+async function cwe(e) {
+ let t = await H(HCe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- U.setQueryData(UY, (t) => t && qCe(t, (t) => ({
+ U.setQueryData(UY, (t) => t && JCe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -61890,21 +61891,21 @@ async function swe(e) {
}
return t;
}
-function cwe(e, t) {
+function lwe(e, t) {
let n = U.getQueryData(UY);
return n && KY.flatMap((t) => YY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
-var lwe = (e, t) => H(HCe, {
+var uwe = (e, t) => H(UCe, {
genre: e,
tag: t
});
-async function uwe(e) {
+async function dwe(e) {
await U.fetchQuery({
queryKey: UY,
queryFn: () => $Y(e)
});
}
-function dwe(e, t, n) {
+function fwe(e, t, n) {
let r = new Set(t);
r.size && U.setQueryData(UY, (t) => {
if (!t) return t;
@@ -61943,15 +61944,15 @@ function dwe(e, t, n) {
};
});
}
-var fwe = () => U.invalidateQueries({
+var pwe = () => U.invalidateQueries({
queryKey: UY,
exact: !0
});
-function pwe(e, t) {
+function mwe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${xr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var mwe = "/api/links", eX = "/api/links/check", tX = "/api/links/prune", nX = ["links"], rX = ["links", "check"], iX = ["links", "prune"], hwe = {
+var hwe = "/api/links", eX = "/api/links/check", tX = "/api/links/prune", nX = ["links"], rX = ["links", "check"], iX = ["links", "prune"], gwe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
@@ -61962,22 +61963,22 @@ async function aX(e) {
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var oX = (e) => V(mwe, e), sX = (e) => H(eX, { status_only: !0 }, "POST", e), gwe = ({ retry: e, checkId: t }) => aX(H(eX, e ? {
+var oX = (e) => V(hwe, e), sX = (e) => H(eX, { status_only: !0 }, "POST", e), _we = ({ retry: e, checkId: t }) => aX(H(eX, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), cX = (e) => V(tX, e), _we = ({ checkId: e, ids: t }) => aX(H(tX, {
+} : { restart: !0 })), cX = (e) => V(tX, e), vwe = ({ checkId: e, ids: t }) => aX(H(tX, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), lX = (e) => Number(e || 0).toLocaleString(), vwe = (e) => `已删除 ${lX(e.removed)} 条;${e.marked ? `已隐退女优的 ${lX(e.marked)} 条留作不可点的记录;` : ""}保留 ${lX(e.recovered)} 条未确认失效的链接。`;
-function ywe(e) {
+})), lX = (e) => Number(e || 0).toLocaleString(), ywe = (e) => `已删除 ${lX(e.removed)} 条;${e.marked ? `已隐退女优的 ${lX(e.marked)} 条留作不可点的记录;` : ""}保留 ${lX(e.recovered)} 条未确认失效的链接。`;
+function bwe(e) {
let t = e.scope === "retry";
return e.total ? `${t ? "已重验" : "已检查"} ${lX(e.checked)} / ${lX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var uX = "/api/configuration", dX = "/api/pick-folder", fX = "/api/settings", pX = "/api/follow/schedule", mX = "/api/feeds/schedule", hX = "/api/thumbnail-jobs", gX = ["settings"], _X = ["follow-schedule"], vX = ["feed-schedule"], yX = ["thumbnail-jobs"], bX = "/api/media-processing", bwe = ["media-processing"], xwe = (e) => V(bX, e), xX = (e) => V(fX, e), Swe = (e) => V(pX, e), Cwe = (e) => V(mX, e), wwe = (e) => V(hX, e);
-function Twe(e = U) {
+var uX = "/api/configuration", dX = "/api/pick-folder", fX = "/api/settings", pX = "/api/follow/schedule", mX = "/api/feeds/schedule", hX = "/api/thumbnail-jobs", gX = ["settings"], _X = ["follow-schedule"], vX = ["feed-schedule"], yX = ["thumbnail-jobs"], bX = "/api/media-processing", xwe = ["media-processing"], Swe = (e) => V(bX, e), xX = (e) => V(fX, e), Cwe = (e) => V(pX, e), wwe = (e) => V(mX, e), Twe = (e) => V(hX, e);
+function Ewe(e = U) {
return e.fetchQuery({
queryKey: gX,
queryFn: ({ signal: e }) => xX(e),
@@ -61990,7 +61991,7 @@ function SX() {
onSuccess: (e) => U.setQueryData(gX, e)
});
}
-function Ewe() {
+function Dwe() {
return Pt({
mutationFn: (e) => H(pX, {
enabled: e > 0,
@@ -61999,7 +62000,7 @@ function Ewe() {
onSuccess: (e) => U.setQueryData(_X, e)
});
}
-var Dwe = {
+var Owe = {
follow: {
url: `${pX}/run`,
key: _X
@@ -62009,36 +62010,36 @@ var Dwe = {
key: vX
}
};
-function Owe(e) {
- let { url: t, key: n } = Dwe[e];
+function kwe(e) {
+ let { url: t, key: n } = Owe[e];
return Pt({
mutationFn: () => H(t, {}),
onSuccess: (e) => U.setQueryData(n, e)
});
}
-var kwe = (e) => e?.running ? 3e3 : !1;
-function Awe() {
+var Awe = (e) => e?.running ? 3e3 : !1;
+function jwe() {
return Pt({
mutationFn: (e) => H(hX, { mode: e }),
onSuccess: (e) => U.setQueryData(yX, e)
});
}
// src/react/data-cleanup/organize.ts
-var jwe = "/api/organize", Mwe = "/api/organize/preview", Nwe = "/api/organize/apply", Pwe = "/api/organize/rollback", CX = ["organize"], Fwe = "/api/organize/example", Iwe = (e, t, n) => V(`${Fwe}?${new URLSearchParams({
+var Mwe = "/api/organize", Nwe = "/api/organize/preview", Pwe = "/api/organize/apply", Fwe = "/api/organize/rollback", CX = ["organize"], Iwe = "/api/organize/example", Lwe = (e, t, n) => V(`${Iwe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), wX = (e) => V(jwe, e);
-async function Lwe(e) {
+})}`, n), wX = (e) => V(Mwe, e);
+async function Rwe(e) {
await U.fetchQuery({
queryKey: CX,
queryFn: () => wX(e)
});
}
-var Rwe = (e) => H(Mwe, e), zwe = (e) => H(dX, { initial: e }), Bwe = (e) => e.kind === "apply" ? H(Nwe, {
+var zwe = (e) => H(Nwe, e), Bwe = (e) => H(dX, { initial: e }), Vwe = (e) => e.kind === "apply" ? H(Pwe, {
...e.request,
confirm: !0
-}) : H(Pwe, { confirm: !0 });
-async function Vwe(e) {
+}) : H(Fwe, { confirm: !0 });
+async function Hwe(e) {
U.setQueryData(CX, (t) => t && {
...t,
templates: e
@@ -62047,20 +62048,20 @@ async function Vwe(e) {
await H(fX, { organizeTemplates: e });
} catch {}
}
-var Hwe = (e, t) => e && {
+var Uwe = (e, t) => e && {
...e,
...t
-}, Uwe = /目录模板|分隔符|盘符|`\.`/;
-function Wwe(e) {
+}, Wwe = /目录模板|分隔符|盘符|`\.`/;
+function Gwe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
var TX = (e) => Number(e || 0).toLocaleString();
-function Gwe(e) {
+function Kwe(e) {
let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${TX(t)}`).join(" · ");
return Number(e.counts?.change || 0) ? `${TX(e.counts.change)} 个文件会改名或移动,${TX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function Kwe(e) {
+function qwe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
text: t ? `已退回 ${TX(r)} 个文件${n ? `,${TX(n)} 行未能退回` : ""}。` : `已整理 ${TX(r)} 个文件${n ? `,${TX(n)} 行未能处理` : ""}。`,
@@ -62069,36 +62070,36 @@ function Kwe(e) {
};
}
// src/react/data-cleanup/orphan-records.ts
-var qwe = "/api/orphan-records", Jwe = "/api/orphan-records/attach", EX = ["orphan-records"], Ywe = [
+var Jwe = "/api/orphan-records", Ywe = "/api/orphan-records/attach", EX = ["orphan-records"], Xwe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], DX = (e) => V(qwe, e), Xwe = (e, t) => H(Jwe, {
+], DX = (e) => V(Jwe, e), Zwe = (e, t) => H(Ywe, {
id: e,
target: t
-}), Zwe = (e) => H(jY, {
+}), Qwe = (e) => H(jY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), Qwe = (e) => [
+}), $we = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], $we = (e) => [...Ywe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Qwe(e)].filter(Boolean).join(" · "), eTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", tTe = (e) => [e.name, eTe(e.duration)].filter(Boolean).join(" · "), OX = "/api/resource-sync/scan", kX = "/api/resource-sync/apply", AX = ["resource-sync", "scan"], jX = ["resource-sync", "apply"], MX = (e) => H(OX, {
+], eTe = (e) => [...Xwe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...$we(e)].filter(Boolean).join(" · "), tTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", nTe = (e) => [e.name, tTe(e.duration)].filter(Boolean).join(" · "), OX = "/api/resource-sync/scan", kX = "/api/resource-sync/apply", AX = ["resource-sync", "scan"], jX = ["resource-sync", "apply"], MX = (e) => H(OX, {
background: !0,
status_only: !0
-}, "POST", e), nTe = () => H(OX, {
+}, "POST", e), rTe = () => H(OX, {
background: !0,
restart: !0
-}), NX = (e) => V(kX, e), rTe = (e) => H(kX, {
+}), NX = (e) => V(kX, e), iTe = (e) => H(kX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
}), PX = (e) => (e?.sources ?? []).some((e) => hn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function iTe(e) {
+async function aTe(e) {
PX(U.getQueryData(_r)) && await Promise.all([U.fetchQuery({
queryKey: AX,
queryFn: () => MX(e)
@@ -62107,7 +62108,7 @@ async function iTe(e) {
queryFn: () => NX(e)
})]);
}
-var aTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), FX = (e) => Number(e || 0).toLocaleString(), oTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", IX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), LX = (e) => e.vanish ? `${FX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", RX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", sTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录和 ${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。${RX(e)}${LX(e)}`, cTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录(含回收站里的)、${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。来源根目录保留。${RX(e)}${LX(e)}`, lTe = (e) => e.online ? [
+var oTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), FX = (e) => Number(e || 0).toLocaleString(), sTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", IX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), LX = (e) => e.vanish ? `${FX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", RX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", cTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录和 ${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。${RX(e)}${LX(e)}`, lTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录(含回收站里的)、${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。来源根目录保留。${RX(e)}${LX(e)}`, uTe = (e) => e.online ? [
`找不到文件 · 共 ${FX(e.total)} 项`,
e.vanish ? `${FX(e.vanish)} 项带个人记录` : "",
e.empty ? `空文件夹 ${FX(e.empty)} 个` : ""
@@ -62124,59 +62125,59 @@ function zX(e) {
].filter(Boolean).join(",")
};
}
-var uTe = (e, t) => {
+var dTe = (e, t) => {
let { rest: n } = zX(e), r = `已永久删除 ${FX(e.purged)} 条失效记录和 ${FX(e.dirs_removed)} 个空文件夹,清理 ${FX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${FX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${FX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, BX = ["performer-delete-candidates"], VX = (e) => V("/api/performer/delete-candidates", e), dTe = (e, t) => V(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), fTe = (e) => H("/api/performer/delete", {
+}, BX = ["performer-delete-candidates"], VX = (e) => V("/api/performer/delete-candidates", e), fTe = (e, t) => V(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), pTe = (e) => H("/api/performer/delete", {
entity_ids: e.entity_ids,
plan: e.plan
-}), pTe = "/api/review?counts=1", HX = ["review", "counts"], mTe = "/api/ads?limit=1", UX = ["junk-summary"], WX = "/api/items?state=trash&limit=1", GX = ["trash-summary"], hTe = [
+}), mTe = "/api/review?counts=1", HX = ["review", "counts"], hTe = "/api/ads?limit=1", UX = ["junk-summary"], WX = "/api/items?state=trash&limit=1", GX = ["trash-summary"], gTe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], KX = (e) => V(pTe, e), qX = (e) => V(mTe, e), JX = (e) => {
+], KX = (e) => V(mTe, e), qX = (e) => V(hTe, e), JX = (e) => {
let t = sessionStorage.getItem("peach.library");
return V(t ? `${WX}&library=${encodeURIComponent(t)}` : WX, e);
}, YX = (e) => Number(e || 0).toLocaleString();
-function gTe(e) {
+function _Te(e) {
let t = WY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function _Te(e) {
+function vTe(e) {
if (!e) return "";
- let t = hTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${YX(e.counts[t])}`);
+ let t = gTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${YX(e.counts[t])}`);
return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${YX(e.dismissed_total)}`), t.join(" · ");
}
-var vTe = [
+var yTe = [
[HX, ({ signal: e }) => KX(e)],
[BY, ({ signal: e }) => VY(e)],
[GX, ({ signal: e }) => JX(e)],
[UX, ({ signal: e }) => qX(e)],
[AY, ({ signal: e }) => MY(e)]
];
-async function yTe(e) {
- for (let [t, n] of vTe) U.prefetchQuery({
+async function bTe(e) {
+ for (let [t, n] of yTe) U.prefetchQuery({
queryKey: t,
queryFn: () => n({ signal: e })
});
await yH(e);
}
-async function bTe(e, t) {
+async function xTe(e, t) {
switch (e) {
case "organize":
- await Lwe(t);
+ await Rwe(t);
break;
case "media-repair":
- await PCe(t);
+ await FCe(t);
break;
case "resource-sync":
- await kY(t), await iTe(t);
+ await kY(t), await aTe(t);
break;
case "orphan-records":
await U.prefetchQuery({
@@ -62207,8 +62208,8 @@ async function bTe(e, t) {
}
}
// src/react/feed-new/feed-new.ts
-var XX = (e) => ["feed-new", e ?? "home"], xTe = 8, STe = 1500;
-function CTe(e, t, n) {
+var XX = (e) => ["feed-new", e ?? "home"], STe = 8, CTe = 1500;
+function wTe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -62219,11 +62220,11 @@ function CTe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function wTe(e, t, n) {
- let r = new URLSearchParams({ limit: String(mM().value.feedLimit) });
+async function TTe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(pM().value.feedLimit) });
e && r.set("entity", String(e));
let i = await Cn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await CTe(s, xTe, STe), {
+ return n && o.length && await wTe(s, STe, CTe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
@@ -62231,7 +62232,7 @@ async function wTe(e, t, n) {
}
var ZX = (e, t, n = !1) => ({
queryKey: XX(e),
- queryFn: () => wTe(e, t, n),
+ queryFn: () => TTe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
}), QX = (e, t) => Cn("/api/feeds/discovery", {
@@ -62241,7 +62242,7 @@ var ZX = (e, t, n = !1) => ({
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function TTe(e) {
+async function ETe(e) {
U.removeQueries({ queryKey: XX(null) }), await U.fetchQuery(ZX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
// src/react/entity-page/entity-page.ts
@@ -62266,7 +62267,7 @@ var $X = [
"entity",
e,
t
-], ETe = (e, t, n, r) => [
+], DTe = (e, t, n, r) => [
"entity-items",
e,
t,
@@ -62278,7 +62279,7 @@ var $X = [
t,
n,
r
-], rZ = (e) => String(e || "").split(",").filter(Boolean), DTe = (e, t) => rZ(e).includes(t);
+], rZ = (e) => String(e || "").split(",").filter(Boolean), OTe = (e, t) => rZ(e).includes(t);
function iZ(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...rZ(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
@@ -62295,7 +62296,7 @@ var oZ = (e) => {
seed: e.seed
}, n = iZ(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: ETe(e.kind, e.name, n, e.revision),
+ queryKey: DTe(e.kind, e.name, n, e.revision),
queryFn: ({ signal: n }) => aZ(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
@@ -62304,7 +62305,7 @@ var oZ = (e) => {
queryFn: ({ signal: n }) => Cn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function OTe(e, t, n, r, i, a) {
+function kTe(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)}` : ""}`;
@@ -62316,7 +62317,7 @@ function OTe(e, t, n, r, i, a) {
var cZ = (e, t, n, r) => ({
queryKey: nZ(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Cn(OTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Cn(kTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -62330,7 +62331,7 @@ var cZ = (e, t, n, r) => ({
} : void 0,
staleTime: Infinity
}), lZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function kTe(e) {
+async function ATe(e) {
let { kind: t, name: n } = e;
if (!e.restoreNavigation) for (let e of [
"entity",
@@ -62357,7 +62358,7 @@ var uZ = [
["blogger", "网黄博主"],
["animation", "动画作者"]
], dZ = "mb-4 flex flex-wrap gap-2";
-function ATe(e) {
+function jTe(e) {
let t = uZ.some(([t]) => t === e) ? e : "all";
return `<div class="peach-react"><div aria-label="身份分类" class="${dZ}">${uZ.map(([e, n]) => Es({
variant: e === t ? "primary" : "secondary",
@@ -62367,39 +62368,39 @@ function ATe(e) {
})).join("")}</div></div>`;
}
// src/react/follow/online-vocab.ts
-var jTe = "/api/follow/authors", MTe = "/api/follow/tags", NTe = (e) => [
+var MTe = "/api/follow/authors", NTe = "/api/follow/tags", PTe = (e) => [
"follow",
"authors",
e
-], PTe = (e, t) => [
+], FTe = (e, t) => [
"follow",
"tags",
e,
t
];
-function FTe(e, t, n) {
+function ITe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${jTe}?${r}`;
+ return e && r.set("q", e), `${MTe}?${r}`;
}
-function ITe(e, t, n, r) {
+function LTe(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), `${MTe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${NTe}?${i}`;
}
-var LTe = (e, t, n, r) => V(FTe(e, t, n), r), RTe = (e, t, n, r, i) => V(ITe(e, t, n, r), i), zTe = "/api/index", fZ = {
+var RTe = (e, t, n, r) => V(ITe(e, t, n), r), zTe = (e, t, n, r, i) => V(LTe(e, t, n, r), i), BTe = "/api/index", fZ = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, BTe = {
+}, VTe = {
performers: "performer",
creators: "creator",
studios: "studio",
@@ -62471,7 +62472,7 @@ function xZ(e, t, n, r, i) {
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${zTe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${BTe}?${a}`;
}
function SZ(e, t = hZ.tags) {
let n = e.what === "people" || e.what === "online-authors" ? hZ.people : t, r = {
@@ -62491,17 +62492,17 @@ function SZ(e, t = hZ.tags) {
};
case "online-authors": return {
...r,
- queryKey: NTe(e.q),
- queryFn: ({ pageParam: t, signal: r }) => LTe(e.q, n, t, r)
+ queryKey: PTe(e.q),
+ queryFn: ({ pageParam: t, signal: r }) => RTe(e.q, n, t, r)
};
case "online-tags": return {
...r,
- queryKey: PTe(e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => RTe(e.q, e.category, n, t, r)
+ queryKey: FTe(e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => zTe(e.q, e.category, n, t, r)
};
}
}
-async function VTe(e, t) {
+async function HTe(e, t) {
let n = SZ(yZ(vZ(e)));
await U.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -62514,13 +62515,13 @@ async function VTe(e, t) {
staleTime: Infinity
});
}
-var HTe = (e) => e ? e.pages.flatMap((e) => e.items) : [], UTe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, CZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", WTe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, GTe = {
+var UTe = (e) => e ? e.pages.flatMap((e) => e.items) : [], WTe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, CZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", GTe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, KTe = {
numeric: !0,
sensitivity: "base"
};
function wZ(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", GTe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", KTe))) {
let e = Qn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -62539,7 +62540,7 @@ function TZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var KTe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", qTe = TV("rss");
+var qTe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", JTe = TV("rss");
function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -62550,7 +62551,7 @@ function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
radius: "plain",
padding: "none",
interactive: !0,
- className: `${KTe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${qTe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -62559,10 +62560,10 @@ function EZ({ 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, I.jsx)(rW, {
+ children: /* @__PURE__ */ (0, I.jsx)(iW, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, I.jsx)(qTe, {})
+ children: /* @__PURE__ */ (0, I.jsx)(JTe, {})
})
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -62580,7 +62581,7 @@ function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
}
function DZ({ kind: e, items: t, layout: n, props: r }) {
let i = _Z(e) || e === "series";
- bL();
+ yL();
let a = n === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
@@ -62588,12 +62589,12 @@ function DZ({ kind: e, items: t, layout: n, props: r }) {
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || BTe[e], o = r.personAvatar(t, n, a);
+ let n = t.entity_kind || VTe[e], o = r.personAvatar(t, n, a);
return /* @__PURE__ */ (0, I.jsx)(EZ, {
"data-k": t.k,
"data-kind": n,
name: en(n, t.k, t.entity_id),
- readout: `${WTe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${GTe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
@@ -62607,8 +62608,8 @@ function DZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function JTe({ items: e, layout: t, props: n }) {
- bL();
+function YTe({ items: e, layout: t, props: n }) {
+ yL();
let r = t === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
@@ -62671,7 +62672,7 @@ function jZ(e) {
}
return !1;
}
-function YTe() {
+function XTe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {
@@ -62718,11 +62719,11 @@ function MZ(e) {
e.style.setProperty("--board-range-value", `${i}%`);
}
var NZ = /* @__PURE__ */ new WeakSet();
-function XTe() {
+function ZTe() {
if (NZ.has(document)) return;
NZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(MZ), QTe(e), ZTe(e);
+ e.querySelectorAll("input[type=range]").forEach(MZ), $Te(e), QTe(e);
};
e(document), new MutationObserver((t) => {
for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && MZ(t), e(t));
@@ -62731,9 +62732,9 @@ function XTe() {
childList: !0
}), document.addEventListener("input", (e) => {
e.target instanceof HTMLInputElement && e.target.type === "range" && MZ(e.target);
- }), YTe();
+ }), XTe();
}
-function ZTe(e) {
+function QTe(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;
@@ -62758,7 +62759,7 @@ function ZTe(e) {
});
}
var PZ = /* @__PURE__ */ new Map();
-function QTe(e) {
+function $Te(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;
@@ -62790,7 +62791,7 @@ function QTe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var FZ = "/vendor/swiper/14.4.0/", IZ = null, $Te = () => IZ ??= Promise.all([new Promise((e, t) => {
+var FZ = "/vendor/swiper/14.4.0/", IZ = null, eEe = () => IZ ??= Promise.all([new Promise((e, t) => {
let n = `${FZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
@@ -62809,7 +62810,7 @@ var FZ = "/vendor/swiper/14.4.0/", IZ = null, $Te = () => IZ ??= Promise.all([ne
})]).then(([, e]) => e).catch((e) => {
throw IZ = null, e;
});
-function eEe(e, t, n) {
+function tEe(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);
@@ -62833,8 +62834,8 @@ function eEe(e, t, n) {
var LZ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Jn(t)).replace(" ", "\xA0") : "大小未知";
-}, tEe = (e) => e.asset?.name || e.name || "未命名图片";
-function nEe(e, t) {
+}, nEe = (e) => e.asset?.name || e.name || "未命名图片";
+function rEe(e, t) {
let n = e.asset;
if (n) return [er[n.location ?? ""] || n.location || "来源未知", LZ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
@@ -62845,31 +62846,31 @@ function nEe(e, t) {
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var RZ = null, zZ = null, rEe = 0;
-function iEe() {
+var RZ = null, zZ = null, iEe = 0;
+function aEe() {
return zZ && RZ?.isConnected || (zZ?.unmount(), RZ = document.createElement("div"), RZ.className = "peach-react", RZ.dataset.photoLightboxHost = "", document.body.append(RZ), zZ = (0, Lt.createRoot)(RZ)), zZ;
}
async function BZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await $Te();
+ r = await eEe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = iEe();
- (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(aEe, {
+ let i = aEe();
+ (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(oEe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++rEe)));
+ }, ++iEe)));
}
function VZ() {
zZ && (0, It.flushSync)(() => zZ.render(null));
}
-function aEe({ slides: e, index: t, Swiper: n, host: r }) {
+function oEe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({
at: t,
text: ""
@@ -62912,7 +62913,7 @@ function aEe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = eEe(e, a, b);
+ i(t, 0), h.current = tEe(e, a, b);
let m = el(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();
};
@@ -63113,10 +63114,10 @@ function aEe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: tEe(j)
+ children: nEe(j)
}, _), /* @__PURE__ */ (0, I.jsx)("span", {
"data-photo-detail-meta": "",
- children: nEe(j, x[_])
+ children: rEe(j, x[_])
})]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -63154,17 +63155,17 @@ function aEe({ slides: e, index: t, Swiper: n, host: r }) {
});
}
// src/react/entity-body/entity-body-page.tsx
-function oEe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(sEe, {
+function sEe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(cEe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(cEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(dEe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(lEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(fEe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
var HZ = hZ.people;
-function sEe({ roster: e, props: t }) {
+function cEe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
@@ -63182,7 +63183,7 @@ function sEe({ roster: e, props: t }) {
enabled: () => !0
}, a) : null] });
}
-function cEe(e) {
+function lEe(e) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-grid": "",
children: /* @__PURE__ */ (0, I.jsx)(QG, {
@@ -63210,14 +63211,14 @@ function cEe(e) {
})
});
}
-var lEe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var uEe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), UZ = (e) => e.sample === !0, WZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GZ = (e) => UZ(e) ? `/sample-thumb?${WZ(e)}` : `/photo-thumb?id=${e.id}`, uEe = (e) => UZ(e) ? {
+})), UZ = (e) => e.sample === !0, WZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GZ = (e) => UZ(e) ? `/sample-thumb?${WZ(e)}` : `/photo-thumb?id=${e.id}`, dEe = (e) => UZ(e) ? {
src: `/sample-image?${WZ(e)}`,
thumb: GZ(e),
name: e.name,
@@ -63229,14 +63230,14 @@ var lEe = (e) => Array.from({ length: e.n }, (t, n) => ({
name: e.name || "",
asset: e
};
-function dEe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(lEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
+function fEe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(uEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, F.useCallback)((e) => {
- BZ(e, o.map(uEe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(fEe, {
+ BZ(e, o.map(dEe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(pEe, {
item: e,
index: t,
lost: s.has(t),
@@ -63299,7 +63300,7 @@ function KZ({ label: e, title: t, meta: n }) {
]
});
}
-function fEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function pEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -63318,9 +63319,9 @@ function fEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
});
}
// src/react/background-job.ts
-var pEe = 2e3, mEe = (e) => e, hEe = (e, t) => t;
+var mEe = 2e3, hEe = (e) => e, gEe = (e, t) => t;
function qZ(e) {
- let { queryKey: t, jobOf: n = mEe, withJob: r = hEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
+ let { queryKey: t, jobOf: n = hEe, withJob: r = gEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
(0, F.useEffect)(() => {
l.current = e;
});
@@ -63329,7 +63330,7 @@ function qZ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? pEe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? mEe : i ?? !1;
}
}), d = Pt({
mutationFn: (e) => l.current.start(e),
@@ -63354,11 +63355,11 @@ function qZ(e) {
}
// src/react/follow-feed/follow-check.ts
var JZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function gEe(e, t) {
+function _Ee(e, t) {
return t ? JZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
// src/react/follow-feed/follow-check-button.tsx
-function _Ee({ sources: e, report: t }) {
+function vEe({ sources: e, report: t }) {
let n = JZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = qZ({
queryKey: Lr,
queryFn: ({ signal: e }) => gi(e),
@@ -63385,7 +63386,7 @@ function _Ee({ sources: e, report: t }) {
});
}
// src/react/follow-feed/follow-card.tsx
-var vEe = (e) => Number(e) > 0;
+var yEe = (e) => Number(e) > 0;
function YZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...r,
@@ -63400,7 +63401,7 @@ var XZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: DG(e) }
});
-function yEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function bEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
c(!1);
@@ -63423,8 +63424,8 @@ function yEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function bEe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ma(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => oye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ga(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = va({
+function xEe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ma(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => sye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ga(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = va({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -63469,7 +63470,7 @@ function bEe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(yEe, {
+ p ? /* @__PURE__ */ (0, I.jsx)(bEe, {
src: p,
fallback: m,
width: _?.width,
@@ -63510,7 +63511,7 @@ function bEe(e) {
},
dangerouslySetInnerHTML: { __html: z("check") }
}) : null,
- vEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ yEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-duration": "",
children: Kn(u.duration)
}) : null,
@@ -63620,7 +63621,7 @@ function bEe(e) {
/* @__PURE__ */ (0, I.jsx)("time", {
dateTime: u.published_at || "",
title: LG(u),
- children: aye(u)
+ children: oye(u)
}),
E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-credit": "",
@@ -63655,9 +63656,9 @@ function bEe(e) {
]
});
}
-var ZZ = (0, F.memo)(bEe);
+var ZZ = (0, F.memo)(xEe);
// src/react/components/use-masonry-grid.ts
-function xEe(e, t) {
+function SEe(e, t) {
let n = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let t = n.current;
@@ -63722,7 +63723,7 @@ function nQ(e, t) {
var rQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), SEe = TV("settings"), iQ = TV("chevron-down"), CEe = TV("history"), wEe = TV("arrow-up"), TEe = TV("arrow-down"), EEe = [[
+}), CEe = TV("settings"), iQ = TV("chevron-down"), wEe = TV("history"), TEe = TV("arrow-up"), EEe = TV("arrow-down"), DEe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -63731,7 +63732,7 @@ var rQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function DEe(e, t, n) {
+function OEe(e, t, n) {
return (0, F.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
@@ -63779,7 +63780,7 @@ function DEe(e, t, n) {
n
]);
}
-function OEe(e) {
+function kEe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Ft(ta(t, r)), o = Nt({
queryKey: na,
queryFn: ({ signal: e }) => ra(e)
@@ -63787,7 +63788,7 @@ function OEe(e) {
sources: s?.sources || [],
aliases: s?.author_aliases || [],
credentials: c
- }), [s, c]), u = DEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
+ }), [s, c]), u = OEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
(0, F.useEffect)(() => {
cm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });
}, [
@@ -63821,7 +63822,7 @@ function OEe(e) {
p,
i
]);
- let m = AEe(e, !!s);
+ let m = jEe(e, !!s);
if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-feed": "",
children: [/* @__PURE__ */ (0, I.jsx)(aQ, {}), /* @__PURE__ */ (0, I.jsx)(ZG, {
@@ -63866,20 +63867,20 @@ function OEe(e) {
dangerouslySetInnerHTML: { __html: Rs("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, I.jsx)(jEe, {
+ /* @__PURE__ */ (0, I.jsx)(MEe, {
facets: u,
pressed: u.author,
context: l,
props: e,
onPick: (e) => h({ author: u.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(MEe, {
+ /* @__PURE__ */ (0, I.jsx)(NEe, {
rows: u.workRows,
pressed: t.work,
props: e,
onPick: (e) => h({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(NEe, {
+ /* @__PURE__ */ (0, I.jsx)(PEe, {
facets: u,
view: t,
total: _,
@@ -63887,7 +63888,7 @@ function OEe(e) {
props: e,
route: h
}),
- /* @__PURE__ */ (0, I.jsx)(PEe, {
+ /* @__PURE__ */ (0, I.jsx)(FEe, {
conditions: g,
onDrop: (e) => i.route(wa(t, e)),
onClear: () => h({
@@ -63899,8 +63900,8 @@ function OEe(e) {
durMax: 0
})
}),
- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(FEe, { count: u.broken.length }) : null,
- /* @__PURE__ */ (0, I.jsx)(IEe, {
+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(IEe, { count: u.broken.length }) : null,
+ /* @__PURE__ */ (0, I.jsx)(LEe, {
retryKey: a.dataUpdatedAt,
pending: d,
facets: u,
@@ -63930,7 +63931,7 @@ function OEe(e) {
await a.fetchNextPage({ throwOnError: !0 });
},
children: [/* @__PURE__ */ (0, I.jsx)(iQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(kEe, {
+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(AEe, {
busy: a.isFetchingNextPage,
error: a.isFetchNextPageError ? yn(a.error) : "",
load: () => {
@@ -63941,7 +63942,7 @@ function OEe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- leadingIcon: m.olderBusy ? void 0 : CEe,
+ leadingIcon: m.olderBusy ? void 0 : wEe,
"data-follow-older": "",
"aria-busy": m.busy || void 0,
onClick: () => void m.start(!0),
@@ -63967,9 +63968,9 @@ function aQ({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(FL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(PL, {
variant: "secondary",
- leadingIcon: SEe,
+ leadingIcon: CEe,
"data-follow-manage": "",
href: oQ(),
children: "管理关注"
@@ -63977,7 +63978,7 @@ function aQ({ children: e }) {
})]
});
}
-function kEe({ busy: e, error: t, load: n }) {
+function AEe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-more": "",
@@ -63990,7 +63991,7 @@ function kEe({ busy: e, error: t, load: n }) {
onRetry: n
}) : null] });
}
-function AEe(e, t) {
+function jEe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({
helpers: n,
actions: r
@@ -64052,7 +64053,7 @@ function AEe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function jEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function MEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -64089,7 +64090,7 @@ function jEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function MEe({ rows: e, pressed: t, props: n, onPick: r }) {
+function NEe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -64110,13 +64111,13 @@ function MEe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function NEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = NL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = NL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function PEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = ML(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = ML(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, F.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, I.jsx)(OL, {
+ return /* @__PURE__ */ (0, I.jsx)(DL, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -64204,7 +64205,7 @@ function NEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: DG(t, n) }
}, t)),
_.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(rQ, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(kL, {
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(OL, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Ta(e.groups, n)}`,
@@ -64222,7 +64223,7 @@ function NEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
/* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
"data-follow-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,
busy: r
})
@@ -64238,7 +64239,7 @@ function NEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, {
label: "图片布局",
value: i.photoLayout,
- options: EEe,
+ options: DEe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -64269,8 +64270,8 @@ function NEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, I.jsx)(SG, {
- a: wEe,
- b: TEe,
+ a: TEe,
+ b: EEe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -64281,7 +64282,7 @@ function NEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function PEe({ conditions: e, onDrop: t, onClear: n }) {
+function FEe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -64306,21 +64307,21 @@ function PEe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function FEe({ count: e }) {
+function IEe({ count: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-broken": "",
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(oQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
var oQ = () => nQ(window.location.search);
-function IEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+function LEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
let { view: s, helpers: c } = i, l = s.media === "images";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
children: /* @__PURE__ */ (0, I.jsx)(QG, {
pending: e,
skeletonHtml: () => c.listSkeletonHtml(s.media),
- children: e ? null : /* @__PURE__ */ (0, I.jsx)(LEe, {
+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(REe, {
facets: t,
data: n,
context: r,
@@ -64332,12 +64333,12 @@ function IEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})
});
}
-function LEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
+function REe({ 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 ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, d = xEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = SEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
return f = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
return /* @__PURE__ */ (0, I.jsx)(ZZ, {
@@ -64354,7 +64355,7 @@ function LEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
onStatus: l.status,
onSave: l.save
}, `${u}:${s.media}`);
- }) : /* @__PURE__ */ (0, I.jsx)(REe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(zEe, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -64380,7 +64381,7 @@ function LEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
function sQ(e, t) {
return ma(e, t.media).id;
}
-function REe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function zEe({ data: e, filtered: t, clear: n, checkAction: r }) {
let i = !!e.groups.length || t, a = !!e.sources.length;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
@@ -64392,7 +64393,7 @@ function REe({ data: e, filtered: t, clear: n, checkAction: r }) {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(FL, {
+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64401,7 +64402,7 @@ function REe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var zEe = {
+var BEe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
@@ -64429,7 +64430,7 @@ function cQ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(zEe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(BEe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await H(Ar, {
item: t,
to: i
@@ -64474,7 +64475,7 @@ function cQ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function BEe(e) {
+function VEe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;
return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {
message: yn(t.error),
@@ -64487,7 +64488,7 @@ function BEe(e) {
children: /* @__PURE__ */ (0, I.jsxs)(QG, {
pending: a,
skeletonHtml: () => i.listSkeletonHtml(r),
- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(VEe, {
+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(HEe, {
...e,
data: n
}), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(DY, {
@@ -64500,7 +64501,7 @@ function BEe(e) {
})
});
}
-function VEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+function HEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
let u = cQ({
view: e,
revision: 0,
@@ -64532,11 +64533,11 @@ function VEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: u.status,
onSave: u.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, I.jsx)(HEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(UEe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: gEe(n.sources || [], e.author)
+ sources: _Ee(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list": "",
@@ -64545,7 +64546,7 @@ function VEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function HEe({ searched: e, clear: t, actions: n, sources: r }) {
+function UEe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
@@ -64556,10 +64557,10 @@ function HEe({ searched: e, clear: t, actions: n, sources: r }) {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(_Ee, {
+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(vEe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, I.jsx)(FL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64605,7 +64606,7 @@ function fQ(e, t) {
y1: a + r
});
}
-function UEe(e, t) {
+function WEe(e, t) {
if (!dQ(e) || !(t > 0)) return lQ(e);
let n = Math.min(e.width, e.height * t);
return uQ({
@@ -64615,7 +64616,7 @@ function UEe(e, t) {
y1: e.height
});
}
-function WEe(e, t, n) {
+function GEe(e, t, n) {
if (!dQ(t) || !(n > 0)) return lQ(t);
let r = pQ(e, t), i = fQ({
width: r.x1 - r.x0,
@@ -64664,7 +64665,7 @@ function hQ(e, t, n, r = null) {
y1: a + s / 2
}, n, r);
}
-function GEe(e, t, n, r, i = null) {
+function KEe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
@@ -64673,7 +64674,7 @@ function GEe(e, t, n, r, i = null) {
};
return pQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function KEe(e, t) {
+function qEe(e, t) {
return dQ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
@@ -64686,7 +64687,7 @@ function KEe(e, t) {
height: 0
};
}
-function qEe(e, t) {
+function JEe(e, t) {
if (!dQ(t)) return {
size: "cover",
position: "50% 50%"
@@ -64697,7 +64698,7 @@ function qEe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function JEe(e, t) {
+function YEe(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}%`,
@@ -64709,11 +64710,11 @@ function JEe(e, t) {
function gQ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function YEe(e, t) {
+function XEe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
// src/react/crop/crop-frame.tsx
-var XEe = .02, _Q = 1.08;
+var ZEe = .02, _Q = 1.08;
function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
(0, F.useEffect)(() => {
@@ -64751,14 +64752,14 @@ function vQ({ 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(mQ(n.box, o.dx, o.dy, r)) : i(GEe(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(mQ(n.box, o.dx, o.dy, r)) : i(KEe(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) * XEe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * ZEe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
@@ -64766,7 +64767,7 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
};
o[e.key] ? (e.preventDefault(), i(mQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(hQ(n, e.key === "-" ? 1 / _Q : _Q, r, t)));
}
- let v = n && r ? KEe(pQ(n, r, t), r) : null, y = v ? YEe(v, d) : !1, b = v ? {
+ let v = n && r ? qEe(pQ(n, r, t), r) : null, y = v ? XEe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -64846,12 +64847,12 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var ZEe = "/api/avatar-choices", yQ = "/api/avatar-pick", QEe = "/api/avatar-code-cover", bQ = "/api/avatar-frame", $Ee = "/avatar-choice", xQ = (e, t) => [
+var QEe = "/api/avatar-choices", yQ = "/api/avatar-pick", $Ee = "/api/avatar-code-cover", bQ = "/api/avatar-frame", eDe = "/avatar-choice", xQ = (e, t) => [
"avatar-choices",
e,
t
-], SQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, CQ = (e, t, n, r = "") => `${$Ee}${SQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), wQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", eDe = (e, t, n) => V(ZEe + SQ(e, t), n), tDe = (e) => H(QEe, { code: e });
-async function nDe(e, t, n) {
+], SQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, CQ = (e, t, n, r = "") => `${eDe}${SQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), wQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", tDe = (e, t, n) => V(QEe + SQ(e, t), n), nDe = (e) => H($Ee, { code: e });
+async function rDe(e, t, n) {
let r = await H(bQ, {
kind: e,
id: t,
@@ -64865,11 +64866,11 @@ async function nDe(e, t, n) {
bases: r.bases
};
}
-var rDe = (e, t, n) => H(bQ, {
+var iDe = (e, t, n) => H(bQ, {
kind: e,
id: t,
url: n
-}), iDe = (e, t, n) => TQ(`${bQ}${SQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+}), aDe = (e, t, n) => TQ(`${bQ}${SQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
async function TQ(e, t) {
let n = await fetch(e, {
method: "POST",
@@ -64881,13 +64882,13 @@ async function TQ(e, t) {
}
function EQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? WEe(e.focus, t, n) : fQ(t, n);
+ return e.focus && r ? GEe(e.focus, t, n) : fQ(t, n);
}
-var aDe = (e) => e.crop && dQ({
+var oDe = (e) => e.crop && dQ({
width: e.width,
height: e.height
});
-async function oDe(e, t, n) {
+async function sDe(e, t, n) {
if (!("file" in n)) {
await H(yQ, {
kind: e,
@@ -64905,16 +64906,16 @@ async function oDe(e, t, n) {
await TQ(`${yQ}${SQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
var DQ = 2;
-function sDe(e, t) {
+function cDe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按${`「${n.slice(0, DQ).join("」「")}」`}${n.length > DQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var cDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function lDe(e) {
- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${cDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var lDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function uDe(e) {
+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${lDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var OQ = (e) => e.cast > 1, uDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, dDe = {
+var OQ = (e) => e.cast > 1, dDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, fDe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -64924,7 +64925,7 @@ var OQ = (e) => e.cast > 1, uDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function fDe(e) {
+function pDe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -64935,19 +64936,19 @@ function fDe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var pDe = (e) => `${dDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), mDe = 8, hDe = 3 / 4;
-async function gDe(e, t, n) {
+var mDe = (e) => `${fDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), hDe = 8, gDe = 3 / 4;
+async function _De(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await nDe(e, t, n.choice) };
- case "code": return { choice: await tDe(n.code) };
- case "url": return { choice: await rDe(e, t, n.url) };
+ case "choice": return { choice: await rDe(e, t, n.choice) };
+ case "code": return { choice: await nDe(n.code) };
+ case "url": return { choice: await iDe(e, t, n.url) };
case "file": return {
- choice: await iDe(e, t, n.file),
+ choice: await aDe(e, t, n.file),
file: n.file
};
}
}
-function _De({ kind: e, entityId: t, name: n, onPicked: r }) {
+function vDe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -64967,7 +64968,7 @@ function _De({ kind: e, entityId: t, name: n, onPicked: r }) {
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, I.jsx)(vDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(yDe, {
kind: e,
entityId: t,
name: n,
@@ -64976,10 +64977,10 @@ function _De({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+function yDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
let a = (0, F.useRef)(null), o = QV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = xQ(e, t), m = (0, F.useRef)(!1), h = Nt({
queryKey: p,
- queryFn: ({ signal: n }) => eDe(e, t, n),
+ queryFn: ({ signal: n }) => tDe(e, t, n),
retryOnMount: !0,
refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,
refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1
@@ -64988,12 +64989,12 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
m.current && U.removeQueries({ queryKey: xQ(e, t) });
}, [e, t]);
let g = Pt({
- mutationFn: (n) => oDe(e, t, n),
+ mutationFn: (n) => sDe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = Pt({
- mutationFn: (n) => gDe(e, t, n),
+ mutationFn: (n) => _De(e, t, n),
onMutate: () => {
g.reset();
},
@@ -65014,7 +65015,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let x = h.data, S = x?.choices ?? [], C = (g.error ? sr(g.error) : "") || (!d && _.error ? sr(_.error) : "") || (h.error ? sr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : lDe(x), E = !!C && !!h.error && C === sr(h.error), D = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? sr(g.error) : "") || (!d && _.error ? sr(_.error) : "") || (h.error ? sr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : uDe(x), E = !!C && !!h.error && C === sr(h.error), D = h.isPending || S.length > 0;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
@@ -65024,18 +65025,18 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(rR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(rW, {
+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(iW, {
color: "soft",
children: [S.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? uDe(d.choice) : sDe(n, x)
+ children: d ? dDe(d.choice) : cDe(n, x)
}),
T ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
@@ -65056,14 +65057,14 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(CL, {
+ /* @__PURE__ */ (0, I.jsx)(SL, {
icon: BB,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, I.jsx)(bDe, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(xDe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -65083,7 +65084,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": h.isPending || void 0,
"data-skeleton": h.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: h.isPending ? Array.from({ length: mDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: hDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -65096,7 +65097,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: pDe(n),
+ title: mDe(n),
...DV(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
@@ -65106,7 +65107,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, I.jsx)(yDe, {
+ /* @__PURE__ */ (0, I.jsx)(bDe, {
src: CQ(e, t, n.ref, wQ(n, n.ref)),
choice: n
}),
@@ -65116,7 +65117,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: /* @__PURE__ */ (0, I.jsx)(iW, {
variant: "caption",
color: "gray",
children: "在用"
@@ -65124,7 +65125,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null,
OQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, I.jsxs)(rW, {
+ children: /* @__PURE__ */ (0, I.jsxs)(iW, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -65209,7 +65210,7 @@ function vDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function yDe({ src: e, choice: t }) {
+function bDe({ src: e, choice: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);
(0, F.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -65217,7 +65218,7 @@ function yDe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = aDe(t) ? JEe(EQ(t, s, hDe), s) : null, l = r || a ? !0 : void 0;
+ }, c = oDe(t) ? YEe(EQ(t, s, gDe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -65243,12 +65244,12 @@ function yDe({ src: e, choice: t }) {
})]
});
}
-function bDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+function xDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = wQ(n, s), m = CQ(e, t, s, p), h = QV();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? qEe(d, l) : null;
+ let _ = d && l ? JEe(d, l) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
@@ -65273,7 +65274,7 @@ function bDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: fDe(e)
+ children: pDe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65405,7 +65406,7 @@ function AQ({ item: e, image: t, thumbnail: n = !1 }) {
}
// src/react/components/source-avatar.tsx
function jQ({ code: e, person: t, detail: n = !1 }) {
- bL();
+ yL();
let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");
(0, F.useEffect)(() => {
if (!r.current || i) return;
@@ -65562,7 +65563,7 @@ function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function xDe({ following: e, busy: t, onToggle: n, tip: r }) {
+function SDe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {
FQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
@@ -65614,29 +65615,29 @@ function xDe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function SDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function CDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, I.jsxs)(Ype, {
+ }, []), /* @__PURE__ */ (0, I.jsxs)(Xpe, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, I.jsx)(tR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eR, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
children: /* @__PURE__ */ (0, I.jsx)(NQ, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, I.jsx)(Oz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Dz, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
className: WV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, I.jsxs)(Zpe, {
+ children: /* @__PURE__ */ (0, I.jsxs)(Qpe, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(Iz, {
+ /* @__PURE__ */ (0, I.jsx)(Fz, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -65644,15 +65645,15 @@ function SDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Rz, {
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Lz, {
id: e.value,
textValue: e.label,
"data-namepick-name": e.value,
children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
}, e.value))
}),
- /* @__PURE__ */ (0, I.jsx)(Mpe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, I.jsx)(Iz, { children: /* @__PURE__ */ (0, I.jsxs)(Rz, {
+ /* @__PURE__ */ (0, I.jsx)(Npe, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, I.jsx)(Fz, { children: /* @__PURE__ */ (0, I.jsxs)(Lz, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
@@ -65664,8 +65665,8 @@ function SDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
})]
});
}
-var CDe = (e) => e === "studio" || e === "agency", RQ = (e) => e === "performer" || e === "creator", wDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function TDe(e, t = "zh-CN") {
+var wDe = (e) => e === "studio" || e === "agency", RQ = (e) => e === "performer" || e === "creator", TDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function EDe(e, t = "zh-CN") {
return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({
value: e,
label: e
@@ -65688,7 +65689,7 @@ function BQ(e, t) {
return r && [e.label, n].map(Vn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
var VQ = (e) => ({ site: Ln(e) });
-function EDe(e, t) {
+function DDe(e, t) {
let n = zQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
@@ -65730,9 +65731,9 @@ function EDe(e, t) {
mark: VQ(e)
};
});
- return [...r, ...DDe(a)];
+ return [...r, ...ODe(a)];
}
-function DDe(e) {
+function ODe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -65741,7 +65742,7 @@ function DDe(e) {
}];
}
var HQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function ODe(e) {
+function kDe(e) {
return [
[
"legal_name",
@@ -65797,7 +65798,7 @@ function ODe(e) {
}]
}] : []);
}
-function kDe(e) {
+function ADe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -65861,7 +65862,7 @@ function UQ(e, t = 4) {
rest: e.length - n
};
}
-function ADe(e) {
+function jDe(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 ? {
@@ -65871,7 +65872,7 @@ function ADe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function jDe(e) {
+function MDe(e) {
return mo({
id: e.id,
hasImage: e.has_image,
@@ -65882,9 +65883,9 @@ function jDe(e) {
standIn: e.avatar_stand_in
});
}
-function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- bL();
- let s = en(e, n.canonical_name, Number(n.id)), c = tn(e, n.canonical_name, Number(n.id)), l = RQ(e), u = CDe(e), d = l ? kDe(n.profile) : u ? ODe(n.company_profile) : [], f = EDe(n, e), p = HQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
+function NDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ yL();
+ let s = en(e, n.canonical_name, Number(n.id)), c = tn(e, n.canonical_name, Number(n.id)), l = RQ(e), u = wDe(e), d = l ? ADe(n.profile) : u ? kDe(n.company_profile) : [], f = DDe(n, e), p = HQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.wireScroller(h.current);
}, [o, f.length]), (0, F.useEffect)(() => {
@@ -65897,7 +65898,7 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, I.jsx)(NDe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(PDe, {
kind: e,
name: s,
helpers: o,
@@ -65905,7 +65906,7 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: u
}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, I.jsx)(_De, {
+ children: /* @__PURE__ */ (0, I.jsx)(vDe, {
kind: e,
entityId: Number(n.id),
name: s || t,
@@ -65920,13 +65921,13 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, I.jsx)("h2", {
- lang: nL(s),
+ lang: tL(s),
title: c || void 0,
children: s
}),
- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(SDe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(CDe, {
current: n.canonical_name,
- choices: TDe(n, Jt()),
+ choices: EDe(n, Jt()),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
@@ -65944,7 +65945,7 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
className: "text-caption-1-regular text-text-secondary",
children: c
}) : null,
- /* @__PURE__ */ (0, I.jsx)(PDe, {
+ /* @__PURE__ */ (0, I.jsx)(FDe, {
kind: e,
entity: n,
actions: a
@@ -65965,14 +65966,14 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
f.length ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: h,
"data-entity-links": "",
- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(BDe, { link: e }, t))
+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(VDe, { link: e }, t))
}) : null,
- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(VDe, {
+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(HDe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(LDe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(RDe, {
follow: n.follow,
displayName: s,
actions: a
@@ -65981,11 +65982,11 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
"data-entity-facts": "",
- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(RDe, {
+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(zDe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(zDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(BDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -66004,7 +66005,7 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${B(Qn(en("performer", e.k, e.id)))}</span>${jDe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${B(Qn(en("performer", e.k, e.id)))}</span>${MDe(e)}` }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-costar-name": "",
children: en("performer", e.k, e.id)
@@ -66019,7 +66020,7 @@ function MDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function NDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function PDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${B(Qn(t))}</span>`);
return (0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-portrait-initial]");
@@ -66033,7 +66034,7 @@ function NDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function PDe({ kind: e, entity: t, actions: n }) {
+function FDe({ kind: e, entity: t, actions: n }) {
let r = zQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {
@@ -66043,7 +66044,7 @@ function PDe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = t.name_display?.groups[Jt()] ?? t.name_groups, r = ADe(e);
+ let e = t.name_display?.groups[Jt()] ?? t.name_groups, r = jDe(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
@@ -66053,7 +66054,7 @@ function PDe({ kind: e, entity: t, actions: n }) {
title: "视频",
children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(IDe, {
+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(LDe, {
follow: t.follow,
actions: n
}) : null,
@@ -66070,7 +66071,7 @@ function PDe({ kind: e, entity: t, actions: n }) {
"data-alias-names": "",
title: "别名",
children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
- lang: nL(e),
+ lang: tL(e),
children: e
}, t))
}),
@@ -66123,11 +66124,11 @@ function PDe({ kind: e, entity: t, actions: n }) {
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, I.jsx)(FDe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, I.jsx)(IDe, { aliases: s }) : null
]
});
}
-function FDe({ aliases: e }) {
+function IDe({ aliases: e }) {
let { shown: t, rest: n } = UQ(e, 3);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
@@ -66150,7 +66151,7 @@ function FDe({ aliases: e }) {
]
});
}
-function IDe({ follow: e, actions: t }) {
+function LDe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
@@ -66165,7 +66166,7 @@ function IDe({ follow: e, actions: t }) {
})]
});
}
-function LDe({ follow: e, displayName: t, actions: n }) {
+function RDe({ follow: e, displayName: t, actions: n }) {
let [r, i] = (0, F.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -66211,19 +66212,19 @@ function GQ({ label: e, names: t }) {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pop-name": "",
- lang: nL(e.name),
+ lang: tL(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function RDe({ glyph: e, label: t, clip: n, children: r }) {
+function zDe({ glyph: e, label: t, clip: n, children: r }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function zDe({ tags: e }) {
+function BDe({ tags: e }) {
let { shown: t, rest: n } = UQ(e);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-fact-tag": "",
@@ -66256,7 +66257,7 @@ function KQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function BDe({ link: e }) {
+function VDe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {
"data-link": "icon",
@@ -66304,7 +66305,7 @@ function BDe({ link: e }) {
});
}
}
-function VDe({ entity: e, actions: t, helpers: n }) {
+function HDe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -66336,19 +66337,19 @@ function VDe({ entity: e, actions: t, helpers: n }) {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(xDe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(SDe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: wDe(r)
+ tip: TDe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var HDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function UDe(e, t, n) {
+var UDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function WDe(e, t, n) {
let [r, i] = (0, F.useState)(() => ha(e));
r.author !== e && i(ha(e));
let [a, o] = (0, F.useState)({
@@ -66427,7 +66428,7 @@ function UDe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: Qi,
- seed: HDe()
+ seed: UDe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -66457,7 +66458,7 @@ function UDe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function WDe(e) {
+function GDe(e) {
let { kind: t, name: n } = e, r = Nt(sZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
@@ -66481,7 +66482,7 @@ function WDe(e) {
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(qDe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(JDe, {
...e,
entity: r.data
});
@@ -66498,17 +66499,17 @@ function qQ(e) {
};
return n(r), r.n;
}
-var GDe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function KDe(e, t) {
+var KDe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function qDe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function qDe(e) {
+function JDe(e) {
let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Ft(cZ(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || lZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
} : eZ, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
S !== x && (C(x), b("videos"));
- let w = l && y === "people" && u.length ? "people" : v.media, T = UDe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = WDe(g, w === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
@@ -66741,7 +66742,7 @@ function qDe(e) {
await U.fetchQuery(a).catch(() => null);
return;
}
- let r = GDe(), a = await U.fetchInfiniteQuery(cZ(t, n, re, r)).catch(() => null);
+ let r = KDe(), a = await U.fetchInfiniteQuery(cZ(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -66776,7 +66777,7 @@ function qDe(e) {
k: e.k,
label: Nl(e.k),
n: e.n,
- selected: DTe(i.tag, e.k)
+ selected: OTe(i.tag, e.k)
})), we = [
u.length,
!_,
@@ -66818,7 +66819,7 @@ function qDe(e) {
Ne = !A.data;
let e = rZ(i.tag).length;
Me = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Me = Ee ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : KDe(oe, lZ(oe).length) : Ne = ae.isPending;
+ } else oe && !oe.error ? Me = Ee ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : qDe(oe, lZ(oe).length) : Ne = ae.isPending;
let Pe = (0, F.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -66835,7 +66836,7 @@ function qDe(e) {
u
]);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(MDe, {
+ /* @__PURE__ */ (0, I.jsx)(NDe, {
kind: t,
name: n,
entity: r,
@@ -66845,7 +66846,7 @@ function qDe(e) {
actions: ye,
helpers: be
}, D),
- (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(dye, {
+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(fye, {
kind: t,
name: n,
view: w,
@@ -66862,9 +66863,9 @@ function qDe(e) {
actions: xe,
helpers: Se
}), c.filter),
- (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Zve, {
+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Qve, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(BEe, {
+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(VEe, {
view: T.view,
media: T.media,
result: T.result,
@@ -66883,11 +66884,11 @@ function qDe(e) {
onRetry: () => {
A.refetch();
}
- }) : Ae ? /* @__PURE__ */ (0, I.jsx)(JDe, {
+ }) : Ae ? /* @__PURE__ */ (0, I.jsx)(YDe, {
filtered: ke,
onShowAll: je,
onOnline: g ? () => xe.setView("online") : void 0
- }) : /* @__PURE__ */ (0, I.jsx)(oEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(sEe, {
kind: t,
name: n,
view: w,
@@ -66920,7 +66921,7 @@ function qDe(e) {
}), c.body)
] });
}
-function JDe({ filtered: e, onShowAll: t, onOnline: n }) {
+function YDe({ filtered: e, onShowAll: t, onOnline: n }) {
return e ? /* @__PURE__ */ (0, I.jsx)(CV, {
icon: TV("search"),
title: "没有符合条件的视频",
@@ -66937,7 +66938,7 @@ function JDe({ filtered: e, onShowAll: t, onOnline: n }) {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, I.jsx)(FL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -66947,7 +66948,7 @@ function JDe({ filtered: e, onShowAll: t, onOnline: n }) {
}
// src/react/diagnostics/diagnostics.ts
var JQ = ["diagnostics"], YQ = (e) => V("/api/diagnostics", e);
-async function YDe(e) {
+async function XDe(e) {
await U.fetchQuery({
queryKey: JQ,
queryFn: () => YQ(e),
@@ -66955,7 +66956,7 @@ async function YDe(e) {
});
}
// src/react/feed-new/feed-new-page.tsx
-function XDe({ host: e, revision: t, helpers: n, actions: r }) {
+function ZDe({ host: e, revision: t, helpers: n, actions: r }) {
let i = Nt(ZX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: XX(null) }));
@@ -66968,7 +66969,7 @@ function XDe({ host: e, revision: t, helpers: n, actions: r }) {
}), e);
}
// src/react/index/index-search.tsx
-var ZDe = TV("search");
+var QDe = TV("search");
function XQ({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
@@ -66994,7 +66995,7 @@ function XQ({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, I.jsx)(vV, {
type: "search",
- leadingIcon: ZDe,
+ leadingIcon: QDe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -67053,7 +67054,7 @@ var $Q = () => /* @__PURE__ */ (0, I.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function QDe({ tag: e, actions: t }) {
+function $De({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -67104,7 +67105,7 @@ function n$({ groups: e, actions: t }) {
children: [e, /* @__PURE__ */ (0, I.jsx)(DW, { value: n.length })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(QDe, {
+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)($De, {
tag: e,
actions: t
}, e.k))
@@ -67112,7 +67113,7 @@ function n$({ groups: e, actions: t }) {
}, e))
});
}
-var $De = "\xA0";
+var eOe = "\xA0";
function r$({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-tag-cloud": "",
@@ -67131,7 +67132,7 @@ function r$({ tags: e, actions: t }) {
className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
- children: e.label + $De
+ children: e.label + eOe
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -67149,7 +67150,7 @@ function r$({ tags: e, actions: t }) {
}, e.k))
});
}
-var eOe = [[
+var tOe = [[
"cloud",
"标签云",
"tags"
@@ -67159,28 +67160,28 @@ var eOe = [[
"text-aa"
]];
function i$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = EL();
- return /* @__PURE__ */ (0, I.jsx)(OL, {
+ let d = TL();
+ return /* @__PURE__ */ (0, I.jsx)(DL, {
label: "标签筛选",
topLabel: "标签类型",
top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": "标签状态",
className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",
- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(kL, {
+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(OL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !l.blocked && l.hidden === e,
onPress: () => l.onChange(!!e),
children: t
- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(kL, {
+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(OL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !!l.blocked,
onPress: l.onBlocked,
children: "已屏蔽内容"
}) : null]
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(kL, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(OL, {
"data-tag-pill": "",
"data-tag-cat": e === "all" ? "all" : CZ(n, e),
pressed: t === e,
@@ -67206,15 +67207,15 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Jz, {
+ /* @__PURE__ */ (0, I.jsx)(qz, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
className: `ml-auto ${yU}`,
- children: eOe.map(([e, t, n]) => {
+ children: tOe.map(([e, t, n]) => {
let r = TV(n);
- return /* @__PURE__ */ (0, I.jsx)(Yz, {
+ return /* @__PURE__ */ (0, I.jsx)(Jz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -67230,8 +67231,8 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function tOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, I.jsxs)(Mj, {
+function nOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, I.jsxs)(jj, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
@@ -67271,14 +67272,14 @@ var a$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), o$ = null, s$ = { "--floating-radius": "var(--radius-2xl)" };
-function c$() {
+}), o$ = null, s$ = { "--floating-radius": "var(--radius-2xl)" }, c$ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
+function l$() {
let e = o$;
o$ = null, e?.root.unmount();
}
-var l$ = (e, t) => {
+var u$ = (e, t) => {
if (o$?.host === e) return;
- c$();
+ l$();
let n = (0, Lt.createRoot)(e);
o$ = {
host: e,
@@ -67294,12 +67295,12 @@ var l$ = (e, t) => {
},
offset: {
right: 24,
- bottom: "calc(var(--toast-bottom, 24px) + var(--processing-toast-space, 0px))"
+ bottom: `calc(${c$(24)} + var(--processing-toast-space, 0px))`
},
mobileOffset: {
right: 16,
left: 16,
- bottom: "calc(var(--toast-bottom, 16px) + var(--processing-toast-space, 0px))"
+ bottom: `calc(${c$(16)} + var(--processing-toast-space, 0px))`
},
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
@@ -67318,23 +67319,23 @@ var l$ = (e, t) => {
},
offset: {
right: 24,
- bottom: "var(--toast-bottom, 24px)"
+ bottom: c$(24)
},
mobileOffset: {
right: 16,
left: 16,
- bottom: "var(--toast-bottom, 16px)"
+ bottom: c$(16)
},
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, nOe = 6e3, u$ = (e, t) => {
+}, rOe = 6e3, d$ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
let n = t.alert ? rH.error : rH.success, r = t.action;
n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : nOe,
+ duration: t.timeout > 0 ? t.timeout : rOe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -67342,7 +67343,7 @@ var l$ = (e, t) => {
}
} : void 0
});
-}, d$ = (e) => e.id ?? e.entity_id, f$ = {
+}, f$ = (e) => e.id ?? e.entity_id, p$ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -67350,26 +67351,26 @@ var l$ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, p$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);
-async function m$(e, t, n) {
+}, m$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);
+async function h$(e, t, n) {
if (n?.aborted) return !1;
let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;
return !(await al({
- title: f$[e.operation],
+ title: p$[e.operation],
body: i,
- confirmLabel: f$[e.operation],
+ confirmLabel: p$[e.operation],
onConfirm: () => H("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), u$(`tag-management-${Date.now()}`, {
- html: `已${f$[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), d$(`tag-management-${Date.now()}`, {
+ html: `已${p$[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function g$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, F.useRef)({
operation: e,
selected: t,
@@ -67378,24 +67379,24 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
scope: i
}), o = (0, F.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? d$(t[0]) : 0
+ target_id: t[0] ? f$(t[0]) : 0
}), [s, c] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let e = new AbortController(), t = a.current, n = rl({
- title: f$[t.operation],
+ title: p$[t.operation],
confirmLabel: "预览影响范围",
confirmDisabled: !0,
body: "<div class=\"peach-react\" data-tag-editor-fields></div>",
onConfirm: async () => {
let n = {
operation: t.operation,
- ids: t.selected.map(d$),
+ ids: t.selected.map(f$),
...t.scope === "online" ? { scope: t.scope } : {},
...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }
};
return {
command: n,
- plan: await p$(n, e.signal)
+ plan: await m$(n, e.signal)
};
}
});
@@ -67406,14 +67407,14 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await m$(r.command, r.plan, e.signal) && t.done();
+ await h$(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(rOe, {
+ }, []), s ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(iOe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -67422,8 +67423,8 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function rOe({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? d$(t[0]) : 0);
+function iOe({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? f$(t[0]) : 0);
return (0, F.useEffect)(() => {
r({
name: i,
@@ -67447,17 +67448,17 @@ function rOe({ operation: e, selected: t, dialog: n, update: r }) {
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(d$(t)) === String(e));
- n && s(d$(n));
+ let n = t.find((t) => String(f$(t)) === String(e));
+ n && s(f$(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(tW, {
- id: String(d$(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(nW, {
+ id: String(f$(e)),
children: e.k
- }, d$(e)))
+ }, f$(e)))
});
}
// src/react/index/tag-manager.tsx
-function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function _$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([
o,
_,
@@ -67496,11 +67497,11 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
...e,
scope: o
} : e;
- return m$(n, await p$(n, t), t);
+ return h$(n, await m$(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, ae = re.map(d$), oe = {
+ }, ae = re.map(f$), oe = {
online: s,
favorites: s,
picked: k,
@@ -67555,7 +67556,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
} } : {}
},
actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(AL, {
+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(kL, {
busy: M.busy === "repair",
onPress: () => ie({
operation: "repair",
@@ -67563,11 +67564,11 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
children: "整理重复标签"
}) : null,
- N.length ? /* @__PURE__ */ (0, I.jsx)(AL, {
+ N.length ? /* @__PURE__ */ (0, I.jsx)(kL, {
onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),
children: "选择本页"
}) : null,
- k.size ? /* @__PURE__ */ (0, I.jsx)(AL, {
+ k.size ? /* @__PURE__ */ (0, I.jsx)(kL, {
onPress: () => O(/* @__PURE__ */ new Map()),
children: "清空选择"
}) : null
@@ -67610,7 +67611,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, I.jsxs)(Mj, {
+ /* @__PURE__ */ (0, I.jsxs)(jj, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -67651,7 +67652,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, I.jsx)(h$, {
+ A ? /* @__PURE__ */ (0, I.jsx)(g$, {
operation: A,
selected: re,
scope: o,
@@ -67662,7 +67663,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var iOe = [
+var aOe = [
{
value: "studios",
label: "厂牌",
@@ -67678,7 +67679,7 @@ var iOe = [
label: "系列",
symbol: "list"
}
-], aOe = [{
+], oOe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -67686,7 +67687,7 @@ var iOe = [
value: "online",
label: "在线",
symbol: "rss"
-}], oOe = [
+}], sOe = [
{
value: "performers",
label: "艺人",
@@ -67702,7 +67703,7 @@ var iOe = [
label: "在线",
symbol: "rss"
}
-], sOe = {
+], cOe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -67731,7 +67732,7 @@ var iOe = [
"layout-grid"
]]
};
-function cOe({ kind: e, layout: t, onChange: n }) {
+function lOe({ kind: e, layout: t, onChange: n }) {
return /* @__PURE__ */ (0, I.jsx)(gU, {
"aria-label": `${fZ[e]}索引版式`,
orientation: "horizontal",
@@ -67739,9 +67740,9 @@ function cOe({ kind: e, layout: t, onChange: n }) {
onChange: (e) => n(e),
"data-index-layout": "",
className: `flex-none ${_U}`,
- children: sOe[e === "series" ? "series" : _Z(e) ? "company" : "people"].map(([e, t, n]) => {
+ children: cOe[e === "series" ? "series" : _Z(e) ? "company" : "people"].map(([e, t, n]) => {
let r = TV(n);
- return /* @__PURE__ */ (0, I.jsx)(Yz, {
+ return /* @__PURE__ */ (0, I.jsx)(Jz, {
value: e,
"aria-label": t,
className: nve,
@@ -67754,7 +67755,7 @@ function cOe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function lOe(e) {
+function uOe(e) {
let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => vZ({
kind: e.kind,
q: e.q,
@@ -67803,7 +67804,7 @@ function lOe(e) {
getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,
enabled: !(t && h === "tags"),
placeholderData: Oe
- }), O = HTe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
+ }), O = UTe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
(0, F.useEffect)(() => {
cm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });
}, [
@@ -67812,7 +67813,7 @@ function lOe(e) {
D.isPlaceholderData,
r
]), QQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : UTe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : WTe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
te && !D.isPlaceholderData && (N.current = {
key: ee,
counts: te
@@ -67836,7 +67837,7 @@ function lOe(e) {
]), oe = (t) => {
l(t), e.savePreference({ layout: t });
}, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(kW, {
- tabs: aOe,
+ tabs: oOe,
value: _,
label: "词表",
onChange: (e) => {
@@ -67847,7 +67848,7 @@ function lOe(e) {
});
}
}) : _Z(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(kW, {
- tabs: iOe,
+ tabs: aOe,
value: h,
label: "资料类型",
onChange: (e) => C({ kind: e })
@@ -67874,7 +67875,7 @@ function lOe(e) {
gZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
text: k ? void 0 : D.isError ? "" : M,
busy: k,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -67883,7 +67884,7 @@ function lOe(e) {
})
})
}) : null,
- gZ(h) ? /* @__PURE__ */ (0, I.jsx)(cOe, {
+ gZ(h) ? /* @__PURE__ */ (0, I.jsx)(lOe, {
kind: h,
layout: c,
onChange: oe
@@ -67912,7 +67913,7 @@ function lOe(e) {
]
}),
h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(kW, {
- tabs: oOe,
+ tabs: sOe,
value: S ? "online" : h,
label: "人物名册",
onChange: (t) => {
@@ -67924,7 +67925,7 @@ function lOe(e) {
}
}) : null,
se,
- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(g$, {
+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(_$, {
scope: _,
search: g,
category: y,
@@ -67985,7 +67986,7 @@ function lOe(e) {
}),
children: yn(D.error)
});
- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(dOe, {
+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(fOe, {
kind: h,
filtered: !!g || y !== "all",
online: x || S,
@@ -67994,7 +67995,7 @@ function lOe(e) {
category: "all"
})
});
- if (S) return /* @__PURE__ */ (0, I.jsx)(JTe, {
+ if (S) return /* @__PURE__ */ (0, I.jsx)(YTe, {
items: O,
layout: c,
props: e
@@ -68047,7 +68048,7 @@ function lOe(e) {
}) : null, "载入更多"]
})
}) : null,
- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(tOe, {
+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(nOe, {
count: u.size,
match: f,
onMatch: p,
@@ -68061,7 +68062,7 @@ function lOe(e) {
]
});
}
-var uOe = {
+var dOe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -68069,7 +68070,7 @@ var uOe = {
agencies: "事务所",
series: "系列"
};
-function dOe({ kind: e, filtered: t, online: n, onClear: r }) {
+function fOe({ kind: e, filtered: t, online: n, onClear: r }) {
if (t) return /* @__PURE__ */ (0, I.jsx)(CV, {
icon: TV("search"),
title: "没有符合条件的内容",
@@ -68080,7 +68081,7 @@ function dOe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : uOe[e], a = /* @__PURE__ */ (0, I.jsx)(FL, {
+ let i = n && e === "performers" ? "创作者" : dOe[e], a = /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
@@ -68089,7 +68090,7 @@ function dOe({ kind: e, filtered: t, online: n, onClear: r }) {
return /* @__PURE__ */ (0, I.jsx)(CV, {
icon: TV(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FL, {
+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -68097,15 +68098,15 @@ function dOe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var _$ = {
+var v$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, fOe = (e) => _$[e.junk_kind || "other"] || _$.other;
-function pOe(e) {
+}, pOe = (e) => v$[e.junk_kind || "other"] || v$.other;
+function mOe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -68116,40 +68117,40 @@ function pOe(e) {
glyph: "check"
};
}
-var v$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), mOe = (e, t) => [
+var y$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), hOe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function hOe({ kind: e, view: t }) {
+function gOe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function gOe(e, t) {
- let n = await V(`/api/ads?${hOe(e)}`, t);
+async function _Oe(e, t) {
+ let n = await V(`/api/ads?${gOe(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function y$({ name: e }) {
+function b$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var b$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = fOe(e), m = String(e.name || ""), h = pOe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || b$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var x$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function vOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = pOe(e), m = String(e.name || ""), h = mOe(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]") || x$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), b$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), x$(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) => {
@@ -68188,7 +68189,7 @@ function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -68200,7 +68201,7 @@ function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(y$, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(b$, { name: "check" })
})
]
}),
@@ -68237,7 +68238,7 @@ function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Rs("正在定位") }
- }) : /* @__PURE__ */ (0, I.jsx)(y$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : /* @__PURE__ */ (0, I.jsx)(b$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -68249,7 +68250,7 @@ function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -68261,7 +68262,7 @@ function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -68276,9 +68277,9 @@ function _Oe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var vOe = (0, F.memo)(_Oe);
+var yOe = (0, F.memo)(vOe);
// src/react/components/collection-summary.tsx
-function x$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function S$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -68304,31 +68305,31 @@ function x$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function S$({ name: e }) {
+function C$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function C$({ scope: e, count: t }) {
+function w$({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function yOe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = QV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = NL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? qU.map(([e]) => v$(t, e)).join(",") : ""}`), l = XU(s), u = (e) => {
+function bOe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = QV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = ML(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? JU.map(([e]) => y$(t, e)).join(",") : ""}`), l = ZU(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || YU()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || XU()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, I.jsx)(x$, {
- label: ZU(s),
+ children: /* @__PURE__ */ (0, I.jsx)(S$, {
+ label: QU(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -68348,17 +68349,17 @@ function yOe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- qU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
- href: YU(e, s),
+ JU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ href: XU(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(S$, { name: r }),
+ /* @__PURE__ */ (0, I.jsx)(C$, { name: r }),
n,
- /* @__PURE__ */ (0, I.jsx)(C$, {
+ /* @__PURE__ */ (0, I.jsx)(w$, {
scope: e,
- count: t ? v$(t, e) : 0
+ count: t ? y$(t, e) : 0
})
]
}, e || "all")),
@@ -68372,9 +68373,9 @@ function yOe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(S$, { name: l.glyph }),
+ /* @__PURE__ */ (0, I.jsx)(C$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, I.jsx)(C$, {
+ /* @__PURE__ */ (0, I.jsx)(w$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -68386,33 +68387,33 @@ function yOe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var bOe = TV("check"), xOe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function SOe(e) {
+var xOe = TV("check"), SOe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function COe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Nt({
- queryKey: mOe(t, e.revision),
- queryFn: ({ signal: e }) => gOe(t, e),
- placeholderData: (e, n) => n && xOe(n.queryKey, t) ? e : void 0
+ queryKey: hOe(t, e.revision),
+ queryFn: ({ signal: e }) => _Oe(t, e),
+ placeholderData: (e, n) => n && SOe(n.queryKey, t) ? e : void 0
});
(0, F.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = COe(e.countRow), i = n.isPending;
+ let r = wOe(e.countRow), i = n.isPending;
(0, F.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {
r && n.data && Xs(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(yOe, {
+ let { navigate: a } = e.actions, o = r ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(bOe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(wOe, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(TOe, {
props: e,
data: n.data,
pending: i,
@@ -68420,7 +68421,7 @@ function SOe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function COe(e) {
+function wOe(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -68430,8 +68431,8 @@ function COe(e) {
};
}, [e]), t;
}
-function wOe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = jye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
+function TOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Mye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -68446,9 +68447,9 @@ function wOe({ props: e, data: t, pending: n, error: r, retry: i }) {
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, I.jsx)(CV, {
- icon: bOe,
+ icon: xOe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, I.jsx)(FL, {
+ actions: t ? /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -68461,7 +68462,7 @@ function wOe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(vOe, {
+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(yOe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -68470,7 +68471,7 @@ function wOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(TOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(EOe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -68480,7 +68481,7 @@ function wOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function TOe({ onMore: e }) {
+function EOe({ onMore: e }) {
let t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let n = t.current;
@@ -68497,21 +68498,21 @@ function TOe({ onMore: e }) {
});
}
// src/react/components/fieldset-layout.ts
-var EOe = zH({
+var DOe = zH({
padding: "none",
className: "overflow-hidden"
-}), w$ = {
+}), T$ = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, T$ = {
+}, E$ = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
};
-function E$(e) {
- return `${EOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function D$(e) {
+ return `${DOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/react/data-cleanup/cleanup-entry.ts
-var D$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", O$ = {
+var O$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", k$ = {
face: zH({
padding: "none",
radius: "plain",
@@ -68524,25 +68525,25 @@ var D$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", O
summary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",
detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",
arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"
-}, DOe = [
+}, OOe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], OOe = [
+], kOe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function kOe(e = {}) {
+function AOe(e = {}) {
return `${zH({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var AOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", jOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function k$({ interactive: e = !1 } = {}) {
+var jOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", MOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function A$({ interactive: e = !1 } = {}) {
return zH({
padding: "none",
radius: "plain",
@@ -68550,8 +68551,8 @@ function k$({ interactive: e = !1 } = {}) {
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var A$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function MOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var j$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function NOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -68584,13 +68585,13 @@ function MOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet
})
] });
}
-function NOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function POe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, I.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${DOe[n % 4]} ${OOe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${OOe[n % 4]} ${kOe[n % 4]}`,
children: /* @__PURE__ */ (0, I.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -68611,102 +68612,102 @@ function NOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
] });
}
// src/management.ts
-var j$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", M$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", N$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", P$ = "disabled data-skeleton-action", POe = "aria-disabled=\"true\"", F$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, I$ = (e, t, n) => `<div class="${w$[n]}"><div class="flex flex-col gap-2">
+var M$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", N$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", P$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", F$ = "disabled data-skeleton-action", FOe = "aria-disabled=\"true\"", I$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, L$ = (e, t, n) => `<div class="${T$[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 FOe() {
- return F$(`<section aria-label="扫描与采集" class="${E$("stack")}" data-cleanup-task data-cleanup-processing>
- ${I$("扫描与采集", j$, "stack")}
- <footer class="${T$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Cs("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Es({
+function IOe() {
+ return I$(`<section aria-label="扫描与采集" class="${D$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${L$("扫描与采集", M$, "stack")}
+ <footer class="${E$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Cs("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Es({
label: "同步新增文件",
- attrs: P$
+ attrs: F$
})}${Es({
glyph: "chevron-down",
- attrs: `${P$} aria-label="更多同步方式"`
+ attrs: `${F$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function IOe() {
- return F$(`<section aria-label="媒体修复" class="${E$("split")}" data-cleanup-task data-cleanup-processing>
- ${I$("媒体修复", M$, "split")}
- <footer class="${T$.split}">${Os(N$, {
+function LOe() {
+ return I$(`<section aria-label="媒体修复" class="${D$("split")}" data-cleanup-task data-cleanup-processing>
+ ${L$("媒体修复", N$, "split")}
+ <footer class="${E$.split}">${Os(P$, {
className: "w-48",
- attrs: POe
+ attrs: FOe
})}${Es({
label: "开始修复",
- attrs: P$
+ attrs: F$
})}</footer>
</section>`);
}
-function LOe() {
- let e = (e, t, n, r = "") => `<div class="${O$.face}"><span class="${O$.icon}">${Cs(t, "size-5")}</span><span class="${O$.body}"><span class="${O$.title}">${e}</span><span class="${O$.summary}">${n}</span>${r ? `<span class="${O$.detail}">${r}</span>` : ""}</span>${Cs("chevron-right", O$.arrow)}</div>`, t = (e, t) => `<div class="${k$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Cs(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${N$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${N$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Kf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
+function ROe() {
+ let e = (e, t, n, r = "") => `<div class="${k$.face}"><span class="${k$.icon}">${Cs(t, "size-5")}</span><span class="${k$.body}"><span class="${k$.title}">${e}</span><span class="${k$.summary}">${n}</span>${r ? `<span class="${k$.detail}">${r}</span>` : ""}</span>${Cs("chevron-right", k$.arrow)}</div>`, t = (e, t) => `<div class="${A$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Cs(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${P$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${P$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Kf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${A$}">${[
+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${j$}">${[
["人工复核", "square-check-big"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["高清版", "sparkles"],
["回收站", "trash"]
].map(([e, n]) => t(e, n)).join("")}</div></section>
- <div id="libraryProcessing" class="scroll-mt-20">${FOe()}</div>
- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${D$}">${r(!1)}</div></section>
- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${D$}">${r(!0)}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${IOe()}</div>
+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${O$}">${r(!1)}</div></section>
+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${O$}">${r(!0)}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var ROe = zH({
+var zOe = zH({
padding: "none",
radius: "surface",
className: "overflow-hidden"
-}), zOe = "border-t border-border-button-default p-4 first:border-t-0";
-function BOe({ id: e, children: t }) {
+}), BOe = "border-t border-border-button-default p-4 first:border-t-0";
+function VOe({ id: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function L$({ id: e, gap: t = "none", children: n }) {
+function R$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function z$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: E$(e),
+ className: D$(e),
children: [/* @__PURE__ */ (0, I.jsx)("div", {
- className: w$[e],
+ className: T$[e],
children: a
}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {
- className: T$[e],
+ className: E$[e],
children: i
}) : null]
});
}
// src/react/components/status-label.tsx
-var VOe = {
+var HOe = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function z$({ tone: e = "neutral", ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(rW, {
+function B$({ tone: e = "neutral", ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(iW, {
"data-status-tone": e,
variant: "caption",
- color: VOe[e],
+ color: HOe[e],
...t
});
}
// src/react/components/path-line.tsx
-function HOe({ className: e }) {
+function UOe({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -68719,8 +68720,8 @@ function HOe({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })
});
}
-var UOe = "打开文件管理器失败,请重试";
-function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
+var WOe = "打开文件管理器失败,请重试";
+function V$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);
(0, F.useEffect)(() => () => {
l.current = !1;
@@ -68731,7 +68732,7 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
try {
await H("/api/reveal", { path: e }), i?.("已在资源管理器中显示");
} catch (e) {
- l.current && c(e instanceof ar ? e.message : UOe);
+ l.current && c(e instanceof ar ? e.message : WOe);
} finally {
l.current && o(!1);
}
@@ -68742,12 +68743,12 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("p", {
- className: YI("min-w-0 break-all", n),
+ className: JI("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(CL, {
- icon: HOe,
+ children: [/* @__PURE__ */ (0, I.jsx)(SL, {
+ icon: UOe,
size: "small",
"aria-label": "在资源管理器中显示",
onClick: () => void u(),
@@ -68761,7 +68762,7 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
});
}
// src/react/library-processing/issue-export.ts
-async function WOe(e, t) {
+async function GOe(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -68784,18 +68785,18 @@ async function WOe(e, t) {
rows: n
}, null, 2);
}
-function GOe(e, t) {
+function KOe(e, t) {
let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");
r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);
}
// src/react/library-processing/library-processing-card.tsx
-var KOe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", qOe = (e) => {
+var qOe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", JOe = (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(",")}。`;
-}, JOe = (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} 部视频预览。` : "") + qOe(e);
-function YOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+}, YOe = (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} 部视频预览。` : "") + JOe(e);
+function XOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
let a = f_e(e), o = DH(), s = DH(), [c, l] = (0, F.useState)(""), u = pH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = l_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && mH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = dH(e), y = QV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => H(lH, {
action: t ? "archive" : "unarchive",
job_id: e.job_id
@@ -68805,8 +68806,8 @@ function YOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
...DV(!!o.busy),
- onClick: () => void o.run("export", (t) => WOe(e, t), (t) => {
- GOe(e.job_id, t), i("已导出问题清单");
+ onClick: () => void o.run("export", (t) => GOe(e, t), (t) => {
+ KOe(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, S = p ? [
@@ -68824,12 +68825,12 @@ function YOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "warning",
title: "处理较慢",
- children: KOe
+ children: qOe
}) : null,
n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "success",
title: "处理完成",
- children: JOe(n)
+ children: YOe(n)
}) : null,
(n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
@@ -68902,7 +68903,7 @@ function YOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsx)(B$, {
+ children: /* @__PURE__ */ (0, I.jsx)(V$, {
path: _,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -68933,7 +68934,7 @@ function YOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function V$(e) {
+function H$(e) {
let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = RH(e), o = Pt({
mutationFn: (e) => H(lH, e),
onSuccess: (e) => {
@@ -68948,7 +68949,7 @@ function V$(e) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, I.jsx)(R$, {
+ children: [/* @__PURE__ */ (0, I.jsx)(z$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -68988,7 +68989,7 @@ function V$(e) {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(L$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(R$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(iW, {
variant: "caption",
color: "blue",
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69005,11 +69006,11 @@ function V$(e) {
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: j$
+ children: M$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, I.jsx)(z$, { children: "已暂停" })
+ children: /* @__PURE__ */ (0, I.jsx)(B$, { children: "已暂停" })
}) : pH(s) ? /* @__PURE__ */ (0, I.jsx)(A_e, { state: s }) : null,
pH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
@@ -69020,7 +69021,7 @@ function V$(e) {
pH(s) ? /* @__PURE__ */ (0, I.jsx)(LH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, I.jsx)(YOe, {
+ }), /* @__PURE__ */ (0, I.jsx)(XOe, {
state: s,
problem: u,
settled: i,
@@ -69035,32 +69036,32 @@ function V$(e) {
});
}
// src/react/playlists/playlists.ts
-var XOe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => V(XOe, e);
-async function ZOe(e) {
+var ZOe = "/api/playlists", U$ = "/api/playlist", W$ = ["playlists"], G$ = (e) => V(ZOe, e);
+async function QOe(e) {
await U.fetchQuery({
- queryKey: U$,
- queryFn: () => W$(e),
+ queryKey: W$,
+ queryFn: () => G$(e),
staleTime: 0
});
}
-var QOe = () => U.invalidateQueries({
- queryKey: U$,
+var $Oe = () => U.invalidateQueries({
+ queryKey: W$,
exact: !0
-}), $Oe = (e) => e.current_asset_id || e.preview_asset_id || null, eke = (e) => `/poster?id=${e}&c=4`, tke = (e) => H(H$, {
+}), eke = (e) => e.current_asset_id || e.preview_asset_id || null, tke = (e) => `/poster?id=${e}&c=4`, nke = (e) => H(U$, {
action: "create",
name: e,
asset_ids: []
-}), nke = (e, t) => H(H$, {
+}), rke = (e, t) => H(U$, {
action: "rename",
id: e,
name: t
-}), rke = (e) => H(H$, {
+}), ike = (e) => H(U$, {
action: "delete",
id: e
-}), ike = (e) => V(`${H$}?id=${e}`).catch(() => null);
-function ake(e) {
+}), ake = (e) => V(`${U$}?id=${e}`).catch(() => null);
+function oke(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return H(H$, {
+ return H(U$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -69069,13 +69070,9 @@ function ake(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => V(G$, e), oke = "/api/scraping", ske = "/api/scraping/settings", cke = "/api/scraping/check", J$ = "/api/scraping/cover", lke = "/api/scraping/amane-bridge", uke = "/api/scraping/amane-bridge/check", dke = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], fke = 262144, Q$ = (e) => V(oke, e), $$ = (e) => V(J$, e), e1 = (e) => V(lke, e);
-async function pke(e) {
+var K$ = "/api/custom-metadata", q$ = ["custom-metadata"], J$ = (e) => V(K$, e), ske = "/api/scraping", cke = "/api/scraping/settings", lke = "/api/scraping/check", Y$ = "/api/scraping/cover", uke = "/api/scraping/amane-bridge", dke = "/api/scraping/amane-bridge/check", fke = "/api/scraping/amane-bridge/rebuild", X$ = ["scraping"], Z$ = ["scraping", "cover"], Q$ = ["scraping", "amane-bridge"], pke = 262144, $$ = (e) => V(ske, e), e1 = (e) => V(Y$, e), t1 = (e) => V(uke, e);
+async function mke(e) {
await Promise.all([
- U.fetchQuery({
- queryKey: Y$,
- queryFn: () => Q$(e)
- }),
U.fetchQuery({
queryKey: X$,
queryFn: () => $$(e)
@@ -69085,36 +69082,40 @@ async function pke(e) {
queryFn: () => e1(e)
}),
U.fetchQuery({
- queryKey: K$,
- queryFn: () => q$(e)
+ queryKey: Q$,
+ queryFn: () => t1(e)
+ }),
+ U.fetchQuery({
+ queryKey: q$,
+ queryFn: () => J$(e)
})
]);
}
-function mke(e, t) {
+function hke(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
// src/react/search/search.ts
-var t1 = /* @__PURE__ */ new Set([
+var n1 = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), n1 = /* @__PURE__ */ new Set([
+]), r1 = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function hke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), i1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function gke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
let c = 0, l = [], u = (e) => {
let t = {
...e,
index: c++
};
return l.push(t), t;
- }, d = t.filter((t) => !e || r1(t).includes(r1(e)));
+ }, d = t.filter((t) => !e || i1(t).includes(i1(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -69135,8 +69136,8 @@ function hke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !n1.has(e.kind)),
- right: e.filter((e) => n1.has(e.kind)),
+ left: e.filter((e) => !r1.has(e.kind)),
+ right: e.filter((e) => r1.has(e.kind)),
empty: !1,
options: l
};
@@ -69186,7 +69187,7 @@ function hke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !r1.has(e.kind)).map(h), _ = m.filter((e) => r1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -69196,16 +69197,16 @@ function hke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function gke(e, t, n = Math.random) {
+function _ke(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => i1(t) === i1(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var _ke = () => ({
+var vke = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -69224,7 +69225,7 @@ var _ke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), i1 = (e) => hke({
+}), a1 = (e) => gke({
query: e.query,
history: e.history,
picks: e.picks,
@@ -69233,18 +69234,18 @@ var _ke = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), vke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+}), yke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), o1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
-function yke(e) {
+function bke(e) {
let t = (0, F.useRef)(e);
t.current = e;
let n = (0, F.useRef)(null);
- n.current ??= _ke();
+ n.current ??= vke();
let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);
- o.current ??= bke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= xke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, F.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {
@@ -69259,7 +69260,7 @@ function yke(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Ske, {
+ let c = a1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Cke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -69272,7 +69273,7 @@ function yke(e) {
children: [
/* @__PURE__ */ (0, I.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, I.jsx)("a", {
href: e.href,
- onMouseDown: o1,
+ onMouseDown: s1,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -69291,7 +69292,7 @@ function yke(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, I.jsx)(xke, {
+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(Ske, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -69318,7 +69319,7 @@ function yke(e) {
]
});
}
-function bke(e, t, n, r) {
+function xke(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 () => {
@@ -69329,7 +69330,7 @@ function bke(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) => r1(e) !== r1(t))]), H("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => i1(e) !== i1(t))]), H("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -69376,9 +69377,9 @@ function bke(e, t, n, r) {
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
if (t.dismissed) return;
- t.query = i().value.trim(), t.picks = t.query ? [] : gke(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : _ke(t.pool, o()), t.active = -1;
let a = n();
- a && (vke(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (yke(a1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -69390,7 +69391,7 @@ function bke(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {
a() && t.kind === e && h();
}));
- }, v = () => p() ? i1(t).options : [], y = (e) => {
+ }, v = () => p() ? a1(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) => {
@@ -69399,7 +69400,7 @@ function bke(e, t, n, r) {
}, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, S = (t) => {
- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && n1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -69445,13 +69446,13 @@ function bke(e, t, n, r) {
await H("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => i1(t) !== i1(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function xke({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Ske({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
r(i.current);
@@ -69467,7 +69468,7 @@ function xke({ tabs: e, kind: t, onPick: n, wire: r }) {
onClick: () => n(e),
children: [r, i ? /* @__PURE__ */ (0, I.jsx)(DW, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, I.jsxs)(QI, {
+ return /* @__PURE__ */ (0, I.jsxs)(ZI, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -69476,9 +69477,9 @@ function xke({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var o1 = (e) => e.preventDefault();
-function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
- bL();
+var s1 = (e) => e.preventDefault();
+function Cke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ yL();
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -69490,33 +69491,33 @@ function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: o1,
+ onMouseDown: s1,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, I.jsx)(a1, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(o1, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, I.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, I.jsx)(o1, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: o1,
+ onMouseDown: s1,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(a1, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(o1, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = n1.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -69530,8 +69531,8 @@ function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "work",
"data-open-item": c === "asset" ? s.id : void 0,
...o,
- onMouseDown: o1,
- children: [/* @__PURE__ */ (0, I.jsx)(s1, {
+ onMouseDown: s1,
+ children: [/* @__PURE__ */ (0, I.jsx)(c1, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69556,9 +69557,9 @@ function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: o1,
+ onMouseDown: s1,
children: [
- /* @__PURE__ */ (0, I.jsx)(c1, {
+ /* @__PURE__ */ (0, I.jsx)(l1, {
item: s,
kind: c
}),
@@ -69581,11 +69582,11 @@ function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: o1,
+ onMouseDown: s1,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
card: e,
helpers: n
})
@@ -69599,7 +69600,7 @@ function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(c1, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(l1, {
item: s,
kind: c
}) : null,
@@ -69612,13 +69613,13 @@ function Ske({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function s1({ card: e, helpers: t }) {
+function c1({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function c1({ item: e, kind: t }) {
+function l1({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -69637,24 +69638,24 @@ function c1({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var l1 = ["configuration"], u1 = (e) => V(uX, e);
-async function Cke(e) {
+var u1 = ["configuration"], d1 = (e) => V(uX, e);
+async function wke(e) {
await U.fetchQuery({
- queryKey: l1,
- queryFn: () => u1(e)
+ queryKey: u1,
+ queryFn: () => d1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var d1 = (e) => e.map(([e, t, n]) => n ? [
+var f1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);
return f.current = l, (0, F.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Yc(t, n, d1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Yc(t, n, f1(r), i, {
attr: a,
className: o,
text: s
@@ -69672,13 +69673,13 @@ function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function m1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);
return m.current = l, (0, F.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = fs(d1(n), r, { label: t });
+ e.innerHTML = fs(f1(n), r, { label: t });
let i = ps(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -69691,7 +69692,7 @@ function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function wke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Tke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({
onStep: a,
onSettle: o
@@ -69725,7 +69726,7 @@ function wke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var Tke = [
+var Eke = [
[
"strength",
"强度",
@@ -69752,8 +69753,8 @@ var Tke = [
100
]
];
-function Eke({ host: e, spot: t, index: n, glow: r }) {
- let i = Kce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = QV(), [l, u] = (0, F.useState)("all");
+function Dke({ host: e, spot: t, index: n, glow: r }) {
+ let i = qce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = QV(), [l, u] = (0, F.useState)("all");
(0, F.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -69766,7 +69767,7 @@ function Eke({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = oM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), is(), o.current?.focus();
+ r[t].color = aM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), is(), o.current?.focus();
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-glow-stop": t,
@@ -69791,7 +69792,7 @@ function Eke({ host: e, spot: t, index: n, glow: r }) {
children: d
})]
}),
- /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-down" })
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "popmenu",
@@ -69803,7 +69804,7 @@ function Eke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: Yce.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Xce.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -69817,7 +69818,7 @@ function Eke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: Xce.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Zce.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -69834,8 +69835,8 @@ function Eke({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Dke({ host: e }) {
- let t = e.store.value.homeGlow, n = $j(t.preset);
+function Oke({ host: e }) {
+ let t = e.store.value.homeGlow, n = Qj(t.preset);
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -69854,10 +69855,10 @@ function Dke({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {
"data-glow-preset-name": "",
- children: qce(t.preset)
+ children: Jce(t.preset)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(XM, {
+ /* @__PURE__ */ (0, I.jsx)(YM, {
store: e.store,
label: "光晕配色"
}),
@@ -69868,7 +69869,7 @@ function Dke({ host: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-fields": "",
- children: Tke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(wke, {
+ children: Eke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Tke, {
field: r,
label: i,
max: a,
@@ -69889,7 +69890,7 @@ function Dke({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = cM(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = sM(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -69908,7 +69909,7 @@ function Dke({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-stops": "",
- children: Xj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Eke, {
+ children: Yj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Dke, {
host: e,
spot: n,
index: r,
@@ -69920,7 +69921,7 @@ function Dke({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var Oke = {
+var kke = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -69967,22 +69968,22 @@ var Oke = {
optional: !0,
fallback: 60
}
-}, m1 = (e) => `peach.number.${e}`;
-function h1(e, t) {
+}, h1 = (e) => `peach.number.${e}`;
+function g1(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Oke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
- d.current ||= Rj(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);
+function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = kke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
+ d.current ||= Lj(Number(localStorage.getItem(h1(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);
y.current = i, (0, F.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let b = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(m1(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(h1(e), String(d.current)), y.current(d.current)));
}, x = (0, F.useRef)(b);
x.current = b, (0, F.useEffect)(() => {
let e = v.current;
@@ -69992,7 +69993,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let S = f > 0, C = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(h1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, w = r || n === null;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-number-setting": "",
@@ -70029,7 +70030,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": "true",
- children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]
+ children: [c, g1(Number(m), c) ? ` · ${g1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, I.jsx)("small", {
id: `${e}-error`,
@@ -70042,13 +70043,13 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function _1(e) {
+function v1(e) {
let { mutate: t } = SX();
return (0, F.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function v1(e, t, n, r) {
+function y1(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -70057,17 +70058,17 @@ function v1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var kke = "__home__", y1 = (e) => e === "" ? kke : e;
-function Ake({ host: e }) {
- let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
- let a = v1(n, e, r, i);
+var Ake = "__home__", b1 = (e) => e === "" ? Ake : e;
+function jke({ host: e }) {
+ let t = v1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
+ let a = y1(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => b1(e) === o) ?? a[0], y = () => {
h.current && ss(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -70088,7 +70089,7 @@ function Ake({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", b1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -70120,9 +70121,9 @@ function Ake({ host: e }) {
/* @__PURE__ */ (0, I.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)($F, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, I.jsx)($F, { name: a ?? "" }),
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: a ?? "" }),
/* @__PURE__ */ (0, I.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -70136,7 +70137,7 @@ function Ake({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70146,7 +70147,7 @@ function Ake({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70158,11 +70159,11 @@ function Ake({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, I.jsx)($F, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "eye-off" })
})
]
})]
- }, y1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
+ }, b1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -70178,13 +70179,13 @@ function Ake({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)($F, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)($F, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -70195,15 +70196,15 @@ function Ake({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": y1(e),
+ "data-sidebar-add-option": b1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(y1(e)), y(), m.current?.focus();
+ s(b1(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, I.jsx)($F, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
- }, y1(e)))
+ children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
+ }, b1(e)))
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70219,13 +70220,13 @@ function Ake({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var b1 = [
+var x1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], jke = [
+], Mke = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -70234,7 +70235,7 @@ var b1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Mke = [["desc", "降序"], ["asc", "升序"]], Nke = [[
+], Nke = [["desc", "降序"], ["asc", "升序"]], Pke = [[
"cover",
"官方封面",
""
@@ -70242,7 +70243,7 @@ var b1 = [
"thumbnail",
"预览图",
""
-]], Pke = [
+]], Fke = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -70261,88 +70262,88 @@ var b1 = [
"切片",
"隐藏切片"
]
-], Fke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {
+], Ike = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", S1 = null, C1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();
-function Ike(e) {
- return T1.add(e), () => {
- T1.delete(e);
+}, w1 = 0, T1 = null, E1 = /* @__PURE__ */ new Set();
+function Lke(e) {
+ return E1.add(e), () => {
+ E1.delete(e);
};
}
-function Lke() {
- for (let e of [...T1]) e();
+function Rke() {
+ for (let e of [...E1]) e();
}
-function E1(e) {
- S1 = {
- ...S1,
+function D1(e) {
+ C1 = {
+ ...C1,
...e
- }, (0, It.flushSync)(Lke);
+ }, (0, It.flushSync)(Rke);
}
-async function Rke(e) {
- let t = S1.epoch, n = await e.configurable();
- S1.open && S1.epoch === t && E1({ configurable: n });
+async function zke(e) {
+ let t = C1.epoch, n = await e.configurable();
+ C1.open && C1.epoch === t && D1({ configurable: n });
}
-function zke(e = "") {
- let t = x1;
+function Bke(e = "") {
+ let t = S1;
if (!t) return;
- let n = b1.findIndex(([t]) => t === e);
- if (S1.open && !S1.closing) {
- n >= 0 && n !== S1.tab && E1({ tab: n });
+ let n = x1.findIndex(([t]) => t === e);
+ if (C1.open && !C1.closing) {
+ n >= 0 && n !== C1.tab && D1({ tab: n });
return;
}
- is(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = Twe();
- E1({
+ is(), w1 += 1, T1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = Ewe();
+ D1({
open: !0,
closing: !1,
configurable: null,
- epoch: S1.epoch + 1,
- tab: n >= 0 ? n : S1.tab
+ epoch: C1.epoch + 1,
+ tab: n >= 0 ? n : C1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Rke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), zke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function D1(e = !0) {
- if (!S1.open || S1.closing) return;
- let t = ++C1;
- e && x1?.closed?.(), E1({ closing: !0 });
+function O1(e = !0) {
+ if (!C1.open || C1.closing) return;
+ let t = ++w1;
+ e && S1?.closed?.(), D1({ closing: !0 });
let n = () => {
- t === C1 && S1.closing && (E1({
+ t === w1 && C1.closing && (D1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), T1 instanceof HTMLElement && document.contains(T1) && T1.focus(), T1 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var Bke = {
- open: zke,
- close: D1,
- isOpen: () => S1.open,
+var Vke = {
+ open: Bke,
+ close: O1,
+ isOpen: () => C1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function Vke(e) {
- return x1 = e, Bke;
+function Hke(e) {
+ return S1 = e, Vke;
}
-function Hke() {
- let e = (0, F.useSyncExternalStore)(Ike, () => S1);
- return x1 ? /* @__PURE__ */ (0, I.jsx)(Gke, {
- host: x1,
+function Uke() {
+ let e = (0, F.useSyncExternalStore)(Lke, () => C1);
+ return S1 ? /* @__PURE__ */ (0, I.jsx)(Kke, {
+ host: S1,
view: e
}) : null;
}
-function Uke(e) {
+function Wke(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Fke)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Ike)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;
-function Wke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var k1 = (e) => `settings-tab-${e}`, A1 = (e) => `settings-group-${e}`;
+function Gke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -70370,7 +70371,7 @@ function Wke({ 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 = b1.length, r = t;
+ let n = x1.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;
@@ -70399,11 +70400,11 @@ function Wke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- b1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ x1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
- id: O1(r),
- "aria-controls": k1(r),
+ id: k1(r),
+ "aria-controls": A1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -70414,7 +70415,7 @@ function Wke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)($F, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Tde, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(QF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Ede, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-settings-service": "",
@@ -70425,25 +70426,25 @@ function Wke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)($F, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-right" })
]
})
})
]
});
}
-function A1({ index: e, tab: t, children: n, cards: r = !1 }) {
+function j1({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: k1(e),
+ id: A1(e),
role: "tabpanel",
- "aria-labelledby": O1(e),
+ "aria-labelledby": k1(e),
hidden: e !== t,
children: [
- /* @__PURE__ */ (0, I.jsx)("h3", { children: b1[e][0] }),
+ /* @__PURE__ */ (0, I.jsx)("h3", { children: x1[e][0] }),
/* @__PURE__ */ (0, I.jsx)(bve, { chapter: [
"appearance",
"playback",
@@ -70455,7 +70456,7 @@ function A1({ index: e, tab: t, children: n, cards: r = !1 }) {
]
});
}
-function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, I.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {
@@ -70472,7 +70473,7 @@ function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function M1({ title: e, description: t, kind: n, children: r }) {
+function N1({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -70480,7 +70481,7 @@ function M1({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]
});
}
-function Gke({ host: e, view: t }) {
+function Kke({ host: e, view: t }) {
(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -70501,7 +70502,7 @@ function Gke({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));
+ t !== C1.tab && (D1({ tab: t }), e.selectSection?.(x1[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-settings-panel": "",
@@ -70512,9 +70513,9 @@ function Gke({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Uke,
+ onKeyDown: Wke,
onClick: (e) => {
- e.target === e.currentTarget && D1();
+ e.target === e.currentTarget && O1();
},
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-card": "",
@@ -70525,27 +70526,27 @@ function Gke({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
id: "settingsTitle",
- children: b1[t.tab][0]
+ children: x1[t.tab][0]
}), /* @__PURE__ */ (0, I.jsx)(EV, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => D1()
+ onPress: () => O1()
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Wke, {
+ /* @__PURE__ */ (0, I.jsx)(Gke, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- D1(!1), e.openConfiguration();
+ O1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, I.jsxs)(A1, {
+ /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -70553,9 +70554,9 @@ function Gke({ host: e, view: t }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "主题",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(p1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -70583,7 +70584,7 @@ function Gke({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -70591,7 +70592,7 @@ function Gke({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -70601,7 +70602,7 @@ function Gke({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(Dke, { host: e }),
+ /* @__PURE__ */ (0, I.jsx)(Oke, { host: e }),
/* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -70613,35 +70614,35 @@ function Gke({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, I.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, I.jsx)(Ake, { host: e })
+ children: /* @__PURE__ */ (0, I.jsx)(jke, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(qke, {
+ /* @__PURE__ */ (0, I.jsx)(Jke, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(Jke, {
+ /* @__PURE__ */ (0, I.jsx)(Yke, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsxs)(A1, {
+ /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, I.jsx)(Qke, {
+ /* @__PURE__ */ (0, I.jsx)($ke, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -70651,24 +70652,24 @@ function Gke({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(FL, {
+ children: /* @__PURE__ */ (0, I.jsx)(PL, {
variant: "secondary",
href: "/taste",
- onClick: () => D1(!1),
+ onClick: () => O1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, I.jsx)(j1, {
+ children: /* @__PURE__ */ (0, I.jsx)(M1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -70683,7 +70684,7 @@ function Gke({ host: e, view: t }) {
})
});
}
-function Kke(e, t) {
+function qke(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Ws("arrow-up", "arrow-down", "a", {
@@ -70693,9 +70694,9 @@ function Kke(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function qke({ host: e, tab: t, epoch: n }) {
+function Jke({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
- return /* @__PURE__ */ (0, I.jsxs)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 1,
tab: t,
children: [
@@ -70703,11 +70704,11 @@ function qke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -70717,24 +70718,24 @@ function qke({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, I.jsx)(p1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(m1, {
id: "defaultSortSetting",
label: "默认排序",
- options: jke,
+ options: Mke,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, I.jsx)(p1, {
+ }), /* @__PURE__ */ (0, I.jsx)(m1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: Mke,
+ options: Nke,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -70742,13 +70743,13 @@ function qke({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Kke(e, o)
+ decorate: (e) => qke(e, o)
})]
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(p1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -70774,16 +70775,16 @@ function qke({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = Rj(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Lj(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -70792,16 +70793,16 @@ function qke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, I.jsx)(Zke, {
+ /* @__PURE__ */ (0, I.jsx)(Qke, {
host: e,
epoch: n
})
]
});
}
-function Jke({ host: e, tab: t, epoch: n }) {
+function Yke({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, I.jsxs)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 2,
tab: t,
children: [
@@ -70809,17 +70810,17 @@ function Jke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, I.jsx)(Yke, {
+ /* @__PURE__ */ (0, I.jsx)(Xke, {
host: e,
epoch: n
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(p1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: Nke,
+ options: Pke,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -70834,21 +70835,21 @@ function Jke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "显示数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = Rj(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Lj(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -70856,7 +70857,7 @@ function Jke({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- Pke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(Xke, {
+ Fke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(Zke, {
host: e,
id: t,
settingKey: n,
@@ -70866,19 +70867,19 @@ function Jke({ host: e, tab: t, epoch: n }) {
]
});
}
-function Yke({ host: e, epoch: t }) {
+function Xke({ host: e, epoch: t }) {
let n = Nt({
queryKey: gX,
queryFn: ({ signal: e }) => xX(e),
staleTime: 0
}), r = SX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(M1, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(N1, {
title: "女优名称",
description: /* @__PURE__ */ (0, I.jsx)("small", {
"data-copy-key": "performer-name-language-help",
children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"
}),
- children: /* @__PURE__ */ (0, I.jsx)(p1, {
+ children: /* @__PURE__ */ (0, I.jsx)(m1, {
id: "performerNameLanguageSetting",
label: "女优名称",
epoch: t,
@@ -70901,7 +70902,7 @@ function Yke({ host: e, epoch: t }) {
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function Xke({ host: e, id: t, settingKey: n, label: r, title: i }) {
+function Zke({ host: e, id: t, settingKey: n, label: r, title: i }) {
let a = SX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
s(t), Kc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
@@ -70926,10 +70927,10 @@ function Xke({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function Zke({ host: e, epoch: t }) {
+function Qke({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -70937,7 +70938,7 @@ function Zke({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -70945,11 +70946,11 @@ function Zke({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -70961,25 +70962,25 @@ function Zke({ host: e, epoch: t }) {
})
] });
}
-function Qke({ host: e, epoch: t }) {
+function $ke({ host: e, epoch: t }) {
let n = e.store.value, r = SX();
- return /* @__PURE__ */ (0, I.jsx)(M1, {
+ return /* @__PURE__ */ (0, I.jsx)(N1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = Rj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Lj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
// src/react/sidebar/use-sidebar-reorder.ts
-function $ke(e, t, n, r) {
+function eAe(e, t, n, r) {
let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({
order: t,
commit: n,
@@ -71014,7 +71015,7 @@ function $ke(e, t, n, r) {
let m = (t) => {
let n = c.current;
if (!n || (c.current = null, !n.started)) return;
- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : v1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : y1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, It.flushSync)(() => {
a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");
}), d.current.settled();
@@ -71076,7 +71077,7 @@ function $ke(e, t, n, r) {
e.preventDefault();
let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];
if (l === void 0) return;
- let u = v1(t, i, l, c);
+ let u = y1(t, i, l, c);
u && (p(), (0, It.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());
}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;
return {
@@ -71115,68 +71116,68 @@ function $ke(e, t, n, r) {
};
}
// src/react/sidebar/sidebar-island.tsx
-var N1 = "__home__", eAe = {
+var P1 = "__home__", tAe = {
creator: 26,
tag: 30,
tech: 16
-}, P1 = 180, F1 = null, I1 = {
+}, F1 = 180, I1 = null, L1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, L1 = /* @__PURE__ */ new Set();
-function tAe(e) {
- return L1.add(e), () => {
- L1.delete(e);
+}, R1 = /* @__PURE__ */ new Set();
+function nAe(e) {
+ return R1.add(e), () => {
+ R1.delete(e);
};
}
-function R1() {
- for (let e of [...L1]) e();
+function z1() {
+ for (let e of [...R1]) e();
}
-var nAe = {
+var rAe = {
render(e) {
- I1 = {
- ...I1,
+ L1 = {
+ ...L1,
props: e
- }, (0, It.flushSync)(R1);
+ }, (0, It.flushSync)(z1);
},
navChanged() {
- I1 = {
- ...I1,
- epoch: I1.epoch + 1
- }, (0, It.flushSync)(R1);
+ L1 = {
+ ...L1,
+ epoch: L1.epoch + 1
+ }, (0, It.flushSync)(z1);
}
};
-function rAe(e) {
- return F1 = e, I1 = {
- ...I1,
+function iAe(e) {
+ return I1 = e, L1 = {
+ ...L1,
props: {
content: null,
filters: {},
latest: null
}
- }, nAe;
+ }, rAe;
}
-function iAe() {
- let e = (0, F.useSyncExternalStore)(tAe, () => I1);
- return F1 ? /* @__PURE__ */ (0, I.jsx)(aAe, {
- host: F1,
+function aAe() {
+ let e = (0, F.useSyncExternalStore)(nAe, () => L1);
+ return I1 ? /* @__PURE__ */ (0, I.jsx)(oAe, {
+ host: I1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function aAe({ host: e, props: t, epoch: n }) {
+function oAe({ host: e, props: t, epoch: n }) {
let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, I.jsx)(oAe, {
+ /* @__PURE__ */ (0, I.jsx)(sAe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, I.jsx)(cAe, {
+ t.content ? /* @__PURE__ */ (0, I.jsx)(lAe, {
host: e,
content: t.content,
filters: t.filters,
@@ -71184,8 +71185,8 @@ function aAe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function oAe({ host: e, epoch: t, version: n }) {
- let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = NL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function sAe({ host: e, epoch: t, version: n }) {
+ let r = v1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = ML(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || P1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, F.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -71204,7 +71205,7 @@ function oAe({ host: e, epoch: t, version: n }) {
i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);
};
}, [e, d]);
- let f = $ke(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
+ let f = eAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-nav": "",
ref: c,
@@ -71240,8 +71241,8 @@ function oAe({ host: e, epoch: t, version: n }) {
alt: "",
decoding: "async",
draggable: !1
- }) : /* @__PURE__ */ (0, I.jsx)($F, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
- }, t || N1);
+ }) : /* @__PURE__ */ (0, I.jsx)(QF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ }, t || P1);
}),
f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-drop-line": "",
@@ -71262,8 +71263,8 @@ function oAe({ host: e, epoch: t, version: n }) {
ref: l
}), p) : null] });
}
-var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function sAe(e) {
+var B1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function cAe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -71277,7 +71278,7 @@ function sAe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function cAe({ host: e, content: t, filters: n, latest: r }) {
+function lAe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, F.useLayoutEffect)(() => {
t.kind === "catalog" && Xs(e.scroll, "drawer");
@@ -71286,8 +71287,8 @@ function cAe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? lAe(e, t.facets, n, r, i) : uAe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(dAe, {
+ let a = t.kind === "catalog" ? uAe(e, t.facets, n, r, i) : dAe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(fAe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -71296,11 +71297,11 @@ function cAe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function lAe(e, t, n, r, i) {
- let a = sAe(r), o = (t, r, i) => {
+function uAe(e, t, n, r, i) {
+ let a = cAe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = z1(n, r);
- return /* @__PURE__ */ (0, I.jsx)(H1, {
+ let o = B1(n, r);
+ return /* @__PURE__ */ (0, I.jsx)(U1, {
rows: t,
filterKey: r,
multi: i,
@@ -71310,7 +71311,7 @@ function lAe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = z1(n, l), p = c.some((e) => f.includes(e.value));
+ let f = B1(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -71322,12 +71323,12 @@ function lAe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, I.jsx)(pAe, {
+ body: /* @__PURE__ */ (0, I.jsx)(mAe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: eAe[d],
+ limit: tAe[d],
filterKey: l,
selected: f,
counts: a,
@@ -71342,7 +71343,7 @@ function lAe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(K1, {
host: e,
filters: n
})
@@ -71357,7 +71358,7 @@ function lAe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
rows: t.followTags,
host: e,
selected: null,
@@ -71366,14 +71367,14 @@ function lAe(e, t, n, r, i) {
} : null
];
}
-function uAe(e, t, n) {
- let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);
+function dAe(e, t, n) {
+ let r = t.providers || [], i = B1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(H1, {
+ body: /* @__PURE__ */ (0, I.jsx)(U1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -71387,7 +71388,7 @@ function uAe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(K1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -71397,7 +71398,7 @@ function uAe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
rows: t.tags,
host: e,
selected: a,
@@ -71406,19 +71407,19 @@ function uAe(e, t, n) {
} : null
];
}
-function B1(e, t) {
+function V1(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function dAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => B1(e, n)), u = (0, F.useRef)(!1);
+function fAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => V1(e, n)), u = (0, F.useRef)(!1);
(0, F.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? B1(e, n) : c;
+ let i = u.current ? V1(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) => {
@@ -71439,7 +71440,7 @@ function dAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -71450,7 +71451,7 @@ function dAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, I.jsx)(V1.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(H1.Provider, {
value: d,
children: a
})
@@ -71459,15 +71460,15 @@ function dAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var V1 = (0, F.createContext)(() => {});
-function fAe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)($F, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
+var H1 = (0, F.createContext)(() => {});
+function pAe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(QF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -71484,7 +71485,7 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, I.jsx)(fAe, { dot: e.dot }),
+ /* @__PURE__ */ (0, I.jsx)(pAe, { dot: e.dot }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -71499,8 +71500,8 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function pAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, F.useContext)(V1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
+function mAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, F.useContext)(H1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
p !== e && (m(e), f(null));
let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, F.useLayoutEffect)(() => {
@@ -71515,7 +71516,7 @@ function pAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Ho(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(H1, {
+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(U1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -71540,10 +71541,10 @@ function pAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, I.jsx)($F, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
}) : null] });
}
-function U1({ rows: e, host: t, selected: n, badges: r }) {
+function W1({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -71565,10 +71566,10 @@ function U1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;
-function G1({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, F.useState)("max");
- i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));
+var G1 = (e, t) => e ? Math.min(F1, Number(e) / 60) : t;
+function K1({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [G1(t.dur_min, 0), G1(t.dur_max, F1)]), [c, l] = (0, F.useState)("max");
+ i !== r && (a(r), s([G1(t.dur_min, 0), G1(t.dur_max, F1)]));
let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -71581,11 +71582,11 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, F.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);
+ e.style.setProperty("--lo", `${u / F1 * 100}%`), e.style.setProperty("--hi", `${d / F1 * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / F1 * 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`);
});
@@ -71595,7 +71596,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= F1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-duration": "",
@@ -71610,7 +71611,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: P1,
+ max: F1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -71621,7 +71622,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: P1,
+ max: F1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -71635,7 +71636,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function K1() {
+function q1() {
let e = (e) => Es({
label: e,
variant: "secondary",
@@ -71649,11 +71650,11 @@ function K1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", mAe = [
+var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", hAe = [
"自动补全",
"仅使用本地资料",
"自定义"
-], hAe = [
+], gAe = [
[
"读本地 NFO 和图片",
"✓",
@@ -71684,7 +71685,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], gAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", _Ae = [
+], _Ae = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Y1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", X1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Z1 = "只填域名,留空用默认地址", vAe = [
{
provider: "coomer",
label: "Coomer",
@@ -71774,8 +71775,8 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", vAe = "peach.configuration.shape.v1";
-function Q1() {
+], Q1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", yAe = "peach.configuration.shape.v1";
+function $1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -71783,28 +71784,28 @@ function Q1() {
return {};
}
}
-function yAe(e, t) {
+function bAe(e, t) {
try {
- let n = Q1();
+ let n = $1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(vAe, JSON.stringify({
+ localStorage.setItem(yAe, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => Es({
+var e0 = (e) => $1()[e], t0 = (e) => e === !0, n0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, r0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], i0 = "disabled data-skeleton-action", a0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, o0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, s0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, c0 = (e = "3em") => s0(e, "24px"), l0 = () => s0("var(--icon-inline)", "var(--icon-inline)"), u0 = (e, t = "primary", n = "medium") => Es({
label: e,
variant: t,
size: n,
- attrs: r0
-}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, bAe = (e, t, n) => {
- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;
+ attrs: i0
+}), d0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, f0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, xAe = (e, t, n) => {
+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${l0()}${e}</span>` : e}</p>`;
return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;
-}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${bAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "", n = "4em") => p0(e, t, i0(n)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${Os(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, xAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${xAe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, SAe = _Ae;
-function CAe(e = $1("credentials")) {
- let t = new Set(n0(e?.done, 64, String));
- return SAe.map((e) => {
+}, p0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${xAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? d0(n, i) : ""}</div></section>`, m0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, h0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => m0(e, t, `<span class="skeleton ${n}"></span>`), g0 = (e, t = "", n = "4em") => m0(e, t, a0(n)), _0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, v0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, y0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${o0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, b0 = (e) => `<div class="flex flex-col gap-1">${v0(e)}${Os(a0("8em"))}</div>`, x0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${s0("16px", "16px")}${e}</span>`, S0 = (e) => `<span class="inline-flex items-center gap-1">${l0()}${e}</span>`, C0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, SAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), w0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${SAe.has(e) ? a0("100%") + a0("80%") + a0("6em") : a0("6em")}</dd></div>`).join("")}</dl>`, CAe = vAe;
+function wAe(e = e0("credentials")) {
+ let t = new Set(r0(e?.done, 64, String));
+ return CAe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -71813,134 +71814,134 @@ function CAe(e = $1("credentials")) {
};
});
}
-function wAe(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;
- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? g0(B(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";
- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function TAe(e) {
+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = c0() + (n && !e.done ? t.map(() => c0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${s0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;
+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? _0(B(e.why)) : ""}</div>`;
+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + _0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? _0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => y0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${u0("保存配置")}</div>${C0("凭据文件")}</div></div>` : "";
+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${C0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
}
-function w0() {
- let e = CAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[
+function T0() {
+ let e = wAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ return p0("来源凭据", f0(`<div class="flex flex-col gap-4">${[
["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],
["不需要凭据", e.filter((e) => e.requirement === "none")],
["暂不支持", e.filter((e) => e.requirement === "blocked")]
- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(wAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });
-}
-function T0() {
- let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Cs("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));
+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(TAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? a0("5em") : "" });
}
function E0() {
- let e = $1("javBrowser"), t = e0(e?.enabled);
- return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+ let e = r0(e0("indexers")?.open, 20, t0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Cs("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${a0("6em")}${a0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${y0("名称")}${y0("Torznab 地址")}${y0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${x0("启用")}${u0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
+ return p0("资源搜索", f0(`<div class="flex min-w-0 flex-col gap-4">${C0("索引器连接帮助")}${e}</div>`), u0("添加索引器", "secondary") + u0("保存配置"));
}
-var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${Os(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";
-function O0() {
- let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));
- return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));
+function D0() {
+ let e = e0("javBrowser"), t = t0(e?.enabled);
+ return p0("浏览器添加 JAV", f0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${a0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${c0()}</div><p class="text-caption-1-regular text-text-secondary">${a0("70%")}</p><div class="flex flex-wrap items-center gap-2">${u0("重新检测", "secondary")}</div></div>`}${b0("浏览器添加的下载渠道")}${t0(e?.ready) ? "" : _0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${y0("Peach 地址")}</div>`), (t ? u0("关闭浏览器添加", "secondary") : "") + u0(t ? "更新渠道与令牌" : "启用并生成令牌"));
}
-var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, TAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Es({
+var O0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${v0(e)}${Os(a0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${y0(`${e}地址`)}</div><div class="w-full sm:w-28">${y0(`${e}端口`)}</div></div>${C0("代理认证")}` : "") + "</div>";
+function k0() {
+ let e = e0("cloudProxy"), t = r0(e?.accounts, 12, (e) => Array.isArray(e) ? [t0(e[0]), t0(e[1])] : [!1, !1]), n = n0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${v0(S0(a0("6em")))}${_0(a0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${v0(S0(a0("8em")))}${_0(a0("50%"))}${O0("数据代理", e)}${O0("API 代理", t)}<div class="flex justify-end">${u0("保存配置")}</div></div>`).join("") : _0(a0("60%"));
+ return p0("CloudDrive 代理", f0(`${_0(Q1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), u0("重新读取", "secondary"));
+}
+var A0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, EAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Es({
glyph: "folder-search",
variant: "secondary",
- attrs: r0
+ attrs: i0
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", Os(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", Os(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", Os(i0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, EAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${A0("来源", Os(a0("6em")), "w-full @lg:w-60")}${A0("读取策略", Os(a0("4em")), "w-full @lg:w-32")}${e > 1 ? A0("移到媒体库", Os(a0("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, DAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
<div data-library-head>${Es({
label: "自动识别",
variant: "secondary",
- attrs: r0
-})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Os(i0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${TAe(t).repeat(e)}<div class="flex">${Es({
+ attrs: i0
+})}${o0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Os(a0("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${EAe(t).repeat(e)}<div class="flex">${Es({
label: "添加文件夹",
variant: "secondary",
- attrs: r0
-})}</div></div></div>`, DAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, OAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
-function kAe(e = $1("media")) {
- let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);
+ attrs: i0
+})}</div></div></div>`, OAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${J1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, kAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
+function AAe(e = e0("media")) {
+ let t = r0(e?.folders, 12, (e) => n0(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: e0(e?.cloud)
+ cloud: t0(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function AAe() {
- let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Os(i0("4em"), { prefix: "对应目录" })}${Es({
+function jAe() {
+ let e = e0("discovery"), t = t0(e?.enabled), n = t && t0(e?.cloud), r = n && t0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Os(a0("4em"), { prefix: "对应目录" })}${Es({
glyph: "trash",
variant: "secondary",
- attrs: r0
+ attrs: i0
})}</div>`;
- return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));
-}
-var jAe = () => {
- let e = kAe();
- return f0("媒体库与目录", d0(`${DAe}<div class="flex flex-col gap-4">${e.folders.map((t) => EAe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${l0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${J1}</p>
- ${e.cloud ? OAe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + AAe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, MAe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + h0("头像刷新", "重新获取关注创作者的头像。") + h0("favicon 刷新", "重新获取来源站点的图标。")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), NAe = () => {
- let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);
- return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {
- aside: s0(),
+ return p0("自动发现新文件", f0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${c0()}</div>`) + h0("发现新文件后自动入库", t ? a0("10em") : "") + h0("监视本机文件夹", t && t0(e?.watchLocal) ? a0("12em") : "") + h0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? m0("Webhook 配置", a0("20em"), "") : "") + (r ? f0(C0("查看配置"), !0) : "") + (n ? f0(`<div class="flex flex-col gap-3">${v0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(n0(e?.prefixes, 20))}</div><div>${u0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? u0("更换密钥", "secondary") : "") + u0("保存配置"));
+}
+var MAe = () => {
+ let e = AAe();
+ return p0("媒体库与目录", f0(`${OAe}<div class="flex flex-col gap-4">${e.folders.map((t) => DAe(t, e.folders.length)).join("")}</div>
+ <div class="self-start">${u0("添加媒体库", "secondary")}</div>
+ <p class="text-body-2-regular text-text-secondary">${Y1}</p>
+ ${e.cloud ? kAe : ""}<span class="text-body-medium text-text-primary">${a0("15em")}</span>`), u0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? k0() : "") + jAe() + p0("番号识别规则", f0(`${a0("90%")}${a0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), u0("保存配置")) + p0("视频预览", h0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + h0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + h0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+}, NAe = () => `<div>${u0("采集来源与登录状态", "secondary")}</div>` + T0() + p0("关注采集", m0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + g0("订阅源拉取") + h0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + g0("头像刷新", "重新获取关注创作者的头像。") + g0("favicon 刷新", "重新获取来源站点的图标。")) + E0() + p0("作品资料站点", f0(`<p class="text-body-2-regular text-text-secondary">${X1}</p>${y0(S0("JavDB 地址"), Z1)}${y0(S0("MISSAV 地址"), Z1)}`), u0("保存配置")), PAe = () => {
+ let e = e0("downloads"), t = t0(e?.pikpak), n = t0(e?.pikpakRoots) ? b0(S0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${v0(S0("PikPak 根目录对应的媒体目录"))}${_0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = t0(e?.cloud) ? p0("云下载", f0(y0("CloudDrive2 地址") + y0("CloudDrive2 API 令牌", "需要离线任务权限。") + (t0(e?.has115) ? y0(S0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? y0(S0("PikPak 目标目录"), "目录要已经存在。") + n : "") + y0("等待上限(小时)", a0("14em"))), u0("检查连接", "secondary") + u0("保存配置")) : "", i = t0(e?.pikpakLoggedIn);
+ return r + (t ? p0("PikPak 账号", i ? w0(["账号", a0("4em")]) : f0(y0("账号") + y0("密码") + x0("保存密码,登录过期时自动重新登录")), i ? u0("登出", "secondary") : (t0(e?.browserLogin) ? u0("用浏览器登录", "secondary") : "") + u0("登录"), {
+ aside: c0(),
mark: !0
- }) : "") + E0();
-}, A0 = {
+ }) : "") + D0();
+}, j0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, j0 = {
+}, M0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function PAe(e) {
- let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;
+function FAe(e) {
+ let t = e === "locked" ? "" : y0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + y0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
+ return (j0[e] ? _0(j0[e]) : "") + (e === "open" ? s0("100%", "64px") : "") + (e === "password" || e === "legacy" ? x0("关闭访问密码") : "") + (e === "password" ? y0("当前访问密码 *") : "") + t;
}
-var FAe = () => {
- let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${v0([
+var IAe = () => {
+ let e = e0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = t0(e?.tunnelNamed), r = (n && t0(e?.tunnelNamedMode) ? _0(M0.named) + y0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + y0("隧道令牌", a0("16em")) : _0(M0.quick)) + (t0(e?.tunnelNote) ? s0("100%", "64px") : ""), i = n0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${y0([
"本机地址",
"手机连接地址",
"备用 IP 地址"
- ][t])}</div>${l0("复制地址", "secondary")}</div>`).join("");
- return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(PAe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));
-}, IAe = [
+ ][t])}</div>${u0("复制地址", "secondary")}</div>`).join("");
+ return (i || t0(e?.port) ? p0("访问地址", f0(a + (i ? s0("100%", "40px") : "") + (t0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${v0("谁可以访问")}${s0("min(100%, 20em)", "36px")}</div>` + (t0(e?.lan) ? y0("局域网访问地址") : "") : "") + (t0(e?.port) ? y0("端口") : "")), t0(e?.port) ? u0("保存配置") : "", t0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + p0("访问密码", f0(FAe(t)), t === "locked" ? "" : u0("保存配置")) + p0("Cloudflare 公网入口", f0((n ? s0("10.5em", "36px") : "") + r), u0("启动公网入口", n ? "secondary" : "primary") + (n ? u0("保存配置") : ""), { aside: c0() }) + p0("Peach 代理", h0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (t0(e?.proxyAddress) ? f0(y0("代理地址"), !0) : ""), u0("保存配置"));
+}, LAe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], LAe = () => {
- let e = $1("maintenance"), t = [
+], RAe = () => {
+ let e = e0("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";
- return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {
- aside: s0("4em"),
- status: i0("5em")
- }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : IAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", l0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");
+ ].slice(0, Math.max(4, n0(e?.releaseFacts, 5))), n = n0(e?.releaseNotes, 4), r = n0(e?.storageRows, 12), i = n0(e?.storageNotes, 3), a = r0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${c0("6em")}</span>`, s = (t) => !e || t0(t), c = s(e?.reporting) ? h0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (t0(e?.reportingIdle) ? f0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${h0("上传馆藏与口味明细", t0(e?.sharingNotice) ? a0("12em") : "")}${t0(e?.sharingIdle) ? f0(o, !0) : ""}${d0(u0("预览上传内容", "secondary"))}</div>` : "";
+ return p0("检查更新", w0(t) + (n ? f0(_0(a0("50%")).repeat(n), !0) : ""), u0("检查更新"), {
+ aside: c0("4em"),
+ status: a0("5em")
+ }) + p0("自动更新", h0("自动检查新版本") + h0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + h0("检查频率", t0(e?.autoUpdateHelp) ? a0("12em") : "", "ui-configuration-skeleton-select"), u0("保存配置")) + p0("开机自启", h0("开机后启动 Peach") + h0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + h0("在桌面创建快捷方式", t0(e?.desktopNote) ? a0("12em") : "") + (t0(e?.startupNote) ? f0(_0(a0("60%")), !0) : ""), u0("保存配置")) + p0("视频播放", h0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + p0("存储空间", w0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => m0(a0("6em"), "", a0("4em"))).join("") : f0(_0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? f0(_0(a0("80%")).repeat(i), !0) : ""), u0("更改位置", "secondary") + u0(r ? "重新统计" : "统计占用")) + (c || l ? p0("数据上传", c + l) : "") + p0("运行信息", w0(a.length ? a : LAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${m0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", u0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? p0("卸载 Peach", (t0(e?.uninstallHelp) ? f0(_0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + h0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + f0(C0("数据目录"), !0), u0("卸载 Peach"), { status: a0("16em") }) : "");
};
-function RAe(e) {
+function zAe(e) {
switch (e) {
- case "系统诊断": return K1();
- case "来源与订阅": return MAe();
- case "下载渠道": return NAe();
- case "网络与访问": return FAe();
- case "应用与维护": return LAe();
- default: return jAe();
+ case "系统诊断": return q1();
+ case "来源与订阅": return NAe();
+ case "下载渠道": return PAe();
+ case "网络与访问": return IAe();
+ case "应用与维护": return RAe();
+ default: return MAe();
}
}
-function zAe(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Ef).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">${RAe(e)}</div></div></div>`;
+function BAe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Ef).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">${zAe(e)}</div></div></div>`;
}
// src/react/jav/discovery-sorts.ts
-var M0 = [
+var N0 = [
[
"taste",
"口味",
@@ -71948,7 +71949,7 @@ var M0 = [
],
[
"release_date",
- Vj[1],
+ Bj[1],
"按发行日期排序"
],
[
@@ -71967,10 +71968,10 @@ var M0 = [
"按番号排序"
]
];
-function BAe(e) {
+function VAe(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function VAe(e) {
+function HAe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -71995,8 +71996,8 @@ function VAe(e) {
};
}
// src/jav-skeleton.ts
-var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, HAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";
-function F0() {
+var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, UAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";
+function I0() {
return [
"w-20",
"w-16",
@@ -72006,26 +72007,26 @@ function F0() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function I0(e, t = TM()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${HAe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;
- let n = NM({
- ...MM({
+function L0(e, t = wM()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${UAe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;
+ let n = MM({
+ ...jM({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
<div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>
- <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div>
+ <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
</div></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function UAe(e) {
+function WAe(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>${Es({
@@ -72035,26 +72036,26 @@ function UAe(e) {
})}</div>
<div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${xU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
<form aria-label="${t}">${Ts("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${WAe()}${I0(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>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${GAe()}${L0(e)}</section>`}</div></div>`;
}
-function WAe() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${TM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Cs(t, "size-4")}</span>`;
+function GAe() {
+ 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="" ${wM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Cs(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${I0()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
${ws()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Cs("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Cs("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Cs("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function GAe() {
+var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function KAe() {
let e = [
"馆藏视频",
"看过",
@@ -72062,27 +72063,27 @@ function GAe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -72091,11 +72092,11 @@ function GAe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function KAe() {
+function qAe() {
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 = [
"浏览记录",
"口味维度",
@@ -72103,20 +72104,20 @@ function KAe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
<div class="flex flex-wrap items-center gap-2">${Os("全部时间")}<span data-button-group data-split-button data-variant="primary">${Es({
glyph: "compass",
label: "读取浏览器历史",
- attrs: z0
+ attrs: B0
})}${Es({
glyph: "chevron-down",
- attrs: z0
+ attrs: B0
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -72134,11 +72135,11 @@ function KAe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${R0("8em")}</small></div>
+ <small class="text-caption-1-regular">${z0("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section>
+ <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -72146,20 +72147,20 @@ function KAe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function qAe() {
+function JAe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
- <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span>
+ <span class="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span>
+ <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -72168,27 +72169,27 @@ function qAe() {
variant: "secondary",
size: "small",
label: e,
- attrs: z0
+ attrs: B0
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function JAe() {
+function YAe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>
</div>
<footer class="flex justify-end">${Es({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: z0
+ attrs: B0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -72197,20 +72198,20 @@ function JAe() {
</div></div>`;
}
// src/board-skeleton.ts
-var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YAe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, XAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, XAe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, ZAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${XAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, ZAe = (e = "") => QZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${QZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, QAe = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${ZAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, QAe = (e = "") => QZ.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${QZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, $Ae = ({ table: e, sort: t, dir: n }) => {
let r = cr.find(([e]) => e === t)[1];
- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Es({
+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Es({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: U0
+ attrs: W0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Es({
variant: "ghost",
glyph: "layout-grid",
@@ -72227,42 +72228,42 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YAe
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: U0
+ attrs: W0
})}</span></div></div>`;
-}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${Es({
+}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Es({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: U0
+ attrs: W0
})}${Es({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: U0
-})}</span>`, $Ae = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Es({
+ attrs: W0
+})}</span>`, eje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Es({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: U0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Es({
+ attrs: W0
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Es({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: U0
+ attrs: W0
})}${Es({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: U0
-})}</span></span></div><div data-source-divider>${H0($Ae(), e)}</div></section>`, eje = () => {
+ attrs: W0
+})}</span></span></div><div data-source-divider>${U0(eje(), e)}</div></section>`, tje = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, tje = [
+}, nje = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -72270,90 +72271,90 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YAe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], nje = {
+], rje = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Z0 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", rje = (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>${tje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${nje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Z0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[
- J0(),
- `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,
- W0("10em"),
- `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,
- G0(48, 24),
- W0("113px"),
- Y0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, ije = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${Os(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, aje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${[
+}, Q0 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", ije = (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>${nje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${rje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[
+ Y0(),
+ `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,
+ G0("10em"),
+ `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,
+ K0(48, 24),
+ G0("113px"),
+ X0()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, aje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${Os(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, oje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, oje = (e) => {
- let t = ZAe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${aje()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = fr(e.followSort, e.followDir), i = e.followPageSize || eje(), a = n ? rje(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${QAe({
+].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, sje = (e) => {
+ let t = QAe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${oje()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = fr(e.followSort, e.followDir), i = e.followPageSize || tje(), a = n ? ije(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${$Ae({
table: n,
...r
- })}${a}${ije(n, i)}</div></div></div></div></div>`;
+ })}${a}${aje(n, i)}</div></div></div></div></div>`;
};
-function sje() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(YAe(), 4)}</div></aside></div>`;
+function cje() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${H0("85%")}${H0("65%")}${U0(XAe(), 4)}</div></aside></div>`;
}
-function cje(e, t = {}) {
+function lje(e, t = {}) {
let n = "";
- if (e === "/stats") n = GAe();
- else if (e === "/jav") n = UAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = KAe();
- else if (e === "/subscriptions") n = oje(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in Ef) n = zAe(Ef[e.split("/")[2]]);
+ if (e === "/stats") n = KAe();
+ else if (e === "/jav") n = WAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = qAe();
+ else if (e === "/subscriptions") n = sje(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in Ef) n = BAe(Ef[e.split("/")[2]]);
else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${[
"正在进行",
"本次未执行",
"最近完成"
- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = qAe();
- else if (e === "/quality-goals") n = JAe();
+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = JAe();
+ else if (e === "/quality-goals") n = YAe();
else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Es({
label: "新建",
- attrs: U0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: W0
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
// src/react/components/overlay-host.ts
-function lje(e) {
+function uje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function Q0(e) {
+function $0(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return lje(n ?? t.body);
+ return uje(n ?? t.body);
}
-var $0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function uje(e) {
+var e2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function dje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches($0) ? e : e.querySelector($0);
+ let t = e.matches(e2) ? e : e.querySelector(e2);
if (t) return t;
}
return null;
}
-function e2(e) {
+function t2(e) {
let t = document.getElementById("toasts"), n = e?.open ? e : document.body;
t && t.parentElement !== n && n.append(t);
}
// src/react/follow-detail/follow-detail.ts
-var t2 = (e) => ["follow-item", e], dje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, fje = "/api/follow/save", pje = "/api/follow/media/hide", n2 = class extends Error {
+var n2 = (e) => ["follow-item", e], fje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, pje = "/api/follow/save", mje = "/api/follow/media/hide", r2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function r2(e, t) {
- let n = await V(dje(e), t);
+async function i2(e, t) {
+ let n = await V(fje(e), t);
for (let t of n.groups || []) {
let r = sa(t).find((t) => t.id === e);
if (r) return {
@@ -72363,9 +72364,9 @@ async function r2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new n2();
+ throw new r2();
}
-function mje(e) {
+function hje(e) {
for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = sa(t.group).find((t) => t.id === e);
@@ -72376,20 +72377,20 @@ function mje(e) {
}
return null;
}
-async function i2(e, t) {
- let n = t2(e.id), r = ca(e.id), i = U.getQueryData(na) ? null : U.fetchQuery({
+async function a2(e, t) {
+ let n = n2(e.id), r = ca(e.id), i = U.getQueryData(na) ? null : U.fetchQuery({
queryKey: na,
queryFn: () => ra(t)
}), a = r ? {
...r,
item: r.item
- } : U.getQueryData(n) ?? mje(e.id);
+ } : U.getQueryData(n) ?? hje(e.id);
a ? U.setQueryData(n, a) : await U.fetchQuery({
queryKey: n,
- queryFn: () => r2(e.id, t)
+ queryFn: () => i2(e.id, t)
}), await i;
}
-function hje(e, t, n, r) {
+function gje(e, t, n, r) {
let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ga(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
@@ -72404,32 +72405,32 @@ function hje(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var gje = (e) => sa(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), _je = {
+var _je = (e) => sa(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), vje = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, vje = {
+}, yje = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function yje(e) {
+function bje(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return _je[t] || t;
+ return vje[t] || t;
} catch {
return "外部文件页";
}
}
-function a2(e, t) {
- return vje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function o2(e, t) {
+ return yje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function bje(e, t, n = "") {
+function xje(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;
@@ -72438,54 +72439,54 @@ function bje(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var xje = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", Sje = /* @__PURE__ */ new Set([
+var Sje = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", Cje = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function Cje(e, t) {
- let n = o2(e, t);
- return `r34-${Sje.has(n) ? n : "general"}`;
+function wje(e, t) {
+ let n = s2(e, t);
+ return `r34-${Cje.has(n) ? n : "general"}`;
}
-var s2 = [
+var c2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function wje(e, t) {
+function Tje(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = s2.indexOf(o2(e, t));
- return n < 0 ? s2.length : n;
+ let n = c2.indexOf(s2(e, t));
+ return n < 0 ? c2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function c2(e, t) {
+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 Tje = (e, t) => ({
+var Eje = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), l2 = (e) => e?.size ? { size: e.size } : {};
-function Eje(e, t) {
+}), u2 = (e) => e?.size ? { size: e.size } : {};
+function Dje(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: a2(t, e),
- ...l2(t)
+ source: o2(t, e),
+ ...u2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: a2(a, e),
- ...l2(a)
+ source: o2(a, e),
+ ...u2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -72493,7 +72494,7 @@ function Eje(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var Dje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", d2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", f2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", p2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", m2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", h2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", g2 = "disabled data-skeleton-action", _2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, v2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, y2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, b2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, Oje = [
+var Oje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, kje = [
"3em",
"5em",
"5em",
@@ -72503,7 +72504,7 @@ var Dje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2
"8em",
"8em",
"10em"
-], kje = [
+], Aje = [
"5.8em",
"6.4em",
"7em",
@@ -72513,70 +72514,70 @@ var Dje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2
"5.8em",
"9em",
"9em"
-], x2 = (e, t) => Es({
+], S2 = (e, t) => Es({
variant: e,
size: "small",
- label: _2(t)
+ label: v2(t)
});
-function Aje() {
- return `<section class="${E$("stack")}">
- <div class="${w$.stack}">${y2("整理", "mb-3")}
- <p class="text-body-regular text-text-secondary">${u2}</p>
+function jje() {
+ return `<section class="${D$("stack")}">
+ <div class="${T$.stack}">${b2("整理", "mb-3")}
+ <p class="text-body-regular text-text-secondary">${d2}</p>
<div class="mt-3 flex flex-col gap-3">
- <div class="flex min-w-0 flex-wrap items-start gap-2">${Os(_2("3em"), {
+ <div class="flex min-w-0 flex-wrap items-start gap-2">${Os(v2("3em"), {
prefix: "来源",
className: "w-fit min-w-25",
attrs: "aria-disabled=\"true\""
})}
- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${b2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Cs("folder-search", "size-5 shrink-0")}</button></div>
+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${x2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Cs("folder-search", "size-5 shrink-0")}</button></div>
</div>
- <p class="text-caption-1-regular text-text-secondary">${d2}</p>
- ${b2(_2("12em"), { label: "文件名模板" })}${b2(_2("8em"), { label: "目录模板" })}
- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${Oje.map((e) => x2("secondary", e)).join("")}</div></div>
- <p class="text-caption-1-regular text-text-secondary">路径示例:${_2("16em")}</p>
- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${kje.map((e) => x2("ghost", e)).join("")}</div></div>
- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${f2}</p>
+ <p class="text-caption-1-regular text-text-secondary">${f2}</p>
+ ${x2(v2("12em"), { label: "文件名模板" })}${x2(v2("8em"), { label: "目录模板" })}
+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${kje.map((e) => S2("secondary", e)).join("")}</div></div>
+ <p class="text-caption-1-regular text-text-secondary">路径示例:${v2("16em")}</p>
+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${Aje.map((e) => S2("ghost", e)).join("")}</div></div>
+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${p2}</p>
</div>
</div>
- <footer class="${T$.stack}">${Es({
+ <footer class="${E$.stack}">${Es({
label: "预览",
- attrs: g2
+ attrs: _2
})}</footer>
</section>`;
}
-var jje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${E$("split")}"><div class="${w$.split}">${y2("资源同步", "mb-2")}
- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${p2}</p></div>
- <footer class="${T$.split}">${Es({
+var Mje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${D$("split")}"><div class="${T$.split}">${b2("资源同步", "mb-2")}
+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${m2}</p></div>
+ <footer class="${E$.split}">${Es({
glyph: "git-compare",
label: "检查文件",
- attrs: g2
+ attrs: _2
})}</footer></section>
-</section>`, S2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${_2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${_2("14em")}</small>` : ""}</div>`, Mje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${E$("stack")}"><div class="${w$.stack}">${y2("链接管理", "mb-2")}
- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${S2("链接总数", !0)}${[
+</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, Nje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${D$("stack")}"><div class="${T$.stack}">${b2("链接管理", "mb-2")}
+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${C2("链接总数", !0)}${[
0,
1,
2
-].map(() => S2(_2("5em"))).join("")}</div>
+].map(() => C2(v2("5em"))).join("")}</div>
<div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${[
"7em",
"10em",
"8em"
-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${v2(16, 16)}${_2(e)}${v2(28, 24)}</span>`).join("")}</div></div></div>
- <footer class="${T$.stack}">${Es({
+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${y2(16, 16)}${v2(e)}${y2(28, 24)}</span>`).join("")}</div></div></div>
+ <footer class="${E$.stack}">${Es({
glyph: "link",
label: "检查死链",
- attrs: g2
+ attrs: _2
})}</footer></section>
</section>`;
-function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${J0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Z0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${J0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", "", n)}</div>` : "";
+function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${Y0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${Y0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", "", n)}</div>` : "";
return `<div data-data-table-panel class="${zH({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
})}">
- <div data-responsive-toolbar><div data-toolbar-heading>${y2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${_2("4em")}</span></div>
+ <div data-responsive-toolbar><div data-toolbar-heading>${b2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${v2("4em")}</span></div>
<div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Es({
variant: "secondary",
label: "显示列"
@@ -72587,38 +72588,38 @@ function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
<span class="flex flex-none items-center gap-2">${Os("默认顺序", { prefix: "排序" })}${Es({
variant: "secondary",
glyph: "arrow-up",
- attrs: g2
+ attrs: _2
})}</span></div></div>
<p class="text-body-2-regular text-text-secondary">${t}</p>
<div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>
- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${_2("8em")}</span><div data-toolbar-actions>${Os("每页 20 条", { size: "sm" })}</div></div>
+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${v2("8em")}</span><div data-toolbar-actions>${Os("每页 20 条", { size: "sm" })}</div></div>
</div>`;
}
-var Nje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${_2(e)}</span><small class="text-caption-1-regular">${_2(t)}</small></span>`, Pje = {
+var Pje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, Fje = {
organize: {
label: "正在读取整理配置",
- body: Aje
+ body: jje
},
"resource-sync": {
label: "正在读取资源同步状态",
- body: jje
+ body: Mje
},
"orphan-records": {
label: "正在读取文件已丢失的记录",
- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${C2({
+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${w2({
title: "文件已丢失的记录",
- description: m2,
+ description: h2,
rows: 4,
columns: [
{
label: "作品",
width: 480,
- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Nje("70%", "40%")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Pje("70%", "40%")}</span>`
},
{
label: "个人记录",
width: 176,
- cell: _2("6em")
+ cell: v2("6em")
},
{
label: "操作",
@@ -72627,7 +72628,7 @@ var Nje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
variant: "secondary",
size: "small",
label: "删除记录",
- attrs: g2
+ attrs: _2
})
}
]
@@ -72635,50 +72636,50 @@ var Nje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
},
"media-repair": {
label: "正在读取媒体修复状态",
- body: IOe
+ body: LOe
},
links: {
label: "正在读取链接统计",
- body: Mje
+ body: Nje
},
"batch-delete": {
label: "正在读取女优列表",
- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${C2({
+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${w2({
title: "批量删除",
- description: h2,
+ description: g2,
search: "搜索女优姓名或别名",
rows: 12,
columns: [
{
label: "女优",
width: 280,
- cell: `<span class="flex min-w-0 items-center gap-3">${v2(32, 32, !0)}${_2("5em")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3">${y2(32, 32, !0)}${v2("5em")}</span>`
},
{
label: "影片",
width: 104,
- cell: _2("3em")
+ cell: v2("3em")
},
{
label: "文件",
width: 104,
- cell: _2("3em")
+ cell: v2("3em")
},
{
label: "登记大小",
width: 136,
- cell: _2("4em")
+ cell: v2("4em")
}
]
})}</section>`
}
};
-function w2(e) {
- let { label: t, body: n } = Pje[e];
+function T2(e) {
+ let { label: t, body: n } = Fje[e];
return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;
}
// src/management-placeholder.ts
-var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => tc(e, {
+var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => tc(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -72686,7 +72687,7 @@ var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), Fje = [
+}), Ije = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -72696,39 +72697,39 @@ var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], Ije = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
+], Lje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${Fje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${Ije.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Lje = {
- "/data-cleanup": () => LOe(),
- ...Object.fromEntries(Kf.map((e) => [e.path, () => w2(e.key)])),
- "/resource-sync": () => w2("resource-sync"),
- "/review": () => Ije(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Rje = {
+ "/data-cleanup": () => ROe(),
+ ...Object.fromEntries(Kf.map((e) => [e.path, () => T2(e.key)])),
+ "/resource-sync": () => T2("resource-sync"),
+ "/review": () => Lje(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${T2("正在读取采集来源", {
+ ${E2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function E2(e, { followLayout: t, followSort: n, followDir: r }) {
- return cje(e, {
+function D2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return lje(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (Lje[e] ?? (() => T2("正在读取页面")))();
+ }) || (Rje[e] ?? (() => E2("正在读取页面")))();
}
-var D2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function O2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = D2(t);
+var O2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function k2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = O2(t);
r && r === n || (e.innerHTML = t, lc(e));
}
// src/react/components/related-section.tsx
-function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, F.useCallback)((e) => {
e && (lc(e), t(e));
}, [t]);
@@ -72751,7 +72752,7 @@ function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
size: "compact",
icon: fV,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, I.jsx)(FL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(PL, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -72767,7 +72768,7 @@ function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function A2({ queue: e, children: t, queueCards: n }) {
+function j2({ queue: e, children: t, queueCards: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-detail-continuation": "",
"data-queue-cards": n == null ? void 0 : Math.min(3, n),
@@ -72775,7 +72776,7 @@ function A2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -72855,7 +72856,7 @@ function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(Rje, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(zje, {
item: e,
selected: r === t,
onSelect: n,
@@ -72874,7 +72875,7 @@ function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function Rje({ item: e, selected: t, onSelect: n, render: r }) {
+function zje({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");
return (0, F.useEffect)(() => {
if (!i.current || a) return;
@@ -72900,14 +72901,14 @@ function Rje({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var zje = (e, t, n) => [
+var Bje = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function M2(e, t, n, r) {
+function N2(e, t, n, r) {
let i = new Set((t.group ? sa(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = sa(e);
@@ -72922,7 +72923,7 @@ function M2(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 Bje(e, t, n, r) {
+async function Vje(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ha(i),
status: "new",
@@ -72936,17 +72937,17 @@ async function Bje(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return M2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && M2(o, e, t, n).length < n && await s("", 0), {
+ return N2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && N2(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
// src/react/components/detail-tags.tsx
-var N2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var P2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
});
-function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Nt({
queryKey: ["tag-management", n],
queryFn: ({ signal: e }) => V(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),
@@ -72985,7 +72986,7 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `修改标签 ${a(e.k)}`,
...DV(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "pencil" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -72994,10 +72995,10 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `删除标签 ${a(e.k)}`,
...l(e.k),
onClick: () => c(e),
- children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "x" })
})
]
- }, e.k)), /* @__PURE__ */ (0, I.jsx)(Vje, {
+ }, e.k)), /* @__PURE__ */ (0, I.jsx)(Hje, {
tags: e,
candidates: h,
label: a,
@@ -73021,7 +73022,7 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, I.jsx)(h$, {
+ u ? /* @__PURE__ */ (0, I.jsx)(g$, {
operation: "rename",
selected: [u],
scope: n,
@@ -73030,7 +73031,7 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+function Hje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = QV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
adding: i,
query: h,
@@ -73076,7 +73077,7 @@ function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
_,
t.length
]);
- let w = p ? jue(_, t, JP()) : {
+ let w = p ? Mue(_, t, qP()) : {
recent: [],
results: [],
create: ""
@@ -73119,7 +73120,7 @@ function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, I.jsx)(N2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, I.jsx)(P2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -73140,7 +73141,7 @@ function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-label": "添加标签",
"aria-expanded": p,
...DV(!!i),
- children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -73153,7 +73154,7 @@ function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: Rs("正在读取标签") }
- }) : /* @__PURE__ */ (0, I.jsx)(N2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
+ }) : /* @__PURE__ */ (0, I.jsx)(P2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -73197,7 +73198,7 @@ function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -73214,7 +73215,7 @@ function Vje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function Hje({ item: e, label: t, actions: n }) {
+function Uje({ item: e, label: t, actions: n }) {
let r = DH(), i = () => U.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
@@ -73238,7 +73239,7 @@ function Hje({ item: e, label: t, actions: n }) {
}, "POST", t);
a(n), await i();
}, () => {
- o === "add" && YP(s);
+ o === "add" && JP(s);
let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";
n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {
let t = await H("/api/follow/tag", {
@@ -73254,10 +73255,10 @@ function Hje({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, I.jsx)(P2, {
- tags: wje(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, I.jsx)(F2, {
+ tags: Tje(e, t).map((t) => ({
k: t,
- cat: Cje(e, t)
+ cat: wje(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -73274,22 +73275,22 @@ function Hje({ item: e, label: t, actions: n }) {
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var F2 = (e) => Number(e) > 0, Uje = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var I2 = (e) => Number(e) > 0, Wje = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), I2 = z("external-link", "ui-externalmark");
-function Wje(e) {
+}), L2 = z("external-link", "ui-externalmark");
+function Gje(e) {
let { id: t, actions: n } = e, r = Nt({
- queryKey: t2(t),
- queryFn: ({ signal: e }) => r2(t, e)
+ queryKey: n2(t),
+ queryFn: ({ signal: e }) => i2(t, e)
}), i = Nt({
queryKey: na,
queryFn: ({ signal: e }) => ra(e)
}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, I.jsx)(qje, {
+ return r.data ? /* @__PURE__ */ (0, I.jsx)(Jje, {
...e,
data: r.data,
- context: Tje(r.data, a),
+ context: Eje(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -73298,9 +73299,9 @@ function Wje(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? Gje(r.error) ? /* @__PURE__ */ (0, I.jsx)(Kje, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: r.isError ? Kje(r.error) ? /* @__PURE__ */ (0, I.jsx)(qje, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(ZG, {
message: yn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -73308,8 +73309,8 @@ function Wje(e) {
})
});
}
-var Gje = (e) => e instanceof n2 || e instanceof ar && e.status === 404;
-function Kje({ onBack: e }) {
+var Kje = (e) => e instanceof r2 || e instanceof ar && e.status === 404;
+function qje({ onBack: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -73318,7 +73319,7 @@ function Kje({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Ls("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -73327,8 +73328,8 @@ var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function qje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = hje(c, l, n, i), d = $je(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
+function Jje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = gje(c, l, n, i), d = eMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
key: "",
kind: ""
}), h = {
@@ -73348,20 +73349,20 @@ function qje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? gje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(V2, {
+ let g = !u.embedded.length && u.collection ? _je(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(V2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(H2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, I.jsx)(Xje, {
+ }) : /* @__PURE__ */ (0, I.jsx)(Zje, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -73371,14 +73372,14 @@ function qje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Yje, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Xje, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, I.jsx)(Zje, {
+ }, f), /* @__PURE__ */ (0, I.jsx)(Qje, {
item: c,
data: e,
context: t,
@@ -73388,9 +73389,9 @@ function qje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, I.jsx)(A2, {
+ }), /* @__PURE__ */ (0, I.jsx)(j2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(Jje, {
+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(Yje, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -73400,23 +73401,23 @@ function qje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function Jje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function Yje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Nt({
- queryKey: zje(e.item.id, t, n),
- queryFn: ({ signal: r }) => Bje(e, t, n, r)
- }), [s] = (0, F.useState)(() => T2("正在读取推荐", {
+ queryKey: Bje(e.item.id, t, n),
+ queryFn: ({ signal: r }) => Vje(e, t, n, r)
+ }), [s] = (0, F.useState)(() => E2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, F.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = M2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = N2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, I.jsx)(k2, {
+ return /* @__PURE__ */ (0, I.jsx)(A2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -73430,7 +73431,7 @@ function Jje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
variant: "next",
group: e,
media: t,
- authorSources: c2(e.primary, u),
+ authorSources: l2(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -73443,8 +73444,8 @@ function Jje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function Yje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = Eje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({
+function Xje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = Dje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({
item: e,
selected: o
}), x = (0, F.useRef)(i.failed);
@@ -73458,7 +73459,7 @@ function Yje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
@@ -73476,7 +73477,7 @@ function Yje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
dangerouslySetInnerHTML: { __html: EG(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, I.jsx)(j2, {
+ u ? /* @__PURE__ */ (0, I.jsx)(M2, {
items: c,
position: l,
onSelect: r,
@@ -73493,11 +73494,11 @@ function Yje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var R2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }
});
-function z2({ src: e }) {
+function B2({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
@@ -73507,13 +73508,13 @@ function z2({ src: e }) {
onError: () => n(!0)
});
}
-function B2(e) {
+function V2(e) {
return (0, F.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function Xje({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = ga(e), a = B2(n);
+function Zje({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = ga(e), a = V2(n);
return /* @__PURE__ */ (0, I.jsx)(GK, {
kind: "collection",
"data-follow-queue": "",
@@ -73522,12 +73523,12 @@ function Xje({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${OG(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = bje(e, n, i ? n.provider_label : ""), o = i ? EG(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = xje(e, n, i ? n.provider_label : ""), o = i ? EG(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, I.jsxs)(KK, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: "video" }), F2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: "video" }), I2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Kn(n.duration)
@@ -73552,8 +73553,8 @@ function Xje({ group: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = B2(r), c = [];
+function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = V2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -73570,7 +73571,7 @@ function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${OG(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(ybe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(bbe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(KK, {
@@ -73579,10 +73580,10 @@ function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, I.jsx)("b", {
"data-middle-truncate": "",
- children: xje(n)
+ children: Sje(n)
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -73590,13 +73591,13 @@ function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function Qje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = PG(d, e), p = MG(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && Vn(e.author) !== Vn(p.author) ? e.author : "", h = FG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = PG(d, e), p = MG(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && Vn(e.author) !== Vn(p.author) ? e.author : "", h = FG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -73620,7 +73621,7 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: I2 }
+ dangerouslySetInnerHTML: { __html: L2 }
}) : null]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -73629,7 +73630,7 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-reveal-line": "",
children: [
/* @__PURE__ */ (0, I.jsx)("span", { children: LG(e) }),
- F2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Kn(e.duration) }) : null,
+ I2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Kn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -73678,7 +73679,7 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, I.jsx)(Qje, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, I.jsx)($je, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -73701,9 +73702,9 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [yje(e), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [bje(e), /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: I2 }
+ dangerouslySetInnerHTML: { __html: L2 }
})]
}, e))
}) : null,
@@ -73803,7 +73804,7 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...v(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Uje, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Wje, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -73812,7 +73813,7 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, I.jsx)(Hje, {
+ /* @__PURE__ */ (0, I.jsx)(Uje, {
item: e,
label: o.tagLabel,
actions: s
@@ -73821,7 +73822,7 @@ function Zje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function Qje({ text: e }) {
+function $je({ text: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -73834,7 +73835,7 @@ function Qje({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: nL(e),
+ lang: tL(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -73846,8 +73847,8 @@ function Qje({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function $je(e, t, n) {
- let r = e.id, i = t2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
+function eMe(e, t, n) {
+ let r = e.id, i = n2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -73866,7 +73867,7 @@ function $je(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && bW(), t.toast(Dje(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && bW(), t.toast(Oje(n), { undo: i === "saved" ? void 0 : async () => {
await H(Ar, {
item: r,
to: i
@@ -73876,7 +73877,7 @@ function $je(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Pt({
- mutationFn: () => H(fje, { item: r }),
+ mutationFn: () => H(pje, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -73884,7 +73885,7 @@ function $je(e, t, n) {
onSettled: () => l("save", !1)
}), m = Pt({
mutationFn: async ({ index: e, hidden: t }) => {
- await H(pje, {
+ await H(mje, {
item: r,
media: e,
hidden: t
@@ -73901,7 +73902,7 @@ function $je(e, t, n) {
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Nt({
queryKey: Gve(r),
- queryFn: ({ signal: e }) => gW(r, e)
+ queryFn: ({ signal: e }) => Jve(r, e)
}).data?.want ?? null, g = Pt({
mutationFn: async (e) => (e ? await vW([e.id]) : await _W({ follow: r }), !e),
onSuccess: (e) => {
@@ -73944,8 +73945,8 @@ function $je(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
- bL();
+function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+ yL();
let o = en(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${B(Qn(o))}</span>` + mo({
@@ -73991,7 +73992,7 @@ function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function U2({ people: e, onOpen: t }) {
+function W2({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
@@ -74024,7 +74025,7 @@ function U2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function W2(e) {
+function G2(e) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -74041,7 +74042,7 @@ function W2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);
if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(AQ, {
item: {
@@ -74075,34 +74076,34 @@ function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var K2 = (e) => ["jav-detail", e], q2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), eMe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), J2 = (e, t) => U.ensureQueryData({
- queryKey: K2(e.code),
- queryFn: () => q2(e.code, t),
+var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), tMe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => U.ensureQueryData({
+ queryKey: q2(e.code),
+ queryFn: () => J2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function tMe(e, t) {
+function nMe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
// src/react/item-detail/external-playback.tsx
-var Y2 = "peach.playback-target.v1", X2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function nMe() {
+var X2 = "peach.playback-target.v1", Z2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function rMe() {
try {
- return localStorage.getItem(Y2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(X2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function Z2({ id: e, onOpened: t }) {
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(nMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = DH();
+function Q2({ id: e, onOpened: t }) {
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(rMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = DH();
(0, F.useEffect)(() => {
let e = new AbortController();
return V("/api/local-players", e.signal).then((t) => {
- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || X2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || Z2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => X2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => Z2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -74126,17 +74127,17 @@ function Z2({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, I.jsx)(p1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(m1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...X2],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...Z2],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(Y2, e);
+ localStorage.setItem(X2, e);
} catch {}
}
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -74166,7 +74167,7 @@ function Z2({ id: e, onOpened: t }) {
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var rMe = XI({
+var iMe = YI({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -74228,23 +74229,23 @@ var rMe = XI({
}
}
});
-function iMe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = rMe[t];
+function aMe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = iMe[t];
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
- className: YI("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? YI("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: JI("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? JI("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, I.jsx)("span", {
- className: YI("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, I.jsx)("span", { className: YI("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: JI("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, I.jsx)("span", { className: JI("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 Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(bme, {
+function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(xme, {
ref: i,
...a,
- className: (t) => YI("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(iMe, {
+ className: (t) => JI("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(aMe, {
state: e,
size: n,
shape: r
@@ -74255,12 +74256,12 @@ function Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var aMe = "/api/cover-crop", oMe = (e, t) => H(aMe, {
+var oMe = "/api/cover-crop", sMe = (e, t) => H(oMe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function $2({ className: e }) {
+function e4({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -74273,7 +74274,7 @@ function $2({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })
});
}
-function sMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function cMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74283,13 +74284,13 @@ function sMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-3.75" })
}), /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, I.jsx)(cMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(lMe, {
code: e,
coverUrl: t,
box: n,
@@ -74298,9 +74299,9 @@ function sMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function cMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function lMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = QV(), f = Pt({
- mutationFn: (t) => oMe(e, t),
+ mutationFn: (t) => sMe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -74312,7 +74313,7 @@ function cMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : UEe(e, eo);
+ } : WEe(e, eo);
c(pQ(t, e, null));
}
let m = f.isPending;
@@ -74320,11 +74321,11 @@ function cMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(xV, { children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(xV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(rR, {
+ /* @__PURE__ */ (0, I.jsx)(nR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -74339,7 +74340,7 @@ function cMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(CL, {
+ /* @__PURE__ */ (0, I.jsx)(SL, {
icon: BB,
size: "small",
"aria-label": "关闭",
@@ -74364,7 +74365,7 @@ function cMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, I.jsx)(Q2, {
+ children: [/* @__PURE__ */ (0, I.jsx)($2, {
isSelected: l,
onChange: (e) => {
u(e), e && s && a && c(pQ(s, a, eo));
@@ -74395,21 +74396,21 @@ function cMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var e4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var t4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), t4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+}), n4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), n4 = (e) => Number(e) > 0 ? Jn(Number(e)) : "大小未知";
-function lMe(e) {
+}), r4 = (e) => Number(e) > 0 ? Jn(Number(e)) : "大小未知";
+function uMe(e) {
let { queue: t, actions: n } = e, r = Nt({
- queryKey: t ? kP(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => RP(t, e.helpers, n),
+ queryKey: t ? OP(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => LP(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? VP(i, e.id) : t ? null : e.id, o = Nt({
- queryKey: OP(a ?? 0),
- queryFn: ({ signal: e }) => LP(a, e),
+ }), i = t && r.data || null, a = i ? BP(i, e.id) : t ? null : e.id, o = Nt({
+ queryKey: DP(a ?? 0),
+ queryFn: ({ signal: e }) => IP(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -74420,7 +74421,7 @@ function lMe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(r4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(i4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-placeholder": "",
children: e ? /* @__PURE__ */ (0, I.jsx)(ZG, {
message: yn(e),
@@ -74432,13 +74433,13 @@ function lMe(e) {
})
});
}
- return /* @__PURE__ */ (0, I.jsx)(uMe, {
+ return /* @__PURE__ */ (0, I.jsx)(dMe, {
...e,
- item: Oue(o.data, i),
+ item: kue(o.data, i),
queue: i
}, o.data.id);
}
-var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74447,23 +74448,23 @@ var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function uMe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = TMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
+function dMe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = EMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
(0, F.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, F.useEffect)(() => {
- n?.kind === "playlist" && H(AP, {
+ n?.kind === "playlist" && H(kP, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = cP() ? "" : Rue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = HP(n, t.id);
+ let s = sP() ? "" : zue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = VP(n, t.id);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(dMe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(fMe, {
item: t,
gate: s,
helpers: i,
@@ -74476,22 +74477,22 @@ function uMe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, I.jsx)(gMe, {
+ }), /* @__PURE__ */ (0, I.jsx)(_Me, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, I.jsx)(A2, {
+ }), /* @__PURE__ */ (0, I.jsx)(j2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, I.jsx)(pMe, {
+ queue: n ? /* @__PURE__ */ (0, I.jsx)(mMe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(wMe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(TMe, {
...e,
item: n ? {
...t,
@@ -74500,12 +74501,12 @@ function uMe(e) {
}) : null
})] });
}
-function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function fMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Nt({
- queryKey: K2(e.code || ""),
+ queryKey: q2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, q2(e.code, t, n);
+ return d.current = !1, J2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -74550,7 +74551,7 @@ function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": h ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, I.jsx)(r4, { onClose: r.close }),
+ /* @__PURE__ */ (0, I.jsx)(i4, { onClose: r.close }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -74560,21 +74561,21 @@ function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })
]
}),
- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(G2, {
+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(K2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, I.jsx)(j2, {
+ }, e.id), /* @__PURE__ */ (0, I.jsx)(M2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(G2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(K2, {
item: e,
image: t.index === -2 ? m[0].index : t.index,
source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,
@@ -74599,7 +74600,7 @@ function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(fMe, {
+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(pMe, {
item: e,
badge: y,
helpers: n,
@@ -74610,7 +74611,7 @@ function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, I.jsx)(Z2, {
+ /* @__PURE__ */ (0, I.jsx)(Q2, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -74620,7 +74621,7 @@ function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, I.jsx)(t4, { html: y }),
+ /* @__PURE__ */ (0, I.jsx)(n4, { html: y }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74635,12 +74636,12 @@ function dMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", n4(e.size)] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", r4(e.size)] })]
}) : null
]
});
}
-function fMe({ item: e, badge: t, helpers: n, actions: r }) {
+function pMe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -74651,7 +74652,7 @@ function fMe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, I.jsx)(t4, { html: t }),
+ /* @__PURE__ */ (0, I.jsx)(n4, { html: t }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74665,8 +74666,8 @@ function fMe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function pMe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Pue(e), a = (0, F.useRef)(null), o = hMe(e, t, r), s = (0, F.useRef)(o);
+function mMe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Fue(e), a = (0, F.useRef)(null), o = gMe(e, t, r), s = (0, F.useRef)(o);
s.current = o;
let c = (0, F.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -74674,7 +74675,7 @@ function pMe({ 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 = mMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }, [n, e.kind]), l = hMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -74702,10 +74703,10 @@ function pMe({ 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, I.jsx)("i", {
- className: `javedition ${Mue[i.edition_label] || "censored"}`,
+ className: `javedition ${Nue[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && BP(i);
+ }) : null, s = e.kind === "playlist" && zP(i);
return /* @__PURE__ */ (0, I.jsxs)(KK, {
current: i.id === t,
"data-queue-item": i.id,
@@ -74716,25 +74717,25 @@ function pMe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: Eo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: Eo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Kn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, I.jsx)(t4, { html: ko(i) }),
+ lead: /* @__PURE__ */ (0, I.jsx)(n4, { html: ko(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, I.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, I.jsxs)("span", {
@@ -74745,14 +74746,14 @@ function pMe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? XP(i.part_label) : Ao(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? YP(i.part_label) : Ao(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function mMe(e, t) {
- let n = Pt({ mutationFn: (t) => H(AP, {
+function hMe(e, t) {
+ let n = Pt({ mutationFn: (t) => H(kP, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -74765,11 +74766,11 @@ function mMe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function hMe(e, t, n) {
- let r = kP({
+function gMe(e, t, n) {
+ let r = OP({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (U.setQueryData(r, zP(e)), e), a = (t) => H(AP, {
+ }), i = (e) => (U.setQueryData(r, RP(e)), e), a = (t) => H(kP, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = Pt({
@@ -74785,8 +74786,8 @@ function hMe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Iue(s, t, r, c);
- if (Lue(l, s)) return;
+ let l = Lue(s, t, r, c);
+ if (Rue(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -74828,7 +74829,7 @@ function hMe(e, t, n) {
}
};
}
-function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function _Me({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-side": "",
@@ -74836,7 +74837,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(_Me, {
+ /* @__PURE__ */ (0, I.jsx)(vMe, {
item: e,
queue: t,
helpers: r,
@@ -74848,7 +74849,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, I.jsx)(yMe, {
+ /* @__PURE__ */ (0, I.jsx)(bMe, {
item: e,
write: n
}),
@@ -74859,7 +74860,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -74867,11 +74868,11 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n4(e.size) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: r4(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -74879,20 +74880,20 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Z2, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Q2, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, I.jsx)(bMe, {
+ /* @__PURE__ */ (0, I.jsx)(xMe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(xMe, {
+ /* @__PURE__ */ (0, I.jsx)(SMe, {
item: e,
write: n,
helpers: r,
@@ -74901,10 +74902,10 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
/* @__PURE__ */ (0, I.jsx)(rq, {
assetIds: nq([e], r.javImage()),
onComplete: () => {
- U.invalidateQueries({ queryKey: OP(e.id) });
+ U.invalidateQueries({ queryKey: DP(e.id) });
}
}),
- /* @__PURE__ */ (0, I.jsx)(SMe, { item: e }),
+ /* @__PURE__ */ (0, I.jsx)(CMe, { item: e }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -74918,7 +74919,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74930,7 +74931,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74941,7 +74942,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74952,7 +74953,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "eye" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "eye" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74963,7 +74964,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74972,7 +74973,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "playlist" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "playlist" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74983,7 +74984,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "sparkles" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74994,11 +74995,11 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "trash" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(CMe, {
+ /* @__PURE__ */ (0, I.jsx)(wMe, {
item: e,
open: s,
write: n
@@ -75009,7 +75010,7 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, I.jsx)(e4, { name: "sperm" }),
+ /* @__PURE__ */ (0, I.jsx)(t4, { name: "sperm" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, I.jsx)("b", {
className: "mono",
@@ -75022,8 +75023,8 @@ function gMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function _Me({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = W2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Fue(e, t);
+function vMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Iue(e, t);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75054,19 +75055,19 @@ function _Me({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, I.jsx)(sMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(cMe, {
code: e.cover_key || e.code || "",
coverUrl: so(e),
box: e.poster_box || null,
onSaved: (t) => {
U.invalidateQueries({
- queryKey: OP(e.id),
+ queryKey: DP(e.id),
exact: !0
- }), wP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), CP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(vMe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(yMe, {
id: e.id,
actions: r,
onStatus: i
@@ -75076,7 +75077,7 @@ function _Me({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function vMe({ id: e, actions: t, onStatus: n }) {
+function yMe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, F.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -75106,17 +75107,17 @@ function vMe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "folder-sync" })
})] });
}
-function yMe({ item: e, write: t }) {
- let n = EP(e.rating);
+function bMe({ item: e, write: t }) {
+ let n = TP(e.rating);
return /* @__PURE__ */ (0, I.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": TP(e.rating),
+ "data-value": wP(e.rating),
children: [/* @__PURE__ */ (0, I.jsx)(gY, {
value: n,
onRate: (e) => t.rate(e),
@@ -75131,14 +75132,14 @@ function yMe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: wue(e.rating)
+ children: Tue(e.rating)
})]
});
}
-function bMe({ item: e, actions: t }) {
- let n = (0, F.useMemo)(() => kue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function xMe({ item: e, actions: t }) {
+ let n = (0, F.useMemo)(() => Aue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, I.jsx)(H2, {
+ return /* @__PURE__ */ (0, I.jsx)(U2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -75170,7 +75171,7 @@ function bMe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "user-round" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "user-round" })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -75201,18 +75202,18 @@ function bMe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, I.jsx)(U2, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(W2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function xMe({ item: e, write: t, helpers: n, actions: r }) {
+function SMe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, I.jsx)(P2, {
+ children: /* @__PURE__ */ (0, I.jsx)(F2, {
id: "detailTags",
- tags: Aue(e, n),
+ tags: jue(e, n),
candidates: n.tagCandidates(),
label: n.tagLabel,
adding: [...t.busy].some((e) => e.startsWith("add:")),
@@ -75223,8 +75224,8 @@ function xMe({ item: e, write: t, helpers: n, actions: r }) {
})
});
}
-function SMe({ item: e }) {
- let t = zue(e);
+function CMe({ item: e }) {
+ let t = Bue(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75258,7 +75259,7 @@ function SMe({ item: e }) {
})]
});
}
-function CMe({ item: e, open: t, write: n }) {
+function wMe({ item: e, open: t, write: n }) {
let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
t && a.current?.focus();
@@ -75297,12 +75298,12 @@ function CMe({ item: e, open: t, write: n }) {
})]
});
}
-function wMe(e) {
+function TMe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Nt({
- queryKey: Tue(t.id, n),
- queryFn: async ({ signal: e }) => (await V(Due(t.id, n), e)).items || []
+ queryKey: Eue(t.id, n),
+ queryFn: async ({ signal: e }) => (await V(Oue(t.id, n), e)).items || []
}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, I.jsx)(k2, {
+ return /* @__PURE__ */ (0, I.jsx)(A2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -75323,11 +75324,11 @@ function wMe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, I.jsx)(t4, { html: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(n4, { html: o })
});
}
-function TMe(e, t, n) {
- let r = e.id, i = OP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
+function EMe(e, t, n) {
+ let r = e.id, i = DP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => U.getQueryData(i) || e, p = (e) => {
@@ -75343,7 +75344,7 @@ function TMe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return CP(r, n), t;
+ return SP(r, n), t;
}, m = (e, t) => H(e, {
id: r,
...t
@@ -75358,7 +75359,7 @@ function TMe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(jP, t === void 0 ? { kind: e } : {
+ let n = await m(AP, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -75378,21 +75379,21 @@ function TMe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = DP(n, e);
- await _("rate", r), t.toast(r ? `已评 ${EP(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = EP(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${TP(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(ZP(e, r), { undo: async () => {
+ t.toast(XP(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(NP, {});
+ let e = await m(MP, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(NP, {})).watch_later });
+ p({ watch_later: (await m(MP, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -75402,9 +75403,9 @@ function TMe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(PP, { wanted: !e.wanted });
+ }), r = await m(NP, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(PP, e));
+ n(await m(NP, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -75418,7 +75419,7 @@ function TMe(e, t, n) {
});
u("保存中…");
try {
- o(await m(FP, {
+ o(await m(PP, {
liked: a,
reason: i
}));
@@ -75428,7 +75429,7 @@ function TMe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(FP, r));
+ o(await m(PP, r));
} });
});
},
@@ -75437,41 +75438,41 @@ function TMe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => GP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(MP, {
+ p((t) => WP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(jP, {
operation: "add",
tag: e.k
- }), p((t) => KP(t, e));
+ }), p((t) => GP(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(MP, {
+ let e = await m(jP, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- WP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => KP(e, {
+ UP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => GP(e, {
k: i,
cat: "general"
- })), YP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(MP, {
+ })), JP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(jP, {
operation: "remove",
tag: i
- }), p((e) => GP(e, i));
+ }), p((e) => WP(e, i));
} }));
});
}
};
}
// src/react/publication-cache.ts
-var i4 = 864e5, a4 = (e) => {
+var a4 = 864e5, o4 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function o4(e) {
+function s4(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -75479,25 +75480,25 @@ function o4(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function EMe(e, t = Date.now()) {
- let n = o4(e);
- return n !== void 0 && a4(t) > n ? Infinity : i4;
+function DMe(e, t = Date.now()) {
+ let n = s4(e);
+ return n !== void 0 && o4(t) > n ? Infinity : a4;
}
-function s4(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : EMe(t, n) === Infinity ? a4(e) > o4(t) : n - e < i4;
+function c4(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : DMe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;
}
// src/react/wants/resource-cache.ts
-var c4 = "peach.want-resources.v2";
-function l4(e) {
+var l4 = "peach.want-resources.v2";
+function u4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function u4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !l4(e) ? Date.now() - t < 6e4 : s4(t, n));
+function d4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !u4(e) ? Date.now() - t < 6e4 : c4(t, n));
}
-function d4() {
+function f4() {
try {
- let e = JSON.parse(localStorage.getItem(c4) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && l4(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(l4) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && u4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -75506,23 +75507,23 @@ function d4() {
return [];
}
}
-function DMe(e, t) {
- let n = d4().find((t) => t.code === e);
- return n && s4(n.saved, t) ? n : void 0;
+function OMe(e, t) {
+ let n = f4().find((t) => t.code === e);
+ return n && c4(n.saved, t) ? n : void 0;
}
-function OMe(e) {
- let t = new Map(d4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function kMe(e) {
+ let t = new Map(f4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && s4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && c4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function kMe(e, t) {
- if (t.state === "ready" && l4(t)) try {
- let n = d4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(c4, JSON.stringify([{
+function AMe(e, t) {
+ if (t.state === "ready" && u4(t)) try {
+ let n = f4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(l4, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -75530,15 +75531,15 @@ function kMe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function AMe(e) {
+function jMe(e) {
let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);
return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Jn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";
}
-function jMe(e) {
+function MMe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function f4({ icon: e, children: t, title: n }) {
+function p4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -75548,8 +75549,8 @@ function f4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = DH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => DMe(h, e.release_date), [h, e.release_date]);
+function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = DH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => OMe(h, e.release_date), [h, e.release_date]);
(0, F.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -75569,15 +75570,15 @@ function p4({ 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 V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", kMe(h, i), i;
+ return m.current = n && i.state === "busy", AMe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
@@ -75592,7 +75593,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await H(aW, {
+ let n = await H(oW, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -75603,7 +75604,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: oW });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: sW });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -75637,9 +75638,9 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
- children: jMe(e)
+ children: MMe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(FL, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(PL, {
variant: "secondary",
size: "small",
className: "self-start",
@@ -75668,7 +75669,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(rW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(iW, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -75682,25 +75683,25 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, I.jsx)(f4, {
+ /* @__PURE__ */ (0, I.jsx)(p4, {
icon: Zhe,
children: e.source
}),
- /* @__PURE__ */ (0, I.jsx)(f4, {
+ /* @__PURE__ */ (0, I.jsx)(p4, {
icon: ZB,
title: e.size ? `来源大小:${e.size}` : void 0,
- children: AMe(e.size)
+ children: jMe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, I.jsx)(f4, {
+ e.files ? /* @__PURE__ */ (0, I.jsx)(p4, {
icon: Hhe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, I.jsx)(f4, {
+ /* @__PURE__ */ (0, I.jsx)(p4, {
icon: jhe,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(f4, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(p4, {
icon: rV,
children: e
}, e))
@@ -75710,7 +75711,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-actions": "",
className: "flex flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(FL, {
+ /* @__PURE__ */ (0, I.jsx)(PL, {
"data-button-link": "",
variant: "secondary",
size: "small",
@@ -75757,10 +75758,10 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var m4 = "peach.jav-reviews.v2";
-function h4() {
+var h4 = "peach.jav-reviews.v2";
+function g4() {
try {
- let e = localStorage.getItem(m4) || "[]";
+ let e = localStorage.getItem(h4) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -75768,21 +75769,21 @@ function h4() {
return [];
}
}
-function MMe(e, t) {
+function NMe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...h4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(m4, i);
+ }, ...g4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(h4, i);
} catch {}
}
-function NMe(e, t) {
- let n = h4(), r = [], i = Infinity;
+function PMe(e, t) {
+ let n = g4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !s4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !c4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -75790,16 +75791,16 @@ function NMe(e, t) {
saved: i
} : void 0;
}
-function PMe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && s4(Date.parse(e.checked_at || "") || t, n));
+function FMe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && c4(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function FMe(e) {
+function IMe(e) {
let t = (0, F.useRef)(!1), n = Nt({
- queryKey: K2(e.code),
+ queryKey: q2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, q2(e.code, n, r);
+ return t.current = !1, J2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -75809,21 +75810,21 @@ function FMe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, I.jsx)(IMe, {
+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(LMe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, I.jsx)(g4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(ZG, {
message: sr(n.error),
onRetry: r
}) : null]
})
});
}
-var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75832,7 +75833,7 @@ var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function LMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, F.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, F.useEffect)(() => {
@@ -75854,7 +75855,7 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}] : []
], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = DH(), m = () => {
p.run("want", async (e) => d ? (await vW([d], e), null) : (await _W({ code: t.code }, e)).want.id, (t) => {
- f(t), U.setQueryData(K2(e), (e) => e && {
+ f(t), U.setQueryData(q2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
@@ -75867,19 +75868,19 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(g4, { close: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(_4, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(zMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(AQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(BMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(AQ, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, I.jsx)(j2, {
+ /* @__PURE__ */ (0, I.jsx)(M2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
@@ -75898,33 +75899,33 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(LMe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, I.jsx)(RMe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, I.jsx)(v4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, I.jsx)(v4, {
+ }), /* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, I.jsx)(RMe, {
+ /* @__PURE__ */ (0, I.jsx)(zMe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, I.jsx)(v4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, I.jsx)(v4, {
+ }), /* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -75953,7 +75954,7 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
t.summary ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-jav-summary": "",
"data-long-text": "",
- lang: nL(t.summary),
+ lang: tL(t.summary),
children: t.summary
}) : null,
t.message ? /* @__PURE__ */ (0, I.jsx)(SV, {
@@ -75969,7 +75970,7 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-actions": "",
children: [
- t.source_url ? /* @__PURE__ */ (0, I.jsx)(FL, {
+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(PL, {
"data-button-link": "",
variant: "secondary",
trailingIcon: WB,
@@ -76004,12 +76005,12 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, I.jsx)(BMe, {
+ /* @__PURE__ */ (0, I.jsx)(VMe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, I.jsx)(VMe, {
+ /* @__PURE__ */ (0, I.jsx)(HMe, {
item: t,
actions: n,
readOnly: r
@@ -76017,24 +76018,24 @@ function IMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, I.jsx)(fW, {
+ /* @__PURE__ */ (0, I.jsx)(pW, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var _4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var v4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: z(e) }
-}), v4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
+}), y4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
}) : null;
-function LMe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = W2(e.title), a = e.title === e.code ? "" : e.title;
+function RMe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = G2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, I.jsx)("h1", {
@@ -76050,7 +76051,7 @@ function LMe({ item: e }) {
r && !String(getSelection() || "") && i();
},
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
- lang: nL(a),
+ lang: tL(a),
children: a
})] }) : null]
})
@@ -76069,7 +76070,7 @@ function LMe({ item: e }) {
})]
});
}
-function y4({ score: e, review: t = !1 }) {
+function b4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
@@ -76082,7 +76083,7 @@ function y4({ score: e, review: t = !1 }) {
})]
});
}
-function RMe({ item: e, navigate: t }) {
+function zMe({ item: e, navigate: t }) {
let n = (e, n) => t(Mn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -76091,7 +76092,7 @@ function RMe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(H2, {
+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(U2, {
kind: t,
person: {
...r,
@@ -76115,7 +76116,7 @@ function RMe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, I.jsx)(U2, {
+ }), /* @__PURE__ */ (0, I.jsx)(W2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -76124,11 +76125,11 @@ function RMe({ item: e, navigate: t }) {
})]
});
}
-function zMe({ src: e }) {
+function BMe({ src: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);
return (0, F.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), due(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), fue(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -76148,8 +76149,8 @@ function zMe({ src: e }) {
}) : null
});
}
-function BMe({ code: e, count: t, released: n }) {
- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => NMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Ft({
+function VMe({ code: e, count: t, released: n }) {
+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => PMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Ft({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -76158,12 +76159,12 @@ function BMe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => PMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => FMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await eMe(e, n, t, s.current);
- if (MMe(e, i), !i.ok || i.cache_stale) {
+ let i = await tMe(e, n, t, s.current);
+ if (NMe(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,
@@ -76173,7 +76174,7 @@ function BMe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: tMe
+ getNextPageParam: nMe
});
(0, F.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -76221,7 +76222,7 @@ function BMe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, {
score: Number(e.score),
review: !0
}) : null,
@@ -76233,7 +76234,7 @@ function BMe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, I.jsx)("p", {
"data-long-text": "",
- lang: nL(e.content),
+ lang: tL(e.content),
children: e.content
})]
}, e.id)),
@@ -76280,21 +76281,21 @@ function BMe({ code: e, count: t, released: n }) {
})
});
}
-function VMe({ item: e, actions: t, readOnly: n }) {
+function HMe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, F.useState)(!1), a = Nt({
- queryKey: oW,
+ queryKey: sW,
enabled: r,
- queryFn: ({ signal: e }) => V(`${aW}?limit=50`, e)
+ queryFn: ({ signal: e }) => V(`${oW}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-resources": "",
children: /* @__PURE__ */ (0, I.jsx)(QH, {
trailing: !0,
- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, I.jsx)(p4, {
+ children: s ? /* @__PURE__ */ (0, I.jsx)(m4, {
want: {
id: 0,
code: e.code,
@@ -76311,31 +76312,31 @@ function VMe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var b4 = null, x4 = null, S4 = null, C4 = null, w4 = null, T4 = !1, E4 = 0, D4 = null, O4 = () => !1, k4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function HMe(e, t) {
- b4 = e, O4 = () => t.isOpen(), D4 = () => t.requestClose(), Dle({
+var x4 = null, S4 = null, C4 = null, w4 = null, T4 = null, E4 = !1, D4 = 0, O4 = null, k4 = () => !1, A4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function UMe(e, t) {
+ x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Ole({
...e.player,
stage: () => document.getElementById("stage")
- }), Ole({
- inMiniplayer: (e) => x4?.player === e,
- kind: (e) => x4?.player === e ? x4.kind : S4?.kind ?? C4?.kind ?? "item",
- expand: () => Y4(),
- toMiniplayer: () => X4()
- }), A4 || (A4 = !0, addEventListener("pagehide", () => rP()));
-}
-var A4 = !1;
-function j4() {
- if (!b4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return b4;
-}
-function M4(e) {
- C4 = e;
-}
-var UMe = () => C4;
-function N4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = k4(n, r.id, i?.index ?? null);
- if (x4 && x4.key === a) return GMe(e, x4);
- x4 && J4();
+ }), kle({
+ inMiniplayer: (e) => S4?.player === e,
+ kind: (e) => S4?.player === e ? S4.kind : C4?.kind ?? w4?.kind ?? "item",
+ expand: () => X4(),
+ toMiniplayer: () => Z4()
+ }), j4 || (j4 = !0, addEventListener("pagehide", () => nP()));
+}
+var j4 = !1;
+function M4() {
+ if (!x4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return x4;
+}
+function N4(e) {
+ w4 = e;
+}
+var WMe = () => w4;
+function P4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = A4(n, r.id, i?.index ?? null);
+ if (S4 && S4.key === a) return KMe(e, S4);
+ S4 && Y4();
let o = {
player: null,
kind: n,
@@ -76343,52 +76344,52 @@ function N4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- S4 = o;
+ C4 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = gP(s, {
+ let c = hP(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- S4 === o && (o.player = e);
+ C4 === o && (o.player = e);
},
- handedOff: (e) => x4?.player === e
+ handedOff: (e) => S4?.player === e
});
return () => {
- let e = !!o.player && x4?.player === o.player;
- S4 === o && (S4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), rP());
+ let e = !!o.player && S4?.player === o.player;
+ C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), nP());
};
}
-async function WMe(e, t, n) {
+async function GMe(e, t, n) {
let r = await Cn(`/api/item?id=${e.id}`, { signal: n });
if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await j4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(j4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await M4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(M4().player.offlineReason(String(r.root_id || r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- M4(a);
- let o = N4(t, {
+ N4(a);
+ let o = P4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && C4 === a && F4(!0), o(), C4 === a && M4(null));
+ s || (s = !0, e && w4 === a && I4(!0), o(), w4 === a && N4(null));
};
}
-function GMe(e, t) {
+function KMe(e, t) {
let { player: n } = t;
- K4(t), x4 = null, q4(), n.el().classList.remove("vjs-peach-mini"), mP(e), e.append(n.el()), oN(n);
+ q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), pP(e), e.append(n.el()), aN(n);
let r = {
player: n,
kind: t.kind,
@@ -76396,23 +76397,23 @@ function GMe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- S4 = r;
- let i = hP(n, e);
- return sN(n), () => {
- S4 === r && (S4 = null), i(), x4?.player !== n && (aN() === n && oN(null), JN(n), rP());
+ C4 = r;
+ let i = mP(n, e);
+ return oN(n), () => {
+ C4 === r && (C4 = null), i(), S4?.player !== n && (iN() === n && aN(null), qN(n), nP());
};
}
-var P4 = () => {
- let e = S4?.player;
+var F4 = () => {
+ let e = C4?.player;
return e && !e.isDisposed() ? e : null;
};
-function F4(e) {
- let t = T4;
- T4 = !1, x4?.pending && J4();
- let n = S4, r = n?.player, i = C4;
- if (!n || !r || r.isDisposed() || !i || !w4) return;
- let a = j4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && YMe({
+function I4(e) {
+ let t = E4;
+ E4 = !1, S4?.pending && Y4();
+ let n = C4, r = n?.player, i = w4;
+ if (!n || !r || r.isDisposed() || !i || !T4) return;
+ let a = M4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && XMe({
player: r,
kind: n.kind,
item: n.item,
@@ -76420,46 +76421,46 @@ function F4(e) {
key: n.key
}, i);
}
-function I4(e, t) {
- T4 = !1, x4 && (x4.kind === e && x4.item.id === t ? (x4.pending = !0, q4()) : J4());
+function L4(e, t) {
+ E4 = !1, S4 && (S4.kind === e && S4.item.id === t ? (S4.pending = !0, J4()) : Y4());
}
-function L4(e) {
- w4 = e, w4 && W4();
-}
-var R4 = () => !!x4 && !x4.pending && !x4.player.isDisposed();
-function KMe() {
- return R4() ? w4?.frame.querySelector("video") ?? null : null;
+function R4(e) {
+ T4 = e, T4 && G4();
}
+var z4 = () => !!S4 && !S4.pending && !S4.player.isDisposed();
function qMe() {
- return O4() ? document.getElementById("stage")?.querySelector("video") ?? null : P4()?.el().querySelector("video") ?? KMe();
+ return z4() ? T4?.frame.querySelector("video") ?? null : null;
}
-function z4(e) {
- w4 && (w4.title.textContent = e.title || "", w4.sub.textContent = e.sub || "", w4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function JMe() {
+ return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? qMe();
}
-function B4(e = x4?.item) {
- if (!w4) return;
- let t = w4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- w4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function B4(e) {
+ T4 && (T4.title.textContent = e.title || "", T4.sub.textContent = e.sub || "", T4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function V4() {
- let e = x4?.player;
- if (!e || e.isDisposed() || !w4) return;
- let t = e.paused();
- w4.play.setAttribute("aria-label", t ? "播放" : "暂停"), w4.play.querySelector("[data-icon-swap]") || (w4.play.innerHTML = Ws("player-pause", "player-play", t ? "b" : "a")), Gs(w4.play, t ? "b" : "a");
+function V4(e = S4?.item) {
+ if (!T4) return;
+ let t = T4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ T4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
function H4() {
- let e = x4?.player;
- if (!e || e.isDisposed() || !w4) return;
- let t = Gn(x4?.item.duration) || Gn(e.duration());
- w4.time.textContent = `${qn(e.currentTime())} / ${t ? qn(t) : "0:00"}`;
-}
-var U4 = () => Math.max(1, Number(j4().player.settings().seekSeconds) || 10);
-function W4() {
- if (!w4 || !b4) return;
- let e = U4();
- for (let [t, n] of [[w4.back, `后退 ${e} 秒`], [w4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function G4(e) {
+ let e = S4?.player;
+ if (!e || e.isDisposed() || !T4) return;
+ let t = e.paused();
+ T4.play.setAttribute("aria-label", t ? "播放" : "暂停"), T4.play.querySelector("[data-icon-swap]") || (T4.play.innerHTML = Ws("player-pause", "player-play", t ? "b" : "a")), Gs(T4.play, t ? "b" : "a");
+}
+function U4() {
+ let e = S4?.player;
+ if (!e || e.isDisposed() || !T4) return;
+ let t = Gn(S4?.item.duration) || Gn(e.duration());
+ T4.time.textContent = `${qn(e.currentTime())} / ${t ? qn(t) : "0:00"}`;
+}
+var W4 = () => Math.max(1, Number(M4().player.settings().seekSeconds) || 10);
+function G4() {
+ if (!T4 || !x4) return;
+ let e = W4();
+ for (let [t, n] of [[T4.back, `后退 ${e} 秒`], [T4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function K4(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -76471,17 +76472,17 @@ function G4(e) {
"play",
"pause",
"ended"
- ], V4), t([
+ ], H4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], H4), t("loadedmetadata", () => B4()), V4(), H4(), B4(), W4();
+ ], U4), t("loadedmetadata", () => V4()), H4(), U4(), V4(), G4();
}
-function K4(e) {
+function q4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function JMe() {
- let e = w4?.root;
+function YMe() {
+ let e = T4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -76489,8 +76490,8 @@ function JMe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function q4() {
- let e = w4?.root;
+function J4() {
+ let e = T4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -76501,73 +76502,73 @@ function q4() {
e.style.transform = "";
}
}
-function YMe(e, t) {
- if (!w4) return;
+function XMe(e, t) {
+ if (!T4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- x4 = n, E4++, e.player.el().classList.add("vjs-peach-mini"), w4.frame.prepend(e.player.el()), z4(t), G4(n), JMe(), sN(e.player);
-}
-function J4() {
- let e = x4;
- e && K4(e), x4 = null, E4++;
- let t = e?.player ?? null;
- t && aN() === t && oN(null), JN(t), t && rP(), w4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), rN(), q4();
+ S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), YMe(), oN(e.player);
}
function Y4() {
- if (!R4() || !x4) return;
- let { kind: e, item: t, mediaIndex: n } = x4;
- j4().expand(e, t.id, n);
+ let e = S4;
+ e && q4(e), S4 = null, D4++;
+ let t = e?.player ?? null;
+ t && iN() === t && aN(null), qN(t), t && nP(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), nN(), J4();
}
function X4() {
- R4() && !O4() ? Y4() : O4() && P4() && D4 && (T4 = !0, D4());
+ if (!z4() || !S4) return;
+ let { kind: e, item: t, mediaIndex: n } = S4;
+ M4().expand(e, t.id, n);
+}
+function Z4() {
+ z4() && !k4() ? X4() : k4() && F4() && O4 && (E4 = !0, O4());
}
-function XMe() {
- let e = x4?.player;
+function ZMe() {
+ let e = S4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function Z4(e) {
- let t = x4?.player;
+function Q4(e) {
+ let t = S4?.player;
if (!t || t.isDisposed()) return;
- let n = Gn(t.duration()) || Gn(x4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + U4() * e);
+ let n = Gn(t.duration()) || Gn(S4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + W4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function Q4(e) {
- return !(!R4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || j4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function ZMe(e) {
- if (!R4() || !x4 || !w4) return;
- let t = ++E4, n = await Cn(`/api/item?id=${e}`).catch(() => null);
- if (t !== E4 || !R4() || !x4 || !w4 || !n || n.error) return;
- if (!Q4(n)) {
- j4().openItem(e);
+function $4(e) {
+ return !(!z4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || M4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function QMe(e) {
+ if (!z4() || !S4 || !T4) return;
+ let t = ++D4, n = await Cn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== D4 || !z4() || !S4 || !T4 || !n || n.error) return;
+ if (!$4(n)) {
+ M4().openItem(e);
return;
}
- let r = x4;
- K4(r), aN() === r.player && oN(null), JN(r.player), rP(), w4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = S4;
+ q4(r), iN() === r.player && aN(null), qN(r.player), nP(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", w4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", T4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- z4(a), gP(i, {
+ B4(a), hP(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== E4) {
- r && aN() === r && oN(null), JN(r);
+ if (t !== D4) {
+ r && iN() === r && aN(null), qN(r);
return;
}
if (!r) {
- J4(), j4().openItem(e);
+ Y4(), M4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -76576,25 +76577,25 @@ async function ZMe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: k4("item", n.id, null),
+ key: A4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- x4 = i, G4(i);
+ S4 = i, K4(i);
}
- }), B4(n);
+ }), V4(n);
}
// src/react/stage/miniplayer.tsx
-var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
-}), QMe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, e3 = (e) => (t) => {
+}), $Me = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {
t.stopPropagation(), e();
-}, $Me = (0, F.memo)(function() {
+}, eNe = (0, F.memo)(function() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);
- return (0, F.useLayoutEffect)(() => (L4({
+ return (0, F.useLayoutEffect)(() => (R4({
root: e.current,
frame: n.current,
play: r.current,
@@ -76604,7 +76605,7 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => L4(null)), []), (0, F.useEffect)(() => tNe(e.current, t.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
+ }), () => R4(null)), []), (0, F.useEffect)(() => rNe(e.current, t.current), []), (0, F.useEffect)(() => tNe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -76628,24 +76629,24 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: e3(Y4),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "maximize-2" })
+ onClick: t3(X4),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: e3(J4),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "x" })
+ onClick: t3(Y4),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "x" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: e3(() => Z4(-1)),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-ccw" })
+ onClick: t3(() => Q4(-1)),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: r,
@@ -76654,16 +76655,16 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: e3(XMe),
- dangerouslySetInnerHTML: QMe
+ onClick: t3(ZMe),
+ dangerouslySetInnerHTML: $Me
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: e3(() => Z4(1)),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-cw" })
+ onClick: t3(() => Q4(1)),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
ref: i,
@@ -76680,7 +76681,7 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => Y4(),
+ onClick: () => X4(),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -76694,7 +76695,21 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
})
});
});
-function eNe(e, t, n) {
+function tNe(e) {
+ let t = () => {
+ let t = e.dataset.corner || "";
+ !e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");
+ }, n = new MutationObserver(t);
+ n.observe(e, {
+ attributes: !0,
+ attributeFilter: ["hidden", "data-corner"]
+ });
+ let r = new ResizeObserver(t);
+ return r.observe(e), window.addEventListener("resize", t), t(), () => {
+ n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");
+ };
+}
+function nNe(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
@@ -76716,7 +76731,7 @@ function eNe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function tNe(e, t) {
+function rNe(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 = {
@@ -76742,7 +76757,7 @@ function tNe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), eNe(e, i.dx, i.dy));
+ }, 0), nNe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -76753,57 +76768,57 @@ function tNe(e, t) {
};
}
// src/react/stage/stage.tsx
-var t3 = null, n3 = null, r3 = null, i3 = /* @__PURE__ */ new Set(), a3 = 0, o3 = null, s3 = !1, c3 = !1, l3 = () => {
+var n3 = null, r3 = null, i3 = null, a3 = /* @__PURE__ */ new Set(), o3 = 0, s3 = null, c3 = !1, l3 = !1, u3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function u3() {
- if (!t3) throw Error("舞台还没有接上宿主(configureStage)");
- return t3;
+function d3() {
+ if (!n3) throw Error("舞台还没有接上宿主(configureStage)");
+ return n3;
}
-function nNe(e) {
- return i3.add(e), () => {
- i3.delete(e);
+function iNe(e) {
+ return a3.add(e), () => {
+ a3.delete(e);
};
}
-function rNe() {
- for (let e of [...i3]) e();
+function aNe() {
+ for (let e of [...a3]) e();
}
-function d3() {
- (0, It.flushSync)(rNe);
+function f3() {
+ (0, It.flushSync)(aNe);
}
-function iNe({ view: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(aNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)($Me, {})] });
+function oNe({ view: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(sNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(eNe, {})] });
}
-var f3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
+var p3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: sje() }
+ dangerouslySetInnerHTML: { __html: cje() }
});
-function p3(e) {
+function m3(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function m3() {
- let e = l3(), t = e && uje(e);
+function h3() {
+ let e = u3(), t = e && dje(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : h3();
+ }))) : g3();
}
-function aNe({ view: e }) {
+function sNe({ view: e }) {
let t = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), m3());
+ t.target === e && (t.preventDefault(), h3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(lMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(FMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(Wje, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(uMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(IMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(Gje, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, I.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -76811,27 +76826,27 @@ function aNe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), m3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), h3());
},
onPointerDown: (e) => {
- c3 = p3(e);
+ l3 = m3(e);
},
onClick: (e) => {
- c3 && p3(e) && h3();
+ l3 && m3(e) && g3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(f3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(p3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(f3, {})
+ children: /* @__PURE__ */ (0, I.jsx)(p3, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(MD, {
- getContainer: () => Q0(t.current),
+ children: /* @__PURE__ */ (0, I.jsx)(jD, {
+ getContainer: () => $0(t.current),
children: i
})
})
@@ -76839,14 +76854,14 @@ function aNe({ view: e }) {
]
});
}
-function h3() {
- n3 && !s3 && (s3 = !0, n3.request.actions.close());
+function g3() {
+ r3 && !c3 && (c3 = !0, r3.request.actions.close());
}
-function g3(e, t) {
- let n = l3();
+function _3(e, t) {
+ let n = u3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function _3(e) {
+function v3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -76854,30 +76869,30 @@ function _3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: h3
+ close: g3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => u3().player.settings(), i = () => n3?.request === e;
+ }, r = () => d3().player.settings(), i = () => r3?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: h3,
+ close: g3,
present: (e, t) => {
let n = e.performers;
- M4({
+ N4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), g3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), _3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => N4(e, {
+ mountPlayer: (e, t, r, i) => P4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -76895,18 +76910,18 @@ function _3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: h3,
+ close: g3,
present: (e, t) => {
- M4({
+ N4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), g3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), _3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => N4(e, {
+ mountPlayer: (e, t, r, i) => P4(e, {
kind: "follow",
item: t,
media: r,
@@ -76923,106 +76938,106 @@ function _3(e) {
}
};
}
-function oNe(e, t) {
+function cNe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), n3?.generation === t && n3.phase === "reveal" && (n3 = {
- ...n3,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), r3?.generation === t && r3.phase === "reveal" && (r3 = {
+ ...r3,
phase: "content"
- }, d3());
+ }, f3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function v3(e) {
- let t = l3();
- return !n3 || n3.content.kind !== e || s3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function y3(e) {
+ let t = u3();
+ return !r3 || r3.content.kind !== e || c3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function sNe(e) {
- !r3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (r3 = {
+async function lNe(e) {
+ !i3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (i3 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = v3(e.kind);
+ let t = y3(e.kind);
if (t) {
- await lNe(e, t);
+ await dNe(e, t);
return;
}
- n3 && y3({ miniplayer: !1 });
- let n = ++a3, r = new AbortController();
- o3 = r, s3 = !1, c3 = !1, e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN);
- let i = _3(e);
- n3 = {
+ r3 && b3({ miniplayer: !1 });
+ let n = ++o3, r = new AbortController();
+ s3 = r, c3 = !1, l3 = !1, e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN);
+ let i = v3(e);
+ r3 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? UP(i.props, r.signal) : i.kind === "jav" ? J2(i.props, r.signal) : i2(i.props, r.signal);
- if (n !== a3 || n3?.request !== e) {
+ let a = i.kind === "item" ? HP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);
+ if (n !== o3 || r3?.request !== e) {
await a.catch(() => {});
return;
}
- let o = cNe(i);
- n3 = {
- ...n3,
+ let o = uNe(i);
+ r3 = {
+ ...r3,
phase: o ? "content" : "skeleton"
- }, d3();
- let s = l3();
+ }, f3();
+ let s = u3();
if (!s) {
await a.catch(() => {});
return;
}
- o || lc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);
+ o || lc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), t2(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== a3 || !n3 || o) return;
+ if (n !== o3 || !r3 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- n3 = {
- ...n3,
+ r3 = {
+ ...r3,
phase: c ? "content" : "reveal"
- }, d3(), c || oNe(s, n), Zs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, f3(), c || cNe(s, n), Zs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function cNe(e) {
- if (e.kind === "jav") return !!U.getQueryData(K2(e.props.code));
- if (e.kind === "follow") return !!U.getQueryData(t2(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? U.getQueryData(kP(t)) : null;
+function uNe(e) {
+ if (e.kind === "jav") return !!U.getQueryData(q2(e.props.code));
+ if (e.kind === "follow") return !!U.getQueryData(n2(e.props.id));
+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(OP(t)) : null;
if (t && !r) return !1;
- let i = r ? VP(r, n) : n;
- return i != null && !!U.getQueryData(OP(i));
+ let i = r ? BP(r, n) : n;
+ return i != null && !!U.getQueryData(DP(i));
}
-async function lNe(e, t) {
- let n = ++a3;
- o3?.abort();
+async function dNe(e, t) {
+ let n = ++o3;
+ s3?.abort();
let r = new AbortController();
- o3 = r, c3 = !1;
- let i = _3(e);
+ s3 = r, l3 = !1;
+ let i = v3(e);
try {
- i.kind === "item" ? await UP(i.props, r.signal) : i.kind === "jav" ? await J2(i.props, r.signal) : await i2(i.props, r.signal);
+ i.kind === "item" ? await HP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== a3 || !n3 || v3(e.kind) !== t) return;
- e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN), kl(t), rN(), n3 = {
- ...n3,
+ if (n !== o3 || !r3 || y3(e.kind) !== t) return;
+ e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), kl(t), nN(), r3 = {
+ ...r3,
request: e,
content: i,
phase: "content"
- }, d3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Zs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, f3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Zs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function uNe() {
- e2(null);
- let e = l3();
+function fNe() {
+ t2(null);
+ let e = u3();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -77032,14 +77047,14 @@ function uNe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function y3({ miniplayer: e = !0 } = {}) {
- if (a3++, o3?.abort(), o3 = null, F4(e), !n3) return;
- let t = l3();
- t && kl(t), rN(), e2(null), t?.open && t.close(), n3 = null, s3 = !1, c3 = !1, d3(), M4(null), document.body.removeAttribute("data-detail-open");
- let n = r3;
- r3 = null;
+function b3({ miniplayer: e = !0 } = {}) {
+ if (o3++, s3?.abort(), s3 = null, I4(e), !r3) return;
+ let t = u3();
+ t && kl(t), nN(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");
+ let n = i3;
+ i3 = null;
let r = () => {
- !n3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !r3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -77047,80 +77062,80 @@ function y3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function dNe(e) {
- n3 && (n3 = {
- ...n3,
- content: n3.content.kind === "item" ? {
+function pNe(e) {
+ r3 && (r3 = {
+ ...r3,
+ content: r3.content.kind === "item" ? {
kind: "item",
props: {
- ...n3.content.props,
+ ...r3.content.props,
...e
}
- } : n3.content.kind === "jav" ? n3.content : {
+ } : r3.content.kind === "jav" ? r3.content : {
kind: "follow",
props: {
- ...n3.content.props,
+ ...r3.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, d3());
+ }, f3());
}
-function fNe() {
- let e = UMe(), t = e?.kind === "item" ? e.item : null, n = t ? Do(t, u3().player.settings().javImage) : "";
+function mNe() {
+ let e = WMe(), t = e?.kind === "item" ? e.item : null, n = t ? Do(t, d3().player.settings().javImage) : "";
if (!n) return;
- let r = P4();
+ let r = F4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var pNe = {
- open: sNe,
- update: dNe,
- exit: uNe,
- dispose: y3,
- requestClose: h3,
- requestEscape: m3,
- repaintPoster: fNe,
- isOpen: () => !!n3,
- showing: () => n3 && v3(n3.content.kind) ? n3.content.kind : null,
- activeVideo: () => qMe(),
- mountWallPlayer: WMe,
+var hNe = {
+ open: lNe,
+ update: pNe,
+ exit: fNe,
+ dispose: b3,
+ requestClose: g3,
+ requestEscape: h3,
+ repaintPoster: mNe,
+ isOpen: () => !!r3,
+ showing: () => r3 && y3(r3.content.kind) ? r3.content.kind : null,
+ activeVideo: () => JMe(),
+ mountWallPlayer: GMe,
toggleTheater: () => {
- n3 && FN(!u3().player.settings().theaterMode);
+ r3 && PN(!d3().player.settings().theaterMode);
},
- toggleMiniplayer: () => X4(),
- closeMiniplayer: () => J4(),
- miniplayerActive: () => R4(),
- miniplayerTakesCard: (e) => Q4(e),
+ toggleMiniplayer: () => Z4(),
+ closeMiniplayer: () => Y4(),
+ miniplayerActive: () => z4(),
+ miniplayerTakesCard: (e) => $4(e),
miniplayerPlay: (e) => {
- ZMe(e);
+ QMe(e);
}
};
-function mNe(e) {
- return t3 = e, HMe(e, {
- isOpen: () => !!n3,
- requestClose: h3
- }), pNe;
+function gNe(e) {
+ return n3 = e, UMe(e, {
+ isOpen: () => !!r3,
+ requestClose: g3
+ }), hNe;
}
-function hNe() {
- let e = (0, F.useSyncExternalStore)(nNe, () => n3);
- return t3 ? /* @__PURE__ */ (0, I.jsx)(iNe, { view: e }) : null;
+function _Ne() {
+ let e = (0, F.useSyncExternalStore)(iNe, () => r3);
+ return n3 ? /* @__PURE__ */ (0, I.jsx)(oNe, { view: e }) : null;
}
// src/react/stats/stats.ts
-var gNe = "/api/stats", b3 = ["stats"], x3 = (e) => V(gNe, e);
-async function _Ne(e) {
+var vNe = "/api/stats", x3 = ["stats"], S3 = (e) => V(vNe, e);
+async function yNe(e) {
await U.fetchQuery({
- queryKey: b3,
- queryFn: () => x3(e)
+ queryKey: x3,
+ queryFn: () => S3(e)
});
}
-var S3 = (e) => e != null && Number.isFinite(e), vNe = (e) => S3(e) ? e.toLocaleString() : "未取得", yNe = (e, t) => S3(e) && S3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, bNe = (e, t) => {
- let n = yNe(e, t);
- return !n && S3(e) && e > 0 && S3(t) && t > 0 ? "<1%" : `${n}%`;
-}, C3 = (e) => {
- if (!S3(e)) return "未取得";
+var C3 = (e) => e != null && Number.isFinite(e), bNe = (e) => C3(e) ? e.toLocaleString() : "未取得", xNe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, SNe = (e, t) => {
+ let n = xNe(e, t);
+ return !n && C3(e) && e > 0 && C3(t) && t > 0 ? "<1%" : `${n}%`;
+}, w3 = (e) => {
+ if (!C3(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)} 分钟`;
-}, w3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, T3 = (e) => (e.max_reached || 0) * 100, xNe = (e) => e.kind === "online" ? "在线直接观看" : w3(e) < T3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", SNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function CNe(e, t = 6) {
+}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, CNe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", wNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function TNe(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);
@@ -77130,7 +77145,7 @@ function CNe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var wNe = (e) => Math.max(1, ...e) * 1.1, TNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, ENe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), DNe = {
+var ENe = (e) => Math.max(1, ...e) * 1.1, DNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, ONe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), kNe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -77138,18 +77153,18 @@ var wNe = (e) => Math.max(1, ...e) * 1.1, TNe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, ONe = (e) => e.map((e) => ({
- name: DNe[e.k] ?? e.k,
+}, ANe = (e) => e.map((e) => ({
+ name: kNe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), kNe = {
+})).sort((e, t) => t.value - e.value), jNe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, E3 = (e, t = {}) => e.map((e) => ({
+}, D3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), ANe = (e) => E3(e, kNe), jNe = [
+})), MNe = (e) => D3(e, jNe), NNe = [
[
1,
1,
@@ -77185,12 +77200,12 @@ var wNe = (e) => Math.max(1, ...e) * 1.1, TNe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], MNe = (e) => jNe.map(([t, n, r]) => ({
+], PNe = (e) => NNe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
}));
// node_modules/d3-array/src/max.js
-function D3(e, t) {
+function O3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -77200,7 +77215,7 @@ function D3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function O3(e, t) {
+function k3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -77210,7 +77225,7 @@ function O3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function k3(e, t) {
+function A3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -77220,64 +77235,64 @@ function k3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function NNe(e, t) {
+function FNe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function A3(e) {
+function j3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
-function j3(e, t) {
- return N3(e.source, t.source) || e.index - t.index;
-}
function M3(e, t) {
- return N3(e.target, t.target) || e.index - t.index;
+ return P3(e.source, t.source) || e.index - t.index;
}
function N3(e, t) {
+ return P3(e.target, t.target) || e.index - t.index;
+}
+function P3(e, t) {
return e.y0 - t.y0;
}
-function P3(e) {
+function F3(e) {
return e.value;
}
-function PNe(e) {
+function INe(e) {
return e.index;
}
-function FNe(e) {
+function LNe(e) {
return e.nodes;
}
-function INe(e) {
+function RNe(e) {
return e.links;
}
-function F3(e, t) {
+function I3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function I3({ nodes: e }) {
+function L3({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function LNe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = PNe, c = NNe, l, u, d = FNe, f = INe, p = 6;
+function zNe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = INe, c = FNe, l, u, d = LNe, f = RNe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), I3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), L3(e), e;
}
m.update = function(e) {
- return I3(e), e;
+ return L3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : A3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : j3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : A3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : j3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -77285,9 +77300,9 @@ function LNe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : A3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : j3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : A3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : j3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -77303,12 +77318,12 @@ function LNe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = F3(n, t)), typeof i != "object" && (i = r.target = F3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = I3(n, t)), typeof i != "object" && (i = r.target = I3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(k3(t.sourceLinks, P3), k3(t.targetLinks, P3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(A3(t.sourceLinks, F3), A3(t.targetLinks, F3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -77333,7 +77348,7 @@ function LNe() {
}
}
function y({ nodes: t }) {
- let r = D3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = O3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -77342,7 +77357,7 @@ function LNe() {
return o;
}
function b(e) {
- let n = O3(e, (e) => (r - t - (e.length - 1) * o) / k3(e, P3));
+ let n = k3(e, (e) => (r - t - (e.length - 1) * o) / A3(e, F3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -77359,7 +77374,7 @@ function LNe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (D3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (O3(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -77378,7 +77393,7 @@ function LNe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(N3), w(i, n);
+ l === void 0 && i.sort(P3), w(i, n);
}
}
function C(e, t, n) {
@@ -77394,7 +77409,7 @@ function LNe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(N3), w(i, n);
+ l === void 0 && i.sort(P3), w(i, n);
}
}
function w(e, n) {
@@ -77415,12 +77430,12 @@ function LNe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(M3);
- for (let { target: { targetLinks: t } } of e) t.sort(j3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(N3);
+ for (let { target: { targetLinks: t } } of e) t.sort(M3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(M3), n.sort(j3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(N3), n.sort(M3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -77449,15 +77464,15 @@ function LNe() {
return m;
}
// node_modules/d3-path/src/path.js
-var L3 = Math.PI, R3 = 2 * L3, z3 = 1e-6, RNe = R3 - z3;
-function B3() {
+var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, BNe = z3 - B3;
+function V3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function V3() {
- return new B3();
+function H3() {
+ return new V3();
}
-B3.prototype = V3.prototype = {
- constructor: B3,
+V3.prototype = H3.prototype = {
+ constructor: V3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -77478,11 +77493,11 @@ B3.prototype = V3.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > z3) {
- if (!(Math.abs(u * s - c * l) > z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > B3) {
+ if (!(Math.abs(u * s - c * l) > B3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((L3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > z3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((R3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > B3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -77490,7 +77505,7 @@ B3.prototype = V3.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) > z3 || Math.abs(this._y1 - l) > z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % R3 + R3), d > RNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= L3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > BNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
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";
@@ -77500,93 +77515,93 @@ B3.prototype = V3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function H3(e) {
+function U3(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function zNe(e) {
+function VNe(e) {
return e[0];
}
-function BNe(e) {
+function HNe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var VNe = Array.prototype.slice;
+var UNe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function HNe(e) {
+function WNe(e) {
return e.source;
}
-function UNe(e) {
+function GNe(e) {
return e.target;
}
-function WNe(e) {
- var t = HNe, n = UNe, r = zNe, i = BNe, a = null;
+function KNe(e) {
+ var t = WNe, n = GNe, r = VNe, i = HNe, a = null;
function o() {
- var o, s = VNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = V3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = UNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = H3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : H3(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : U3(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : H3(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : U3(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function GNe(e, t, n, r, i) {
+function qNe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function KNe() {
- return WNe(GNe);
+function JNe() {
+ return KNe(qNe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function qNe(e) {
+function YNe(e) {
return [e.source.x1, e.y0];
}
-function JNe(e) {
+function XNe(e) {
return [e.target.x0, e.y1];
}
-function YNe() {
- return KNe().source(qNe).target(JNe);
+function ZNe() {
+ return JNe().source(YNe).target(XNe);
}
// src/react/taste/taste.ts
-var XNe = "/api/taste", U3 = "/api/taste/refresh", ZNe = "/api/taste/import", W3 = "/api/taste/source", G3 = (e) => ["taste", e], QNe = ["taste", "refresh"], $Ne = [
+var QNe = "/api/taste", W3 = "/api/taste/refresh", $Ne = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], ePe = ["taste", "refresh"], tPe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], ePe = 2e3, tPe = (e) => e?.stale && !e.error ? ePe : !1, nPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], nPe = 2e3, rPe = (e) => e?.stale && !e.error ? nPe : !1, iPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", rPe = (e, t) => H(W3, {
+}) : "—", aPe = (e, t) => H(G3, {
...e,
window: t
-}), K3 = (e, t, n = !1) => V(`${XNe}?window=${e}${n ? "&retry=1" : ""}`, t), iPe = (e) => V(U3, e);
-async function aPe(e, t) {
+}), q3 = (e, t, n = !1) => V(`${QNe}?window=${e}${n ? "&retry=1" : ""}`, t), oPe = (e) => V(W3, e);
+async function sPe(e, t) {
await U.fetchQuery({
- queryKey: G3(e),
- queryFn: () => K3(e, t)
+ queryKey: K3(e),
+ queryFn: () => q3(e, t)
});
}
-var oPe = (e) => H(U3, {
+var cPe = (e) => H(W3, {
window: e,
background: !0
-}), sPe = (e, t) => H(W3, {
+}), lPe = (e, t) => H(G3, {
operation: "remove",
source_key: e,
window: t
});
-async function cPe(e) {
- let t = await fetch(ZNe, {
+async function uPe(e) {
+ let t = await fetch($Ne, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -77604,52 +77619,52 @@ async function cPe(e) {
}
return n;
}
-var lPe = 1e4, q3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function uPe(e) {
+var dPe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function fPe(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
if (!e.range_start && !e.range_end) return t;
let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {
month: "numeric",
day: "numeric"
- }) : q3(e);
+ }) : J3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var dPe = C3, fPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), pPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function mPe(e) {
+var pPe = w3, mPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), hPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function gPe(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 hPe(e) {
- let t = e.map(pPe), n = Math.max(1, ...t);
+function _Pe(e) {
+ let t = e.map(hPe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var J3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var Y3 = (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 gPe(e) {
- let t = J3(e, 6);
+function vPe(e) {
+ let t = Y3(e, 6);
return t.length < 3 ? [] : t;
}
-var Y3 = {
+var X3 = {
width: 720,
height: 435
-}, _Pe = {
+}, yPe = {
source: 145,
target: 545
-}, X3 = 30, vPe = 240;
-function Z3(e, t, n) {
+}, Z3 = 30, bPe = 240;
+function Q3(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function yPe(e = []) {
+function xPe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = Z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = Q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -77658,7 +77673,7 @@ function yPe(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) * X3 + vPe), u = LNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(X3).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Z3 + bPe), u = zNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -77673,7 +77688,7 @@ function yPe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = YNe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = ZNe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -77701,17 +77716,17 @@ function yPe(e = []) {
};
}),
total: d,
- height: l + Y3.height - 404
+ height: l + X3.height - 404
};
}
-var bPe = (e) => $n(e, 17), Q3 = {
+var SPe = (e) => $n(e, 17), $3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, xPe = [[
+}, CPe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -77719,7 +77734,7 @@ var bPe = (e) => $n(e, 17), Q3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], SPe = [[
+]], wPe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -77727,7 +77742,7 @@ var bPe = (e) => $n(e, 17), Q3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], CPe = [[
+]], TPe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -77735,7 +77750,7 @@ var bPe = (e) => $n(e, 17), Q3 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], wPe = [
+]], EPe = [
[
"studios",
"厂牌",
@@ -77751,7 +77766,7 @@ var bPe = (e) => $n(e, 17), Q3 = {
"系列",
"file-stack"
]
-], TPe = [[
+], DPe = [[
"local",
"本地",
"hard-drive"
@@ -77759,7 +77774,7 @@ var bPe = (e) => $n(e, 17), Q3 = {
"online",
"在线",
"rss"
-]], EPe = [
+]], OPe = [
[
"performers",
"艺人",
@@ -77775,7 +77790,7 @@ var bPe = (e) => $n(e, 17), Q3 = {
"在线",
"rss"
]
-], DPe = [[
+], kPe = [[
"cloud",
"标签云",
"tags"
@@ -77783,8 +77798,8 @@ var bPe = (e) => $n(e, 17), Q3 = {
"alphabet",
"字母表",
"text-aa"
-]], $3 = (e) => e === "compact" ? "compact" : "big";
-function e6(e, t) {
+]], e6 = (e) => e === "compact" ? "compact" : "big";
+function t6(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -77794,7 +77809,7 @@ function e6(e, t) {
category: n.get("category") || "all"
};
}
-var t6 = (e, t, n) => Vs(e.map(([e, t, n]) => ({
+var n6 = (e, t, n) => Vs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -77802,12 +77817,12 @@ var t6 = (e, t, n) => Vs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), OPe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
+}), APe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div>
<div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>
- <span class="ml-auto">${Yc("tag-view", "标签视图", DPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function kPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = Q3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Yc("people-layout", o + "索引版式", e === "series" ? CPe : c ? SPe : xPe, a) : "";
+ <span class="ml-auto">${Yc("tag-view", "标签视图", kPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function jPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Yc("people-layout", o + "索引版式", e === "series" ? TPe : c ? wPe : CPe, 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}
@@ -77819,24 +77834,24 @@ function kPe({ 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">${Ts("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? t6(TPe, n, "词表") : e === "performers" || e === "creators" ? t6(EPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t6(wPe, e, "资料类型") : ""}
- ${e === "tags" ? OPe(r) : ""}
- ${e === "performers" && n !== "online" ? ATe(i) : ""}
+ ${e === "tags" ? n6(DPe, n, "词表") : e === "performers" || e === "creators" ? n6(OPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(EPe, e, "资料类型") : ""}
+ ${e === "tags" ? APe(r) : ""}
+ ${e === "performers" && n !== "online" ? jTe(i) : ""}
${nc({
kind: e,
layout: a,
mode: r
})}`;
}
-var APe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function n6(e, t, n) {
- let r = kPe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== APe(r) && (e.innerHTML = r, lc(e));
+var MPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function r6(e, t, n) {
+ let r = jPe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== MPe(r) && (e.innerHTML = r, lc(e));
}
// src/react/router/pages/index-entity.tsx
-var jPe = () => lu, MPe = () => Jl, r6 = () => document.getElementById("index");
-function i6(e, t, n = {}) {
- let r = (0, F.useSyncExternalStore)(bu, jPe);
+var NPe = () => lu, PPe = () => Jl, i6 = () => document.getElementById("index");
+function a6(e, t, n = {}) {
+ let r = (0, F.useSyncExternalStore)(bu, NPe);
Zd();
let i = Lf(G.navigation.location.pathname), a = (0, F.useRef)({
mounted: !0,
@@ -77884,11 +77899,11 @@ function i6(e, t, n = {}) {
i
]);
}
-async function NPe(e, t, n, r) {
- let i = r6();
+async function FPe(e, t, n, r) {
+ let i = i6();
if (!i) return;
- let a = `/${t}`, o = e6(t, n), s = $3(mM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
- c || (e.surfaceChanged("index", a), n6(i, o, s), cm(r, i, { pending: !0 })), await dp(a, {
+ let a = `/${t}`, o = t6(t, n), s = e6(pM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
+ c || (e.surfaceChanged("index", a), r6(i, o, s), cm(r, i, { pending: !0 })), await dp(a, {
...o,
layout: s,
selectMode: Jl,
@@ -77899,23 +77914,23 @@ async function NPe(e, t, n, r) {
reuse: c
}) && r() && (e.surfaceShown?.("index", a), cm(r, i));
}
-function PPe(e) {
- let t = r6(), n = t ? op(t) : null;
+function IPe(e) {
+ let t = i6(), n = t ? op(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function FPe({ epoch: e }) {
+function LPe({ epoch: e }) {
let t = (0, F.useContext)(tG), n = Zd(), r = n.pathname.split("/").filter(Boolean)[0];
- return i6(e, (e, i) => {
- t && NPe(t, r, n.search, i);
- }, { shown: () => PPe(`/${r}`) }), null;
+ return a6(e, (e, i) => {
+ t && FPe(t, r, n.search, i);
+ }, { shown: () => IPe(`/${r}`) }), null;
}
-function IPe() {
- let e = eG(), t = (0, F.useSyncExternalStore)(bu, MPe), n = (0, F.useRef)(t);
+function RPe() {
+ let e = eG(), t = (0, F.useSyncExternalStore)(bu, PPe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && pp(r6(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, I.jsx)(FPe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && pp(i6(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(LPe, { epoch: e }, e);
}
-function LPe(e) {
+function zPe(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -77929,9 +77944,9 @@ function LPe(e) {
name: a
} : null;
}
-var a6 = /* @__PURE__ */ new WeakMap();
-function RPe(e) {
- let t = a6.get(e);
+var o6 = /* @__PURE__ */ new WeakMap();
+function BPe(e) {
+ let t = o6.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -77941,14 +77956,14 @@ function RPe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, a6.set(e, t)), t;
+ }, o6.set(e, t)), t;
}
-function o6() {
- let e = r6(), t = e ? op(e) : null;
+function s6() {
+ let e = i6(), t = e ? op(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function zPe(e, t, n, r, i, a, o) {
- let s = r6();
+async function VPe(e, t, n, r, i, a, o) {
+ let s = i6();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (!a()) return;
@@ -77971,7 +77986,7 @@ async function zPe(e, t, n, r, i, a, o) {
let g = {
...h,
hosts: m,
- card: RPe(e),
+ card: BPe(e),
resolvedEntity: o,
restoreNavigation: om(),
actions: {
@@ -77986,16 +78001,16 @@ async function zPe(e, t, n, r, i, a, o) {
isCurrent: a,
beforePlace: () => e.surfaceChanged("entity", r),
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && o6() && (e.surfaceShown?.("entity", r), cm(a, m.filter));
+ }) && a() && s6() && (e.surfaceShown?.("entity", r), cm(a, m.filter));
}
-function BPe({ target: e }) {
+function HPe({ target: e }) {
let t = (0, F.useContext)(tG), n = eG(), r = Zd();
- return i6(n, (n, i) => {
+ return a6(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
- if (n || !o6()) {
+ if (n || !s6()) {
if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;
- cm(i, r6(), { pending: !0 });
+ cm(i, i6(), { pending: !0 });
}
let o = new URLSearchParams({ kind: e.kind });
o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);
@@ -78021,7 +78036,7 @@ function BPe({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Mn(e.kind, c, Number(s.id));
- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? cm(i, r6()?.querySelector("[data-entity-filter]")) : zPe(t, a, {
+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? cm(i, i6()?.querySelector("[data-entity-filter]")) : VPe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : Tp(l + r.search + r.hash, {
@@ -78029,16 +78044,16 @@ function BPe({ target: e }) {
state: G.navigation.location.state
});
})();
- }, { shown: () => o6() && !r6()?.hidden }), null;
+ }, { shown: () => s6() && !i6()?.hidden }), null;
}
-function VPe() {
- let e = LPe(Zd().pathname);
- return e ? /* @__PURE__ */ (0, I.jsx)(BPe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function UPe() {
+ let e = zPe(Zd().pathname);
+ return e ? /* @__PURE__ */ (0, I.jsx)(HPe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/router/pages/follow.tsx
-var s6 = () => document.getElementById("stats"), HPe = () => hu;
-async function UPe(e, t) {
- let n = s6(), r = e.follow;
+var c6 = () => document.getElementById("stats"), WPe = () => hu;
+async function GPe(e, t) {
+ let n = c6(), r = e.follow;
if (!n || !r) return;
let i = am("follow"), a = r.refresh(i), o = r.props();
if (im("follow", {
@@ -78047,34 +78062,34 @@ async function UPe(e, t) {
revision: o.revision
}), a) return;
let s = U.getQueryData(ta(o.view, o.revision).queryKey) !== void 0;
- s || (e.surfaceChanged("follow", "/follow"), O2(n, r.skeleton()), cm(t, n, { pending: !0 })), await dp("/follow", o, {
+ s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), cm(t, n, { pending: !0 })), await dp("/follow", o, {
container: n,
isCurrent: t,
beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0
}), t() && cm(t, n.querySelector("[data-filter-frame]"));
}
-function WPe() {
- let e = s6(), t = e ? op(e) : null;
+function KPe() {
+ let e = c6(), t = e ? op(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function GPe() {
+function qPe() {
let e = (0, F.useContext)(tG);
- return i6(eG(), (t, n) => {
- e && UPe(e, n);
+ return a6(eG(), (t, n) => {
+ e && GPe(e, n);
}, {
- shown: WPe,
+ shown: KPe,
onCovered: () => {
G.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function c6(e) {
+function l6(e) {
let t = e ? op(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function KPe(e, t) {
- let n = s6();
- n && (e.surfaceChanged("playlists", "/playlists"), O2(n, E2("/playlists", {
+async function JPe(e, t) {
+ let n = c6();
+ n && (e.surfaceChanged("playlists", "/playlists"), k2(n, D2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -78083,54 +78098,54 @@ async function KPe(e, t) {
isCurrent: t
}), t() && cm(t));
}
-function qPe() {
- let e = (0, F.useContext)(tG), t = (0, F.useSyncExternalStore)(bu, HPe), n = (0, F.useRef)(t);
+function YPe() {
+ let e = (0, F.useContext)(tG), t = (0, F.useSyncExternalStore)(bu, WPe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = s6();
- c6(e) && pp(e, { revision: t });
- }, [t]), i6(eG(), (t, n) => {
- e && KPe(e, n);
+ let e = c6();
+ l6(e) && pp(e, { revision: t });
+ }, [t]), a6(eG(), (t, n) => {
+ e && JPe(e, n);
}, { shown: () => {
- let e = s6();
- return c6(e) && !e.hidden;
+ let e = c6();
+ return l6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function JPe() {
+function XPe() {
let e = new URLSearchParams(G.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function YPe() {
+function ZPe() {
let e = (0, F.useContext)(tG);
return JW(() => {
- e?.openImmerse(JPe());
+ e?.openImmerse(XPe());
}, !0), null;
}
-function XPe() {
- return /* @__PURE__ */ (0, I.jsx)(YPe, {}, eG());
+function QPe() {
+ return /* @__PURE__ */ (0, I.jsx)(ZPe, {}, eG());
}
// src/react/router/pages/managed.tsx
-var ZPe = () => lu > 0, l6 = () => (0, F.useSyncExternalStore)(bu, ZPe), u6 = () => mM().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);
-function f6(e) {
+var $Pe = () => lu > 0, u6 = () => (0, F.useSyncExternalStore)(bu, $Pe), d6 = () => pM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
+function p6(e) {
return Cn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (wn(e)) return null;
throw e;
});
}
-function p6(e, t) {
+function m6(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function QPe(e, t) {
+async function eFe(e, t) {
if (e === "/jav") {
- let e = await f6(t);
+ let e = await p6(t);
return t.live ? {
- tab: SU(d6().get("tab")),
+ tab: SU(f6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -78141,50 +78156,50 @@ async function QPe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && vu({ configurationRequestedSection: "网络与访问" });
- let t = d6().get("section") || ou || Df(e);
+ let t = f6().get("section") || ou || Df(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = d6().get("category") || "", n = await f6(t);
+ let e = f6().get("category") || "", n = await p6(t);
return t.live ? {
category: GY(e) ? e : "",
- queue: JY(d6().get("queue")),
- ...p6(n, "/review")
+ queue: JY(f6().get("queue")),
+ ...m6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = eQ("?" + d6().toString()), n = await f6(t);
+ let e = eQ("?" + f6().toString()), n = await p6(t);
if (!t.live) return null;
- let r = mM().value;
+ let r = pM().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: u6(),
- ...p6(n, "/subscriptions")
+ layout: d6(),
+ ...m6(n, "/subscriptions")
};
}
return {};
}
-async function $Pe(e, t, n) {
+async function tFe(e, t, n) {
let r = G.navigation.seq, i = () => n.live && G.navigation.seq === r;
- if (e === "/jav" && SU(d6().get("tab")) === "library") {
+ if (e === "/jav" && SU(f6().get("tab")) === "library") {
G.replace(rve(window.location.search));
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "wants") {
+ if (e === "/subscriptions" && f6().get("tab") === "wants") {
Tp("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "source") {
+ if (e === "/subscriptions" && f6().get("tab") === "source") {
Tp("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
if (!a) return;
- t.surfaceChanged("management", e), O2(a, E2(e, {
- followLayout: u6(),
- followSort: d6().get("sort") || "",
- followDir: d6().get("dir") || ""
+ t.surfaceChanged("management", e), k2(a, D2(e, {
+ followLayout: d6(),
+ followSort: f6().get("sort") || "",
+ followDir: f6().get("dir") || ""
})), cm(i, a, { pending: !0 }), e === "/taste" && (vu({ state: {
...W,
creator: "",
@@ -78200,7 +78215,7 @@ async function $Pe(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let o = await QPe(e, n);
+ let o = await eFe(e, n);
if (!o) return;
let s = await dp(e, o, {
container: a,
@@ -78216,19 +78231,19 @@ async function $Pe(e, t, n) {
}) : cm(i);
}
}
-function m6({ path: e }) {
+function h6({ path: e }) {
let t = eG();
Zd();
let n = Lf(G.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);
n || i.current && r.current !== null || (r.current = t), i.current = n;
let a = e.startsWith("/settings/") ? "/settings/configuration" : e;
- return /* @__PURE__ */ (0, I.jsx)(eFe, {
+ return /* @__PURE__ */ (0, I.jsx)(nFe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function eFe({ path: e, covered: t }) {
- let n = (0, F.useContext)(tG), r = l6(), i = (0, F.useRef)(null);
+function nFe({ path: e, covered: t }) {
+ let n = (0, F.useContext)(tG), r = u6(), i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
e.startsWith("/settings/") && pp(document.getElementById("stats"), { section: Df(e) });
}, [e]), (0, F.useEffect)(() => {
@@ -78239,15 +78254,15 @@ function eFe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && $Pe(e, n, a);
+ a.live && tFe(e, n, a);
});
}, [r]), (0, F.useEffect)(() => () => {
let e = i.current;
e && (e.live = !1, e.controller.abort());
}, []), null;
}
-function tFe() {
- let e = l6(), t = (0, F.useRef)(!1);
+function rFe() {
+ let e = u6(), t = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e || t.current || Lf(G.navigation.location.pathname)) return;
t.current = !0;
@@ -78260,24 +78275,24 @@ function tFe() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var h6 = [], g6 = "peach.chunkReloadAt", nFe = 3e4;
-async function rFe() {
+var g6 = [], _6 = "peach.chunkReloadAt", iFe = 3e4;
+async function aFe() {
try {
- let e = Number(sessionStorage.getItem(g6) || 0);
- if (Date.now() - e < nFe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(_6) || 0);
+ if (Date.now() - e < iFe || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
- sessionStorage.setItem(g6, String(Date.now())), location.reload();
+ sessionStorage.setItem(_6, String(Date.now())), location.reload();
} catch {}
}
-function _6(e) {
+function v6(e) {
let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {
throw n = null, e;
});
- return h6.push(r), {
+ return g6.push(r), {
preload: () => r().catch(async (e) => {
- throw await rFe(), e;
+ throw await aFe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -78285,10 +78300,10 @@ function _6(e) {
}
};
}
-function iFe() {
+function oFe() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
- let t = [...h6], n = () => {
+ let t = [...g6], n = () => {
let r = t.shift();
r && e(() => {
r().catch(() => {}).finally(n);
@@ -78297,31 +78312,31 @@ function iFe() {
document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });
}
// src/react/router/managed-routes.tsx
-async function v6(e, t) {
+async function y6(e, t) {
let [n, r] = await Promise.allSettled([e.preload(), t]);
if (r.status === "rejected") throw r.reason;
if (n.status === "rejected") throw n.reason;
}
-var y6 = _6(() => import("./peach-app.jav-page-C2bS144a.js")), b6 = _6(() => import("./peach-app.stats-page-DhNggTPt.js")), x6 = _6(() => import("./peach-app.taste-page-O5P41pRb.js")), S6 = _6(() => import("./peach-app.review-page-kd1HFP2A.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {
+var b6 = v6(() => import("./peach-app.jav-page-C2bS144a.js")), x6 = v6(() => import("./peach-app.stats-page-DhNggTPt.js")), S6 = v6(() => import("./peach-app.taste-page-O5P41pRb.js")), C6 = v6(() => import("./peach-app.review-page-kd1HFP2A.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {
let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BkqUJk6k.js"), import("./peach-app.diagnostics-page-yTNOV5os.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), O6 = _6(() => import("./peach-app.activity-page-BI05_rqb.js")), k6 = _6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function aFe(e, t, n) {
+}), k6 = v6(() => import("./peach-app.activity-page-BI05_rqb.js")), A6 = v6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function sFe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- N6(r) ? n(r) : t.openManage(e);
+ P6(r) ? n(r) : t.openManage(e);
}
-var j6 = (e) => ({
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: e }),
- prefetch: (t, n) => v6(D6, Promise.all([Cke(n), ...e === "/settings/diagnostics" ? [YDe(n)] : []]).then(() => {})),
+var M6 = (e) => ({
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: e }),
+ prefetch: (t, n) => y6(O6, Promise.all([wke(n), ...e === "/settings/diagnostics" ? [XDe(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -78332,12 +78347,12 @@ var j6 = (e) => ({
})
});
}
-}), M6 = {
+}), N6 = {
...Kf.reduce((e, t) => (e[t.path] = {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: t.path }),
- prefetch: (e, n) => v6(C6, bTe(t.key, n)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: t.path }),
+ prefetch: (e, n) => y6(w6, xTe(t.key, n)),
page: (e, n) => {
- let { DataCleanupToolPage: r } = C6.get();
+ let { DataCleanupToolPage: r } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
tool: t.key,
failure: n.failure,
@@ -78346,10 +78361,10 @@ var j6 = (e) => ({
}
}, e), {}),
"/jav": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/jav" }),
- prefetch: (e, t) => v6(y6, EW(e.tab, t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/jav" }),
+ prefetch: (e, t) => y6(b6, EW(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = y6.get();
+ let { JavPage: n } = b6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
navigate: t.navigate,
@@ -78358,10 +78373,10 @@ var j6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/stats" }),
- prefetch: (e, t) => v6(b6, _Ne(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/stats" }),
+ prefetch: (e, t) => y6(x6, yNe(t)),
page: (e, t) => {
- let { StatsPage: n } = b6.get();
+ let { StatsPage: n } = x6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
tagLabel: Nl,
onTag: t.openTag
@@ -78369,10 +78384,10 @@ var j6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/taste" }),
- prefetch: (e, t) => v6(x6, aPe("all", t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/taste" }),
+ prefetch: (e, t) => y6(S6, sPe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = x6.get();
+ let { TastePage: r } = S6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -78382,10 +78397,10 @@ var j6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/review" }),
- prefetch: (e, t) => v6(S6, uwe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/review" }),
+ prefetch: (e, t) => y6(C6, dwe(t)),
page: (e, t) => {
- let { ReviewPage: n } = S6.get();
+ let { ReviewPage: n } = C6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeReview,
@@ -78397,23 +78412,23 @@ var j6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/data-cleanup" }),
- prefetch: (e, t) => v6(C6, yTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => y6(w6, bTe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = C6.get();
+ let { DataCleanupPage: r } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
navigate: n,
failure: t.failure,
- open: (e) => aFe(e, t, n),
+ open: (e) => sFe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/duplicates" }),
- prefetch: (e, t) => v6(w6, ECe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/duplicates" }),
+ prefetch: (e, t) => y6(T6, DCe(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = w6.get();
+ let { DuplicatesPage: n } = T6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -78422,46 +78437,46 @@ var j6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/quality-goals" }),
- prefetch: (e, t) => v6(T6, RCe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/quality-goals" }),
+ prefetch: (e, t) => y6(E6, zCe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = T6.get();
+ let { QualityGoalsPage: n } = E6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: aL,
- javDisplayName: iL,
+ javTitleHtml: iL,
+ javDisplayName: rL,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/sources" }),
- prefetch: (e, t) => v6(E6, pke(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/sources" }),
+ prefetch: (e, t) => y6(D6, mke(t)),
page: (e, t) => {
- let { ScrapingPage: n } = E6.get();
+ let { ScrapingPage: n } = D6.get();
return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });
}
},
- "/settings/library": j6("/settings/library"),
- "/settings/subscriptions": j6("/settings/subscriptions"),
- "/settings/downloads": j6("/settings/downloads"),
- "/settings/network": j6("/settings/network"),
- "/settings/maintenance": j6("/settings/maintenance"),
- "/settings/diagnostics": j6("/settings/diagnostics"),
+ "/settings/library": M6("/settings/library"),
+ "/settings/subscriptions": M6("/settings/subscriptions"),
+ "/settings/downloads": M6("/settings/downloads"),
+ "/settings/network": M6("/settings/network"),
+ "/settings/maintenance": M6("/settings/maintenance"),
+ "/settings/diagnostics": M6("/settings/diagnostics"),
"/tasks": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/tasks" }),
- prefetch: (e, t) => v6(O6, zfe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/tasks" }),
+ prefetch: (e, t) => y6(k6, Bfe(t)),
page: () => {
- let { ActivityPage: e } = O6.get();
+ let { ActivityPage: e } = k6.get();
return /* @__PURE__ */ (0, I.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/subscriptions" }),
- prefetch: (e, t) => v6(k6, Ii(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/subscriptions" }),
+ prefetch: (e, t) => y6(A6, Ii(t)),
page: (e, t) => {
- let { FollowManagePage: n } = k6.get();
+ let { FollowManagePage: n } = A6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -78471,12 +78486,12 @@ var j6 = (e) => ({
});
}
}
-}, N6 = (e) => Object.hasOwn(M6, e), oFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(tFe, {}) } }, sFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(XPe, {}) } }, P6 = {
+}, P6 = (e) => Object.hasOwn(N6, e), cFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(rFe, {}) } }, lFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(QPe, {}) } }, F6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, I.jsx)(qPe, {}),
- prefetch: (e, t) => v6(A6, ZOe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(YPe, {}),
+ prefetch: (e, t) => y6(j6, QOe(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = A6.get();
+ let { PlaylistsPage: n } = j6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -78487,14 +78502,14 @@ var j6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, I.jsx)(GPe, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(qPe, {}),
prefetch: (e, t) => ia(e, t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(OEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(kEe, { ...e })
}
-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {
- element: /* @__PURE__ */ (0, I.jsx)(IPe, {}),
- prefetch: (e, t) => VTe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(lOe, {
+}, I6 = (e) => Object.hasOwn(F6, e), L6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(RPe, {}),
+ prefetch: (e, t) => HTe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(uOe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -78507,25 +78522,25 @@ var j6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, L6 = {
- "/performers": I6,
- "/creators": I6,
- "/studios": I6,
- "/agencies": I6,
- "/tags": I6,
- "/series": I6
}, R6 = {
- element: /* @__PURE__ */ (0, I.jsx)(VPe, {}),
- prefetch: (e) => kTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(WDe, { ...e })
+ "/performers": L6,
+ "/creators": L6,
+ "/studios": L6,
+ "/agencies": L6,
+ "/tags": L6,
+ "/series": L6
}, z6 = {
- "/performers/*": R6,
- "/studios/*": R6,
- "/creators/*": R6,
- "/series/*": R6,
- "/agencies/*": R6,
- "/tags/*": R6
+ element: /* @__PURE__ */ (0, I.jsx)(UPe, {}),
+ prefetch: (e) => ATe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(GDe, { ...e })
}, B6 = {
+ "/performers/*": z6,
+ "/studios/*": z6,
+ "/creators/*": z6,
+ "/series/*": z6,
+ "/agencies/*": z6,
+ "/tags/*": z6
+}, V6 = {
"/": {
element: /* @__PURE__ */ (0, I.jsx)(UW, {}),
prefetch: async () => {},
@@ -78534,55 +78549,55 @@ var j6 = (e) => ({
"/junk-files": {
element: /* @__PURE__ */ (0, I.jsx)(UW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(SOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(COe, { ...e })
}
-}, V6 = (e) => Object.hasOwn(B6, e), cFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(q_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(V$, { ...e }), H6 = {
+}, H6 = (e) => Object.hasOwn(V6, e), uFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(q_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(H$, { ...e }), U6 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Cye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(wye, { ...e })
},
"feed-new": {
- prefetch: (e) => TTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(XDe, { ...e })
+ prefetch: (e) => ETe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(ZDe, { ...e })
},
"library-processing": {
prefetch: (e, t) => yH(t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(cFe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(uFe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(yke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(bke, { ...e })
}
-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {
+}, W6 = (e) => Object.hasOwn(U6, e), G6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Gce, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Kce, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Tle, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Ele, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(vfe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(yfe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(yde, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(bde, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Hke, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Uke, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(iAe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(aAe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(hNe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(_Ne, {})
}
-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [
+}, K6 = (e) => Object.hasOwn(G6, e), q6 = [
"/",
"/wall",
"/unseen",
@@ -78592,99 +78607,99 @@ var j6 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(M6),
- ...Object.keys(P6),
- ...Object.keys(L6),
- ...Object.keys(z6),
- ...K6
+ ...Object.keys(N6),
+ ...Object.keys(F6),
+ ...Object.keys(R6),
+ ...Object.keys(B6),
+ ...q6
];
-var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);
-function J6(e) {
- return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];
+var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);
+function Y6(e) {
+ return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];
}
-function lFe(e, t, n) {
- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function dFe(e, t, n) {
+ return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function uFe(e, t, n, r) {
- return J6(e).page(t, n, r);
+function fFe(e, t, n, r) {
+ return Y6(e).page(t, n, r);
}
// src/react/application-residents.ts
-var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();
-function dFe(e) {
- return Y6 = e, X6 && e(X6), () => {
- Y6 === e && (Y6 = null);
+var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();
+function pFe(e) {
+ return X6 = e, Z6 && e(Z6), () => {
+ X6 === e && (X6 = null);
};
}
-function fFe(e) {
- return Y6 && (X6 = e, Y6(e), ap(Promise.resolve(lFe)), iFe()), Promise.resolve();
+function mFe(e) {
+ return X6 && (Z6 = e, X6(e), ap(Promise.resolve(dFe)), oFe()), Promise.resolve();
}
-async function $6(e, t, n = (e) => e) {
- let r = Z6;
- if (t.isConnected || Q6.add(t), !await dp(e, {}, {
+async function e8(e, t, n = (e) => e) {
+ let r = Q6;
+ if (t.isConnected || $6.add(t), !await dp(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!Y6 && r === Z6,
+ isCurrent: () => !!X6 && r === Q6,
place: () => n(t)
- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");
+ }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");
}
-function pFe() {
- Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;
- for (let e of Q6) e.remove();
- Q6.clear(), c$();
+function hFe() {
+ 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(), l$();
}
-var e8 = null, t8 = null;
-function n8(e) {
- return e8 ??= (async () => {
- let t = mNe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;
- })(), e8;
+var t8 = null, n8 = null;
+function r8(e) {
+ return t8 ??= (async () => {
+ let t = gNe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;
+ })(), t8;
}
-var r8 = () => t8, i8 = null, a8 = null;
-function mFe(e) {
- return i8 ??= (async () => {
- let t = vde(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;
- })(), i8;
-}
-var o8 = () => a8, s8 = null, c8 = null;
-function hFe(e) {
- return s8 ??= (async () => {
- let t = Vke(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;
- })(), s8;
-}
-var l8 = () => c8, u8 = null, d8 = null;
+var i8 = () => n8, a8 = null, o8 = null;
function gFe(e) {
- return u8 ??= (async () => {
- let t = rAe(e);
- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;
- })(), u8;
+ return a8 ??= (async () => {
+ let t = yde(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;
+ })(), a8;
}
-var f8 = () => d8, p8 = null, m8 = null;
+var s8 = () => o8, c8 = null, l8 = null;
function _Fe(e) {
- return p8 ??= (async () => {
- let t = _fe(e);
- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;
- })(), p8;
+ return c8 ??= (async () => {
+ let t = Hke(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 h8 = () => m8, g8 = null, _8 = null;
+var u8 = () => l8, d8 = null, f8 = null;
function vFe(e) {
- return g8 ??= (async () => {
- let t = Wce(e);
- return await $6("batch-dock", e.root), _8 = t, t;
- })(), g8;
+ return d8 ??= (async () => {
+ let t = iAe(e);
+ return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;
+ })(), d8;
}
-var v8 = () => _8, y8 = null;
+var p8 = () => f8, m8 = null, h8 = null;
function yFe(e) {
- return y8 ??= (async () => {
- wle(e), await $6("glow-picker", e.root);
- })(), y8;
-}
-function b8(e, t, n, r) {
- l$(e, t), u$(n, r);
+ return m8 ??= (async () => {
+ let t = vfe(e);
+ return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;
+ })(), m8;
+}
+var g8 = () => h8, _8 = null, v8 = null;
+function bFe(e) {
+ return _8 ??= (async () => {
+ let t = Gce(e);
+ return await e8("batch-dock", e.root), v8 = t, t;
+ })(), _8;
+}
+var y8 = () => v8, b8 = null;
+function xFe(e) {
+ return b8 ??= (async () => {
+ Tle(e), await e8("glow-picker", e.root);
+ })(), b8;
+}
+function x8(e, t, n, r) {
+ u$(e, t), d$(n, r);
}
// src/application/receipts.js
-var x8 = {
+var S8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -78693,13 +78708,13 @@ var x8 = {
rollSeed: void 0,
seededSample: void 0
};
-function bFe() {
- l$(R("#toasts"), {
+function SFe() {
+ u$(R("#toasts"), {
success: z("check"),
error: z("circle-alert")
- }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {
- Xo(i || (t ? "error" : "success")), b8(R("#toasts"), {
+ }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {
+ Xo(i || (t ? "error" : "success")), x8(R("#toasts"), {
success: z("check"),
error: z("circle-alert")
}, a, {
@@ -78714,10 +78729,10 @@ function bFe() {
} : null
});
};
- return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };
- }, x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };
+ }, S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = x8.toast({ text: e }, {
+ return r = S8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -78730,14 +78745,14 @@ function bFe() {
}
} : null
}), r;
- }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => nr(), x8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => nr(), S8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => tr(n, r(e)) - tr(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var xFe = [
+var CFe = [
"loc",
"creator",
"studio",
@@ -78758,10 +78773,10 @@ var xFe = [
"folder",
"folder_recursive"
];
-function S8(e, t, n, r = n.defaultSort) {
- return Yj(e, t, n.defaultSort, n.defaultSortDirection, r);
+function C8(e, t, n, r = n.defaultSort) {
+ return Jj(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function SFe(e, t, n) {
+function wFe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = kn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -78777,7 +78792,7 @@ function SFe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: Dn[r] || o("state") || "",
- ...S8(o("sort"), o("dir"), t),
+ ...C8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -78787,18 +78802,18 @@ function SFe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function CFe(e, t) {
+function TFe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function wFe(e) {
+function EFe(e) {
let t = En[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of xFe) {
+ for (let t of CFe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === Kj(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Gj(e.sort ?? "") || n.set(t, r);
}
return !En[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function TFe(e, t, n) {
+function DFe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -78814,7 +78829,7 @@ function TFe(e, t, n) {
year: "",
state: "",
sort: t.defaultSort,
- dir: Jj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: qj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -78824,7 +78839,7 @@ function TFe(e, t, n) {
folder_recursive: ""
};
}
-function C8(e) {
+function w8(e) {
return {
state: e,
barsContext: {
@@ -78835,7 +78850,7 @@ function C8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var EFe = class {
+var OFe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -78880,44 +78895,44 @@ var EFe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, w8 = Infinity, T8 = 0, DFe = (e, t = T8) => [
+}, T8 = Infinity, E8 = 0, kFe = (e, t = E8) => [
"facets",
e,
t
-], OFe = (e, t, n = T8) => [
+], AFe = (e, t, n = E8) => [
"tops",
e,
t,
n
-], kFe = (e, t = T8) => [
+], jFe = (e, t = E8) => [
"tops",
e,
t
];
-async function E8(e) {
+async function D8(e) {
let t = String(e), n = await Cn(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Cn(`/api/tops?${r}`));
}
-function AFe(e, t) {
+function MFe(e, t) {
return Promise.all([U.fetchQuery({
- queryKey: DFe(e),
+ queryKey: kFe(e),
queryFn: () => Cn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: w8
+ staleTime: T8
}), U.fetchQuery({
- queryKey: OFe(t, e),
- queryFn: () => E8(t),
- staleTime: w8
+ queryKey: AFe(t, e),
+ queryFn: () => D8(t),
+ staleTime: T8
})]);
}
-function jFe(e) {
+function NFe(e) {
return U.fetchQuery({
- queryKey: kFe(e),
- queryFn: () => E8(e),
- staleTime: w8
+ queryKey: jFe(e),
+ queryFn: () => D8(e),
+ staleTime: T8
});
}
-function D8() {
- T8 += 1;
+function O8() {
+ E8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
U.removeQueries({
queryKey: ["facets"],
@@ -78928,7 +78943,7 @@ function D8() {
});
}
// src/application/navigation-items.ts
-var O8 = [
+var k8 = [
[
"",
"首页",
@@ -78979,7 +78994,7 @@ var O8 = [
"管理",
"wrench"
]
-], k8 = [
+], A8 = [
[
"stats",
"统计",
@@ -79025,18 +79040,18 @@ var O8 = [
"Peach 配置",
"folder-cog"
]
-], A8 = [
+], j8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], MFe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], PFe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), NFe = [...O8, ...j8], PFe = {
+]]), FFe = [...k8, ...M8], IFe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -79044,18 +79059,18 @@ var O8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, M8 = [
+}, N8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function N8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function P8({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function P8(e, t, n) {
+function F8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: ho(e.k, r ? {
@@ -79068,20 +79083,20 @@ function P8(e, t, n) {
face: _o(e.avatar_focus)
};
}
-function F8(e) {
+function I8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${za({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${B(n)}</span>${r}`;
}
-function FFe(e) {
+function LFe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Da(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(N8(t), n);
+ e.route(P8(t), n);
},
- personAvatar: P8,
- authorAvatar: F8,
+ personAvatar: F8,
+ authorAvatar: I8,
openFollowAuthor(n) {
t(Oa(e.followView(), n));
},
@@ -79091,7 +79106,7 @@ function FFe(e) {
};
}
// src/application/effects.ts
-var I8 = class {
+var L8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -79172,12 +79187,12 @@ var I8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, L8 = new I8();
-function IFe() {
- return L8.dispose(), L8 = new I8(), L8;
+}, R8 = new L8();
+function RFe() {
+ return R8.dispose(), R8 = new L8(), R8;
}
// src/application/source-action.ts
-function LFe(e) {
+function zFe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -79192,36 +79207,36 @@ function LFe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var R8 = () => Object.fromEntries($X.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function z8(e, t) {
- let n = new URLSearchParams(e), r = R8();
+var z8 = () => Object.fromEntries($X.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function B8(e, t) {
+ let n = new URLSearchParams(e), r = z8();
for (let e of $X) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Yj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Jj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function B8(e) {
+function V8(e) {
let t = new URLSearchParams();
- for (let n of $X) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kj(e.sort || "") || t.set(n, e[n]);
+ for (let n of $X) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Gj(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function V8(e) {
+function H8(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function H8(e, t) {
- let n = new URLSearchParams(B8(e));
+function U8(e, t) {
+ let n = new URLSearchParams(V8(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 RFe(e, t, n, r) {
- let i = H8(n, r);
+function BFe(e, t, n, r) {
+ let i = U8(n, r);
return Mn(e, t) + (i ? `?${i}` : "");
}
-function zFe() {
+function VFe() {
let e = "";
return {
fresh(t, n) {
@@ -79230,22 +79245,22 @@ function zFe() {
read(t, n, r, i) {
let a = e === Mn(t, n) && !r;
e = "";
- let o = a ? R8() : { ...z8(r, i) };
+ let o = a ? z8() : { ...B8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : V8(r)
+ } : H8(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function BFe(e, t) {
+function HFe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function VFe(e) {
+function UFe(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);
@@ -79267,12 +79282,12 @@ function VFe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function HFe(e, t, n) {
+function WFe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(RFe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(BFe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -79286,7 +79301,7 @@ function HFe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : R8();
+ return n?.kind === t && n.name === a ? n.filters : z8();
}, l = {
...n,
route: (e, n) => {
@@ -79299,7 +79314,7 @@ function HFe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = qj(e, n.sort || "new", n.dir || "");
+ let n = c(), i = Kj(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -79350,7 +79365,7 @@ function HFe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function UFe(e) {
+function GFe(e) {
return async (t, n, r) => {
e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {
r() && e.syncParts(t, n);
@@ -79360,7 +79375,7 @@ function UFe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function WFe(e, t) {
+function KFe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? mo({
kind: e,
id: t.id,
@@ -79382,11 +79397,11 @@ function WFe(e, t) {
return r || (i?.avatar ? `<img src="${B(i.avatar)}" alt="${B(t.canonical_name)}" referrerpolicy="no-referrer" ${za({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function GFe(e) {
- let t = zFe(), n = {
+function qFe(e) {
+ let t = VFe(), n = {
...e.helpers,
- portraitImg: WFe
- }, r = HFe(e.controller, n, e.actions);
+ portraitImg: KFe
+ }, r = WFe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -79395,12 +79410,12 @@ function GFe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: UFe(e.loading),
- photos: VFe(e.photos)
+ loading: GFe(e.loading),
+ photos: UFe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function KFe(e) {
+function JFe(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {
let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : ho(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${B(Mn("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;
@@ -79408,7 +79423,7 @@ function KFe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var U8 = {
+var W8 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -79424,56 +79439,56 @@ var U8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function W8(e) {
+function G8(e) {
return e.has_cover ? bo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Bs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : bo(e, "big").replace(/ src="[^"]*"/, ` src="${B(lo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function qFe(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? aL({
+function YFe(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? iL({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${CM}">${n}
+ ${a}<div class="pic" style="--card-ratio:${SM}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${z("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${z("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${z("check")}</button></div></div>
- <div class="meta">${KFe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${JFe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function JFe() {
+function XFe() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;
- U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Vn(e)}`, t.parts]));
+ W8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Vn(e)}`, t.parts]));
} catch {}
}
-async function G8() {
- let e = L8, t = await Cn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Vn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(R("#feedNew"))), U8.entityShapes;
+async function K8() {
+ let e = R8, t = await Cn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (W8.entityShapesComplete = !0, W8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Vn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && J8(t.home.feed), Q8(location.pathname) && Y8(R("#feedNew"))), W8.entityShapes;
}
-var K8 = "peach.home-feed.v1";
-function q8(e) {
+var q8 = "peach.home-feed.v1";
+function J8(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(K8, e ? "1" : "0");
+ localStorage.setItem(q8, e ? "1" : "0");
} catch {}
}
-function YFe() {
+function ZFe() {
try {
- let e = localStorage.getItem(K8);
+ let e = localStorage.getItem(q8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function J8(e) {
- !e || sp(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 Y8(e) {
+ !e || sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));
}
-function XFe(e, t) {
+function QFe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Ls(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -79481,55 +79496,55 @@ function XFe(e, t) {
actionHref: "/sources"
});
}
-function Y8(e) {
- let t = e && !e.error && e.items || [];
- return XFe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(qFe).join("")}</div>`;
-}
function X8(e) {
- e && (n9(e), Z.appSettings.feedAutoScroll && Ic(e));
+ let t = e && !e.error && e.items || [];
+ return QFe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(YFe).join("")}</div>`;
}
function Z8(e) {
+ e && (r9(e), Z.appSettings.feedAutoScroll && Ic(e));
+}
+function Q8(e) {
return kn(e) && e !== "/junk-files";
}
-function ZFe() {
+function $Fe() {
let e = R("#feedNew");
- sp(e) ? e.hidden = X.homeHasFeed !== !0 : (J8(e), dp("feed-new", {
+ sp(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), dp("feed-new", {
host: e,
- revision: U8.feedRevision,
- helpers: U8.feedNewHelpers,
- actions: U8.feedNewActions
+ revision: W8.feedRevision,
+ helpers: W8.feedNewHelpers,
+ actions: W8.feedNewActions
}, {
container: e,
- isCurrent: () => Z8(location.pathname)
+ isCurrent: () => Q8(location.pathname)
}));
}
-function Q8() {
+function $8() {
let e = R("#feedNew");
e.querySelectorAll(".feednewrow").forEach(Lc), e.hidden = !0;
}
-function $8() {
- U8.feedRevision += 1, pp(R("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });
+function e5() {
+ W8.feedRevision += 1, pp(R("#feedNew"), { revision: W8.feedRevision }), s5({ feedRevision: W8.feedRevision });
}
-function QFe() {
+function eIe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Ic(e) : Lc(e));
}
-var e5 = 0;
-function $Fe([e]) {
- let t = e.contentRect.width >= U8.HERO_WIDE_PX;
- cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {
- e5 = 0, R("#index")?.toggleAttribute("data-hero-wide", t);
+var t5 = 0;
+function tIe([e]) {
+ let t = e.contentRect.width >= W8.HERO_WIDE_PX;
+ cancelAnimationFrame(t5), t5 = requestAnimationFrame(() => {
+ t5 = 0, R("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function eIe() {
- U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${CM}"></div>
+function nIe() {
+ W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${SM}"></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}/${Vn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${Vn(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, L8.resize($Fe).observe(R("#index"));
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(W8.FEED_SKELETON_CARDS)}</div>`, W8.entityShapes = null, W8.entityShapesComplete = !1, W8.hasEntityShape = (e, t) => W8.entityShapesComplete || !!W8.entityShapes?.has(`${e}/${Vn(t)}`), W8.hasEntityPart = (e, t, n) => !!t && !!W8.entityShapes?.get(`${e}/${Vn(t)}`)?.includes(n), W8.feedNewSkeletonSection = () => `<section class="feednew">${W8.feedNewSkeletonHtml()}</section>`, W8.COSTAR_SKELETON_PEOPLE = 12, W8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(W8.COSTAR_SKELETON_PEOPLE)}</div></div>`, W8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, W8.feedRevision = 0, W8.feedNewHelpers = {
+ feedRowHtml: X8,
+ wireFeedRow: (e) => Z8(e)
+ }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(tIe).observe(R("#index"));
}
// src/entity-skeleton.ts
-function tIe(e, t, n, r = "") {
+function rIe(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">
@@ -79543,10 +79558,10 @@ function tIe(e, t, n, r = "") {
<div class="entitysection">${o}</div></div></section>`;
}
// src/filter-controls-skeleton.ts
-var t5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Cs(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${yU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${bU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;
-function i5(e, t) {
- let n = yG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${n5}>${t5("shuffle")}</button>${i}${r5("馆藏显示方式", n, [[
+var n5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Cs(e, "size-4 shrink-0"), r5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", i5 = (e, t, n) => `<span data-entity-layout="" class="${yU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${bU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${r5}>${n5(r)}</span>`).join("")}</span>`;
+function a5(e, t) {
+ let n = yG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? i5(t.label, t.value, t.options) : "";
+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${r5}>${n5("shuffle")}</button>${i}${i5("馆藏显示方式", n, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -79554,7 +79569,7 @@ function i5(e, t) {
"list",
"列表",
"ri-list-unordered"
- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${n5}>${B(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${r5}>${n5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${r5}>${B(e.label)}${e.dir ? n5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/application/entity.js
var Y = {
@@ -79582,16 +79597,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function a5() {
+function o5() {
let e = op(R("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function o5(e) {
+function s5(e) {
Y.entityPageCurrent() && pp(R("#index"), e);
}
-function s5() {
+function c5() {
if (Wl.type === "item") return Wl;
- let e = a5();
+ let e = o5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -79603,23 +79618,23 @@ function s5() {
}
return Wl;
}
-function c5(e, t, n = n7()) {
- return JIe(n).map(([n, r]) => {
- let i = e === n, a = qj(n, e, t);
+function l5(e, t, n = r7()) {
+ return XIe(n).map(([n, r]) => {
+ let i = e === n, a = Kj(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Gj(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Gj(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Wj(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Wj(a.sort, a.dir) : ""}排序` : ""
};
});
}
-function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function u5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function u5() {
- return BFe({
+function d5() {
+ return HFe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !R("#index").hidden,
@@ -79628,37 +79643,37 @@ function u5() {
statsVisible: !R("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function d5() {
+function f5() {
Y.photos.sync();
}
-function f5() {
- u5() ? _le(kM()) : HM();
+function p5() {
+ d5() ? vle(OM()) : VM();
}
-function nIe(e) {
+function iIe(e) {
Y.photos.setSize(e);
}
-var p5 = LFe({
+var m5 = zFe({
request: (e) => Cn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => x8.toast({ text: "已在资源管理器中显示" }),
+ success: () => S8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function m5(e) {
+async function h5(e) {
let t = { textContent: "" };
- return await p5(e, t), t.textContent;
+ return await m5(e, t), t.textContent;
}
-async function rIe(e) {
+async function aIe(e) {
let t = { textContent: "" }, n = [];
- return await h5(e, t, (e) => {
+ return await g5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function h5(e, t, n) {
+async function g5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await Cn("/api/purge-missing", {
@@ -79671,7 +79686,7 @@ async function h5(e, t, n) {
}
if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), x8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -79683,22 +79698,22 @@ async function h5(e, t, n) {
restored: e.length
});
} : null });
- } else x8.actionReceipt("目录核对完成,无需改动");
+ } else S8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), x8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);
}
}
-function iIe(e) {
+function oIe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function aIe(e, t) {
+function sIe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && L8.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && L8.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));
+ r && R8.handler(r, "onclick", () => m5(Number(r.dataset.reveal), n, { button: r })), i && R8.handler(i, "onclick", () => g5(Number(i.dataset.sync), n, t));
}
-async function oIe(e, t) {
+async function cIe(e, t) {
let n = rl({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -79710,9 +79725,9 @@ async function oIe(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- L8.handler(r, "oninput", () => {
+ R8.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => L8.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => R8.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -79721,53 +79736,53 @@ async function oIe(e, t) {
remove: !0
});
} catch (e) {
- x8.actionFailure("撤销别名", e);
+ S8.actionFailure("撤销别名", e);
return;
}
- x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function g5(e, t) {
- let n = ["performer", "studio"].includes(e) && U8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ws()}${e === "agency" ? "" : i5(c5(W.sort, W.dir, n), n ? {
+function _5(e, t) {
+ let n = ["performer", "studio"].includes(e) && W8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ws()}${e === "agency" ? "" : a5(l5(W.sort, W.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: TM(),
- options: bM
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${n5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = tIe(e, r, e === "agency" ? nc({
+ value: wM(),
+ options: yM
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${r5}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${r5}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${r5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = rIe(e, r, e === "agency" ? nc({
kind: "performers",
- layout: M5.peopleIndexLayout()
- }) : oY("正在读取作品", NM(MM({
+ layout: N5.peopleIndexLayout()
+ }) : oY("正在读取作品", MM(jM({
active: n,
home: !1,
portrait: !1
}))), i);
- R("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (R("#index").innerHTML = a, _5(e, t), lc(R("#index")));
+ R("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? v5(e, t) : (R("#index").innerHTML = a, v5(e, t), lc(R("#index")));
}
-function _5(e, t) {
+function v5(e, t) {
let n = R("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && W8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", W8.costarSkeletonFoot())), r(n.querySelector(".feednew"), W8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", W8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && W8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", W8.factsSkeleton()));
}
-function v5(e) {
- let t = An[e] || e, n = Q3[t] || "条目", r = Q3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function y5(e) {
+ let t = An[e] || e, n = $3[t] || "条目", r = $3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
R("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function y5(e, t) {
- b9(Y.application.fresh(e, t));
+function b5(e, t) {
+ x9(Y.application.fresh(e, t));
}
-function sIe() {
+function lIe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -79779,40 +79794,40 @@ function sIe() {
"year",
"sort",
"dir"
- ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {
+ ], Y.emptyEntityFilters = z8, Y.parseEntityFilters = (e) => B8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = V8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = s5();
+ let e = c5();
return e.type === "home" ? W : e.filters;
}, R("#q").value = W.q, X.rememberSearchValue();
}
-function cIe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {
- let n = a5();
+function uIe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!o5(), Y.entityPageLive = (e, t) => {
+ let n = o5();
return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, Y.entityBodySkeleton = () => J7(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = H8, Y.entityViewSearch = U8, Y.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, Y.entityBodySkeleton = () => Y7(), Y.entityPageHelpers = {
wireDrag: (e) => {
- e && n9(e);
+ e && r9(e);
},
wireScroller: (e) => {
e && Ec(e);
},
- wireFeedRow: (e) => X8(e),
- feedRowHtml: Y8,
- receipt: (e, t) => x8.actionReceipt(e, t),
- failure: (e, t) => x8.actionFailure(e, t),
- aliasForm: (e, t) => oIe(e, t),
- sourceToolsHtml: (e) => iIe(e),
- wireSourceTools: (e, t) => aIe(e, t),
- comboItems: (e) => L7(e),
- sortKeys: (e, t, n) => c5(e, t, n)
+ wireFeedRow: (e) => Z8(e),
+ feedRowHtml: X8,
+ receipt: (e, t) => S8.actionReceipt(e, t),
+ failure: (e, t) => S8.actionFailure(e, t),
+ aliasForm: (e, t) => cIe(e, t),
+ sourceToolsHtml: (e) => oIe(e),
+ wireSourceTools: (e, t) => sIe(e, t),
+ comboItems: (e) => R7(e),
+ sortKeys: (e, t, n) => l5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -79835,11 +79850,11 @@ function cIe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${z("folder-sync")}</button>`;
}
-function lIe() {
- Y.application = GFe({
+function dIe() {
+ Y.application = qFe({
controller: {
context: () => {
- let e = s5();
+ let e = c5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -79851,28 +79866,28 @@ function lIe() {
filters: W
} }),
releaseBodyPreviews: () => kl(R("#index [data-entity-body]")),
- push: o5,
+ push: s5,
state: () => ({
seed: String(W.seed || ""),
jav: W.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: U8.feedRevision,
- photoSize: kM(),
- photoLayout: AM(),
- photoLayouts: SM,
+ feedRevision: W8.feedRevision,
+ photoSize: OM(),
+ photoLayout: kM(),
+ photoLayouts: xM,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: TM(),
- javLayouts: bM,
+ javLayout: wM(),
+ javLayouts: yM,
states: X.VIEW_PILLS,
- peopleLayout: M5.peopleIndexLayout(),
- layout: q7(),
+ peopleLayout: N5.peopleIndexLayout(),
+ layout: J7(),
selectMode: Jl,
selected: new Set(Kl),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: n9,
+ wireDrag: r9,
skeletonHtml: Y.entityBodySkeleton,
canLoadMore: Y.entityBodyCanLoadMore,
follow: {
@@ -79880,52 +79895,52 @@ function lIe() {
actions: Y.entityFollowActions
}
}),
- changeFilter: w7,
- rollSeed: () => x8.rollSeed(),
+ changeFilter: T7,
+ rollSeed: () => S8.rollSeed(),
writeSeed: (e) => {
W.seed = e, yu();
},
- setJavLayout: a7,
- javLayout: TM,
- setPhotoLayout: FM,
- syncPhotoWalls: d5,
- openEntity: y5,
- photoViewActive: u5,
+ setJavLayout: o7,
+ javLayout: wM,
+ setPhotoLayout: PM,
+ syncPhotoWalls: f5,
+ openEntity: b5,
+ photoViewActive: d5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: f5,
- scheduleSticky: f7,
+ syncDensity: p5,
+ scheduleSticky: p7,
releasePage: () => mp(R("#index")),
- showMissing: v5,
- dropBars: D8
+ showMissing: y5,
+ dropBars: O8
},
loading: {
- shapesReady: (e, t) => U8.hasEntityShape(e, t),
- waitShapes: z5,
- paintSkeleton: g5,
+ shapesReady: (e, t) => W8.hasEntityShape(e, t),
+ waitShapes: B5,
+ paintSkeleton: _5,
resetView: () => {
vu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: G8,
- syncParts: _5
+ loadShapes: K8,
+ syncParts: v5
},
photos: {
preferences: () => ({
- size: kM(),
- layout: AM(),
+ size: OM(),
+ layout: kM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: o5,
- pushFollow: T9,
- syncDensity: f5,
- storeSize: hle
+ pushEntity: s5,
+ pushFollow: E9,
+ syncDensity: p5,
+ storeSize: gle
},
helpers: Y.entityPageHelpers,
actions: {
- toggleTag: I7,
- openFollowAuthor: F5,
+ toggleTag: L7,
+ openFollowAuthor: I5,
javContext: (e) => vu({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -79935,8 +79950,8 @@ function lIe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var b5 = { playlistWrite: void 0 };
-function uIe(e, t) {
+var x5 = { playlistWrite: void 0 };
+function fIe(e, t) {
e === "tag" ? (vu({ state: {
...W,
tag: t,
@@ -79946,17 +79961,17 @@ function uIe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(_7()), W5(), P7()) : y5(e, t);
+ } }), X.clearSearchField(), Q.route(v7()), G5(), F7()) : b5(e, t);
}
-function x5(e = "") {
+function S5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;
}
-async function dIe({ title: e, count: t, save: n }) {
+async function pIe({ title: e, count: t, save: n }) {
let r = rl({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: x5(e),
+ body: S5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -79966,28 +79981,28 @@ async function dIe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await c9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {
- await b5.playlistWrite({
+ i && (await l9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await x5.playlistWrite({
action: "delete",
id: a.id
- }), b9("/playlists");
+ }), x9("/playlists");
} }));
}
-async function fIe(e) {
+async function mIe(e) {
let t = ((await Cn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Us(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = rl({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Ls("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: S5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Ls("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await x5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await b5.playlistWrite({
+ for (let t of r) await x5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -80001,46 +80016,46 @@ async function fIe(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- L8.listen(n.dialog, "input", r), L8.listen(n.dialog, "change", r);
+ R8.listen(n.dialog, "input", r), R8.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await b5.playlistWrite({
+ S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await x5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await b5.playlistWrite({
+ a.created && await x5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function S5() {
- kl(), o9(!1), U5();
+function C5() {
+ kl(), s9(!1), W5();
let e = op(R("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (H5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (U5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));
}
-function pIe(e) {
+function hIe(e) {
let t = new URLSearchParams(location.search);
for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);
Q.route("/review" + (t.size ? "?" + t : ""));
}
-function C5(e) {
+function w5(e) {
vu({ configurationRequestedSection: e }), Q.navigatePath(jf(e));
}
-function mIe() {
- b5.playlistWrite = (e) => Cn("/api/playlist", {
+function gIe() {
+ x5.playlistWrite = (e) => Cn("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function w5(e) {
+function T5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function T5(e, t, n, r, i = !1) {
+function E5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -80048,23 +80063,23 @@ function T5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function E5(e, t, n, r, i, a = !1) {
+function D5(e, t, n, r, i, a = !1) {
let o = n === "follow", s = HY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...T5(e, t, n, !0),
+ ...E5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function hIe(e, t, n, r) {
- let i = w5(t);
+function _Ie(e, t, n, r) {
+ let i = T5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: JU(n).view === "dismissed"
+ junkDismissed: YU(n).view === "dismissed"
};
}
// src/application/selection.js
-var D5 = {
+var O5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -80072,43 +80087,43 @@ var D5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function O5() {
- G7({
+function k5() {
+ K7({
selected: new Set(Kl),
selectMode: Jl
- }), o5({
+ }), s5({
selected: new Set(Kl),
selectMode: Jl
- }), T9({
+ }), E9({
selected: new Set(ql),
selectMode: Jl
- }), D5.batchDockProps = TIe(), v8() && (v8().render(D5.batchDockProps), Z.syncGlassOptics());
+ }), O5.batchDockProps = DIe(), y8() && (y8().render(O5.batchDockProps), Z.syncGlassOptics());
}
-function k5(e, t = !1) {
- vu(T5({
+function A5(e, t = !1) {
+ vu(E5({
selected: Kl,
followSelected: ql
- }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), R("#selectMode").setAttribute("aria-pressed", String(Jl)), O5();
+ }, M5(), T5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), R("#selectMode").setAttribute("aria-pressed", String(Jl)), k5();
}
-function gIe() {
- return [...I5.gridCards()].map((e) => +e.dataset.id);
+function vIe() {
+ return [...L5.gridCards()].map((e) => +e.dataset.id);
}
-function A5(e, t = !1) {
- vu(E5({
+function j5(e, t = !1) {
+ vu(D5({
selected: Kl,
followSelected: ql
- }, j5(), w5(location.pathname), gIe(), e, t)), k5(!0);
+ }, M5(), T5(location.pathname), vIe(), e, t)), A5(!0);
}
-function _Ie() {
+function yIe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function vIe(e, t = !1) {
- vu(E5({
+function bIe(e, t = !1) {
+ vu(D5({
selected: Kl,
followSelected: ql
- }, j5(), "follow", _Ie(), e, t)), k5(!0);
+ }, M5(), "follow", yIe(), e, t)), A5(!0);
}
-async function yIe(e, t) {
+async function xIe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -80140,9 +80155,9 @@ async function yIe(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- k5(!1, !0), await s7();
+ A5(!1, !0), await c7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -80167,23 +80182,23 @@ async function yIe(e, t) {
operation: r
})
});
- await s7();
+ await c7();
} : null });
} catch (e) {
throw Kc(t, !1), e;
} finally {
- Kc(t, !1), O5();
+ Kc(t, !1), k5();
}
}
});
}
-async function bIe() {
+async function SIe() {
let e = [...Kl];
if (!e.length) return;
let t = rl({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + O5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -80203,13 +80218,13 @@ async function bIe() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => L8.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => R8.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (k5(!1, !0), await s7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (A5(!1, !0), await c7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function xIe(e, t) {
+async function CIe(e, t) {
let n = [...ql];
if (!n.length) return;
let r = {
@@ -80235,16 +80250,16 @@ async function xIe(e, t) {
items: n,
to: e
})
- }), k5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), A5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Kc(t, !1), e;
} finally {
- Kc(t, !1), O5();
+ Kc(t, !1), k5();
}
}
});
}
-async function SIe(e, t) {
+async function wIe(e, t) {
let n = [...Kl];
if (!n.length) return;
let r = {
@@ -80271,68 +80286,68 @@ async function SIe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), k5(!1, !0), await z7();
+ }), A5(!1, !0), await B7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await z7();
+ }), await B7();
} : null });
} catch (e) {
throw Kc(t, !1), e;
} finally {
- Kc(t, !1), O5();
+ Kc(t, !1), k5();
}
}
});
}
-function CIe() {
- vFe({
+function TIe() {
+ bFe({
root: R("[data-batch-dock]"),
run: (e, t, n) => {
- D5.BATCH_RUNNERS[e]?.(t, n);
+ O5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(D5.batchDockProps), Z.syncGlassOptics();
+ e.render(O5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function wIe() {
- D5.batchDockProps = {
+function EIe() {
+ O5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), L8.handler(R("#selectMode"), "onclick", () => k5(!Jl, !!Jl)), D5.REGION_CHOICES = [
+ }, O5.trashCount = null, O5.currentSelectSurface = () => T5(location.pathname), R8.handler(R("#selectMode"), "onclick", () => A5(!Jl, !!Jl)), O5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], D5.BATCH_RUNNERS = {
- batch: yIe,
- region: bIe,
- follow: xIe,
- junk: SIe,
- clear: () => k5(!1, !0)
- }, L8.handler(R("#density"), "onclick", () => {
- u5() ? nIe(kM() === "big" ? "small" : "big") : gle();
- }), HM(), Dl({
+ ], O5.BATCH_RUNNERS = {
+ batch: xIe,
+ region: SIe,
+ follow: CIe,
+ junk: wIe,
+ clear: () => A5(!1, !0)
+ }, R8.handler(R("#density"), "onclick", () => {
+ d5() ? iIe(OM() === "big" ? "small" : "big") : _le();
+ }), VM(), Dl({
selecting: () => Jl,
- censored: () => e9(),
+ censored: () => t9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), L8.listen(window, "pagehide", () => kl()), L8.listen(document, "visibilitychange", () => {
+ }), R8.listen(window, "pagehide", () => kl()), R8.listen(document, "visibilitychange", () => {
document.hidden && kl();
- }), wl(), D5.coverRecheck = 0, L8.listen(window, "resize", () => {
- xl(R("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = L8.delay(() => R("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), wl(), O5.coverRecheck = 0, R8.listen(window, "resize", () => {
+ xl(R("#index")), clearTimeout(O5.coverRecheck), O5.coverRecheck = R8.delay(() => R("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && fl(e);
}), 200);
}, { passive: !0 });
}
-function j5() {
+function M5() {
return {
selectMode: Jl,
selectSurface: Zl,
@@ -80340,73 +80355,73 @@ function j5() {
followLastSelectedId: Xl
};
}
-function TIe() {
- return hIe({
+function DIe() {
+ return _Ie({
selected: Kl,
followSelected: ql
}, location.pathname, location.search, W.state);
}
// src/application/index.js
-var M5 = {
+var N5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function EIe() {
+function OIe() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function DIe() {
+function kIe() {
return eQ(location.search);
}
-function OIe(e) {
+function AIe(e) {
return tQ(e);
}
-function kIe(e) {
- Q.route(OIe(e));
+function jIe(e) {
+ Q.route(AIe(e));
}
-function AIe(e = "") {
+function MIe(e = "") {
return nQ(location.search, e);
}
-function jIe(e) {
- return F8(e);
+function NIe(e) {
+ return I8(e);
}
-function N5(e) {
- return N8(e);
+function P5(e) {
+ return P8(e);
}
-function P5() {
- R("#stats").hidden = !0, R("#index").hidden = !1, V7(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;
+function F5() {
+ R("#stats").hidden = !0, R("#index").hidden = !1, H7(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;
}
-function MIe(e, t) {
+function PIe(e, t) {
vu({ state: {
...W,
state: "",
tag: e.join(","),
tag_match: t
- } }), k5(!1, !1), Q.route(_7()), W5(), g9(), P7();
+ } }), A5(!1, !1), Q.route(v7()), G5(), _9(), F7();
}
-function F5(e) {
- M5.controller.openFollowAuthor(e);
+function I5(e) {
+ N5.controller.openFollowAuthor(e);
}
-function NIe(e) {
- M5.controller.openFollowTag(e);
+function FIe(e) {
+ N5.controller.openFollowTag(e);
}
-function PIe() {
- $.FOLLOW_MANAGE_TABS = $Z, L8.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");
- }), M5.peopleIndexLayout = () => $3(Z.appSettings.peopleLayout), M5.personAvatar = P8;
+function IIe() {
+ $.FOLLOW_MANAGE_TABS = $Z, R8.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") && w5("媒体库与入库");
+ }), N5.peopleIndexLayout = () => e6(Z.appSettings.peopleLayout), N5.personAvatar = F8;
}
-function FIe() {
- M5.controller = FFe({
+function LIe() {
+ N5.controller = LFe({
route: Q.route,
- followView: S9,
- adoptFollowView: C9,
+ followView: C9,
+ adoptFollowView: w9,
hideIndex: () => {
R("#index").hidden = !0;
},
- openPage: b9
+ openPage: x9
});
}
// src/application/loading.js
-var I5 = {
+var L5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -80415,58 +80430,58 @@ var I5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function L5(e = "正在读取作品") {
+function R5(e = "正在读取作品") {
if (location.pathname === "/wall") {
R("#loadSentinel").hidden = !0;
return;
}
let t = R("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Ave(JU(location.search)), lc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && E7({
+ 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 = Ave(YU(location.search)), lc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && D7({
count: null,
- ...k7()
- })), R("#loadSentinel").hidden = !0, W7()) return;
- let r = R("#grid"), i = J7(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== D2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Y7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), lc(R("#grid")));
-}
-function R5() {
- R("#catalogFilter").style.display = "none", T7();
+ ...A7()
+ })), R("#loadSentinel").hidden = !0, G7()) return;
+ let r = R("#grid"), i = Y7(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== O2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== X7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : L5.setGridCards(i), lc(R("#grid")));
}
function z5() {
+ R("#catalogFilter").style.display = "none", E7();
+}
+function B5() {
let e = new Promise((e) => {
- let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = L5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? L8.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? R8.delay(r, Math.min(t, 50)) : e();
};
- L8.delay(r, 50);
+ R8.delay(r, 50);
});
- return Promise.race([I5.entityShapesReady ||= G8(), e]);
+ return Promise.race([L5.entityShapesReady ||= K8(), e]);
}
-function IIe() {
+function RIe() {
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" && SU(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), z5();
+ else if (/^\/assets\/\d+$/.test(e)) z5();
+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) z5();
+ else if (e === "/junk-files") R5("正在读取垃圾文件");
+ else if (e === "/jav" && SU(new URLSearchParams(location.search).get("tab")) === "library") R5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- R5();
+ z5();
let t = R("#stats");
- t.hidden = !1, V7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), lc(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), n6(R("#index"), e6(e.slice(1), location.search), M5.peopleIndexLayout());
+ t.hidden = !1, H7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : L5.managementPlaceholder(e), lc(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) z5(), F5(), r6(R("#index"), t6(e.slice(1), location.search), N5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- R5(), R("#index").hidden = !1, V7();
+ z5(), R("#index").hidden = !1, H7();
let t = jn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {
- R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), lc(R("#index")));
+ (W8.hasEntityShape(t, n) ? Promise.resolve() : B5()).then(() => {
+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (_5(t, n), lc(R("#index")));
});
- } else Q.routeMeta(e) ? L5() : (V7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? R5() : (H7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
}
-function LIe() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => T2(t, {
+function zIe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => E2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: kM()
+ gridSize: OM()
}), $.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>
@@ -80474,37 +80489,37 @@ function LIe() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = Bs(zs), I5.setGridCards = (e) => ec(R("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = Bs(zs), L5.setGridCards = (e) => ec(R("#grid"), () => {
R("#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) => E2(e, {
- followLayout: EIe(),
+ }), L5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), L5.managementPlaceholder = (e) => D2(e, {
+ followLayout: OIe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(DIe())
- }), I5.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {
+ }))(kIe())
+ }), L5.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", L5.entityShapesReady = null, L5.ENTITY_SHAPES_WAIT = 400, L5.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = Zf(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();
};
}
// src/sidebar-skeleton.ts
-var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var V5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function RIe(e, t, n) {
+function BIe(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${B5(r)}"/></svg>`;
- return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${V5(r)}"/></svg>`;
+ return `<button type="button" data-nav="${V5(e)}" aria-pressed="${n(e)}" aria-label="${V5(t)}">${i}<span>${V5(t)}</span></button>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function zIe(e, t, n, r = !1) {
+function VIe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -80522,7 +80537,7 @@ function zIe(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var V5 = {
+var H5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -80544,20 +80559,20 @@ var V5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function H5({ manage: e = !0, placeholder: t = "" } = {}) {
- R("#stats").hidden = !1, R("#index").hidden = !0, V7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? Q5() : ($5(""), g9()), t && O2(R("#stats"), t);
-}
-function U5() {
- R("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");
+function U5({ manage: e = !0, placeholder: t = "" } = {}) {
+ R("#stats").hidden = !1, R("#index").hidden = !0, H7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? $5() : (e7(""), _9()), t && k2(R("#stats"), t);
}
function W5() {
- R("#javLibraryHeader").hidden = !kn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), mp(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, Z8(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", T7(), Q5(), e7();
+ R("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), z5(), document.body.classList.remove("entity-open", "index-open");
+}
+function G5() {
+ R("#javLibraryHeader").hidden = !kn(location.pathname) || !r7(), document.body.classList.remove("entity-open", "index-open"), mp(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, Q8(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", E7(), $5(), t7();
}
-function BIe() {
- Q.route("/"), W5();
+function HIe() {
+ Q.route("/"), G5();
}
-function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
- h9({
+function K5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ g9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -80580,28 +80595,28 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function K5(e) {
- HLe({
- ...S9(),
+function q5(e) {
+ WLe({
+ ...C9(),
...e
- }), h9({ filters: $.followSidebarFilters() });
+ }), g9({ filters: $.followSidebarFilters() });
}
-function q5() {
+function J5() {
return matchMedia("(max-width:760px)").matches;
}
-function J5(e) {
+function Y5(e) {
let t = R("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && q5(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && J5(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function Y5() {
- q5() && J5(!1);
+function X5() {
+ J5() && Y5(!1);
}
-function VIe() {
+function UIe() {
su === null && (vu({ runtimeConfigurable: !1 }), Cn("/healthz").then((e) => {
- vu({ runtimeConfigurable: !!e.configurable }), su && Z5() && Q5();
+ vu({ runtimeConfigurable: !!e.configurable }), su && Q5() && $5();
}).catch(() => {}));
}
-function X5(e = "", t = !1) {
+function Z5(e = "", t = !1) {
if (!t && !kf(location.pathname)) {
let t = G.navigation;
G.push(jf(e), { settingsBackground: {
@@ -80614,38 +80629,38 @@ function X5(e = "", t = !1) {
replace: !0,
state: G.navigation.location.state
});
- return e ||= Af(location.pathname), hFe(V5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= Af(location.pathname), _Fe(H5.settingsHost()).then((t) => (t.open(e), t));
}
-function HIe() {
+function WIe() {
kf(location.pathname) && (Mf(G.navigation.location.state) ? G.go(-1) : Q.navigatePath("/", !0));
}
-function UIe() {
+function GIe() {
return {
scroll: R("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: V5.NAV_CATALOG,
- navOn: l7,
- navTo: u7,
+ navCatalog: H5.NAV_CATALOG,
+ navOn: u7,
+ navTo: d7,
navToTop: () => {
- Y5(), sm();
+ X5(), sm();
},
- toggleChip: (e, t, n) => w7((r) => {
+ toggleChip: (e, t, n) => T7((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");
} else r[e] = r[e] === t ? "" : t;
}),
- setDuration: (e, t) => w7((n) => {
+ setDuration: (e, t) => T7((n) => {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), x9(S9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());
+ $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), x9(S9());
},
- selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => K5({
+ selectFollowProvider: (e) => q5({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => q5({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -80654,111 +80669,111 @@ function UIe() {
}
};
}
-function WIe() {
+function KIe() {
let e = R("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = RIe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), L8.listen(e, "click", (e) => {
- if (f8()) return;
+ e.innerHTML = BIe(Z.appSettings.sidebarOrder, H5.NAV_CATALOG, u7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {
+ if (p8()) return;
let t = e.target.closest?.("[data-nav]");
- t && u7(t.dataset.nav);
- }), gFe(UIe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});
+ t && d7(t.dataset.nav);
+ }), vFe(GIe()).then((e) => e.render(H5.sidebarProps)).catch(() => {});
}
-async function GIe() {
- let e = L8, t = null;
+async function qIe() {
+ let e = R8, t = null;
try {
t = await Cn("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && hM(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && mM(t, (e) => Z.settingsEffects[e]?.());
}
-function Z5() {
+function Q5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");
}
-function Q5() {
- let e = Z5();
- VIe(), e && R5(), R("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), $5(e);
+function $5() {
+ let e = Q5();
+ UIe(), e && z5(), R("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (O5.trashCount = null), e7(e);
}
-function KIe(e) {
+function JIe(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: V5.MANAGE_SECTIONS,
- menu: e ? V5.manageMenuSections() : [],
- trash: D5.trashCount
+ sections: H5.MANAGE_SECTIONS,
+ menu: e ? H5.manageMenuSections() : [],
+ trash: O5.trashCount
};
}
-function $5(e = Z5()) {
- e7();
- let t = KIe(e), n = h8();
+function e7(e = Q5()) {
+ t7();
+ let t = JIe(e), n = g8();
if (n) n.render(t);
else {
- let e = Cde(t);
- e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);
+ let e = wde(t);
+ e !== H5.manageHeaderSkeleton && (H5.manageHeaderSkeleton = e, H5.manageHeaderRoot().innerHTML = e);
}
- let r = YF(t)?.title || "";
- r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Zs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = JF(t)?.title || "";
+ r !== H5.lastManagePageLabel && (H5.lastManagePageLabel = r, r && Zs(H5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function qIe() {
- let e = V5.manageHeaderRoot();
- L8.listen(e, "click", (e) => {
- if (h8()) return;
+function YIe() {
+ let e = H5.manageHeaderRoot();
+ R8.listen(e, "click", (e) => {
+ if (g8()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) t7(t.dataset.manage);
+ if (t) n7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && F7();
- }), _Fe({
+ } else e.target.closest?.("[data-empty-trash]") && I7();
+ }), yFe({
root: e,
- openManage: t7,
+ openManage: n7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: F7
- }).then(() => $5()).catch(() => {});
+ emptyTrash: I7
+ }).then(() => e7()).catch(() => {});
}
-function e7() {
+function t7() {
let e = R("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !Z5() && kn(t) && On[W.state] || "";
- e.hidden = !n, n && (e.textContent = n), R("#catalogPageHeading").hidden = !!Z5() || !kn(t) || !!n || W.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !Q5() && kn(t) && On[W.state] || "";
+ e.hidden = !n, n && (e.textContent = n), R("#catalogPageHeading").hidden = !!Q5() || !kn(t) || !!n || W.jav === "1";
}
-function t7(e = "stats") {
+function n7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", yu(), Q.route(YU()), W5(), g9(), P7());
+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", yu(), Q.route(XU()), G5(), _9(), F7());
}
-function n7() {
+function r7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || du : !1;
}
-function JIe(e = n7()) {
- let t = Bj.filter(([e]) => e !== "seed");
- return e ? [Vj, ...t] : t;
+function XIe(e = r7()) {
+ let t = zj.filter(([e]) => e !== "seed");
+ return e ? [Bj, ...t] : t;
}
-function r7() {
+function i7() {
return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";
}
-function i7() {
- return EM(r7());
+function a7() {
+ return TM(i7());
}
-function YIe(e) {
- ple(e), o7(), R("#grid").hidden || X7();
+function ZIe(e) {
+ mle(e), s7(), R("#grid").hidden || Z7();
}
-function a7(e) {
- PM(e), o7(), X7();
+function o7(e) {
+ NM(e), s7(), Z7();
}
-function o7() {
+function s7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === i7();
- }), X.catalogFilterProps && E7({ layout: O7() });
+ e.checked = e.value === a7();
+ }), X.catalogFilterProps && D7({ layout: k7() });
}
-function XIe(e) {
- mle(e), o7(), X7();
-}
-async function s7() {
- D8(), X.mixRelatedCache.clear(), await Promise.all([c7(), P7()]);
+function QIe(e) {
+ hle(e), s7(), Z7();
}
async function c7() {
+ O8(), X.mixRelatedCache.clear(), await Promise.all([l7(), F7()]);
+}
+async function l7() {
if (Y.entityPageCurrent() && !R("#index").hidden) {
- o5({ revision: ++Y.entityPageRevision });
+ s5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -80767,30 +80782,30 @@ async function c7() {
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await z7();
+ t?.route.reload ? await t.route.reload() : await B7();
}
-function l7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];
- if (r) return Z5() === r;
+function u7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = H5.DIRECT_MANAGE_NAV[e];
+ if (r) return Q5() === r;
if (e === "manage") {
- let e = Z5();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);
+ let e = Q5();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => H5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Z5() && !W.state && !n7() && W.orient !== "竖屏" : En[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || r7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Q5() && !W.state && !r7() && W.orient !== "竖屏" : En[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";
}
-function u7(e) {
+function d7(e) {
let t = tm(e);
if (t === location.pathname + location.search + location.hash) return;
- if (Y5(), t) {
+ if (X5(), t) {
Q.navigatePath(t);
return;
}
- if (V5.DIRECT_MANAGE_NAV[e]) {
- t7(V5.DIRECT_MANAGE_NAV[e]);
+ if (H5.DIRECT_MANAGE_NAV[e]) {
+ n7(H5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- t7();
+ n7();
return;
}
if (e === "jav") {
@@ -80798,25 +80813,25 @@ function u7(e) {
return;
}
if (e === "") {
- v7();
+ y7();
return;
}
let n = En[e] ? null : Q.routePathOf("nav", e);
- n ? Q.openRoutePath(n) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), yu(), Q.route(_7()), g9(), P7());
+ n ? Q.openRoutePath(n) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), yu(), Q.route(v7()), _9(), F7());
}
-function d7() {
+function f7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- Jl && Zl !== D5.currentSelectSurface() && k5(!1, !0);
+ Jl && Zl !== O5.currentSelectSurface() && A5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(jn, t[0]), r = kn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- R("#selectMode").hidden = !i, R("#density").hidden = !a, d5(), !i && Jl && k5(!1, !0);
+ R("#selectMode").hidden = !i, R("#density").hidden = !a, f5(), !i && Jl && A5(!1, !0);
}
-function ZIe() {
+function $Ie() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;
+ (t !== H5.mobileFilterHost || location.pathname !== H5.mobileFilterPath) && (H5.mobileFilterScroll = null), H5.mobileFilterHost = t, H5.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 = zIe(V5.mobileFilterScroll, n, innerWidth <= 760, r);
+ H5.mobileFilterScroll = VIe(H5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && V5.mobileFilterScroll.free;
+ let e = n === t && H5.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -80828,63 +80843,63 @@ function ZIe() {
});
}
}
-function QIe() {
- ZIe(), [".board-filter-frame", "#count"].forEach((e) => {
+function eLe() {
+ $Ie(), [".board-filter-frame", "#count"].forEach((e) => {
let t = R(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
-function f7() {
- V5.stickyFrame ||= L8.frame(() => {
- V5.stickyFrame = 0, QIe();
+function p7() {
+ H5.stickyFrame ||= R8.frame(() => {
+ H5.stickyFrame = 0, eLe();
});
}
-function $Ie() {
+function tLe() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), L8.handler(R("#filterBtn"), "onclick", () => J5(!R("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = O8, V5.MANAGE_SECTIONS = k8, V5.MANAGE_MENU_SECTIONS = A8, V5.manageMenuSections = () => MFe(su === !0), V5.OPTIONAL_SIDEBAR_ITEMS = j8, V5.NAV_CATALOG = NFe, V5.DIRECT_MANAGE_NAV = PFe, V5.settingsHost = () => ({
+ }), R8.handler(R("#filterBtn"), "onclick", () => Y5(!R("#drawer").classList.contains("open"))), H5.SIDEBAR_ITEMS = k8, H5.MANAGE_SECTIONS = A8, H5.MANAGE_MENU_SECTIONS = j8, H5.manageMenuSections = () => PFe(su === !0), H5.OPTIONAL_SIDEBAR_ITEMS = M8, H5.NAV_CATALOG = FFe, H5.DIRECT_MANAGE_NAV = IFe, H5.settingsHost = () => ({
selectSection: (e) => Tp(jf(e), {
replace: !0,
state: G.navigation.location.state
}),
- closed: HIe,
+ closed: WIe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Xo(e),
- navCatalog: V5.NAV_CATALOG,
- themeOptions: cle,
- videoLayouts: bM,
- followInitialRanges: M8,
- videoLayout: () => i7(),
- setVideoLayout: XIe,
- censored: e9,
- setCensored: xLe,
+ navCatalog: H5.NAV_CATALOG,
+ themeOptions: lle,
+ videoLayouts: yM,
+ followInitialRanges: N8,
+ videoLayout: () => a7(),
+ setVideoLayout: QIe,
+ censored: t9,
+ setCensored: CLe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: SLe,
- receipt: (e) => x8.actionReceipt(e),
- failure: x8.actionFailure,
- syncRemote: (e) => hM(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: wLe,
+ receipt: (e) => S8.actionReceipt(e),
+ failure: S8.actionFailure,
+ syncRemote: (e) => mM(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => Cn("/healthz").then((e) => (vu({ runtimeConfigurable: !!e.configurable }), su)).catch(() => null)
- }), L8.handler(R("#settingsBtn"), "onclick", () => void X5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => R("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", L8.listen(document, "focusin", f7), L8.listen(document, "focusout", f7), L8.listen(window, "scroll", () => {
- f7(), location.pathname === "/follow" && w9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(V5.scrollT), V5.scrollT = L8.delay(() => {
+ }), R8.handler(R("#settingsBtn"), "onclick", () => void Z5()), H5.lastManagePageLabel = "", H5.manageHeaderSkeleton = "", H5.manageHeaderRoot = () => R("[data-manage-header]"), window.__scrolling = !1, H5.scrollT = null, H5.stickyFrame = 0, H5.mobileFilterScroll = null, H5.mobileFilterHost = null, H5.mobileFilterPath = "", R8.listen(document, "focusin", p7), R8.listen(document, "focusout", p7), R8.listen(window, "scroll", () => {
+ p7(), location.pathname === "/follow" && T9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(H5.scrollT), H5.scrollT = R8.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), L8.listen(window, "resize", f7, { passive: !0 }), L8.handler(R("#scrim"), "onclick", () => J5(!1));
+ }, { passive: !0 }), R8.listen(window, "resize", p7, { passive: !0 }), R8.handler(R("#scrim"), "onclick", () => Y5(!1));
}
// src/catalog-filter-skeleton.ts
-var p7 = 64, m7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var m7 = 64, h7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), h7 = (e) => e.repeat(p7);
-function eLe(e, t, n) {
- let r = e.map((e) => `<a href="${m7(e.href)}" data-catalog-view="${m7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${m7(e.label)}</a>`).join(""), i = qG();
- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + h7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + h7("<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(p7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ws()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), g7 = (e) => e.repeat(m7);
+function nLe(e, t, n) {
+ let r = e.map((e) => `<a href="${h7(e.href)}" data-catalog-view="${h7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${h7(e.label)}</a>`).join(""), i = qG();
+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + g7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + g7("<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(m7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ws()}</span>` + (n ? a5(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/application/catalog.js
var X = {
@@ -80923,43 +80938,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function tLe() {
- X.initialParams.has("loc") || (W.loc = g7(W.loc), yu());
+function rLe() {
+ X.initialParams.has("loc") || (W.loc = _7(W.loc), yu());
}
-function g7(e) {
- return CFe(e, Z.sourceOnline);
+function _7(e) {
+ return TFe(e, Z.sourceOnline);
}
-function _7(e = W) {
- return wFe(e);
+function v7(e = W) {
+ return EFe(e);
}
-function nLe() {
- vu(C8(TFe(W, Z.appSettings, x8.rollSeed)));
+function iLe() {
+ vu(w8(DFe(W, Z.appSettings, S8.rollSeed)));
}
-function v7(e = null) {
- nLe(), e && (Object.assign(W, e), yu()), Q.route(e ? _7() : "/"), X.clearSearchField(), o9(!1), g9(), P7();
+function y7(e = null) {
+ iLe(), e && (Object.assign(W, e), yu()), Q.route(e ? v7() : "/"), X.clearSearchField(), s9(!1), _9(), F7();
}
-function rLe(e, t = null) {
+function aLe(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? u9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);
+ !e.medium || e.medium === "video" ? d9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : j5(n);
}
-function y7(e) {
+function b7(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Cn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function iLe(e, t) {
- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : b7(e, t);
+function oLe(e, t) {
+ i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : x7(e, t);
}
-function b7(e, t) {
- e.edition_group ? kLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? ALe(e.part_group.seed_id, e.id, !0, t) : u9(e.id, !0, null, t);
+function x7(e, t) {
+ e.edition_group ? jLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? MLe(e.part_group.seed_id, e.id, !0, t) : d9(e.id, !0, null, t);
}
-async function aLe(e, t) {
+async function sLe(e, t) {
try {
let n = await Cn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await Cn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -80967,10 +80982,10 @@ async function aLe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- x8.actionFailure("更新稍后看", e);
+ S8.actionFailure("更新稍后看", e);
}
}
-async function oLe(e, t) {
+async function cLe(e, t) {
try {
await Cn("/api/batch", {
method: "POST",
@@ -80978,9 +80993,9 @@ async function oLe(e, t) {
ids: [e.id],
operation: t
})
- }), await z7();
+ }), await B7();
let n = t === "restore" ? "dispose" : "restore";
- x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -80988,14 +81003,14 @@ async function oLe(e, t) {
operation: n,
...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}
})
- }), await z7();
+ }), await B7();
} });
} catch (e) {
- throw x8.actionFailure("操作", e), e;
+ throw S8.actionFailure("操作", e), e;
}
}
-async function sLe(e, t, n, r) {
- let i = Number(e.rating) || 0, a = DP(i, t), o = async (t, r) => {
+async function lLe(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = EP(i, t), o = async (t, r) => {
let i = (await Cn("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -81009,14 +81024,14 @@ async function sLe(e, t, n, r) {
};
try {
let e = await o(a, r);
- x8.actionReceipt(e ? `已评 ${EP(e)} 星` : "已取消评分", { undo: () => o(i) });
+ S8.actionReceipt(e ? `已评 ${TP(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || x8.actionFailure("评分", e), e;
+ throw r?.aborted || S8.actionFailure("评分", e), e;
}
}
-async function x7(e) {
+async function S7(e) {
let t = new URLSearchParams();
- if (n7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {
+ if (r7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {
let e = Y.activeFilterState();
[
"loc",
@@ -81038,33 +81053,33 @@ async function x7(e) {
e[n] && t.set(n, e[n]);
});
}
- return AFe(t.toString(), X.topsQueryParams(e).toString());
+ return MFe(t.toString(), X.topsQueryParams(e).toString());
}
-function S7(e) {
- s5().type !== "entity" && E7({ tags: A7(e) }), h9({ filters: { ...e } }), R7();
+function C7(e) {
+ c5().type !== "entity" && D7({ tags: j7(e) }), g9({ filters: { ...e } }), z7();
}
-async function C7(e) {
- let t = ++X.facetCountsSeq, [n] = await x7(e);
- t === X.facetCountsSeq && (e.type === "home" && (r9.facets = n), h9({ latest: $7(n, e) }));
+async function w7(e) {
+ let t = ++X.facetCountsSeq, [n] = await S7(e);
+ t === X.facetCountsSeq && (e.type === "home" && (i9.facets = n), g9({ latest: e9(n, e) }));
}
-function w7(e) {
- let t = s5();
+function T7(e) {
+ let t = c5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), l5(t.kind, t.name, n), S7(n), C7(s5());
+ e(n), u5(t.kind, t.name, n), C7(n), w7(c5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(Gl);
- if (o9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), l5(t.kind, t.name, t.filters) ? P7() : vu({ pageOpens: lu + 1 });
+ if (s9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), u5(t.kind, t.name, t.filters) ? F7() : vu({ pageOpens: lu + 1 });
return;
}
e(W), vu({ barsContext: {
type: "home",
filters: W
- } }), Q.route(_7()), W5(), P7();
- } else e(W), yu(), Q.route(_7()), S7(W), C7(Wl);
+ } }), Q.route(v7()), G5(), F7();
+ } else e(W), yu(), Q.route(v7()), C7(W), w7(Wl);
}
-function cLe() {
+function uLe() {
return {
tiers: null,
tiersPending: !1,
@@ -81082,94 +81097,94 @@ function cLe() {
combo: [],
comboHidden: !0,
comboHost: R("#combo"),
- actions: D7(),
+ actions: O7(),
helpers: {
- wireDrag: n9,
+ wireDrag: r9,
wireScroller: (e) => {
e && Ec(e);
}
}
};
}
-function T7() {
- X.catalogFilterProps && E7({});
+function E7() {
+ X.catalogFilterProps && D7({});
}
-function E7(e) {
+function D7(e) {
let t = R("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || cLe(),
+ ...X.catalogFilterProps || uLe(),
...e
- }, !X.catalogFilterMounting && (sp(t) ? pp(t, e) : (!t.firstChild && !n && (t.innerHTML = eLe(X.catalogViews(), X.catalogFilterProps.state, k7()), lc(t)), X.catalogFilterMounting = dp("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (sp(t) ? pp(t, e) : (!t.firstChild && !n && (t.innerHTML = nLe(X.catalogViews(), X.catalogFilterProps.state, A7()), lc(t)), X.catalogFilterMounting = dp("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => pp(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function D7() {
+function O7() {
return {
currentHref: () => {
- let e = new URL(_7(), location.origin);
+ let e = new URL(v7(), location.origin);
return e.searchParams.set("loc", W.loc || ""), e.searchParams.set("thumb", W.thumb || "0"), e.searchParams.set("sort", W.sort || ""), e.searchParams.set("dir", W.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => y5(e, t),
+ openEntity: (e, t) => b5(e, t),
setView: (e) => {
- W.state = e, yu(), E7({ state: e }), Q.route(_7()), P7();
+ W.state = e, yu(), D7({ state: e }), Q.route(v7()), F7();
},
- toggleTag: (e) => I7(e),
- clearFilter: (e) => w7((t) => {
+ toggleTag: (e) => L7(e),
+ clearFilter: (e) => T7((t) => {
t[e] = "";
}),
- clearAll: () => w7((e) => {
+ clearAll: () => T7((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = qj(e, W.sort, W.dir);
- t && (W.sort = t.sort, W.dir = t.dir, yu(), Q7());
+ let t = Kj(e, W.sort, W.dir);
+ t && (W.sort = t.sort, W.dir = t.dir, yu(), $7());
},
- reshuffle: () => bLe(),
+ reshuffle: () => SLe(),
setLayout: (e) => {
- n7() ? a7(e) : YIe(e);
+ r7() ? o7(e) : ZIe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await jFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(j7) : n.map(M7);
+ let n = (await NFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(M7) : n.map(N7);
}
};
}
-function O7() {
- return n7() ? {
+function k7() {
+ return r7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: TM(),
- options: bM
- } : r7() ? {
+ value: wM(),
+ options: yM
+ } : i7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: i7(),
- options: bM
+ value: a7(),
+ options: yM
} : null;
}
-function k7() {
+function A7() {
return {
- sorts: c5(W.sort, W.dir),
- layout: O7(),
+ sorts: l5(W.sort, W.dir),
+ layout: k7(),
state: W.state || "",
trash: W.state === "trash"
};
}
-function A7(e) {
+function j7(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function j7(e) {
+function M7(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${B(Qn(en("performer", e.k, e.id)))}</span>${mo({
@@ -81183,102 +81198,102 @@ function j7(e) {
})}`
};
}
-function M7(e) {
+function N7(e) {
return {
name: e.k,
fallback: Zn(e.k, 2),
logo: e.has_logo ? uo(e.k, "icon", e.logo_version) : ""
};
}
-function lLe(e, t) {
- X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? E7({
+function dLe(e, t) {
+ X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? D7({
tiersPending: !0,
state: e.state || ""
- }) : (X.barsRendered = "", E7({
+ }) : (X.barsRendered = "", D7({
tiers: null,
tiersPending: !0,
state: e.state || ""
}));
}
-function N7(e) {
- X.barsPendingSeq === e && (X.barsPendingSeq = 0, E7({ tiersPending: !1 }));
+function P7(e) {
+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, D7({ tiersPending: !1 }));
}
-async function P7() {
+async function F7() {
let e = ++X.barsRequestSeq;
- if (h9(), !Vl(location.pathname) || Wl.type === "item") return;
- let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([
+ if (g9(), !Vl(location.pathname) || Wl.type === "item") return;
+ let t = c5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
W.state || "",
W.seed || "",
- n7()
+ r7()
]);
- lLe(n, e);
+ dLe(n, e);
let i;
try {
- i = await x7(t);
+ i = await S7(t);
} catch (t) {
- throw N7(e), t;
+ throw P7(e), t;
}
let [a, o] = i;
if (e !== X.barsRequestSeq) {
- N7(e);
+ P7(e);
return;
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- X.barsPendingSeq = 0, E7({ tiersPending: !1 }), V5.sidebarCatalog && h9({
- content: V5.sidebarCatalog,
+ X.barsPendingSeq = 0, D7({ tiersPending: !1 }), H5.sidebarCatalog && g9({
+ content: H5.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = s, t.type === "home" && (r9.facets = a);
+ X.barsRendered = s, t.type === "home" && (i9.facets = a);
let c = a.tags || [];
Ja(o.performers), Ja(o.studios);
- let l = t.type === "home" && !n7() && !W.state && !W.q && !a.locations.some((e) => e.n > 0);
+ let l = t.type === "home" && !r7() && !W.state && !W.q && !a.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = x8.seededSample(p, X.TAGS_FIRST, `tags:${W.seed || ""}`), h = new Set(m.map((e) => e.k));
+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${W.seed || ""}`), h = new Set(m.map((e) => e.k));
X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({
k: e.k,
label: Nl(e.k),
n: e.n ?? null
- })), X.barsPendingSeq = 0, E7({
+ })), X.barsPendingSeq = 0, D7({
tiers: {
key: String(X.barsRequestSeq),
- performers: o.performers.map(j7),
- studios: o.studios.map(M7)
+ performers: o.performers.map(M7),
+ studios: o.studios.map(N7)
},
tiersPending: !1,
empty: l,
- tags: A7(n),
+ tags: j7(n),
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), R7(), V5.sidebarCatalog = {
+ }), z7(), H5.sidebarCatalog = {
kind: "catalog",
- key: String(++V5.sidebarContentSeq),
- facets: $7(a, t)
- }, h9({
- content: V5.sidebarCatalog,
+ key: String(++H5.sidebarContentSeq),
+ facets: e9(a, t)
+ }, g9({
+ content: H5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function uLe(e, t) {
- r9.total = e, W.state === "trash" && (D5.trashCount = {
- total: r9.total,
+function fLe(e, t) {
+ i9.total = e, W.state === "trash" && (O5.trashCount = {
+ total: i9.total,
shown: t
- }), Q5(), E7({ count: {
- total: r9.total,
+ }), $5(), D7({ count: {
+ total: i9.total,
shown: t
} });
}
-function F7() {
+function I7() {
return al({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -81288,19 +81303,19 @@ function F7() {
try {
let e = await Cn("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- x8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ S8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await z7();
+ await B7();
}
}
});
}
-function I7(e) {
- w7((t) => {
+function L7(e) {
+ T7((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function L7(e) {
+function R7(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -81324,13 +81339,13 @@ function L7(e) {
label: Nl(e)
})), t;
}
-function R7() {
- E7({
- combo: L7(W),
+function z7() {
+ D7({
+ combo: R7(W),
comboHidden: !X.catalogOnScreen()
});
}
-async function z7() {
+async function B7() {
let e = Q.claimSurface(Q.surfacePath());
if (vu({
barsContext: {
@@ -81338,42 +81353,42 @@ async function z7() {
filters: W
},
detailReturnBarsContext: null
- }), o9(!1), W.state === "ads") return pLe(e);
- X.controller.page === "/junk-files" && V7(), L5(), W5();
- let t = H7(e);
- if (Z8(location.pathname) && W.browse !== "folders") {
- if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- ZFe();
- } else Q8();
- return R7(), R("#count").classList.remove("manage-static", "junkcount"), t;
-}
-function B7(e) {
+ }), s9(!1), W.state === "ads") return hLe(e);
+ X.controller.page === "/junk-files" && H7(), R5(), G5();
+ let t = U7(e);
+ if (Q8(location.pathname) && W.browse !== "folders") {
+ if (await L5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ $Fe();
+ } else $8();
+ return z7(), R("#count").classList.remove("manage-static", "junkcount"), t;
+}
+function V7(e) {
X.controller.settle(e);
}
-function V7() {
+function H7() {
let e = R("#grid");
kl(e), mp(e), X.controller.clear(), e.innerHTML = "";
}
-function H7(e) {
- return K7("/", fLe, e, { place: WLe });
+function U7(e) {
+ return q7("/", mLe, e, { place: KLe });
}
-function dLe(e) {
- return K7("/junk-files", hLe, e);
+function pLe(e) {
+ return q7("/junk-files", _Le, e);
}
-function U7() {
+function W7() {
return !!op(R("#grid"));
}
-function W7() {
- return X.controller.taken(U7());
+function G7() {
+ return X.controller.taken(W7());
}
-function G7(e) {
+function K7(e) {
pp(R("#grid"), e);
}
-function K7(e, t, n, r = {}) {
+function q7(e, t, n, r = {}) {
let i = R("#grid");
- X.controller.page && X.controller.page !== e && V7();
- let a = X.controller.begin(e, U7()), o = t();
- if (!a.mount) return G7(o), a.settled;
+ X.controller.page && X.controller.page !== e && H7();
+ let a = X.controller.begin(e, W7()), o = t();
+ if (!a.mount) return K7(o), a.settled;
kl(i);
let s = () => mp(i);
return a.signal.addEventListener("abort", s, { once: !0 }), dp(e, o, {
@@ -81381,70 +81396,70 @@ function K7(e, t, n, r = {}) {
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
}).catch((e) => console.error(e)).finally(() => {
- a.signal.removeEventListener("abort", s), a.finish(U7());
+ a.signal.removeEventListener("abort", s), a.finish(W7());
}), a.settled;
}
-function q7() {
- let e = r7();
- return MM({
- active: n7() || e,
+function J7() {
+ let e = i7();
+ return jM({
+ active: r7() || e,
home: e,
portrait: W.orient === "竖屏"
});
}
-function J7(e = "正在读取作品") {
- return oY(e, Y7());
-}
-function Y7() {
- return W ? NM(q7()) : 16 / 9;
+function Y7(e = "正在读取作品") {
+ return oY(e, X7());
}
function X7() {
- W7() && (kl(R("#grid")), G7({
- layout: q7(),
+ return W ? MM(J7()) : 16 / 9;
+}
+function Z7() {
+ G7() && (kl(R("#grid")), K7({
+ layout: J7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (kl(R("#index [data-entity-hero]")), o5({
- layout: q7(),
+ })), Y.entityPageCurrent() && (kl(R("#index [data-entity-hero]")), s5({
+ layout: J7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function fLe() {
+function mLe() {
let e = decodeURIComponent(location.pathname), t = kn(e), n = W.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: q7(),
+ layout: J7(),
wall: e === "/wall",
restoreNavigation: om(),
selectMode: Jl,
selected: new Set(Kl),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: n9,
- settled: B7,
- skeletonHtml: () => J7(),
+ wireDrag: r9,
+ settled: V7,
+ skeletonHtml: () => Y7(),
filters: { ...W },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: t && e !== "/wall" && !W.q && !W.orient && W.browse !== "folders" || W.jav === "1",
mix: t && e !== "/wall" && !n && W.browse !== "folders",
- shorts: t && e !== "/wall" && !n7() && W.orient !== "竖屏" && !n && W.browse !== "folders",
+ shorts: t && e !== "/wall" && !r7() && W.orient !== "竖屏" && !n && W.browse !== "folders",
countRow: R("#count"),
- onCount: uLe,
- onCountFailed: () => E7({ count: !1 }),
+ onCount: fLe,
+ onCountFailed: () => D7({ count: !1 }),
emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : QK({
- jav: n7() && !t,
+ jav: r7() && !t,
configurable: su,
filtered: !t
}),
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function pLe(e) {
+function hLe(e) {
let t = R("#count");
- return X.controller.page === "/junk-files" && U7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (V7(), L5("正在读取垃圾文件")), W5(), R7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), dLe(e);
+ return X.controller.page === "/junk-files" && W7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (H7(), R5("正在读取垃圾文件")), G5(), z7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), pLe(e);
}
-async function mLe(e, t) {
+async function gLe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await Cn("/api/batch", {
@@ -81454,24 +81469,24 @@ async function mLe(e, t) {
operation: t,
...r ? { disposal_reason: "junk" } : {}
})
- }), await z7();
+ }), await B7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await z7();
+ }), await B7();
} });
} catch (e) {
- throw x8.actionFailure("操作", e), e;
+ throw S8.actionFailure("操作", e), e;
}
}
-function hLe() {
+function _Le() {
return {
- ...JU(location.search),
+ ...YU(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -81479,16 +81494,16 @@ function hLe() {
selectMode: Jl,
selected: new Set(Kl),
countRow: R("#count"),
- settled: B7,
- skeletonHtml: () => T2("正在读取垃圾文件", {
+ settled: V7,
+ skeletonHtml: () => E2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function gLe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), vu(C8(SFe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {
+function vLe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), vu(w8(wFe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = R("#q")) => {
@@ -81509,52 +81524,52 @@ function gLe() {
};
};
}
-function _Le() {
- L8.handler(R("#wallBtn"), "onclick", () => {
- k5(!1, !0);
- let e = s5(), t = {
+function yLe() {
+ R8.handler(R("#wallBtn"), "onclick", () => {
+ A5(!1, !0);
+ let e = c5(), t = {
...Y.activeFilterState(),
- jav: n7() ? "1" : ""
+ jav: r7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(xbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Sbe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => aL(e, t),
- displayName: (e, t) => iL(e, t),
+ titleHtml: (e, t) => iL(e, t),
+ displayName: (e, t) => rL(e, t),
tagLabel: (e) => Nl(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await n8(r9.stageHost);
+ let r = await r8(i9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: b7,
- open: (e, t) => iLe(e, t),
- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : rLe(e, t),
- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : p9(e.id),
- openShorts: () => p9(),
- openMix: (e, t) => OLe(e, e, !0, t),
- openEntity: (e, t) => y5(e, t),
- openUnowned: () => v7({ owner: "none" }),
+ wallDetails: x7,
+ open: (e, t) => oLe(e, t),
+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : aLe(e, t),
+ openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : m9(e.id),
+ openShorts: () => m9(),
+ openMix: (e, t) => ALe(e, e, !0, t),
+ openEntity: (e, t) => b5(e, t),
+ openUnowned: () => y7({ owner: "none" }),
toggleTag: (e) => {
- w7((t) => {
+ T7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
});
},
- toggleSelection: (e, t) => A5(e, t),
- watchLater: (e, t) => aLe(e, t),
- rate: (e, t, n, r) => sLe(e, t, n, r),
- resourceOperation: (e, t) => oLe(e, t),
- mixRelated: (e) => y7(e),
- canFlip: () => !Jl && !e9() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => j5(e, t),
+ watchLater: (e, t) => sLe(e, t),
+ rate: (e, t, n, r) => lLe(e, t, n, r),
+ resourceOperation: (e, t) => cLe(e, t),
+ mixRelated: (e) => b7(e),
+ canFlip: () => !Jl && !t9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: W.seed || ""
});
- return t && n.set("page", String(t)), n7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;
+ return t && n.set("page", String(t)), r7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -81575,38 +81590,38 @@ function _Le() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? En[e.k] : "/"
- })), X.TAGS_FIRST = 26, L8.listen(R("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, R8.listen(R("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), D7().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), O7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && E7({ comboHidden: !0 });
+ X.catalogFilterProps && D7({ comboHidden: !0 });
};
}
-function vLe() {
+function bLe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- Jl && k5(!1, !0), Q.route(e);
+ Jl && A5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => A5(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : u9(e.id, !0, null, t),
+ toggleSelection: (e, t) => j5(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : d9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await Cn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), x8.toast({ text: "已在资源管理器中显示" }), "";
+ }), S8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => mLe(e, t)
+ operate: (e, t) => gLe(e, t)
};
}
-X.controller = new EFe();
+X.controller = new OFe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -81629,8 +81644,8 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function Z7() {
- let e = L8;
+async function Q7() {
+ let e = R8;
try {
let t = await br(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -81640,18 +81655,18 @@ async function Z7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), tLe(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), rLe(), Z.sourceOnline;
}
-function Q7() {
+function $7() {
let e = Q.surfacePath();
- if (!kn(e) || e === "/junk-files") return z7();
+ if (!kn(e) || e === "/junk-files") return B7();
let t = Z.nextCatalogLoad();
- return Tp(_7(), {
+ return Tp(v7(), {
replace: !0,
state: G.navigation.location.state
}), t;
}
-function yLe(e) {
+function xLe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -81672,7 +81687,7 @@ function yLe(e) {
cost: "free"
};
}
-function $7(e, t) {
+function e9(e, t) {
let n = (e, t = (e) => e.label || Nl(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -81683,7 +81698,7 @@ function $7(e, t) {
value: e.k,
label: er[e.k] || e.k,
n: e.n ?? null,
- dot: yLe(e.k),
+ dot: xLe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -81696,25 +81711,25 @@ function $7(e, t) {
duration: !!e.stats?.duration
};
}
-async function bLe(e = !1) {
- if (e && (document.hidden || !kn(decodeURIComponent(location.pathname)) || r9.stageOpen() || r9.immerseOpen() || Jl || Kl.size || document.activeElement === R("#q"))) return !1;
+async function SLe(e = !1) {
+ if (e && (document.hidden || !kn(decodeURIComponent(location.pathname)) || i9.stageOpen() || i9.immerseOpen() || Jl || Kl.size || document.activeElement === R("#q"))) return !1;
if (!R("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- S5();
+ C5();
return;
}
let n = t === "reopen" ? e : "/stats";
nm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, G.navigation.location.state) : Q.navigatePath(n);
} else if (R("#index").hidden) {
- W.sort = "seed", W.dir = "", W.seed = x8.rollSeed(), yu(), D8(), E7({ refreshing: !0 });
+ W.sort = "seed", W.dir = "", W.seed = S8.rollSeed(), yu(), O8(), D7({ refreshing: !0 });
try {
nm();
- let e = Q7();
- await null, await Promise.all([e, P7()]);
+ let e = $7();
+ await null, await Promise.all([e, F7()]);
} finally {
- E7({ refreshing: !1 });
+ D7({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -81722,69 +81737,69 @@ async function bLe(e = !1) {
}), !0;
}
}
-function e9() {
+function t9() {
return document.body.classList.contains("censor");
}
-function t9(e) {
+function n9(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function xLe(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), t9(e), e && kl();
+function CLe(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), n9(e), e && kl();
}
-function SLe(e) {
+function wLe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function n9(e) {
+function r9(e) {
return Ec(e, { drag: !0 });
}
-function CLe() {
- ["#nrow", "#count"].forEach((e) => n9(R(e))), document.querySelectorAll(".tier,.srow").forEach(n9);
+function TLe() {
+ ["#nrow", "#count"].forEach((e) => r9(R(e))), document.querySelectorAll(".tier,.srow").forEach(r9);
}
-function wLe() {
+function ELe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function TLe() {
+function DLe() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {
local: "无法读取媒体目录,请检查目录是否存在及读取权限。",
115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",
pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"
- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = mM(), Z.appSettings = Z.settingsStore.value, Yt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Yo(Z.appSettings.uiSounds), ts(), vM(), dle(), UM(), KM(), qM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = pM(), Z.appSettings = Z.settingsStore.value, Yt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Yo(Z.appSettings.uiSounds), ts(), _M(), fle(), HM(), GM(), KM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
performerNameLanguage: () => {
- Yt(Z.appSettings.performerNameLanguage), I5.syncPageTitle(location.href), X.barsRendered = "", P7();
+ Yt(Z.appSettings.performerNameLanguage), L5.syncPageTitle(location.href), X.barsRendered = "", F7();
},
- theme: () => vM(),
+ theme: () => _M(),
uiSounds: () => {
Yo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Xo("toggle-on");
},
- glowFrame: () => GM(),
+ glowFrame: () => WM(),
glow: () => {
- GM(), KM();
+ WM(), GM();
},
batchSize: () => {
- location.pathname === "/" && z7();
+ location.pathname === "/" && B7();
},
defaultSort: () => {
- W.sort = Z.appSettings.defaultSort, W.dir = Jj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Q7();
+ W.sort = Z.appSettings.defaultSort, W.dir = qj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && $7();
},
sortDirection: () => {
- W.dir = Jj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Q7();
+ W.dir = qj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && $7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
jl(e, "previewing", !1), jl(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => X7(),
- groupCollapse: () => c7(),
- feedAutoScroll: () => QFe(),
- feedLimit: () => $8(),
- feedCompilations: () => $8(),
+ seekSeconds: () => Z7(),
+ groupCollapse: () => l7(),
+ feedAutoScroll: () => eIe(),
+ feedLimit: () => e5(),
+ feedCompilations: () => e5(),
miniplayer: () => {
- Z.appSettings.miniplayer || r8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || i8()?.closeMiniplayer();
},
javImage: () => {
- ro(document, Z.appSettings.javImage), X7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), DLe();
+ ro(document, Z.appSettings.javImage), Z7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), kLe();
},
searchHistoryLimit: () => pp(R("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -81795,11 +81810,11 @@ function TLe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Hs;
}
-function ELe() {
- Z.CENSOR_KEY = "peach-censor", t9(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function OLe() {
+ Z.CENSOR_KEY = "peach-censor", n9(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
-var r9 = {
+var i9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -81810,18 +81825,18 @@ var r9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function i9() {
+function a9() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function a9() {
- return r8()?.exit() || Promise.resolve();
+function o9() {
+ return i8()?.exit() || Promise.resolve();
}
-function o9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), vu({
+function s9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), vu({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -81829,12 +81844,12 @@ function o9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), f7(), e && Q.route(Ql || "/");
+ }), p7(), e && Q.route(Ql || "/");
}
-function DLe() {
- r8()?.repaintPoster();
+function kLe() {
+ i8()?.repaintPoster();
}
-function s9(e, t, n, r, i = null, a = {}) {
+function c9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = nu?.kind === e && (e === "playlist" ? nu.playlistId : nu.seedId) === t;
r && !o && vu({ detailReturnPath: location.pathname + location.search }), r && Vf();
@@ -81848,38 +81863,38 @@ function s9(e, t, n, r, i = null, a = {}) {
fresh: !o
};
if (a.autoplay && (s.autoplay = !0), r) {
- _9();
+ v9();
let e = Q.queueOpenRequest = {
seq: G.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => u9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });
- } else return u9(n == null ? null : +n, !1, s, i, r);
+ Q.requestedQueue = () => d9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });
+ } else return d9(n == null ? null : +n, !1, s, i, r);
}
-function OLe(e, t = e, n = !0, r = null) {
- return s9("mix", e, t, n, r);
+function ALe(e, t = e, n = !0, r = null) {
+ return c9("mix", e, t, n, r);
}
-function kLe(e, t = e, n = !0, r = null) {
- return s9("editions", e, t, n, r);
+function jLe(e, t = e, n = !0, r = null) {
+ return c9("editions", e, t, n, r);
}
-function ALe(e, t = e, n = !0, r = null) {
- return s9("parts", e, t, n, r);
+function MLe(e, t = e, n = !0, r = null) {
+ return c9("parts", e, t, n, r);
}
-function c9(e, t = null, n = !0) {
- return s9("playlist", e, t, n);
+function l9(e, t = null, n = !0) {
+ return c9("playlist", e, t, n);
}
-function l9() {
+function u9() {
return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !!document.querySelector("[data-video-wall]") || !R("#index").hidden || !R("#stats").hidden;
}
-async function u9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function d9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
- if (a || _9(), t && !n) {
- vu({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => u9(e, !1, null, r));
+ if (a || v9(), t && !n) {
+ vu({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => d9(e, !1, null, r));
return;
}
kl(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = l9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(s5());
- t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: Wf() || Ql }), t && Vf(), r8()?.showing() !== "item" && o9(!1, !0, {
+ let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = u9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(c5());
+ t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: Wf() || Ql }), t && Vf(), i8()?.showing() !== "item" && s9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), vu({
@@ -81891,60 +81906,60 @@ async function u9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), vu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Gf("item"));
- let d = await n8(r9.stageHost);
+ let d = await r8(i9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ...r9.itemDetailActions,
+ ...i9.itemDetailActions,
present: (e, t) => {
- a.cancelled || r9.itemDetailActions.present(e, t);
+ a.cancelled || i9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || r9.itemDetailActions.redirect(e);
+ a.cancelled || i9.itemDetailActions.redirect(e);
}
- } : r9.itemDetailActions;
+ } : i9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: r9.itemDetailHelpers,
+ helpers: i9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: q7(),
+ layout: J7(),
selectMode: Jl,
selected: new Set(Kl),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : i9()
- }), f7();
+ resume: t || e == null ? null : a9()
+ }), p7();
}
-async function d9() {
+async function f9() {
let e = Y.cloneBarsContext(Gl), t = Ql || "/", n = tu;
- await a9(), o9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), Hf(), vu({ barsContext: e || {
+ await o9(), s9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), Hf(), vu({ barsContext: e || {
type: "home",
filters: W
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (P7(), location.pathname === "/playlists" && S5()));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (F7(), location.pathname === "/playlists" && C5()));
}
-async function f9(e, t = !0) {
+async function p9(e, t = !0) {
if (t) {
- vu({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => f9(e, !1));
+ vu({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => p9(e, !1));
return;
}
- let n = G.navigation.seq, r = Y.cloneBarsContext(s5()), i = !l9(), a = Wf() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";
- r8()?.showing() !== "jav" && o9(!1, !0, { miniplayer: !1 }), vu({
+ let n = G.navigation.seq, r = Y.cloneBarsContext(c5()), i = !u9(), a = Wf() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";
+ i8()?.showing() !== "jav" && s9(!1, !0, { miniplayer: !1 }), vu({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), kl();
- let [o, s] = await Promise.all([n8(r9.stageHost), V("/healthz")]);
+ let [o, s] = await Promise.all([r8(i9.stageHost), V("/healthz")]);
G.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void d9(),
+ close: () => void f9(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
G.navigation.seq === n && t && t !== e && Tp("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -81952,52 +81967,52 @@ async function f9(e, t = !0) {
state: G.navigation.location.state
});
},
- openTag: (e) => w7((t) => {
+ openTag: (e) => T7((t) => {
t.tag = e;
}),
- receipt: (e) => x8.toast({ text: e })
+ receipt: (e) => S8.toast({ text: e })
}
- }), f7());
+ }), p7());
}
-async function p9(e = null, t = !0) {
- t ? (r9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await mFe(r9.immerseHost)).open(e));
+async function m9(e = null, t = !0) {
+ t ? (i9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await gFe(i9.immerseHost)).open(e));
}
-function jLe() {
- r9.total = 0, r9.facets = null, r9.stageHost = {
+function NLe() {
+ i9.total = 0, i9.facets = null, i9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => x8.toast({ text: e }, t),
- loadSourceStatus: () => Z7(),
+ toast: (e, t) => S8.toast({ text: e }, t),
+ loadSourceStatus: () => Q7(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? D9(t, !0, n) : u9(t, !0);
+ e === "follow" ? O9(t, !0, n) : d9(t, !0);
},
- openItem: (e) => void u9(e)
- }, r9.stageOpen = () => !!r8()?.isOpen();
+ openItem: (e) => void d9(e)
+ }, i9.stageOpen = () => !!i8()?.isOpen();
}
-function MLe() {
- r9.itemDetailHelpers = {
+function PLe() {
+ i9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => aL(e),
- displayName: (e) => iL(e),
+ titleHtml: (e) => iL(e),
+ displayName: (e) => rL(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Nl(e),
isDurationTag: (e) => rr.has(e),
- tagCandidates: () => r9.facets && r9.facets.tags || [],
+ tagCandidates: () => i9.facets && i9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => T2("正在读取推荐", {
+ relatedSkeletonHtml: () => E2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => y7(e),
- wireDrag: (e) => n9(e),
+ mixRelated: (e) => b7(e),
+ wireDrag: (e) => r9(e),
wireDragReorder: (e, t) => tl(e, t)
- }, r9.itemDetailActions = {
- close: () => d9(),
+ }, i9.itemDetailActions = {
+ close: () => f9(),
present: (e) => {
vu({ presentedItem: e });
let t = Gl;
@@ -82005,57 +82020,57 @@ function MLe() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, Gf("item")), vu({ pendingQueueRoute: null })), P7();
+ } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, Gf("item")), vu({ pendingQueueRoute: null })), F7();
},
redirect: (e) => {
let t = !!ru;
e.kind === "follow" ? (Q.queueOpenRequest = null, vu({
pendingQueueRoute: null,
followDetailReturnPath: Ql || "/"
- }), Q.route(`/posts/${e.id}`, !t, Gf("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? u9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : o9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, Gf("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? d9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : C5() : s9(!1);
},
- openQueueItem: (e, t, n = !0) => void s9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void c9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = iu;
if (!e) return;
let t = nu;
- t ? s9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : u9(e.id, !1);
+ t ? c9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : d9(e.id, !1);
},
- checkSource: async (e) => (await Z7())[e] !== !1,
+ checkSource: async (e) => (await Q7())[e] !== !1,
openSavedFollow: () => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", x9(S9());
},
- openEntity: (e, t) => y5(e, t),
- openUnowned: () => v7({ owner: "none" }),
- openRegion: (e) => v7({ region: e || "none" }),
- openTag: (e) => w7((t) => {
+ openEntity: (e, t) => b5(e, t),
+ openUnowned: () => y7({ owner: "none" }),
+ openRegion: (e) => y7({ region: e || "none" }),
+ openTag: (e) => T7((t) => {
t.tag = e;
}),
- addToPlaylist: (e) => fIe(e),
- saveMix: (e) => dIe(e),
- editPlaylist: () => b9("/playlists"),
- openPlaylists: () => b9("/playlists"),
- reveal: (e) => m5(e),
- sync: (e) => rIe(e),
+ addToPlaylist: (e) => mIe(e),
+ saveMix: (e) => pIe(e),
+ editPlaylist: () => x9("/playlists"),
+ openPlaylists: () => x9("/playlists"),
+ reveal: (e) => h5(e),
+ sync: (e) => aIe(e),
trashChanged: async (e, t) => {
- W.state === "ads" && (t || e === "trash") && (t || (Hf(), o9(!0, !1, { miniplayer: !1 })), await z7());
+ W.state === "ads" && (t || e === "trash") && (t || (Hf(), s9(!0, !1, { miniplayer: !1 })), await B7());
},
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- failure: (e, t) => x8.actionFailure(e, t)
- }, r9.immerseHost = {
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => S8.actionFailure(e, t)
+ }, i9.immerseHost = {
filters: () => W,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => iL(e),
+ displayName: (e) => rL(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => v7(),
- openItem: (e) => void u9(e),
- openEntity: (e, t) => y5(e, t),
- openUnowned: () => v7({ owner: "none" }),
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- warn: (e) => x8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => x8.actionFailure(e, t)
- }, r9.immerseOpen = () => !!o8()?.isOpen(), L8.handler(R("#immerseBtn"), "onclick", () => p9());
+ closed: () => y7(),
+ openItem: (e) => void d9(e),
+ openEntity: (e, t) => b5(e, t),
+ openUnowned: () => y7({ owner: "none" }),
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ warn: (e) => S8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => S8.actionFailure(e, t)
+ }, i9.immerseOpen = () => !!s8()?.isOpen(), R8.handler(R("#immerseBtn"), "onclick", () => m9());
}
// src/application/navigation.js
var Q = {
@@ -82077,40 +82092,40 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function m9() {
- let e = f8();
- e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(l7(e.dataset.nav))));
+function h9() {
+ let e = p8();
+ e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(u7(e.dataset.nav))));
}
-function h9(e = {}) {
+function g9(e = {}) {
let t = Q.surfacePath();
- t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {
- ...V5.sidebarProps,
+ t !== H5.sidebarSurface && (H5.sidebarSurface = t, H5.sidebarProps = {
+ ...H5.sidebarProps,
content: null,
latest: null
- }), V5.sidebarProps = {
- ...V5.sidebarProps,
+ }), H5.sidebarProps = {
+ ...H5.sidebarProps,
...e
- }, f8()?.render(V5.sidebarProps);
-}
-function g9() {
- h9(), m9(), d7();
+ }, p8()?.render(H5.sidebarProps);
}
function _9() {
+ g9(), h9(), f7();
+}
+function v9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, vu({ pendingQueueRoute: null });
}
-function v9(e, t, n) {
- _9(), Vf(), Q.requestedOverlay = {
+function y9(e, t, n) {
+ v9(), Vf(), Q.requestedOverlay = {
path: e,
open: n
}, Q.route(e, !1, Gf(t));
}
-function y9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), Hf();
+function b9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, L5.syncPageTitle(location.href), g9(), Hf();
}
-function b9(e) {
+function x9(e) {
Q.route(e), vu({ pageOpens: lu + 1 });
}
-function NLe() {
+function FLe() {
Q.routeMeta = (e) => {
let t = Zf(e);
return t ? { route: t } : null;
@@ -82118,7 +82133,7 @@ function NLe() {
let t = Zf(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Lf(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? p9(wLe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? AIe() : e) : (k5(!1, !0), b9(N5({
+ e === "/immerse" ? m9(ELe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? MIe() : e) : (A5(!1, !0), x9(P5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -82127,34 +82142,34 @@ function NLe() {
})));
};
}
-function PLe() {
+function ILe() {
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(), mp(R("#stats"), R("#index")), !kn(e) && e !== "/trash" && V7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Q8(e) || $8(), mp(R("#stats"), R("#index")), !kn(e) && e !== "/trash" && H7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, Tp(e, {
replace: t,
state: n
- }), I5.syncPageTitle(e), queueMicrotask(() => {
- d7(), e7(), h9();
+ }), L5.syncPageTitle(e), queueMicrotask(() => {
+ f7(), t7(), g9();
});
}, Q.navigatePath = (e, t = !1, n) => {
t ? G.replace(e, n) : G.push(e, n), queueMicrotask(() => {
- d7(), e7();
+ f7(), t7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function FLe(e, t, n) {
+function LLe(e, t, n) {
if (!Number.isFinite(n) || n <= 0) return "";
let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function ILe(e, t = 0, n = 0) {
- return n > 0 ? FLe(e, t, n) : Bs(e);
+function RLe(e, t = 0, n = 0) {
+ return n > 0 ? LLe(e, t, n) : Bs(e);
}
-async function LLe(e) {
+async function zLe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -82169,14 +82184,14 @@ async function LLe(e) {
await t(2e3);
}
}
-function RLe(e) {
+function BLe(e) {
let t = e.note || ((e) => Ls(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Bs, r = e.progress || ((e, t, n) => ILe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || Bs, r = e.progress || ((e, t, n) => RLe(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;
- LLe({
+ zLe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -82225,25 +82240,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function zLe(e) {
+function VLe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- x8.toast({ text: Bi(e) }, {
+ S8.toast({ text: Bi(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => E9(!0)
+ run: () => D9(!0)
}
});
}
-function x9() {
- return Da(S9());
+function S9() {
+ return Da(C9());
}
-function BLe() {
+function HLe() {
return $.controller.read();
}
-function S9() {
+function C9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -82258,33 +82273,33 @@ function S9() {
seed: $.followSeed
};
}
-function C9(e) {
+function w9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function VLe() {
+function ULe() {
let e = op(R("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function w9() {
- return !!VLe();
+function T9() {
+ return !!ULe();
}
-function T9(e) {
- w9() && pp(R("#stats"), e);
+function E9(e) {
+ T9() && pp(R("#stats"), e);
}
-function HLe(e, t = {}) {
+function WLe(e, t = {}) {
return $.controller.route(e, t);
}
-function E9(e = !1) {
+function D9(e = !1) {
$.controller.enter(e);
}
-async function D9(e, t = !0, n = null, r = !1) {
+async function O9(e, t = !0, n = null, r = !1) {
if (t) {
- !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));
+ !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));
return;
}
kl(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: Wf() || "/follow" }), t && Vf(), r8()?.showing() !== "follow" && o9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Gf("follow")), await (await n8(r9.stageHost)).open({
+ t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: Wf() || "/follow" }), t && Vf(), i8()?.showing() !== "follow" && s9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Gf("follow")), await (await r8(i9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -82292,66 +82307,66 @@ async function D9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : i9()
- }), f7();
+ resume: t ? null : a9()
+ }), p7();
}
-async function ULe() {
- await a9(), o9(!1, !1, { miniplayer: !1 }), Hf(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && w9() ? (BLe(), T9({ view: S9() })) : vu({ pageOpens: lu + 1 }));
+async function GLe() {
+ await o9(), s9(!1, !1, { miniplayer: !1 }), Hf(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && T9() ? (HLe(), E9({ view: C9() })) : vu({ pageOpens: lu + 1 }));
}
-function WLe(e) {
+function KLe(e) {
let t = document.createElement("div");
return t.className = "peach-react", ec(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function GLe() {
+function qLe() {
$.followFeedHelpers = Fl({
wireDrag: (e) => {
- e && n9(e);
+ e && r9(e);
},
wireScroller: (e) => {
e && Ec(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: RLe
+ jobProgress: BLe
}), $.followFeedActions = {
- loaded: (e) => G5(e),
- openDetail: (e) => D9(e),
+ loaded: (e) => K5(e),
+ openDetail: (e) => O9(e),
openAuthor: (e) => Q.navigatePath(Mn("creator", e)),
- toggleSelection: (e, t) => vIe(e, t),
+ toggleSelection: (e, t) => bIe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f5();
},
setPhotoLayout: (e) => {
- FM(e), d5();
+ PM(e), f5();
},
- canFlip: () => !Jl && !e9() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- failure: (e, t) => x8.actionFailure(e, t),
- checkReport: (e) => zLe(e)
+ canFlip: () => !Jl && !t9() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => S8.actionFailure(e, t),
+ checkReport: (e) => VLe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- r8()?.showing() !== "follow" && (kl(), o9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), R("#stats").querySelector(".peach-react") && mp(R("#stats")), R("#stats").replaceChildren()));
+ i8()?.showing() !== "follow" && (kl(), s9(!1), W5(), !T9() && (Q.claimSurface(Q.surfacePath()), U5({ manage: !1 }), R("#stats").querySelector(".peach-react") && mp(R("#stats")), R("#stats").replaceChildren()));
}
}, $.followDetailActions = Ul({
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
rememberReturn: (e) => vu({ followDetailReturnPath: e }),
- close: () => void ULe(),
- open: (e, t, n) => void D9(e, !0, t, n),
- drawer: G5,
+ close: () => void GLe(),
+ open: (e, t, n) => void O9(e, !0, t, n),
+ drawer: K5,
openAuthor: (e) => Q.navigatePath(Mn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- failure: x8.actionFailure
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ failure: S8.actionFailure
});
}
-function KLe() {
+function JLe() {
$.controller = Aa({
location: () => location,
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
session: () => ({
discoverySeed: fu,
revision: pu,
@@ -82365,50 +82380,50 @@ function KLe() {
preferences: () => ({
selectMode: Jl,
selected: ql,
- photoSize: kM(),
- photoLayout: AM(),
+ photoSize: OM(),
+ photoLayout: kM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
- live: w9,
- push: T9,
+ live: T9,
+ push: E9,
route: (e) => {
Q.route(e), im("follow", {
- view: S9(),
+ view: C9(),
seed: fu,
revision: pu
});
},
- openPage: b9,
- rollSeed: () => Number(x8.rollSeed()),
+ openPage: x9,
+ rollSeed: () => Number(S8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- kl(), U5(), H5({ manage: !1 });
+ kl(), W5(), U5({ manage: !1 });
},
- syncPhotoWalls: d5,
+ syncPhotoWalls: f5,
scrollTop: () => {
cm(() => location.pathname === "/follow", R("#stats").querySelector("[data-filter-frame]"));
}
}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;
}
// src/application/lifecycle.js
-function qLe() {
- XTe(), Jc(document), Io(document.documentElement, { variant: "page" }), Io(R("#drawerScroll")), L8.own(Gc()), Ha(document.body), X.homeHasFeed = YFe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {
+function YLe() {
+ ZTe(), Jc(document), Io(document.documentElement, { variant: "page" }), Io(R("#drawerScroll")), R8.own(Gc()), Ha(document.body), X.homeHasFeed = ZFe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, H5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, H5.sidebarSurface = "", H5.sidebarCatalog = null, H5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
// src/application/tutorial.js
-async function JLe() {
+async function XLe() {
FU({ reopen: !0 });
}
-function YLe() {
+function ZLe() {
let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";
- vu({ cameFromSetup: t }), L8.handler(document.getElementById("tutorialBtn"), "onclick", () => FU()), FU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
+ vu({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => FU()), FU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
let n = e.searchParams.get("agentation");
try {
localStorage.removeItem("peach.agentation");
@@ -82419,7 +82434,7 @@ function YLe() {
}), n === "on" && import("/dev/agentation.js").catch(() => {});
}
// src/react/search/recommendations.ts
-async function XLe(e) {
+async function QLe(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -82531,7 +82546,7 @@ async function XLe(e) {
];
}
// src/application/search-morph.js
-function ZLe(e, t, n, r, i, a, o) {
+function $Le(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);
@@ -82546,65 +82561,65 @@ function ZLe(e, t, n, r, i, a, o) {
});
}
// src/application/search.js
-var O9 = {
+var k9 = {
searchControl: void 0,
searchActions: void 0,
searchHelpers: void 0,
searchMorph: void 0,
searchMorphViewport: void 0
};
-function k9() {
- O9.searchControl?.close();
+function A9() {
+ k9.searchControl?.close();
}
-function QLe(e) {
+function eRe(e) {
let t = e ? $a({
...e,
is_jav: !!e.code
}, Z.appSettings.javImage) : "";
return t === "cover" ? bo(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";
}
-function A9() {
- O9.searchMorph?.cancel(), O9.searchMorph = null, R(".search").classList.remove("search-morphing");
+function j9() {
+ k9.searchMorph?.cancel(), k9.searchMorph = null, R(".search").classList.remove("search-morphing");
}
-function j9(e) {
+function M9(e) {
let t = R(".search"), n = R("#searchBtn");
if (t.classList.contains("open") === e) return;
- let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
- A9(), t.classList.remove("open");
+ let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
+ j9(), t.classList.remove("open");
let o = n.getBoundingClientRect();
if (t.classList.toggle("open", e), R("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = zc();
t.classList.add("search-morphing");
- let h = t.animate(ZLe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate($Le(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- O9.searchMorph = h, L8.handler(h, "onfinish", () => {
- O9.searchMorph === h && A9();
+ k9.searchMorph = h, R8.handler(h, "onfinish", () => {
+ k9.searchMorph === h && j9();
});
}
-function $Le() {
- return r9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;
+function tRe() {
+ return i9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;
}
-function eRe(e) {
+function nRe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function tRe() {
- O9.searchControl = null, O9.searchActions = {
+function rRe() {
+ k9.searchControl = null, k9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), o9(!1), W.q = e, yu(), Q.route(W.jav === "1" ? _7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
+ X.rememberSearchValue(), s9(!1), W.q = e, yu(), Q.route(W.jav === "1" ? v7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
},
- openItem: (e) => u9(e),
- openEntity: (e, t) => y5(e, t),
+ openItem: (e) => d9(e),
+ openEntity: (e, t) => b5(e, t),
openPath: (e) => Q.route(e, !1),
openFollow: (e, t, n) => {
- $.followMediaView = t, D9(e, !0, n);
+ $.followMediaView = t, O9(e, !0, n);
}
- }, O9.searchHelpers = {
- pool: () => wbe(W, Cn),
- recommendations: () => XLe(Cn),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : QLe(e)}</span>`,
+ }, k9.searchHelpers = {
+ pool: () => Tbe(W, Cn),
+ recommendations: () => QLe(Cn),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : eRe(e)}</span>`,
present: (e) => os(e),
dismiss: (e) => ss(e),
wireScroller: (e) => Ec(e),
@@ -82622,65 +82637,65 @@ function tRe() {
}, dp("search", {
input: R("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
- actions: O9.searchActions,
- helpers: O9.searchHelpers,
+ actions: k9.searchActions,
+ helpers: k9.searchHelpers,
expose: (e) => {
- O9.searchControl = e;
+ k9.searchControl = e;
}
}, {
container: R("#searchMenu"),
isCurrent: () => !0
- }), L8.listen(R("#q"), "beforeinput", (e) => {
+ }), R8.listen(R("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), L8.listen(R("#q"), "scroll", (e) => {
+ }), R8.listen(R("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), L8.listen(R("#q"), "pointerdown", (e) => {
+ }), R8.listen(R("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function M9() {
- O9.searchMorph = null, O9.searchMorphViewport = innerWidth, L8.listen.bind(L8, window)("resize", () => {
- innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());
- }, { passive: !0 }), L8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), L8.handler(R("#searchBtn"), "onclick", () => {
- j9(!0), R("#q").focus({ preventScroll: !0 });
- }), L8.handler(R("#searchBack"), "onclick", () => {
- j9(!1), k9(), R("#q").blur(), R("#searchBtn").focus({ preventScroll: !0 });
+function iRe() {
+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, R8.listen.bind(R8, window)("resize", () => {
+ innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());
+ }, { passive: !0 }), R8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), R8.handler(R("#searchBtn"), "onclick", () => {
+ M9(!0), R("#q").focus({ preventScroll: !0 });
+ }), R8.handler(R("#searchBack"), "onclick", () => {
+ M9(!1), A9(), R("#q").blur(), R("#searchBtn").focus({ preventScroll: !0 });
});
let e = (e) => {
- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (R("#q").value || j9(!1), k9());
+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (R("#q").value || M9(!1), A9());
};
- L8.listen(document, "pointerdown", e, !0), L8.listen(document, "focusin", e), L8.handler(R("#brandHome"), "onclick", (e) => {
- e.preventDefault(), v7();
- }), L8.listen(document, "keydown", (e) => {
+ R8.listen(document, "pointerdown", e, !0), R8.listen(document, "focusin", e), R8.handler(R("#brandHome"), "onclick", (e) => {
+ e.preventDefault(), y7();
+ }), R8.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = l8();
+ let t = u8();
if (t?.isOpen()) {
t.close();
return;
}
if (!R("#searchMenu").hidden) {
- k9();
+ A9();
return;
}
- if (r9.immerseOpen()) {
- o8().close();
+ if (i9.immerseOpen()) {
+ s8().close();
return;
}
- if (r9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), r8().requestEscape());
+ if (i9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), i8().requestEscape());
return;
}
if (R("#drawer").classList.contains("open")) {
- J5(!1);
+ Y5(!1);
return;
}
if (Jl || Kl.size || ql.size) {
- k5(!1, !0);
+ A5(!1, !0);
return;
}
return;
}
- if (eRe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (nRe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -82688,37 +82703,37 @@ function M9() {
return;
}
}
- let t = $Le();
+ let t = tRe();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), r8()?.toggleTheater();
+ e.preventDefault(), i8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), vP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), _P(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), _P(t);
+ e.preventDefault(), gP(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), MN(t, ".vjs-mute-control");
+ e.preventDefault(), jN(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), MN(t, ".vjs-fullscreen-control");
+ e.preventDefault(), jN(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), r8()?.toggleMiniplayer();
+ e.preventDefault(), i8()?.toggleMiniplayer();
return;
}
}
});
}
// src/history/links.ts
-function nRe(e) {
+function aRe(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;
@@ -82741,70 +82756,70 @@ var N9 = {
shellActions: void 0,
routing: void 0
};
-function rRe() {
- let e = L8, t = (e) => {
- e.kind === "item" ? u9(e.id, !1) : e.kind === "jav" ? f9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : s9(e.queue, e.key, e.item, !1);
+function oRe() {
+ let e = R8, t = (e) => {
+ e.kind === "item" ? d9(e.id, !1) : e.kind === "jav" ? p9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : c9(e.queue, e.key, e.item, !1);
};
- if (JFe(), I5.entityShapesReady = G8(), IIe(), location.pathname === "/") {
+ if (XFe(), L5.entityShapesReady = K8(), RIe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (R("#catalogPageHeading").hidden = !1);
}
- Z8(decodeURIComponent(location.pathname)) && J8(R("#feedNew")), WIe(), N9.shellActions = {
- openSettings: (e) => X5(e, !0),
- closeSettings: () => l8()?.close(!1),
- openItem: (e) => void u9(e),
- openEntity: (e, t) => void y5(e, t),
+ Q8(decodeURIComponent(location.pathname)) && Y8(R("#feedNew")), KIe(), N9.shellActions = {
+ openSettings: (e) => Z5(e, !0),
+ closeSettings: () => u8()?.close(!1),
+ openItem: (e) => void d9(e),
+ openEntity: (e, t) => void b5(e, t),
openTag: (e) => {
- BIe(), I7(e);
+ HIe(), L7(e);
},
- openTasteSignal: uIe,
+ openTasteSignal: fIe,
navigate: (e) => {
let n = new URL(e, location.href), r = If(n.pathname, n.search);
if (r) {
let e = r.kind === "queue" ? "item" : r.kind;
- v9(n.pathname + n.search + n.hash, e, () => t(r));
+ y9(n.pathname + n.search + n.hash, e, () => t(r));
} else if (n.hash && n.pathname === location.pathname && n.search === location.search && !Lf(location.pathname)) {
Q.route(e);
let t = G.navigation.seq;
kp(n.hash, () => G.navigation.seq === t);
} else Q.navigatePath(e);
},
- openManage: t7,
+ openManage: n7,
managePath: (e) => Q.routePathOf("section", e) || "",
- openFollow: () => E9(),
- receipt: (e, t) => x8.actionReceipt(e, t),
- toast: (e, t) => x8.toast(e, t),
- failure: x8.actionFailure,
- revealSource: m5,
- reopenTutorial: JLe,
- routeReview: pIe,
- routeFollowManage: kIe,
+ openFollow: () => D9(),
+ receipt: (e, t) => S8.actionReceipt(e, t),
+ toast: (e, t) => S8.toast(e, t),
+ failure: S8.actionFailure,
+ revealSource: h5,
+ reopenTutorial: XLe,
+ routeReview: hIe,
+ routeFollowManage: jIe,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(P5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => k5(!1, !1),
- personAvatar: (e, t, n) => M5.personAvatar(e, t, n),
- authorAvatar: (e) => jIe(e),
- showIndexTags: MIe,
- openFollowAuthor: F5,
- openFollowTag: NIe,
- openPlaylist: (e, t) => void c9(e, t, !0),
- canFlip: () => !Jl && !e9() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => A5(!1, !1),
+ personAvatar: (e, t, n) => N5.personAvatar(e, t, n),
+ authorAvatar: (e) => NIe(e),
+ showIndexTags: PIe,
+ openFollowAuthor: I5,
+ openFollowTag: FIe,
+ openPlaylist: (e, t) => void l9(e, t, !0),
+ canFlip: () => !Jl && !t9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (kl(), vu({ barsContext: {
type: "home",
filters: W
- } }), W5(), document.body.classList.add("entity-open"), T7(), P5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), T7(), P5()) : (kl(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));
+ } }), G5(), document.body.classList.add("entity-open"), E7(), F5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), G5(), document.body.classList.add("index-open"), E7(), F5()) : (kl(), Q.claimSurface(t), e === "catalog" ? G5() : (W5(), U5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = r9.requestedImmerseId === void 0 ? e : r9.requestedImmerseId;
- r9.requestedImmerseId = void 0, p9(t, !1);
+ let t = i9.requestedImmerseId === void 0 ? e : i9.requestedImmerseId;
+ i9.requestedImmerseId = void 0, m9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -82815,7 +82830,7 @@ function rRe() {
Q.requestedOverlay = null, G.navigation.claimed && (!Ep() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Ep() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
- r9.stageOpen() && o9(!1);
+ i9.stageOpen() && s9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -82823,53 +82838,53 @@ function rRe() {
},
configurable: () => !!su,
surfaceShown: (e) => {
- e === "index" ? (g9(), f7()) : P7();
+ e === "index" ? (_9(), p7()) : F7();
},
entity: {
missing: (e) => {
- N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);
+ N9.shellActions.surfaceChanged("entity", location.pathname), y5(e);
},
loading: (e, t, n) => Y.application.loading(e, t, n),
props: (e, t, n) => Y.application.addressProps(e, t, n),
refresh: (e, t, n) => {
let r = Y.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = s5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (S7(r), C7(s5()), !0);
+ let i = c5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !u5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (C7(r), w7(c5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => g7("local,115"),
- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (y9(), d7(), e7()), t && D8(), e === "/trash" ? X.clearSearchField() : (R("#q").value = W.q, X.rememberSearchValue()), g9(), P7(), Z.handOff(z7())),
- load: () => Z.handOff(z7()),
+ defaultLoc: () => _7("local,115"),
+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (b9(), f7(), t7()), t && O8(), e === "/trash" ? X.clearSearchField() : (R("#q").value = W.q, X.rememberSearchValue()), _9(), F7(), Z.handOff(B7())),
+ load: () => Z.handOff(B7()),
fill: () => {
- if (W7() || !Ep() && !R("#grid").querySelector(".catalog-skeleton")) return;
+ if (G7() || !Ep() && !R("#grid").querySelector(".catalog-skeleton")) return;
let e = R("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), H7(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), U7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- V7(), Q8();
+ H7(), $8();
}
}
}, N9.routing = !1, e.listen(document, "click", (e) => {
- let t = nRe(e);
+ let t = aRe(e);
t && (e.preventDefault(), N9.shellActions.navigate(t));
- }), L8.own(G.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Lf(e.location.pathname) && o9(!1), N9.routing && !e.claimed && y9();
- })), fFe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), qIe(), CIe(), Q5(), Promise.all([
- Z7(),
- GIe(),
- I5.entityShapesReady
+ }), R8.own(G.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Lf(e.location.pathname) && s9(!1), N9.routing && !e.claimed && b9();
+ })), mFe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), YIe(), TIe(), $5(), Promise.all([
+ Q7(),
+ qIe(),
+ L5.entityShapesReady
]).then(() => {
- e.isActive && (I5.wantsDiscoveryBars() && P7().catch((e) => console.error("首页横条装载失败", e)), g9(), CLe(), N9.routing = !0, vu({ pageOpens: 1 }), y9(), f7());
+ e.isActive && (L5.wantsDiscoveryBars() && F7().catch((e) => console.error("首页横条装载失败", e)), _9(), TLe(), N9.routing = !0, vu({ pageOpens: 1 }), b9(), p7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
var P9 = !1;
-async function iRe(e, t) {
+async function sRe(e, t) {
if (P9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -82891,9 +82906,9 @@ async function iRe(e, t) {
}
}
// src/application/chrome.js
-function aRe() {
+function cRe() {
(() => {
- let e = L8, t = [
+ let e = R8, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -82974,7 +82989,7 @@ function aRe() {
s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${B(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- u.setOpen(!1), J5(!1), C5("媒体库与入库");
+ u.setOpen(!1), Y5(!1), w5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -82991,18 +83006,18 @@ function aRe() {
(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());
let g = document.createElement("div");
g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${z("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${z("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && iRe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), vM();
+ t.getAttribute("aria-pressed") !== "true" && sRe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), _M();
});
- })), vM();
+ })), _M();
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 = us(g, v, _);
- e.own(y.dispose), e.own(Cle(v)), yFe({
+ e.own(y.dispose), e.own(wle(v)), xFe({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), J5(!1), X5("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), Y5(!1), Z5("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -83014,17 +83029,17 @@ function aRe() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !q5();
+ let r = n.classList.contains("open"), i = !J5();
i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;
}
- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(L8, window)("resize", b);
+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(R8, window)("resize", b);
let x = !1;
function S() {
x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(L8, window)("scroll", () => {
+ if (e.listen.bind(R8, window)("scroll", () => {
x || (x = !0, e.frame(S));
- }, { passive: !0 }), e.listen.bind(L8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(R8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -83138,15 +83153,15 @@ function aRe() {
subtree: !0
}), y();
}
- })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), Y5(!J5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function oRe() {
- qLe(), NLe(), LIe(), PLe(), TLe(), bFe(), gLe(), YLe(), sIe(), jLe(), wIe(), _Le(), eIe(), mIe(), GLe(), PIe(), cIe(), KLe(), FIe(), lIe(), $Ie(), vLe(), tRe(), MLe(), M9(), ELe(), rRe(), aRe(), L8.own(V7), L8.own(_9);
+function lRe() {
+ YLe(), FLe(), zIe(), ILe(), DLe(), SFe(), vLe(), ZLe(), lIe(), NLe(), EIe(), yLe(), nIe(), gIe(), qLe(), IIe(), uIe(), JLe(), LIe(), dIe(), tLe(), bLe(), rRe(), PLe(), iRe(), OLe(), oRe(), cRe(), R8.own(H7), R8.own(v9);
}
// 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 sRe(e, t) {
+function uRe(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;
@@ -83164,7 +83179,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 }), cRe = (e) => {
+}, { canvas: null }), dRe = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -83174,17 +83189,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);
-}, lRe = (e) => {
+}, fRe = (e) => {
let t = L9.get(e);
if (!t || !e.isConnected) return;
- let n = cRe(e), r = n > 0 ? sRe(t.full, (t) => U9(e, t) <= n) : t.full;
+ let n = dRe(e), r = n > 0 ? uRe(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, lRe(e);
+ t.raf = 0, fRe(e);
}));
}, G9 = (e) => {
e instanceof HTMLElement && (L9.has(e) || L9.set(e, {
@@ -83197,7 +83212,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 uRe(e = document) {
+function pRe(e = document) {
B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();
let t = V9, n = !0;
z9 = new ResizeObserver((e) => e.forEach((e) => {
@@ -83271,7 +83286,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], dRe = {
+], mRe = {
catalog: [
...q9,
...J9,
@@ -83292,10 +83307,10 @@ var q9 = [
"avatar-choices"
]
};
-function fRe() {
+function hRe() {
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 dRe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of mRe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -83308,12 +83323,12 @@ function fRe() {
})), t || Promise.resolve();
};
}
-function pRe() {
+function gRe() {
let e = Nt({
- queryKey: sL,
- queryFn: ({ signal: e }) => lL(e),
- refetchInterval: (e) => cL(e.state.data)
- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(fRe), r = e.data?.result_versions;
+ queryKey: oL,
+ queryFn: ({ signal: e }) => cL(e),
+ refetchInterval: (e) => sL(e.state.data)
+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(hRe), r = e.data?.result_versions;
return (0, F.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -83323,24 +83338,24 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function mRe() {
+function _Re() {
if (!X9) {
- let e = IFe();
+ let e = RFe();
X9 = {
effects: e,
owners: 0
- }, e.own(uRe(document)), e.own(() => {
+ }, e.own(pRe(document)), e.own(() => {
kl(), U.cancelQueries();
- }), e.own(pFe), e.own(hp), e.own(is);
+ }), e.own(hFe), e.own(hp), e.own(is);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function hRe() {
+function vRe() {
let [e, t] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
- let e = X9 === null, n = mRe(), r = dFe(t);
+ let e = X9 === null, n = _Re(), r = pFe(t);
if (e) try {
- oRe();
+ lRe();
} catch (e) {
throw r(), n.effects.dispose(), X9 = null, e;
}
@@ -83350,11 +83365,11 @@ function hRe() {
}, []), /* @__PURE__ */ (0, I.jsx)(lG, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, I.jsx)(pRe, {}) : null
+ background: e ? /* @__PURE__ */ (0, I.jsx)(gRe, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function gRe(e) {
+function yRe(e) {
let t = Q9.get(e);
if (t) return t;
let n = (0, Lt.createRoot)(e, uG);
@@ -83362,13 +83377,13 @@ function gRe(e) {
let r = n.unmount.bind(n);
return n.unmount = () => {
Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));
- }, (0, It.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(hRe, {}))), n;
+ }, (0, It.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(vRe, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-gRe($9);
-export { rR as $2ec61d1d4f780267$export$a8a3e93435678ff9, dR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Oz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, MD as $72abaeab4d80592f$export$78efe591171d7d45, bB as $76d00c5a4edb230a$export$76ccd210b9029917, _B as $76d00c5a4edb230a$export$816b5d811295e6bc, CB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, TB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, gB as $76d00c5a4edb230a$export$f850895b287ef28e, lhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, che as $b4f18e3395fe64d7$export$3e41faf802a29e71, ahe as $b4f18e3395fe64d7$export$b2539bed5023c21c, kB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, fhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, yE as $ea3928288112382f$export$439d29a4e110a164, Vz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Jz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Yz as $fe21c36db05242bb$export$d7b12c4107be0d61, Whe as $l, nM as ACCENTS, uke as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, dke as AMANE_BRIDGE_REBUILD_URL, ar as ApiError, iW as ArtSlot, h2 as BATCH_DELETE_TEXT, J as Button, FL as ButtonLink, aV as Bx, O$ as CLEANUP_ENTRY, D$ as CLEANUP_ENTRY_GRID, Jf as CLEANUP_HASH_REDIRECTS, Kf as CLEANUP_TOOLS, gn as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Wr as COLUMN_SORT, l1 as CONFIGURATION_KEY, uX as CONFIGURATION_URL, fke as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, qi as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, ZV as Checkbox, XV as CheckboxGlyph, VV as ChevronSortDown, rW as Chip, fW as CloudDownloadDialog, KH as CollapseChevron, GH as CollapseRegion, x$ as CollectionSummary, WCe as DEFAULT_CATEGORY, lr as DEFAULT_SORT, JQ as DIAGNOSTICS_KEY, Uwe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, oW as DOWNLOADS_KEY, aW as DOWNLOADS_URL, AY as DUPLICATES_KEY, dY as DataTableFooter, sY as DataTableFrame, uY as DataTableSort, QH as Disclosure, Lve as DownloadsPanel, Lhe as E3, GCe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, qhe as Ea, mge as EmptyFocusButton, CV as EmptyState, XH as ErrorText, L_e as ExternalLink, zr as FEEDS_KEY, vX as FEED_SCHEDULE_KEY, T$ as FIELDSET_FOOT, _Pe as FLOW_LABEL_X, Y3 as FLOW_VIEWBOX, Lr as FOLLOW_CHECK_KEY, Ir as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, Fr as FOLLOW_MANAGE_KEY, QZ as FOLLOW_MANAGE_NAV, Rr as FOLLOW_RESOLVE_KEY, _X as FOLLOW_SCHEDULE_KEY, B_e as Fact, z_e as FactList, ZH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, ope as FilterGlass, OL as FilterGlassRows, DL as FilterIconButton, kL as FilterPill, I_e as Footer, nV as Gg, AL as GlassPill, lV as HN, YH as Help, mV as HintText, lPe as IDLE_POLL_MS, NCe as IDLE_REPAIR, CL as IconButton, XQ as IndexSearch, yV as Input, vV as InputBase, bM as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, UX as JUNK_KEY, AW as JavHeader, DCe as KEEP_LABELS, Vr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, nX as LINKS_KEY, rX as LINK_CHECK_KEY, hwe as LINK_KINDS, iX as LINK_PRUNE_KEY, er as LOC, pV as Label, V$ as LibraryProcessingCard, BV as LibraryShortcuts, EH as LinkButton, BH as LoadingDots, Rhe as M6, bwe as MEDIA_PROCESSING_KEY, bX as MEDIA_PROCESSING_URL, FY as MEDIA_REPAIR_KEY, PY as MEDIA_REPAIR_URL, _r as MEDIA_SOURCES_KEY, hs as MEDIA_SOURCE_ICONS, mn as MEDIA_SOURCE_OPTIONS, GV as MENU_ITEM, KV as MENU_ITEM_INTERACTIVE, WV as MENU_POPOVER_SURFACE, AH as MenuDialog, EK as MixCard, bV as ModalFrame, Cx as MotionConfigContext, fV as NR, SV as Note, lge as OA, CX as ORGANIZE_KEY, f2 as ORGANIZE_PARAMETER_HINT, d2 as ORGANIZE_SCOPE_HINT, u2 as ORGANIZE_TEXT, EX as ORPHAN_RECORDS_KEY, m2 as ORPHAN_RECORDS_TEXT, eV as OV, BB as P7, BX as PERFORMER_DELETE_KEY, Kve as PHASES, dX as PICK_FOLDER_URL, A$ as PLAIN_STAT_STRIP, U$ as PLAYLISTS_KEY, mAe as POLICY_COLUMNS, gAe as POLICY_COVER_NOTE, hAe as POLICY_MATRIX, q1 as POLICY_SUMMARY, lY as Pagination, B$ as PathLine, QI as PillTabList, MOe as PlainStat, HH as Progress, BY as QUALITY_GOALS_KEY, M$ as REPAIR_CARD_TEXT, IY as REPAIR_LIBRARIES_KEY, jX as RESOURCE_APPLY_KEY, AX as RESOURCE_SCAN_KEY, p2 as RESOURCE_SYNC_TEXT, ROe as RESULT_PANEL, zOe as RESULT_SECTION, UCe as REVIEW_CATEGORIES, HX as REVIEW_COUNTS_KEY, KCe as REVIEW_DECISION_LABELS, UY as REVIEW_KEY, WY as REVIEW_LABELS, KY as REVIEW_QUEUES, qY as REVIEW_QUEUE_LABELS, ZG as RetryNote, sge as Rf, N_e as Rows, cke as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, ske as SCRAPING_SETTINGS_URL, vU as SEGMENT, _U as SEGMENTED_TRACK, gX as SETTINGS_KEY, fX as SETTINGS_URL, ur as SORT_DEFAULT_DIR, cr as SORT_OPTIONS, _n as SOURCE_LABELS, b3 as STATS_KEY, AOe as STAT_STRIP, jOe as STAT_STRIP_SIX, M_e as Section, BOe as SectionHeading, F_e as SectionSkeleton, gU as SegmentedRadioGroup, tve as SegmentedTabList, WG as Segments, cY as Select, eW as Select$1, p1 as SelectField, tW as SelectItem, vY as SelectionActions, Mj as SelectionDock, yY as SelectionPopover, qH as SettingsCard, j_e as SettingsRow, JH as SettingsSectionLabel, W_e as SiteLabel, CG as SortDirectionIcon, KG as SortKeys, jQ as SourceAvatar, nU as SourceLabel, $H as SourceMark, P_e as Stack, NOe as StatCard, z$ as StatusLabel, Q2 as Switch, sL as TASKS_KEY, QNe as TASTE_REFRESH_KEY, $Ne as TASTE_WINDOWS, yX as THUMBNAIL_JOBS_KEY, GX as TRASH_KEY, Bfe as TRIGGER_LABELS, QJ as Table, bY as TableColumnControls, xY as TableColumnResizer, CY as TableSelectionHeader, g$ as TagManager, R_e as TaskCenterLink, UH as TaskProgress, gV as TextField, hV as TextFieldContext, QB as Un, mW as WANTS_KEY, p4 as WantMagnets, Ug as WithPromise, WB as Wt, ZB as Xc, dV as Xf, GB as Xt, HB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, oge as aB, wi as addAlias, Ci as addSource, _W as addWant, fS as animate, V as apiGet, H as apiSend, mM as appSettingsStore, cTe as applyConfirmText, zX as applyLeftovers, sTe as applyPlanText, uTe as applyText, vM as applyTheme, gy as asNumber, Xwe as attachOrphan, oi as authorAvatar, ci as authorGroups, ai as authorInitial, ii as authorName, Bq as autoResetPageIndex, ho as avatarInner, E3 as bandRows, Wwe as baseName, MCe as batchOperate, cue as beginPlayerGuidePreview, Rj as boundedPreference, kCe as bulkCloudPreferences, DV as busyProps, age as cB, OMe as cachedMagnetStates, Lg as calcGeneratorVelocity, $Ce as canApprove, fg as cancelFrame, tTe as candidateText, zH as cardClass, NM as cardRatio, XB as cc, Ui as checkEvidenceGap, Hi as checkFailures, Ni as checkFeeds, ywe as checkLine, Bi as checkReceipt, Vi as checkSummary, mke as checkText, Wi as checkedText, fK as clickedBlank, Y5 as closeDrawerAfterNav, xCe as cloudLocations, O0 as cloudProxySkeleton, QC as clsx, Xhe as cn, av as collectMotionValues, oJ as columnVisibilityFeature, qJ as column_getCanSort, UJ as column_getSortFn, ZCe as commonReviewSources, Df as configurationSection, rPe as configureTasteBrowser, al as confirmModal, Rfe as controlTask, Sq as copyInstancePropertiesWithoutMemos, so as coverUrl, Zq as createColumnHelper, tke as createPlaylist, Ji as credentialDone, w0 as credentialsSkeleton, cwe as currentReviewRow, YI as cx, iV as dZ, awe as decisionPayload, owe as decisionReceipt, iwe as defaultChoice, fTe as deletePerformerVideos, rke as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, TW as discoveryArtwork, CW as discoveryKey, BAe as discoveryScore, o9 as disposeStage, TCe as distinctName, Ri as dropSources, ige as du, ACe as duplicateVictims, mL as elapsedText, en as entityDisplayName, mo as entityFaceImg, Mn as entityPath, $r as errorHeadline, sr as errorMessage, B as esc, zq as expandRowModel, PB as f1, Qr as feedIntervalText, e1 as fetchAmaneBridge, gi as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, hi as fetchCredentials, q$ as fetchCustomSources, VX as fetchDeletePerformers, dTe as fetchDeletePlan, YQ as fetchDiagnostics, wW as fetchDiscoveries, MY as fetchDuplicates, Pfe as fetchEarlier, Cwe as fetchFeedSchedule, Ai as fetchFeeds, mi as fetchFollow, Swe as fetchFollowSchedule, qX as fetchJunkSummary, vH as fetchLibraryProcessing, sX as fetchLinkCheck, cX as fetchLinkPrune, oX as fetchLinkStats, xwe as fetchMediaProcessing, LY as fetchMediaRepair, vr as fetchMediaSources, wX as fetchOrganize, Iwe as fetchOrganizeExample, DX as fetchOrphanRecords, ki as fetchPending, W$ as fetchPlaylists, VY as fetchQualityGoals, RY as fetchRepairLibraries, _i as fetchResolveJob, NX as fetchResourceApply, MX as fetchResourceScan, $Y as fetchReview, KX as fetchReviewCounts, xX as fetchSettings, Q$ as fetchSources, x3 as fetchStats, vi as fetchSuggestions, lL as fetchTasks, K3 as fetchTaste, iPe as fetchTasteJob, wwe as fetchThumbnailJobs, JX as fetchTrashSummary, hW as fetchWants, YCe as filterReviewRows, Qn as firstGrapheme, iq as flexRender, yPe as flowGraph, bPe as flowLabel, vNe as fmtCount, Kn as fmtDur, Jn as fmtSize, Nfe as foldByKind, Yfe as foldRoutine, Fi as followFeedByName, Br as followSuggestKey, Zfe as followupDetail, Mfe as followupTally, dg as frame, RB as g4, lJ as getDefaultPaginationState, MM as gridLayout, si as groupByAuthor, Jfe as groupFollowups, XY as groupReviewRows, aTe as hasChanges, PX as hasResourceRoots, dL as hasResultProblems, uPe as historySpan, FB as i2, cPe as importTasteExport, T0 as indexersSkeleton, Ng as interpolate, bW as invalidateWants, pL as isActive, Zr as isBroken, Gr as isLayout, gv as isMotionValue, GY as isReviewCategory, Xfe as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, TM as javLayout, F0 as javTagSkeleton, _Te as junkBreakdown, ike as keepPlaylist, Oe as keepPreviousData, di as keepSelected, S3 as known, Nhe as l7, qfe as latestOfKind, ANe as lengthRows, xr as localTime, Pi as lookupFeedActor, zB as m7, rV as mM, Tn as mapLimit, Oi as markItem, D3 as max, ONe as mediumRows, Ffe as mergeFinished, O3 as min, pwe as mirrorText, ICe as missingToolText, NY as mixedCloudPreferences, vL as momentText, pS as motion, sv as motionValue, tn as nameFallback, Ve as notifyManager, Kwe as organizeOutcome, Q0 as overlayHost, Kr as pageSizeOf, ui as pageWindow, pr as paginationRange, Li as patchSource, G as peachHistory, G as peachHistory$1, rwe as pendingGenres, bNe as percentText, zwe as pickOrganizeFolder, k$ as plainStatClass, Gwe as planSummary, C3 as playedFor, SNe as playedItemUrl, cL as pollInterval, qs as popCount, eke as posterUrl, Lye as previewLibraryColor, Rwe as previewOrganize, zCe as previewUrl, Kfe as problemDestination, pH as processingActive, hL as progressText, tU as providerIcon, vwe as pruneText, IX as purgeCount, Zwe as purgeOrphan, oV as pv, rge as qE, U as queryClient, IB as r2, gPe as radarRows, TNe as radialArc, ENe as radialBarSize, wNe as radialCeiling, CNe as radialSlices, YN as randomId, mPe as rankDetail, hPe as rankShares, T3 as reachedShare, gL as readableErrorHeadline, VAe as recommendationScore, lwe as recordGenre, $we as recordsText, ake as recreatePlaylist, QOe as refreshPlaylists, Sl as relayoutCovers, zi as reloadFollowManage, fwe as reloadReview, yAe as rememberShape, Vwe as rememberTemplates, Ti as removeAlias, Mi as removeFeed, Si as removeSource, sPe as removeTasteSource, vW as removeWants, Ei as renameAliasGroup, nke as renamePlaylist, xe as replaceEqualDeep, MNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, vq as require_with_selector, yW as resetWants, fr as resolveFollowSort, Bg as resolveStartTime, o_e as restartEffectText, $Oe as resumeAssetId, JCe as reviewGroupingOptions, YY as reviewQueueData, JY as reviewQueueOf, gTe as reviewSummary, XCe as reviewWindow, twe as rowEvidence, QY as rowFieldName, gJ as rowPaginationFeature, LJ as rowSelectionFeature, XJ as rowSortingFeature, ZY as rowSubject, nwe as rowTags, ewe as rowTitle, Ahe as s5, Di as saveCredential, oTe as scanLine, kwe as schedulePollInterval, SW as searchNote, QCe as selectReviewRange, fi as selectionState, ji as setFeedEnabled, xi as setSourceEnabled, jf as settingsPath, dwe as settleReviewRows, wCe as sharedNamePrefix, Tp as shellNavigate, b8 as showToast, Rn as siteMarkUrl, Aq as skipFirstRun, XI as sortCx, Jr as sortLabel, vn as sourceDefaultCost, Ki as sourceIconUrl, lTe as sourceMeta, Rs as spinnerHtml, jg as spring, TV as spriteGlyph, yi as startCheck, gwe as startLinkCheck, _we as startLinkPrune, Bwe as startOrganize, bi as startResolve, rTe as startResourceApply, nTe as startResourceScan, oPe as startTasteRefresh, kOe as statCardClass, Hfe as statusLabel, FCe as statusLine, Xr as statusText, PM as storeJavLayout, swe as submitDecision, yL as summaryItems, Qq as tableFeatures, jq as tableMemo, li as tableRows, Gfe as taskIssues, q3 as tasteDate, fPe as tasteDimensions, dPe as tasteHours, G3 as tasteKey, tPe as tasteRefetchInterval, nPe as tasteTime, nL as textLang, Qm as time, Uhe as tl, pi as toggleGroup, J3 as topScores, Khe as uo, DH as useAction, qZ as useBackgroundJob, KU as useClientUpdates, um as useConstant, bL as useEntityNames, EL as useHorizontalScroller, dm as useIsomorphicLayoutEffect, dK as useLibraryTints, Pt as useMutation, QV as useOverlayScrollbar, Nt as useQuery, ae as useQueryClient, tS as useReducedMotion, Owe as useRunSchedule, Ewe as useSaveFollowSchedule, SX as useSaveSettings, Awe as useSaveThumbnailMode, ZJ as useTable, mY as useTablePreferences, NL as useViewGlide, jCe as victimBytes, xW as wantName, xNe as watchNote, w3 as watchedShare, Ec as wireHorizontalScroller, Hwe as withOrganizeJob };
+yRe($9);
+export { nR as $2ec61d1d4f780267$export$a8a3e93435678ff9, uR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Dz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, jD as $72abaeab4d80592f$export$78efe591171d7d45, yB as $76d00c5a4edb230a$export$76ccd210b9029917, gB as $76d00c5a4edb230a$export$816b5d811295e6bc, SB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, wB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, hB as $76d00c5a4edb230a$export$f850895b287ef28e, uhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, lhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ohe as $b4f18e3395fe64d7$export$b2539bed5023c21c, OB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, phe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, vE as $ea3928288112382f$export$439d29a4e110a164, Bz as $f2ff30fde7b014be$export$3ddf2d174ce01153, qz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Jz as $fe21c36db05242bb$export$d7b12c4107be0d61, Whe as $l, tM as ACCENTS, dke as AMANE_BRIDGE_CHECK_URL, Q$ as AMANE_BRIDGE_KEY, fke as AMANE_BRIDGE_REBUILD_URL, ar as ApiError, aW as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, PL as ButtonLink, aV as Bx, k$ as CLEANUP_ENTRY, O$ as CLEANUP_ENTRY_GRID, Jf as CLEANUP_HASH_REDIRECTS, Kf as CLEANUP_TOOLS, gn as CLOUD_LOCATIONS, Q1 as CLOUD_PROXY_HELP, Wr as COLUMN_SORT, u1 as CONFIGURATION_KEY, uX as CONFIGURATION_URL, pke as COOKIE_TEXT_LIMIT, Z$ as COVER_JOB_KEY, qi as CREDENTIAL_STATE, q$ as CUSTOM_SOURCES_KEY, K$ as CUSTOM_SOURCES_URL, ZV as Checkbox, XV as CheckboxGlyph, VV as ChevronSortDown, iW as Chip, pW as CloudDownloadDialog, KH as CollapseChevron, GH as CollapseRegion, S$ as CollectionSummary, GCe as DEFAULT_CATEGORY, lr as DEFAULT_SORT, JQ as DIAGNOSTICS_KEY, Wwe as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, sW as DOWNLOADS_KEY, oW as DOWNLOADS_URL, AY as DUPLICATES_KEY, dY as DataTableFooter, sY as DataTableFrame, uY as DataTableSort, QH as Disclosure, Lve as DownloadsPanel, Lhe as E3, KCe as ENTITY_REVIEW_KINDS, X1 as ENTRY_LINKS_HELP, Z1 as ENTRY_LINKS_HINT, qhe as Ea, mge as EmptyFocusButton, CV as EmptyState, XH as ErrorText, L_e as ExternalLink, zr as FEEDS_KEY, vX as FEED_SCHEDULE_KEY, E$ as FIELDSET_FOOT, yPe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, Lr as FOLLOW_CHECK_KEY, Ir as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Fr as FOLLOW_MANAGE_KEY, QZ as FOLLOW_MANAGE_NAV, Rr as FOLLOW_RESOLVE_KEY, _X as FOLLOW_SCHEDULE_KEY, B_e as Fact, z_e as FactList, ZH as FieldLabel, z$ as Fieldset, R$ as FieldsetTitle, spe as FilterGlass, DL as FilterGlassRows, EL as FilterIconButton, OL as FilterPill, I_e as Footer, nV as Gg, kL as GlassPill, lV as HN, YH as Help, mV as HintText, dPe as IDLE_POLL_MS, PCe as IDLE_REPAIR, SL as IconButton, XQ as IndexSearch, yV as Input, vV as InputBase, yM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, UX as JUNK_KEY, AW as JavHeader, OCe as KEEP_LABELS, Vr as LAYOUTS, Y1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, nX as LINKS_KEY, rX as LINK_CHECK_KEY, gwe as LINK_KINDS, iX as LINK_PRUNE_KEY, er as LOC, pV as Label, H$ as LibraryProcessingCard, BV as LibraryShortcuts, EH as LinkButton, BH as LoadingDots, Rhe as M6, xwe as MEDIA_PROCESSING_KEY, bX as MEDIA_PROCESSING_URL, FY as MEDIA_REPAIR_KEY, PY as MEDIA_REPAIR_URL, _r as MEDIA_SOURCES_KEY, hs as MEDIA_SOURCE_ICONS, mn as MEDIA_SOURCE_OPTIONS, GV as MENU_ITEM, KV as MENU_ITEM_INTERACTIVE, WV as MENU_POPOVER_SURFACE, AH as MenuDialog, EK as MixCard, bV as ModalFrame, wx as MotionConfigContext, fV as NR, SV as Note, lge as OA, CX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, EX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, eV as OV, BB as P7, BX as PERFORMER_DELETE_KEY, Kve as PHASES, dX as PICK_FOLDER_URL, j$ as PLAIN_STAT_STRIP, W$ as PLAYLISTS_KEY, hAe as POLICY_COLUMNS, _Ae as POLICY_COVER_NOTE, gAe as POLICY_MATRIX, J1 as POLICY_SUMMARY, lY as Pagination, V$ as PathLine, ZI as PillTabList, NOe as PlainStat, HH as Progress, BY as QUALITY_GOALS_KEY, N$ as REPAIR_CARD_TEXT, IY as REPAIR_LIBRARIES_KEY, jX as RESOURCE_APPLY_KEY, AX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, zOe as RESULT_PANEL, BOe as RESULT_SECTION, WCe as REVIEW_CATEGORIES, HX as REVIEW_COUNTS_KEY, qCe as REVIEW_DECISION_LABELS, UY as REVIEW_KEY, WY as REVIEW_LABELS, KY as REVIEW_QUEUES, qY as REVIEW_QUEUE_LABELS, ZG as RetryNote, sge as Rf, N_e as Rows, lke as SCRAPING_CHECK_URL, Y$ as SCRAPING_COVER_URL, X$ as SCRAPING_KEY, cke as SCRAPING_SETTINGS_URL, vU as SEGMENT, _U as SEGMENTED_TRACK, gX as SETTINGS_KEY, fX as SETTINGS_URL, ur as SORT_DEFAULT_DIR, cr as SORT_OPTIONS, _n as SOURCE_LABELS, x3 as STATS_KEY, jOe as STAT_STRIP, MOe as STAT_STRIP_SIX, M_e as Section, VOe as SectionHeading, F_e as SectionSkeleton, gU as SegmentedRadioGroup, tve as SegmentedTabList, WG as Segments, cY as Select, tW as Select$1, m1 as SelectField, nW as SelectItem, vY as SelectionActions, jj as SelectionDock, yY as SelectionPopover, qH as SettingsCard, j_e as SettingsRow, JH as SettingsSectionLabel, W_e as SiteLabel, CG as SortDirectionIcon, KG as SortKeys, jQ as SourceAvatar, nU as SourceLabel, $H as SourceMark, P_e as Stack, POe as StatCard, B$ as StatusLabel, $2 as Switch, oL as TASKS_KEY, ePe as TASTE_REFRESH_KEY, tPe as TASTE_WINDOWS, yX as THUMBNAIL_JOBS_KEY, GX as TRASH_KEY, Vfe as TRIGGER_LABELS, QJ as Table, bY as TableColumnControls, xY as TableColumnResizer, CY as TableSelectionHeader, _$ as TagManager, R_e as TaskCenterLink, UH as TaskProgress, gV as TextField, hV as TextFieldContext, QB as Un, hW as WANTS_KEY, m4 as WantMagnets, Ug as WithPromise, WB as Wt, ZB as Xc, dV as Xf, GB as Xt, HB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, oge as aB, wi as addAlias, Ci as addSource, _W as addWant, pS as animate, V as apiGet, H as apiSend, pM as appSettingsStore, lTe as applyConfirmText, zX as applyLeftovers, cTe as applyPlanText, dTe as applyText, _M as applyTheme, _y as asNumber, Zwe as attachOrphan, oi as authorAvatar, ci as authorGroups, ai as authorInitial, ii as authorName, Bq as autoResetPageIndex, ho as avatarInner, D3 as bandRows, Gwe as baseName, NCe as batchOperate, lue as beginPlayerGuidePreview, Lj as boundedPreference, ACe as bulkCloudPreferences, DV as busyProps, age as cB, kMe as cachedMagnetStates, Lg as calcGeneratorVelocity, ewe as canApprove, fg as cancelFrame, nTe as candidateText, zH as cardClass, MM as cardRatio, XB as cc, Ui as checkEvidenceGap, Hi as checkFailures, Ni as checkFeeds, bwe as checkLine, Bi as checkReceipt, Vi as checkSummary, hke as checkText, Wi as checkedText, fK as clickedBlank, X5 as closeDrawerAfterNav, SCe as cloudLocations, k0 as cloudProxySkeleton, ZC as clsx, Xhe as cn, ov as collectMotionValues, oJ as columnVisibilityFeature, qJ as column_getCanSort, UJ as column_getSortFn, QCe as commonReviewSources, Df as configurationSection, aPe as configureTasteBrowser, al as confirmModal, zfe as controlTask, Sq as copyInstancePropertiesWithoutMemos, so as coverUrl, Zq as createColumnHelper, nke as createPlaylist, Ji as credentialDone, T0 as credentialsSkeleton, lwe as currentReviewRow, JI as cx, iV as dZ, owe as decisionPayload, swe as decisionReceipt, awe as defaultChoice, pTe as deletePerformerVideos, ike as deletePlaylist, x as diagnosticHeaders, q1 as diagnosticsSkeleton, TW as discoveryArtwork, CW as discoveryKey, VAe as discoveryScore, s9 as disposeStage, ECe as distinctName, Ri as dropSources, ige as du, jCe as duplicateVictims, pL as elapsedText, en as entityDisplayName, mo as entityFaceImg, Mn as entityPath, $r as errorHeadline, sr as errorMessage, B as esc, zq as expandRowModel, PB as f1, Qr as feedIntervalText, t1 as fetchAmaneBridge, gi as fetchCheckJob, d1 as fetchConfiguration, e1 as fetchCoverJob, hi as fetchCredentials, J$ as fetchCustomSources, VX as fetchDeletePerformers, fTe as fetchDeletePlan, YQ as fetchDiagnostics, wW as fetchDiscoveries, MY as fetchDuplicates, Ffe as fetchEarlier, wwe as fetchFeedSchedule, Ai as fetchFeeds, mi as fetchFollow, Cwe as fetchFollowSchedule, qX as fetchJunkSummary, vH as fetchLibraryProcessing, sX as fetchLinkCheck, cX as fetchLinkPrune, oX as fetchLinkStats, Swe as fetchMediaProcessing, LY as fetchMediaRepair, vr as fetchMediaSources, wX as fetchOrganize, Lwe as fetchOrganizeExample, DX as fetchOrphanRecords, ki as fetchPending, G$ as fetchPlaylists, VY as fetchQualityGoals, RY as fetchRepairLibraries, _i as fetchResolveJob, NX as fetchResourceApply, MX as fetchResourceScan, $Y as fetchReview, KX as fetchReviewCounts, xX as fetchSettings, $$ as fetchSources, S3 as fetchStats, vi as fetchSuggestions, cL as fetchTasks, q3 as fetchTaste, oPe as fetchTasteJob, Twe as fetchThumbnailJobs, JX as fetchTrashSummary, gW as fetchWants, XCe as filterReviewRows, Qn as firstGrapheme, iq as flexRender, xPe as flowGraph, SPe as flowLabel, bNe as fmtCount, Kn as fmtDur, Jn as fmtSize, Pfe as foldByKind, Xfe as foldRoutine, Fi as followFeedByName, Br as followSuggestKey, Qfe as followupDetail, Nfe as followupTally, dg as frame, RB as g4, lJ as getDefaultPaginationState, jM as gridLayout, si as groupByAuthor, Yfe as groupFollowups, XY as groupReviewRows, oTe as hasChanges, PX as hasResourceRoots, uL as hasResultProblems, fPe as historySpan, FB as i2, uPe as importTasteExport, E0 as indexersSkeleton, Ng as interpolate, bW as invalidateWants, fL as isActive, Zr as isBroken, Gr as isLayout, _v as isMotionValue, GY as isReviewCategory, Zfe as isRoutine, D0 as javBrowserSkeleton, L0 as javContentSkeleton, wM as javLayout, I0 as javTagSkeleton, vTe as junkBreakdown, ake as keepPlaylist, Oe as keepPreviousData, di as keepSelected, C3 as known, Nhe as l7, Jfe as latestOfKind, MNe as lengthRows, xr as localTime, Pi as lookupFeedActor, zB as m7, rV as mM, Tn as mapLimit, Oi as markItem, O3 as max, ANe as mediumRows, Ife as mergeFinished, k3 as min, mwe as mirrorText, LCe as missingToolText, NY as mixedCloudPreferences, _L as momentText, mS as motion, cv as motionValue, tn as nameFallback, Ve as notifyManager, qwe as organizeOutcome, $0 as overlayHost, Kr as pageSizeOf, ui as pageWindow, pr as paginationRange, Li as patchSource, G as peachHistory, G as peachHistory$1, iwe as pendingGenres, SNe as percentText, Bwe as pickOrganizeFolder, A$ as plainStatClass, Kwe as planSummary, w3 as playedFor, wNe as playedItemUrl, sL as pollInterval, qs as popCount, tke as posterUrl, Rye as previewLibraryColor, zwe as previewOrganize, BCe as previewUrl, qfe as problemDestination, pH as processingActive, mL as progressText, tU as providerIcon, ywe as pruneText, IX as purgeCount, Qwe as purgeOrphan, oV as pv, rge as qE, U as queryClient, IB as r2, vPe as radarRows, DNe as radialArc, ONe as radialBarSize, ENe as radialCeiling, TNe as radialSlices, JN as randomId, gPe as rankDetail, _Pe as rankShares, E3 as reachedShare, hL as readableErrorHeadline, HAe as recommendationScore, uwe as recordGenre, eTe as recordsText, oke as recreatePlaylist, $Oe as refreshPlaylists, Sl as relayoutCovers, zi as reloadFollowManage, pwe as reloadReview, bAe as rememberShape, Hwe as rememberTemplates, Ti as removeAlias, Mi as removeFeed, Si as removeSource, lPe as removeTasteSource, vW as removeWants, Ei as renameAliasGroup, rke as renamePlaylist, xe as replaceEqualDeep, PNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, vq as require_with_selector, yW as resetWants, fr as resolveFollowSort, Bg as resolveStartTime, o_e as restartEffectText, eke as resumeAssetId, YCe as reviewGroupingOptions, YY as reviewQueueData, JY as reviewQueueOf, _Te as reviewSummary, ZCe as reviewWindow, nwe as rowEvidence, QY as rowFieldName, gJ as rowPaginationFeature, LJ as rowSelectionFeature, XJ as rowSortingFeature, ZY as rowSubject, rwe as rowTags, twe as rowTitle, Ahe as s5, Di as saveCredential, sTe as scanLine, Awe as schedulePollInterval, SW as searchNote, $Ce as selectReviewRange, fi as selectionState, ji as setFeedEnabled, xi as setSourceEnabled, jf as settingsPath, fwe as settleReviewRows, TCe as sharedNamePrefix, Tp as shellNavigate, x8 as showToast, Rn as siteMarkUrl, Aq as skipFirstRun, YI as sortCx, Jr as sortLabel, vn as sourceDefaultCost, Ki as sourceIconUrl, uTe as sourceMeta, Rs as spinnerHtml, jg as spring, TV as spriteGlyph, yi as startCheck, _we as startLinkCheck, vwe as startLinkPrune, Vwe as startOrganize, bi as startResolve, iTe as startResourceApply, rTe as startResourceScan, cPe as startTasteRefresh, AOe as statCardClass, Ufe as statusLabel, ICe as statusLine, Xr as statusText, NM as storeJavLayout, cwe as submitDecision, vL as summaryItems, Qq as tableFeatures, jq as tableMemo, li as tableRows, Kfe as taskIssues, J3 as tasteDate, mPe as tasteDimensions, pPe as tasteHours, K3 as tasteKey, rPe as tasteRefetchInterval, iPe as tasteTime, tL as textLang, Qm as time, Uhe as tl, pi as toggleGroup, Y3 as topScores, Khe as uo, DH as useAction, qZ as useBackgroundJob, qU as useClientUpdates, um as useConstant, yL as useEntityNames, TL as useHorizontalScroller, dm as useIsomorphicLayoutEffect, dK as useLibraryTints, Pt as useMutation, QV as useOverlayScrollbar, Nt as useQuery, ae as useQueryClient, nS as useReducedMotion, kwe as useRunSchedule, Dwe as useSaveFollowSchedule, SX as useSaveSettings, jwe as useSaveThumbnailMode, ZJ as useTable, mY as useTablePreferences, ML as useViewGlide, MCe as victimBytes, xW as wantName, CNe as watchNote, T3 as watchedShare, Ec as wireHorizontalScroller, Uwe as withOrganizeJob };
-//# debugId=2e2a4456-7a7f-49f4-97e4-665e3b04c7d5
\ No newline at end of file
+//# debugId=4aee8ded-10e3-41d8-a2ba-803f29bf8781
\ No newline at end of file