Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 统一横向导航提示与管理页层级

longmeidaoa49a26b4362e
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 4c7ae7c6a..6f38a5602 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -176,6 +176,8 @@ OneJAV、Free JAV Torrent 只给种子链接。这类条目经索引器同源的
- 窄屏筛选框共用 `filterScrollState()`、现有滚动帧调度和原生 sticky;同一方向累计 8px 再切换吸顶,保留文档占位与键盘可达性。
- 搜索玻璃用 `glideEase()` 的采样弹簧,`frontend/src/application/search-morph.js` 只管视口边界与轮廓关键帧。
- 横排滚到头的回弹是 `wireHorizontalScroller` 内的 `edgeBounce`,头像排、厂牌排、新作排、筛选条共用;transitions.dev 的 43 条配方里没有(2026-09-23 核对)。越界位移借 UIScrollView 的橡皮筋公式 `(1 - 1/(x·c/d + 1))·d`,c = 0.55,与 use-gesture(MIT)的 `rubberband` 同一条,回弹走 `--spring-pane`。只抄公式不引依赖:拖动与滚轮归属已由 `wireHorizontalScroller` 判定。新作排自动滚动是同文件的 `wireAutoScroll`。
+- React 横向导航通过 `useHorizontalScroller` 绑定上述共享行为,适用于页签、分段控件、筛选栏和首字跳转;`data-horizontal-scroll` 隐藏原生滚动条,左右渐隐由实际溢出方向决定。容器和子项尺寸、文本及增删变化都会重算,竖向分类列关闭绑定;表格和代码块继续使用覆盖式滑块,不新增依赖。
+- 管理页头及 `manageHeaderSkeletonHtml` 共用一级导航、面包屑、页面标题的顺序,页内分类放在标题之后;管理条保持跨模块导航,面包屑保留上级链接与当前页语义。
- 浮层筛选首页是附属面 `catalog-filter`,资料页是 `entity-filter`,共用 `FilterGlassRows` 两排、交集条与排序键,滑动玻璃走 `use-view-glide.ts`。外框管玻璃与吸顶,壳管查询状态和取数,岛只画、动作回壳,按下态在发请求前由壳经 `updateManagedRoute` 推到;身份与观看状态的组合沿用 `/api/items`。
- `web/board.css` 共用正式页面结构。首启、登录与错误三页是独立页面包 `/dist/peach-pages.js` 里的 React 页,服务端只吐 `web_entry.page_shell()` 那一张薄壳,外框是 `frontend/src/react/pages/auth-card.tsx`,SPA 外壳之外的新页面挂进同一个包。
- `frontend/src/number-setting.ts` 共用带单位输入、可选 Switch、整数边界和锚定错误提示;关闭保留上次合法值,异步读取后切换也恢复实际值,保存归调用方。
diff --git a/frontend/e2e/design-cards.test.ts b/frontend/e2e/design-cards.test.ts
index 396c0764e..4d0390d26 100644
--- a/frontend/e2e/design-cards.test.ts
+++ b/frontend/e2e/design-cards.test.ts
@@ -376,7 +376,7 @@ describe('设计决定:作品卡、管理页与复核', () => {
}
});
- it('管理区标题位于导航上方,面包屑使用身份层级,导航选中态使用中性填充', { timeout: 60_000 }, async () => {
+ it('管理导航、面包屑与标题按层级排列,导航选中态使用中性填充', { timeout: 60_000 }, async () => {
const opened = await visit(browser, '/duplicates', DESKTOP);
try {
const { page } = opened;
@@ -392,7 +392,8 @@ describe('设计决定:作品卡、管理页与复核', () => {
gap: getComputedStyle(document.querySelector('[data-manage-crumb] ol')!).columnGap,
tab: getComputedStyle(pressed).color,
fill: getComputedStyle(pressed).backgroundColor,
- titleBeforeNav: document.querySelector('[data-manage-title]')!.getBoundingClientRect().bottom <= document.querySelector('[data-manage-bar]')!.getBoundingClientRect().top,
+ navBeforeCrumb: document.querySelector('[data-manage-bar]')!.getBoundingClientRect().bottom <= document.querySelector('[data-manage-crumb]')!.getBoundingClientRect().top,
+ crumbBeforeTitle: document.querySelector('[data-manage-crumb]')!.getBoundingClientRect().bottom <= document.querySelector('[data-manage-title]')!.getBoundingClientRect().top,
titleLeft: Math.round(document.querySelector('[data-manage-title]')!.getBoundingClientRect().left - document.querySelector('#grid')!.getBoundingClientRect().left),
};
});
@@ -400,7 +401,8 @@ describe('设计决定:作品卡、管理页与复核', () => {
assert.deepEqual(read.separators, [muted, null], '分隔符跟着当前项提亮了,或最后一项也带了分隔符');
assert.equal(read.gap, '6px');
assert.deepEqual([read.tab, read.fill], [ink, fill]);
- assert.equal(read.titleBeforeNav, true);
+ assert.equal(read.navBeforeCrumb, true);
+ assert.equal(read.crumbBeforeTitle, true);
assert.equal(read.titleLeft, 0);
assert.deepEqual(opened.problems.filter((line) => !line.includes('/api/links/check')), []);
} finally {
diff --git a/frontend/e2e/horizontal-navigation.test.ts b/frontend/e2e/horizontal-navigation.test.ts
new file mode 100644
index 000000000..4d898b8f8
--- /dev/null
+++ b/frontend/e2e/horizontal-navigation.test.ts
@@ -0,0 +1,104 @@
+/* 横向导航的溢出提示:方向跟随滚动位置,容器伸缩后重算,原生滚动条不占位。 */
+import assert from 'node:assert/strict';
+import { after, before, describe, it } from 'node:test';
+import type { Browser, Locator } from 'playwright-core';
+import { launch, settle, visit, VIEWPORTS } from './harness.ts';
+import { openFollowFeed } from './follow-fixture.ts';
+
+const MOBILE = VIEWPORTS.find(viewport => viewport.mobile)!;
+
+async function edges(row: Locator, left: boolean, right: boolean) {
+ await row.page().waitForFunction(([selector, expectedLeft, expectedRight]) => {
+ const node = document.querySelector<HTMLElement>(selector);
+ return node?.dataset.overflowLeft === String(expectedLeft)
+ && node?.dataset.overflowRight === String(expectedRight);
+ }, [await row.evaluate(node => {
+ node.setAttribute('data-scroll-test', 'active');
+ return '[data-scroll-test="active"]';
+ }), left, right], { timeout: 5_000 });
+ const style = await row.evaluate(node => ({
+ bar: getComputedStyle(node).scrollbarWidth,
+ mask: getComputedStyle(node).maskImage,
+ }));
+ assert.equal(style.bar, 'none', '横向导航露出了原生滚动条');
+ assert.equal(style.mask.includes('linear-gradient'), left || right, '边缘提示与可滚动方向不一致');
+ await row.evaluate(node => node.removeAttribute('data-scroll-test'));
+}
+
+async function scrollPositions(row: Locator) {
+ const range = await row.evaluate(node => node.scrollWidth - node.clientWidth);
+ assert.ok(range > 10, `夹具没有产生横向溢出:${range}`);
+ await row.evaluate(node => { node.scrollLeft = 0 });
+ await edges(row, false, true);
+ await row.evaluate(node => { node.scrollLeft = (node.scrollWidth - node.clientWidth) / 2 });
+ await edges(row, true, true);
+ await row.evaluate(node => { node.scrollLeft = node.scrollWidth });
+ await edges(row, true, false);
+}
+
+describe('横向导航提示', () => {
+ let browser: Browser;
+ before(async () => { browser = await launch() });
+ after(async () => { await browser?.close() });
+
+ it('复核分类在窄屏横滚,桌面分类列不保留横滚提示', { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/review', MOBILE);
+ try {
+ const row = opened.page.getByRole('tablist', { name: '复核分类' });
+ await row.waitFor();
+ await settle(opened.page);
+ await scrollPositions(row);
+ await opened.page.setViewportSize({ width: 1280, height: 844 });
+ await opened.page.waitForFunction(() => {
+ const node = document.querySelector('[aria-labelledby="reviewcategories"]');
+ return node?.closest('[data-orientation]')?.getAttribute('data-orientation') === 'vertical';
+ });
+ assert.equal(await row.evaluate(node => getComputedStyle(node).maskImage), 'none');
+ await opened.page.setViewportSize({ width: 390, height: 844 });
+ await row.evaluate(node => { node.scrollLeft = 0 });
+ await edges(row, false, true);
+ await row.getByRole('tab').first().focus();
+ await opened.page.keyboard.press('End');
+ await edges(row, true, false);
+ const geometry = await row.evaluate(node => {
+ const selected = node.querySelector('[aria-selected="true"]')!.getBoundingClientRect();
+ const host = node.getBoundingClientRect();
+ return selected.left >= host.left - 1 && selected.right <= host.right + 1;
+ });
+ assert.ok(geometry, '键盘选中的分类没有进入可见范围');
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
+
+ it('标签类型和首字导航都显示左右提示,放宽后取消首字提示', { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/tags', MOBILE, async page => {
+ await page.route('**/api/index?**', route => route.fulfill({ json: {
+ items: Array.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ', (letter, at) => ({ k: `${letter}标签`, n: at + 1, cat: 'general' })),
+ categories: { meta: 3, relationship: 3, role: 3, appearance: 3, scene: 3, story: 3, position: 3, general: 5 },
+ has_more: false,
+ } }));
+ });
+ try {
+ const page = opened.page;
+ const row = page.getByRole('group', { name: '标签类型' });
+ await row.waitFor();
+ await settle(page);
+ await scrollPositions(row);
+ const alphabet = page.getByRole('navigation', { name: '按首字跳转' });
+ await scrollPositions(alphabet);
+ await page.setViewportSize({ width: 1600, height: 900 });
+ await edges(alphabet, false, false);
+ await alphabet.getByRole('button').last().evaluate(node => { node.textContent = '很长的分类名称'.repeat(40) });
+ await edges(alphabet, false, true);
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
+
+ it('关注图片视图的下排操作支持横滚和边缘提示', { timeout: 60_000 }, async () => {
+ const opened = await openFollowFeed(browser, '/follow?media=images', MOBILE);
+ try {
+ await scrollPositions(opened.page.locator('[data-follow-filter-glass] > [data-filter-row="bottom"]'));
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
+});
diff --git a/frontend/e2e/manage-header.test.ts b/frontend/e2e/manage-header.test.ts
index 7d20d9612..46ce6d79e 100644
--- a/frontend/e2e/manage-header.test.ts
+++ b/frontend/e2e/manage-header.test.ts
@@ -53,7 +53,9 @@ async function readHead(page: Page) {
const rect = node.getBoundingClientRect();
return [Math.round(rect.left), Math.round(rect.width)];
}),
- titleFirst: document.querySelector('[data-manage-header]')!.firstElementChild === title,
+ order: [...document.querySelector('[data-manage-header]')!.children].map(node =>
+ node.hasAttribute('data-manage-bar') ? 'bar' : node.hasAttribute('data-manage-crumb') ? 'crumb'
+ : node.hasAttribute('data-manage-title') ? 'title' : 'lede'),
lede: (() => {
const rect = document.querySelector('[data-manage-lede]')?.getBoundingClientRect();
return rect ? [rect.left, rect.width] : null;
@@ -83,7 +85,8 @@ describe('管理区页头', () => {
for (const column of head.columns) assert.deepEqual(column, head.columns[0], `${path} 页头几块没落在同一列:${JSON.stringify(head.columns)}`);
const [left, width] = head.columns[0]!;
const [start, end] = head.main;
- assert.ok(head.titleFirst, `${path} 标题没有位于导航之前`);
+ assert.deepEqual(head.order.slice(0, crumb ? 3 : 2), crumb ? ['bar', 'crumb', 'title'] : ['bar', 'title'],
+ `${path} 页头没有按管理导航、面包屑、标题排列`);
assert.equal(width, Math.min(1120, Math.round(end - start)), `${path} 页头没有使用正文宽度`);
assert.ok(Math.abs((left - start) - (end - left - width)) <= 1, `${path} 页头没有与正文居中对齐`);
if (head.lede) {
diff --git a/frontend/src/manage-header.ts b/frontend/src/manage-header.ts
index 073f84a28..5ab26ca4a 100644
--- a/frontend/src/manage-header.ts
+++ b/frontend/src/manage-header.ts
@@ -107,9 +107,9 @@ export function manageHeaderSkeletonHtml(props: ManageHeaderProps): string {
const lede = view.lede.kind === 'none' ? ''
: `<p class="mono" data-manage-lede="">${view.lede.kind === 'skeleton' ? TRASH_LEDE_SKELETON_HTML
: `<span data-lede-text="">${escape(view.lede.text)}</span>${view.lede.total ? EMPTY_TRASH_HTML : ''}`}</p>`;
- return `<h2 data-manage-title=""${view.compact ? ' data-compact=""' : ''}>${escape(view.title)}</h2>`
+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${menu}</div></nav>`
+ crumb
- + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${menu}</div></nav>`
+ + `<h2 data-manage-title=""${view.compact ? ' data-compact=""' : ''}>${escape(view.title)}</h2>`
+ lede;
}
diff --git a/frontend/src/react/base.css b/frontend/src/react/base.css
index fa740cc16..274c8b614 100644
--- a/frontend/src/react/base.css
+++ b/frontend/src/react/base.css
@@ -209,15 +209,15 @@
* 底下,只会让那一块看着比实际矮一截。遗留层的 `.tier`、`.tagbar`、`.srow` 就是这个
* 做法(`web/css/01-base.css`),这里只是把同一条搬进岛内。
*
- * 按 `overflow-x-auto` 认,不逐处挂钩子:横滚的块以后还会加,而漏挂和「这块本来就该
- * 露系统条」在屏幕上看不出区别。
+ * `overflow-x-auto` 与横向导航的 `data-horizontal-scroll` 共用隐藏规则;导航的边缘提示
+ * 由共用横滚 hook 绑定,表格和代码块使用覆盖式滑块。
*
* 竖着滚的块不走这条:藏掉原生的却不给别的指示,就没人知道那一块还有下文。那些块挂
* 全站那条覆盖式滑块,接法在 `components/overlay-scrollbar.ts`。 */
-.peach-react [class~="overflow-x-auto"] {
+.peach-react :is([class~="overflow-x-auto"], [data-horizontal-scroll]) {
scrollbar-width: none;
}
-.peach-react [class~="overflow-x-auto"]::-webkit-scrollbar {
+.peach-react :is([class~="overflow-x-auto"], [data-horizontal-scroll])::-webkit-scrollbar {
display: none;
}
diff --git a/frontend/src/react/components/board-tabs.tsx b/frontend/src/react/components/board-tabs.tsx
index 489ad2f48..df18cc121 100644
--- a/frontend/src/react/components/board-tabs.tsx
+++ b/frontend/src/react/components/board-tabs.tsx
@@ -2,6 +2,7 @@
import { useLayoutEffect, useRef, type KeyboardEvent } from 'react';
import { spriteGlyph } from './sprite-glyph';
+import { useHorizontalScroller } from './use-horizontal-scroller';
export interface BoardTab<V extends string> {
value: V;
@@ -32,6 +33,7 @@ export function BoardTabs<V extends string>(
{ tabs: readonly BoardTab<V>[]; value: V; label: string; onChange(value: V): void; className?: string },
) {
const list = useRef<HTMLDivElement>(null);
+ const scrollRef = useHorizontalScroller(list);
useLayoutEffect(() => {
const host = list.current;
@@ -61,7 +63,7 @@ export function BoardTabs<V extends string>(
};
return (
- <div ref={list} role="tablist" aria-label={label} data-board-tab-list="" onKeyDown={onKeyDown}
+ <div ref={scrollRef} role="tablist" aria-label={label} data-board-tab-list="" onKeyDown={onKeyDown}
className={`relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${className}`}>
{tabs.map((tab) => {
const Glyph = tab.symbol ? spriteGlyph(tab.symbol) : null;
diff --git a/frontend/src/react/components/filter-glass.tsx b/frontend/src/react/components/filter-glass.tsx
index fce1540a5..90c890f4c 100644
--- a/frontend/src/react/components/filter-glass.tsx
+++ b/frontend/src/react/components/filter-glass.tsx
@@ -5,12 +5,13 @@
* 也在那一条上。吸到顶栏下沿那一刻由 `use-stuck.ts` 标 `data-stuck`,影换成抬起来那一档。
* 胶囊键 30px 高、透明底、一圈 `--glass-low`,
* 悬停换成 `--glass-rim` 边加 `--glass-pick-fill` 底——玻璃上的键不是 BoardUI 那种实心按钮。 */
-import { useRef, type ReactNode, type Ref } from 'react';
+import { useRef, type ReactNode, type RefObject } from 'react';
import { cx } from '@/utils/cx';
import { IconButton, type IconButtonProps } from '@/components/base/buttons/icon-button';
import { spinnerHtml } from '@peach/legacy/ui';
import { useStuck } from './use-stuck';
+import { useHorizontalScroller } from './use-horizontal-scroller';
const BusyIcon = ({ className }: { className?: string }) => <span aria-hidden className={className}
dangerouslySetInnerHTML={{ __html: spinnerHtml('正在处理') }} />;
@@ -57,23 +58,25 @@ export function FilterGlassRows(
panes?: ReactNode;
attrs?: Record<`data-${string}`, string>;
busy?: boolean;
- bottomRef?: Ref<HTMLDivElement>;
+ bottomRef?: RefObject<HTMLDivElement | null>;
},
) {
const glass = useRef<HTMLDivElement>(null);
+ const topScroll = useHorizontalScroller<HTMLDivElement>();
+ const bottomScroll = useHorizontalScroller<HTMLDivElement>(bottomRef);
useStuck(glass);
return (
<div ref={glass} role="group" aria-label={label} data-filter-glass data-glass-pane="" {...attrs}
className={cx('sticky top-topbar z-10 mb-5.5 flex flex-col', className)}>
{panes}
{top === null ? null : (
- <div role="group" aria-label={topLabel} data-filter-row="top"
+ <div ref={topScroll} role="group" aria-label={topLabel} data-filter-row="top"
className={cx('flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2',
topClassName)}>
{top}
</div>
)}
- <div ref={bottomRef} data-filter-row="bottom" aria-busy={busy || undefined}
+ <div ref={bottomScroll} data-filter-row="bottom" aria-busy={busy || undefined}
className={cx('flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2', bottomClassName)}>
{bottom}
</div>
diff --git a/frontend/src/react/components/segmented.tsx b/frontend/src/react/components/segmented.tsx
index a64184677..76b9ad23a 100644
--- a/frontend/src/react/components/segmented.tsx
+++ b/frontend/src/react/components/segmented.tsx
@@ -1,14 +1,15 @@
/* 分段控件的选中面独立移动,文字、焦点与业务状态即时更新。 */
import { RadioGroup, TabList, type RadioGroupProps, type TabListProps } from 'react-aria-components';
import { useMovingSurface } from './use-moving-surface';
+import { useHorizontalScroller } from './use-horizontal-scroller';
export function SegmentedTabList<T extends object>(props: TabListProps<T>) {
- const ref = useMovingSurface('selection');
+ const ref = useHorizontalScroller(useMovingSurface('selection'));
return <TabList {...props} ref={ref} />;
}
export function SegmentedRadioGroup(props: RadioGroupProps) {
- const ref = useMovingSurface('selection');
+ const ref = useHorizontalScroller(useMovingSurface('selection'));
return <RadioGroup {...props} ref={ref} />;
}
diff --git a/frontend/src/react/components/use-horizontal-scroller.ts b/frontend/src/react/components/use-horizontal-scroller.ts
new file mode 100644
index 000000000..c73c25167
--- /dev/null
+++ b/frontend/src/react/components/use-horizontal-scroller.ts
@@ -0,0 +1,26 @@
+import { useCallback, useLayoutEffect, useState, type RefObject } from 'react';
+import { wireHorizontalScroller } from '../../ui-kit/scroll';
+
+/** 横向导航复用滚轮、边缘提示和卸载清理;ref 随条件渲染的节点一起绑定。 */
+export function useHorizontalScroller<T extends HTMLElement>(
+ forward?: RefObject<T | null> | ((node: T | null) => void), enabled = true,
+) {
+ const [host, setHost] = useState<T | null>(null);
+ const ref = useCallback((node: T | null) => {
+ setHost(node);
+ if (typeof forward === 'function') forward(node);
+ else if (forward) forward.current = node;
+ }, [forward]);
+ useLayoutEffect(() => {
+ if (!host || !enabled) return;
+ host.dataset.horizontalScroll = '';
+ const control = wireHorizontalScroller(host);
+ return () => {
+ control.destroy();
+ delete host.dataset.horizontalScroll;
+ delete host.dataset.overflowLeft;
+ delete host.dataset.overflowRight;
+ };
+ }, [host, enabled]);
+ return ref;
+}
diff --git a/frontend/src/react/follow-manage/follow-manage-page.tsx b/frontend/src/react/follow-manage/follow-manage-page.tsx
index 7a1384bc5..102ad7615 100644
--- a/frontend/src/react/follow-manage/follow-manage-page.tsx
+++ b/frontend/src/react/follow-manage/follow-manage-page.tsx
@@ -23,6 +23,7 @@ import type { FollowManageProps } from '../bundle';
import { cardClass } from '../components/card';
import { Note } from '../components/note';
import { Page } from '../components/page';
+import { useHorizontalScroller } from '../components/use-horizontal-scroller';
import { STAT_STRIP_SIX } from '../components/stat-card';
import { AddSource } from './add-source';
import { AliasManager } from './alias-manager';
@@ -58,6 +59,7 @@ function Reading({ term, figure, unit }: { term: string; figure: number; unit: s
}
export function FollowManagePage(props: FollowManageProps) {
+ const sectionScroll = useHorizontalScroller<HTMLDivElement>();
const {
route, savePreference, toast, openFollow, openServiceConfiguration, readOnly, readOnlyMessage, writerUrl,
} = props;
@@ -142,7 +144,7 @@ export function FollowManagePage(props: FollowManageProps) {
setTab(next);
go({ tab: next });
}} className="flex flex-col gap-6">
- <TabList aria-label="关注管理区域" data-section-nav data-section-items
+ <TabList ref={sectionScroll} aria-label="关注管理区域" data-section-nav data-section-items
className="flex max-w-full flex-nowrap overflow-x-auto">
{TABS.map(([key, name]) => (
<Tab key={key} id={key} className="cursor-pointer whitespace-nowrap">{name}</Tab>
diff --git a/frontend/src/react/index/index-tags.tsx b/frontend/src/react/index/index-tags.tsx
index a70f9d1ec..c1a0283d7 100644
--- a/frontend/src/react/index/index-tags.tsx
+++ b/frontend/src/react/index/index-tags.tsx
@@ -15,6 +15,7 @@ import { FilterGlassRows, FilterPill } from '../components/filter-glass';
import { SEGMENTED_GLASS_TRACK, SEGMENT_GLASS } from '../components/segmented';
import { SelectionDock } from '../components/selection-dock';
import { spriteGlyph } from '../components/sprite-glyph';
+import { useHorizontalScroller } from '../components/use-horizontal-scroller';
import { FavoriteButton } from '../library-shortcuts/shortcut-controls';
import { tagColorKey, type IndexTag, type TagView } from './index-data';
@@ -111,6 +112,7 @@ export function TagFilters(
onView(view: TagView): void;
},
) {
+ const alphaScroll = useHorizontalScroller<HTMLElement>();
return (
<FilterGlassRows label="标签筛选" topLabel="标签类型"
top={categories.map(([key, label]) => (
@@ -124,7 +126,7 @@ export function TagFilters(
{readout}
</span>
{letters.length > 1 ? (
- <nav aria-label="按首字跳转" data-alpha-jump=""
+ <nav ref={alphaScroll} aria-label="按首字跳转" data-alpha-jump=""
className="flex min-w-0 gap-0.5 overflow-x-auto overscroll-x-contain">
{letters.map((letter, at) => (
<button key={letter} type="button" onClick={() => onJump(at)}
diff --git a/frontend/src/react/manage-header/manage-header-island.tsx b/frontend/src/react/manage-header/manage-header-island.tsx
index fa29f9cc5..6b214965e 100644
--- a/frontend/src/react/manage-header/manage-header-island.tsx
+++ b/frontend/src/react/manage-header/manage-header-island.tsx
@@ -57,9 +57,9 @@ function ManageHeader({ host: at, props: current }: { host: ManageHeaderHost; pr
if (!view) return null;
return (
<>
- <h2 data-manage-title="" data-compact={view.compact ? '' : undefined}>{view.title}</h2>
- {view.crumb ? <Crumb host={at} label={view.crumb} /> : null}
<ManageBar host={at} pressed={view.pressed} menu={current.menu} />
+ {view.crumb ? <Crumb host={at} label={view.crumb} /> : null}
+ <h2 data-manage-title="" data-compact={view.compact ? '' : undefined}>{view.title}</h2>
{view.lede.kind === 'none' ? null : <TrashLede host={at} lede={view.lede} />}
</>
);
diff --git a/frontend/src/react/review/review-page.tsx b/frontend/src/react/review/review-page.tsx
index 680b5dcd8..723da2c82 100644
--- a/frontend/src/react/review/review-page.tsx
+++ b/frontend/src/react/review/review-page.tsx
@@ -21,6 +21,7 @@ import { DOTS, paginationRange } from '../../pagination';
import { EmptyState } from '../components/empty-state';
import { Note } from '../components/note';
import { Page } from '../components/page';
+import { useHorizontalScroller } from '../components/use-horizontal-scroller';
import { BulkToolbar } from './bulk-toolbar';
import { GenreTagList } from './candidate-form';
import { ReviewCard } from './review-card';
@@ -63,6 +64,7 @@ function Pagination(
export function ReviewPage(props: ReviewProps) {
const [narrow, setNarrow] = useState(() => matchMedia('(max-width:900px)').matches);
+ const categoryScroll = useHorizontalScroller<HTMLDivElement>(undefined, narrow);
useEffect(() => {
const query = matchMedia('(max-width:900px)');
const update = () => setNarrow(query.matches);
@@ -246,7 +248,7 @@ export function ReviewPage(props: ReviewProps) {
}} className="flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6">
<div data-section-nav className="w-full min-w-0 review-split:sticky review-split:top-topbar review-split:w-review-tabs review-split:shrink-0">
<h2 id="reviewcategories">复核分类</h2>
- <TabList aria-labelledby="reviewcategories" data-section-items
+ <TabList ref={categoryScroll} aria-labelledby="reviewcategories" data-section-items
className="flex review-split:flex-col review-split:items-stretch">
{REVIEW_CATEGORIES.map((key) => {
const count = Number(data.counts[key] || 0);
diff --git a/frontend/src/ui-kit/scroll.ts b/frontend/src/ui-kit/scroll.ts
index bd518f24d..ad8ac96dd 100644
--- a/frontend/src/ui-kit/scroll.ts
+++ b/frontend/src/ui-kit/scroll.ts
@@ -79,7 +79,8 @@ export function wireHorizontalScroller(el:any,{drag=false,fade=true}={}):any{
let start:{x:number;left:number}|null=null,moved=0,heldUntil=0,target=0,kicked=false,glide=0,glideAt=0,pos=0,pending=0;
/* 值没变就不写:自动滚动每一帧都触发一次 `scroll`,同值重写属性照样让样式重算一遍。 */
const mark=(key:string,value:string)=>{if(el.dataset[key]!==value)el.dataset[key]=value};
- const update=()=>{if(options.fade){mark('overflowLeft',String(el.scrollLeft>1));mark('overflowRight',String(el.scrollLeft+el.clientWidth<el.scrollWidth-1))}};
+ const scrollable=()=>['auto','scroll','hidden'].includes(getComputedStyle(el).overflowX);
+ const update=()=>{if(options.fade){const active=scrollable();mark('overflowLeft',String(active&&el.scrollLeft>1));mark('overflowRight',String(active&&el.scrollLeft+el.clientWidth<el.scrollWidth-1))}};
const listen=(target:EventTarget,event:string,handler:(event:any)=>void,extra={})=>target.addEventListener(event,handler,{...extra,signal:abort.signal});
listen(el,'scroll',update,{passive:true});
const kick=(delta:number)=>{if(!kicked){kicked=true;bounce.kick(delta)}};
@@ -102,7 +103,7 @@ export function wireHorizontalScroller(el:any,{drag=false,fade=true}={}):any{
尾巴一格一格地撞在边上,每格都弹就是一串抖动。 */
listen(el,'wheel',event=>{
const max=el.scrollWidth-el.clientWidth;
- if(event.defaultPrevented||!event.cancelable||Math.abs(event.deltaY)<=Math.abs(event.deltaX)||max<=0)return;
+ if(event.defaultPrevented||!event.cancelable||Math.abs(event.deltaY)<=Math.abs(event.deltaX)||max<=0||!scrollable())return;
event.preventDefault();
const now=performance.now(),step=Math.abs(event.deltaY);
if(now>heldUntil)kicked=false;
@@ -129,8 +130,11 @@ export function wireHorizontalScroller(el:any,{drag=false,fade=true}={}):any{
});
listen(window,'mouseup',()=>{if(start)bounce.release();start=null;el.style.cursor=''});
listen(el,'click',event=>{if(moved>6){event.stopPropagation();event.preventDefault();moved=0}},{capture:true});
- const resize=new ResizeObserver(update);resize.observe(el);
- const control={options,update,destroy(){abort.abort();stopGlide();resize.disconnect();horizontalControls.delete(el);el.style.cursor='';if(!horizontalControls.size){horizontalCleanup?.disconnect();horizontalCleanup=null}}};
+ const resize=new ResizeObserver(update);
+ const observe=()=>{resize.observe(el);for(const child of el.children)resize.observe(child);update()};
+ const contents=new MutationObserver(()=>{resize.disconnect();observe()});
+ contents.observe(el,{childList:true,characterData:true,subtree:true});observe();
+ const control={options,update,destroy(){abort.abort();stopGlide();resize.disconnect();contents.disconnect();horizontalControls.delete(el);el.style.cursor='';if(!horizontalControls.size){horizontalCleanup?.disconnect();horizontalCleanup=null}}};
horizontalControls.set(el,control);
if(!horizontalCleanup){horizontalCleanup=new MutationObserver(()=>{for(const [node,item] of horizontalControls)if(!node.isConnected)item.destroy()});horizontalCleanup.observe(document.body,{childList:true,subtree:true})}
update();return control;
diff --git a/frontend/test/manage-header.test.ts b/frontend/test/manage-header.test.ts
index ec045903f..f0d49438d 100644
--- a/frontend/test/manage-header.test.ts
+++ b/frontend/test/manage-header.test.ts
@@ -51,6 +51,13 @@ describe('页头判据', () => {
});
describe('启动骨架', () => {
+ it('管理导航、面包屑和页面标题按层级排列', () => {
+ const node = document.createElement('div');
+ node.innerHTML = manageHeaderSkeletonHtml(props('cleanup', '/review'));
+ expect([...node.children].map(child => child.tagName)).toEqual(['NAV', 'NAV', 'H2']);
+ expect(node.firstElementChild?.hasAttribute('data-manage-bar')).toBe(true);
+ expect(node.children[1]?.hasAttribute('data-manage-crumb')).toBe(true);
+ });
it('管理条标出当前项,回收站读数到之前铺两格占位', () => {
const node = document.createElement('div');
node.innerHTML = manageHeaderSkeletonHtml(props('trash', '/trash'));
diff --git a/frontend/test/react/manage-header.test.tsx b/frontend/test/react/manage-header.test.tsx
index 2a2ebf011..a8b5aa6dc 100644
--- a/frontend/test/react/manage-header.test.tsx
+++ b/frontend/test/react/manage-header.test.tsx
@@ -178,7 +178,7 @@ describe('换手', () => {
expect(seen.at(-1)).toBe('header');
expect(title(host.root)).toBe('统计');
expect(host.root.querySelector(':scope > .peach-react')).toBeNull();
- expect(host.root.firstElementChild?.hasAttribute('data-manage-title')).toBe(true);
+ expect(host.root.firstElementChild?.hasAttribute('data-manage-bar')).toBe(true);
});
it('骨架阶段的点击由壳的委托接,句柄交出之后归组件,一次点击只到一处', async () => {
diff --git a/frontend/test/shared-list-controls.test.ts b/frontend/test/shared-list-controls.test.ts
index 4a26b43ea..b527e4c36 100644
--- a/frontend/test/shared-list-controls.test.ts
+++ b/frontend/test/shared-list-controls.test.ts
@@ -2,7 +2,7 @@ import { afterEach, expect, it, vi } from 'vitest';
import { wireHorizontalScroller, rubberBand } from '../src/ui-kit';
afterEach(async () => {document.body.replaceChildren();await new Promise(resolve=>setTimeout(resolve,0));vi.unstubAllGlobals()});
-function button(){const node=document.createElement('button');document.body.append(node);return node}
+function button(){const node=document.createElement('button');node.style.overflowX='auto';document.body.append(node);return node}
it('在横排上开头的滚轮手势整段归这一排,鼠标一格逐帧走完、半路接着加,拦不住的留给页面,重复绑定与移除都释放资源', async () => {
const node=button();let left=0,now=1000;const disconnect=vi.fn();
@@ -19,6 +19,11 @@ it('在横排上开头的滚轮手势整段归这一排,鼠标一格逐帧走
const control=wireHorizontalScroller(node,{drag:true});
expect(wireHorizontalScroller(node)).toBe(control);
const wheel=(deltaY=100,cancelable=true)=>new WheelEvent('wheel',{deltaY,cancelable});
+ // 内容可直接显示的布局不拦页面滚动,也不画横向提示。
+ node.style.overflowX='visible';control.update();
+ const pageWheel=wheel(60);node.dispatchEvent(pageWheel);
+ expect(pageWheel.defaultPrevented).toBe(false);expect(node.dataset.overflowRight).toBe('false');
+ node.style.overflowX='auto';control.update();
// 鼠标一格逐帧走,不是一下跳过去。
const moving=wheel(60);node.dispatchEvent(moving);
expect(moving.defaultPrevented).toBe(true);expect(left).toBe(0);
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 3265b18d4..c9fd90ba7 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-500:oklch(72.3% .219 149.579);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.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-7\.5{height:calc(var(--spacing) * 7.5)}.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-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-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-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--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-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-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.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-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.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-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-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-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-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-color:var(--color-border-error-default)}.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,.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-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.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}.whitespace-pre-wrap{white-space:pre-wrap}.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-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border,.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-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-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.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-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-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\:flex{display:flex}.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\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.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\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.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\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.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)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}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}.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]: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);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-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 :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:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.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]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.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-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-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:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.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]{--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-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{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));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.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;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.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}.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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{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;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.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;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;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.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-watch-count]){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-text]>[data-media-tags]{margin-top:6px}.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;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] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;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]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.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{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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)}@media (width<=760px){body .peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-text],body[data-surface=\/trash] .peach-react [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline],body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-tags]{flex-wrap:wrap;height:auto}}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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-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:16px;height:16px;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;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;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:30px;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 [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;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{flex:none;width:14px;height:14px;margin-left:5px}.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]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;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]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.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:30px;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-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{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.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 .folder-tree-scroller{max-height:calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 72px)}#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%}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;overflow:auto}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{border-radius:var(--control-radius);width:30px;height:30px;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){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:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.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:14px;height:14px}.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]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:30px;height:30px;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:30px;height:30px;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 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;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]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;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;color:var(--muted);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] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;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]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.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{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.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-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.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{flex:none;width:18px;height:18px}.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-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.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-rate],.peach-react [data-review-rating] [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{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;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)}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-progress-thumb{opacity:0}.video-js .vjs-progress-control:hover .vjs-progress-thumb,.video-js .vjs-progress-control:focus-within .vjs-progress-thumb{opacity:1}.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-subtitles-control{z-index:4;cursor:pointer;align-self:flex-end;width:40px;height:40px;margin-bottom:8px;position:relative}.video-js .vjs-subtitles-menu{border-radius:var(--floating-radius);background:#000000e6;min-width:140px;max-height:50vh;padding:6px;position:absolute;bottom:100%;right:0;overflow:auto}.video-js .vjs-subtitles-menu button{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px;display:block}.video-js .vjs-subtitles-menu button[aria-checked=true]{background:#ffffff26}.video-js .vjs-subtitles-menu[hidden],.video-js .vjs-subtitles-control[hidden]{display:none}.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;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:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{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-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-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{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);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;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;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[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}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[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]{gap:0;min-width:0;display:grid}[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-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[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:600}[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-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[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:14px;height:14px;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:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width: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]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;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-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[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]{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{border-radius:var(--control-radius);min-width:34px;height:34px;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{stroke:currentColor;fill:none;width:17px;height:17px}@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]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[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 16px 0 0!important;padding:10px 12px 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{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[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]{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]>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-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[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-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[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 (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@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]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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;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]:after{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:16px}[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-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[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{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!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:18px;height:18px;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{flex:none;width:20px;height:20px}[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,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;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{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-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]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@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.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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}}.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 auto}.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}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.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-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility: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 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%}[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}.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}.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{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;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{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}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){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;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}.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)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom: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-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 [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:30px;min-height:30px}.peach-react button[data-filter-action]{border-radius:var(--control-radius);background:var(--board-blue);width:30px;min-width:30px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;border:0;padding:0}.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}.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-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.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{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom: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-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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[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}}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-favorite]){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-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) 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{fill:none;stroke:currentColor;width:20px;height:20px}.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}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.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-catalog-table] .bui-table{table-layout:fixed;width:100%}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:48px}.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){font-variant-numeric:tabular-nums;width:112px}.peach-react [data-catalog-table] [data-list-identity]{min-width:0;padding:12px 0;position:relative}.peach-react [data-catalog-table] [data-list-open]{text-align:left;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--surface);flex:none;width:112px;height:63px;display:block;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){object-fit:cover;width:100%;height:100%}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.peach-react [data-catalog-table] [data-list-open]:hover [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--fs-sm);display:block;overflow:hidden}.peach-react [data-list-mobile-metrics]{display:none}[data-table-skeleton]>div{align-items:center;gap:16px;height:88px;display:flex}[data-table-skeleton] i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;display:block}[data-table-skeleton] span{border-radius:var(--control-radius);width:40%;height:20px;display:block}body:has([data-catalog-table]) #feedNew{display:none}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){display:none}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:36px;padding-inline:8px}.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-list-mobile-metrics]{display:block}}.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}}.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}}
+@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-500:oklch(72.3% .219 149.579);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.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-7\.5{height:calc(var(--spacing) * 7.5)}.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-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-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-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--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-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-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.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-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.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-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-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-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-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-color:var(--color-border-error-default)}.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,.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-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.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}.whitespace-pre-wrap{white-space:pre-wrap}.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-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border,.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-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-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.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-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-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\:flex{display:flex}.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\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.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\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.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\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.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)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}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}.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]: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);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-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 :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:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.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]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.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-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-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:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.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]{--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-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{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));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.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;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.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}.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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{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;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.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;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;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.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-watch-count]){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-text]>[data-media-tags]{margin-top:6px}.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;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] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;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]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.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{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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)}@media (width<=760px){body .peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-text],body[data-surface=\/trash] .peach-react [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline],body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-tags]{flex-wrap:wrap;height:auto}}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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-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:16px;height:16px;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;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;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:30px;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 [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;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{flex:none;width:14px;height:14px;margin-left:5px}.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]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;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]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.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:30px;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-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{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.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 .folder-tree-scroller{max-height:calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 72px)}#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%}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;overflow:auto}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{border-radius:var(--control-radius);width:30px;height:30px;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){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:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.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:14px;height:14px}.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]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:30px;height:30px;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:30px;height:30px;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 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;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]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;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;color:var(--muted);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] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;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]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.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{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.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-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.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{flex:none;width:18px;height:18px}.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-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.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-rate],.peach-react [data-review-rating] [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{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;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)}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-progress-thumb{opacity:0}.video-js .vjs-progress-control:hover .vjs-progress-thumb,.video-js .vjs-progress-control:focus-within .vjs-progress-thumb{opacity:1}.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-subtitles-control{z-index:4;cursor:pointer;align-self:flex-end;width:40px;height:40px;margin-bottom:8px;position:relative}.video-js .vjs-subtitles-menu{border-radius:var(--floating-radius);background:#000000e6;min-width:140px;max-height:50vh;padding:6px;position:absolute;bottom:100%;right:0;overflow:auto}.video-js .vjs-subtitles-menu button{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px;display:block}.video-js .vjs-subtitles-menu button[aria-checked=true]{background:#ffffff26}.video-js .vjs-subtitles-menu[hidden],.video-js .vjs-subtitles-control[hidden]{display:none}.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;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:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{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-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-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{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);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;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;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[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}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[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]{gap:0;min-width:0;display:grid}[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-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[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:600}[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-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[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:14px;height:14px;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:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width: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]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;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-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[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]{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{border-radius:var(--control-radius);min-width:34px;height:34px;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{stroke:currentColor;fill:none;width:17px;height:17px}@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]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[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 16px 0 0!important;padding:10px 12px 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{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[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]{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]>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-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[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-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[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 (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@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]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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;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]:after{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:16px}[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-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[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{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!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:18px;height:18px;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{flex:none;width:20px;height:20px}[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,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;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{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@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.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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}}.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 auto}.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}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.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-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility: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 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%}[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}.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}.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{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;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{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}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){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;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}.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)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom: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-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 [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:30px;min-height:30px}.peach-react button[data-filter-action]{border-radius:var(--control-radius);background:var(--board-blue);width:30px;min-width:30px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;border:0;padding:0}.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}.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-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.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{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom: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-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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[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}}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-favorite]){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-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) 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{fill:none;stroke:currentColor;width:20px;height:20px}.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}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.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-catalog-table] .bui-table{table-layout:fixed;width:100%}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:48px}.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){font-variant-numeric:tabular-nums;width:112px}.peach-react [data-catalog-table] [data-list-identity]{min-width:0;padding:12px 0;position:relative}.peach-react [data-catalog-table] [data-list-open]{text-align:left;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--surface);flex:none;width:112px;height:63px;display:block;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){object-fit:cover;width:100%;height:100%}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.peach-react [data-catalog-table] [data-list-open]:hover [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--fs-sm);display:block;overflow:hidden}.peach-react [data-list-mobile-metrics]{display:none}[data-table-skeleton]>div{align-items:center;gap:16px;height:88px;display:flex}[data-table-skeleton] i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;display:block}[data-table-skeleton] span{border-radius:var(--control-radius);width:40%;height:20px;display:block}body:has([data-catalog-table]) #feedNew{display:none}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){display:none}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:36px;padding-inline:8px}.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-list-mobile-metrics]{display:block}}.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}}.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}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 8a580df93..e6e3f8eae 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -1234,7 +1234,7 @@ var f = /* @__PURE__ */ o(((e) => {
}
function _t() {
var e = me.p;
- return e === 0 ? (e = window.event, e === void 0 ? 32 : oh(e.type)) : e;
+ return e === 0 ? (e = window.event, e === void 0 ? 32 : ah(e.type)) : e;
}
function vt(e, t) {
var n = me.p;
@@ -5125,7 +5125,7 @@ var f = /* @__PURE__ */ o(((e) => {
}
var Kl = !1, ql = !1, Jl = !1, Yl = !1, Xl = typeof WeakSet == "function" ? WeakSet : Set, Zl = null, Ql = !1, $l = !1, eu = !1, tu = !1;
function nu(e, t, n) {
- if (e = e.containerInfo, Qf = $m, e = Pr(e), Fr(e)) {
+ if (e = e.containerInfo, Qf = Qm, e = Pr(e), Fr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -5167,7 +5167,7 @@ var f = /* @__PURE__ */ o(((e) => {
for ($f = {
focusedElem: e,
selectionRange: r
- }, $m = !1, n = (n & 335544064) === n, Zl = t, t = n ? 9270 : 1024; Zl !== null;) {
+ }, Qm = !1, n = (n & 335544064) === n, Zl = t, t = n ? 9270 : 1024; Zl !== null;) {
if (e = Zl, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && zl(r[a]);
if (e.alternate === null && e.flags & 2) n && kl(e), ru(n);
else {
@@ -5403,7 +5403,7 @@ var f = /* @__PURE__ */ o(((e) => {
}
break;
case 18:
- lu !== null && (uu ? (e = lu, pp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Th(e)) : pp(lu, n.stateNode));
+ lu !== null && (uu ? (e = lu, pp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), wh(e)) : pp(lu, n.stateNode));
break;
case 4:
r = lu, i = uu, lu = n.stateNode.containerInfo, uu = !0, du(e, t, n), lu = r, uu = i;
@@ -5436,7 +5436,7 @@ var f = /* @__PURE__ */ o(((e) => {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {
e = e.dehydrated;
try {
- Th(e);
+ wh(e);
} catch (e) {
rf(t, t.return, e);
}
@@ -5444,7 +5444,7 @@ var f = /* @__PURE__ */ o(((e) => {
}
function mu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {
- Th(e);
+ wh(e);
} catch (e) {
rf(t, t.return, e);
}
@@ -5583,7 +5583,7 @@ var f = /* @__PURE__ */ o(((e) => {
break;
case 3:
if (Vt = !1, Am = null, o = vu, vu = om(t.containerInfo), _u(t, e, n), vu = o, bu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
- Th(t.containerInfo);
+ wh(t.containerInfo);
} catch (t) {
rf(e, e.return, t);
}
@@ -5665,7 +5665,7 @@ var f = /* @__PURE__ */ o(((e) => {
function xu(e) {
if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {
var t = e;
- xu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, $m = !0, t.reset(), $m = !1), e = e.sibling;
+ xu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Qm = !0, t.reset(), Qm = !1), e = e.sibling;
}
}
function Su(e, t) {
@@ -6477,7 +6477,7 @@ var f = /* @__PURE__ */ o(((e) => {
b.element.scrollLeft = b.left, b.element.scrollTop = b.top;
}
}
- $m = !!Qf, $f = Qf = null;
+ Qm = !!Qf, $f = Qf = null;
} finally {
Hu = a, me.p = i, pe.T = r;
}
@@ -6798,14 +6798,14 @@ var f = /* @__PURE__ */ o(((e) => {
}
}
function If(e, t, n, r) {
- switch (oh(t)) {
+ switch (ah(t)) {
case 2:
- var i = eh;
+ var i = $m;
break;
case 8:
- i = th;
+ i = eh;
break;
- default: i = nh;
+ default: i = th;
}
n = i.bind(null, t, n, e), i = void 0, !bn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {
capture: !0,
@@ -7622,7 +7622,7 @@ var f = /* @__PURE__ */ o(((e) => {
if (e.removeChild(n), i && i.nodeType === 8) {
if (n = i.data, n === "/$" || n === "/&") {
if (r === 0) {
- e.removeChild(i), Th(t);
+ e.removeChild(i), wh(t);
return;
}
r--;
@@ -7638,7 +7638,7 @@ var f = /* @__PURE__ */ o(((e) => {
}
n = i;
} while (n);
- Th(t);
+ wh(t);
}
function mp(e, t) {
var n = e;
@@ -8650,62 +8650,62 @@ var f = /* @__PURE__ */ o(((e) => {
cache: t
}, to(a), e;
}
- function qm(e) {
+ function Tee(e) {
return e ? (e = gi, e) : gi;
}
- function Jm(e, t, n, r, i, a) {
- i = qm(i), r.context === null ? r.context = i : r.pendingContext = i, r = ro(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = io(e, r, t), n !== null && (Dd(n, e, t), ao(n, e, t));
+ function qm(e, t, n, r, i, a) {
+ i = Tee(i), r.context === null ? r.context = i : r.pendingContext = i, r = ro(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = io(e, r, t), n !== null && (Dd(n, e, t), ao(n, e, t));
}
- function Ym(e, t) {
+ function Jm(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
var n = e.retryLane;
e.retryLane = n !== 0 && n < t ? n : t;
}
}
- function Xm(e, t) {
- Ym(e, t), (e = e.alternate) && Ym(e, t);
+ function Ym(e, t) {
+ Jm(e, t), (e = e.alternate) && Jm(e, t);
}
- function Zm(e) {
+ function Xm(e) {
if (e.tag === 13 || e.tag === 31) {
var t = pi(e, 67108864);
- t !== null && Dd(t, e, 67108864), Xm(e, 67108864);
+ t !== null && Dd(t, e, 67108864), Ym(e, 67108864);
}
}
- function Qm(e) {
+ function Zm(e) {
if (e.tag === 13 || e.tag === 31) {
var t = wd();
t = ht(t);
var n = pi(e, t);
- n !== null && Dd(n, e, t), Xm(e, t);
+ n !== null && Dd(n, e, t), Ym(e, t);
}
}
- var $m = !0;
- function eh(e, t, n, r) {
+ var Qm = !0;
+ function $m(e, t, n, r) {
var i = pe.T;
pe.T = null;
var a = me.p;
try {
- me.p = 2, nh(e, t, n, r);
+ me.p = 2, th(e, t, n, r);
} finally {
me.p = a, pe.T = i;
}
}
- function th(e, t, n, r) {
+ function eh(e, t, n, r) {
var i = pe.T;
pe.T = null;
var a = me.p;
try {
- me.p = 8, nh(e, t, n, r);
+ me.p = 8, th(e, t, n, r);
} finally {
me.p = a, pe.T = i;
}
}
- function nh(e, t, n, r) {
- if ($m) {
- var i = rh(r);
- if (i === null) Lf(e, t, r, ih, n), hh(e, r);
- else if (_h(i, e, t, n, r)) r.stopPropagation();
- else if (hh(e, r), t & 4 && -1 < mh.indexOf(e)) {
+ function th(e, t, n, r) {
+ if (Qm) {
+ var i = nh(r);
+ if (i === null) Lf(e, t, r, rh, n), mh(e, r);
+ else if (gh(i, e, t, n, r)) r.stopPropagation();
+ else if (mh(e, r), t & 4 && -1 < ph.indexOf(e)) {
for (; i !== null;) {
var a = jt(i);
if (a !== null) switch (a.tag) {
@@ -8723,21 +8723,21 @@ var f = /* @__PURE__ */ o(((e) => {
}
break;
case 31:
- case 13: s = pi(a, 2), s !== null && Dd(s, a, 2), Md(), Xm(a, 2);
+ case 13: s = pi(a, 2), s !== null && Dd(s, a, 2), Md(), Ym(a, 2);
}
- if (a = rh(r), a === null && Lf(e, t, r, ih, n), a === i) break;
+ if (a = nh(r), a === null && Lf(e, t, r, rh, n), a === i) break;
i = a;
}
i !== null && r.stopPropagation();
} else Lf(e, t, r, null, n);
}
}
- function rh(e) {
- return e = hn(e), ah(e);
+ function nh(e) {
+ return e = hn(e), ih(e);
}
- var ih = null;
- function ah(e) {
- if (ih = null, e = At(e), e !== null) {
+ var rh = null;
+ function ih(e) {
+ if (rh = null, e = At(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -8754,9 +8754,9 @@ var f = /* @__PURE__ */ o(((e) => {
} else t !== e && (e = null);
}
}
- return ih = e, null;
+ return rh = e, null;
}
- function oh(e) {
+ function ah(e) {
switch (e) {
case "beforetoggle":
case "cancel":
@@ -8841,51 +8841,51 @@ var f = /* @__PURE__ */ o(((e) => {
default: return 32;
}
}
- var sh = !1, ch = null, lh = null, uh = null, dh = /* @__PURE__ */ new Map(), fh = /* @__PURE__ */ new Map(), ph = [], mh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
- function hh(e, t) {
+ var oh = !1, sh = null, ch = null, lh = null, uh = /* @__PURE__ */ new Map(), dh = /* @__PURE__ */ new Map(), fh = [], ph = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
+ function mh(e, t) {
switch (e) {
case "focusin":
case "focusout":
- ch = null;
+ sh = null;
break;
case "dragenter":
case "dragleave":
- lh = null;
+ ch = null;
break;
case "mouseover":
case "mouseout":
- uh = null;
+ lh = null;
break;
case "pointerover":
case "pointerout":
- dh.delete(t.pointerId);
+ uh.delete(t.pointerId);
break;
case "gotpointercapture":
- case "lostpointercapture": fh.delete(t.pointerId);
+ case "lostpointercapture": dh.delete(t.pointerId);
}
}
- function gh(e, t, n, r, i, a) {
+ function hh(e, t, n, r, i, a) {
return e === null || e.nativeEvent !== a ? (e = {
blockedOn: t,
domEventName: n,
eventSystemFlags: r,
nativeEvent: a,
targetContainers: [i]
- }, t !== null && (t = jt(t), t !== null && Zm(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
+ }, t !== null && (t = jt(t), t !== null && Xm(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
}
- function _h(e, t, n, r, i) {
+ function gh(e, t, n, r, i) {
switch (t) {
- case "focusin": return ch = gh(ch, e, t, n, r, i), !0;
- case "dragenter": return lh = gh(lh, e, t, n, r, i), !0;
- case "mouseover": return uh = gh(uh, e, t, n, r, i), !0;
+ case "focusin": return sh = hh(sh, e, t, n, r, i), !0;
+ case "dragenter": return ch = hh(ch, e, t, n, r, i), !0;
+ case "mouseover": return lh = hh(lh, e, t, n, r, i), !0;
case "pointerover":
var a = i.pointerId;
- return dh.set(a, gh(dh.get(a) || null, e, t, n, r, i)), !0;
- case "gotpointercapture": return a = i.pointerId, fh.set(a, gh(fh.get(a) || null, e, t, n, r, i)), !0;
+ return uh.set(a, hh(uh.get(a) || null, e, t, n, r, i)), !0;
+ case "gotpointercapture": return a = i.pointerId, dh.set(a, hh(dh.get(a) || null, e, t, n, r, i)), !0;
}
return !1;
}
- function vh(e) {
+ function _h(e) {
var t = At(e.target);
if (t !== null) {
var n = o(t);
@@ -8893,14 +8893,14 @@ var f = /* @__PURE__ */ o(((e) => {
if (t = n.tag, t === 13) {
if (t = s(n), t !== null) {
e.blockedOn = t, vt(e.priority, function() {
- Qm(n);
+ Zm(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
e.blockedOn = t, vt(e.priority, function() {
- Qm(n);
+ Zm(n);
});
return;
}
@@ -8912,36 +8912,36 @@ var f = /* @__PURE__ */ o(((e) => {
}
e.blockedOn = null;
}
- function yh(e) {
+ function vh(e) {
if (e.blockedOn !== null) return !1;
for (var t = e.targetContainers; 0 < t.length;) {
- var n = rh(e.nativeEvent);
+ var n = nh(e.nativeEvent);
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
mn = r, n.target.dispatchEvent(r), mn = null;
- } else return t = jt(n), t !== null && Zm(t), e.blockedOn = n, !1;
+ } else return t = jt(n), t !== null && Xm(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
}
- function bh(e, t, n) {
- yh(e) && n.delete(t);
+ function yh(e, t, n) {
+ vh(e) && n.delete(t);
}
- function xh() {
- sh = !1, ch !== null && yh(ch) && (ch = null), lh !== null && yh(lh) && (lh = null), uh !== null && yh(uh) && (uh = null), dh.forEach(bh), fh.forEach(bh);
+ function bh() {
+ oh = !1, sh !== null && vh(sh) && (sh = null), ch !== null && vh(ch) && (ch = null), lh !== null && vh(lh) && (lh = null), uh.forEach(yh), dh.forEach(yh);
}
- function Sh(e, n) {
- e.blockedOn === n && (e.blockedOn = null, sh || (sh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, xh)));
+ function xh(e, n) {
+ e.blockedOn === n && (e.blockedOn = null, oh || (oh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, bh)));
}
- var Ch = null;
- function wh(e) {
- Ch !== e && (Ch = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {
- Ch === e && (Ch = null);
+ var Sh = null;
+ function Ch(e) {
+ Sh !== e && (Sh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {
+ Sh === e && (Sh = null);
for (var t = 0; t < e.length; t += 3) {
var n = e[t], r = e[t + 1], i = e[t + 2];
if (typeof r != "function") {
- if (ah(r || n) === null) continue;
+ if (ih(r || n) === null) continue;
break;
}
var a = jt(n);
@@ -8954,30 +8954,30 @@ var f = /* @__PURE__ */ o(((e) => {
}
}));
}
- function Th(e) {
+ function wh(e) {
function t(t) {
- return Sh(t, e);
+ return xh(t, e);
}
- ch !== null && Sh(ch, e), lh !== null && Sh(lh, e), uh !== null && Sh(uh, e), dh.forEach(t), fh.forEach(t);
- for (var n = 0; n < ph.length; n++) {
- var r = ph[n];
+ sh !== null && xh(sh, e), ch !== null && xh(ch, e), lh !== null && xh(lh, e), uh.forEach(t), dh.forEach(t);
+ for (var n = 0; n < fh.length; n++) {
+ var r = fh[n];
r.blockedOn === e && (r.blockedOn = null);
}
- for (; 0 < ph.length && (n = ph[0], n.blockedOn === null);) vh(n), n.blockedOn === null && ph.shift();
+ for (; 0 < fh.length && (n = fh[0], n.blockedOn === null);) _h(n), n.blockedOn === null && fh.shift();
if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {
var i = n[r], a = n[r + 1], o = i[xt] || null;
- if (typeof a == "function") o || wh(n);
+ if (typeof a == "function") o || Ch(n);
else if (o) {
var s = null;
if (a && a.hasAttribute("formAction")) {
if (i = a, o = a[xt] || null) s = o.formAction;
- else if (ah(i) !== null) continue;
+ else if (ih(i) !== null) continue;
} else s = o.action;
- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), wh(n);
+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Ch(n);
}
}
}
- function Eh() {
+ function Th() {
function e(e) {
e.canIntercept && e.info === "react-transition" && e.intercept({
handler: function() {
@@ -9009,26 +9009,26 @@ var f = /* @__PURE__ */ o(((e) => {
};
}
}
- function Dh(e) {
+ function Eh(e) {
this._internalRoot = e;
}
- Oh.prototype.render = Dh.prototype.render = function(e) {
+ Dh.prototype.render = Eh.prototype.render = function(e) {
var t = this._internalRoot;
if (t === null) throw Error(i(409));
var n = t.current;
- Jm(n, wd(), e, t, null, null);
- }, Oh.prototype.unmount = Dh.prototype.unmount = function() {
+ qm(n, wd(), e, t, null, null);
+ }, Dh.prototype.unmount = Eh.prototype.unmount = function() {
var e = this._internalRoot;
if (e !== null) {
this._internalRoot = null;
var t = e.containerInfo;
- Jm(e.current, 2, null, e, null, null), Md(), t[St] = null;
+ qm(e.current, 2, null, e, null, null), Md(), t[St] = null;
}
};
- function Oh(e) {
+ function Dh(e) {
this._internalRoot = e;
}
- Oh.prototype.unstable_scheduleHydration = function(e) {
+ Dh.prototype.unstable_scheduleHydration = function(e) {
if (e) {
var t = _t();
e = {
@@ -9036,18 +9036,18 @@ var f = /* @__PURE__ */ o(((e) => {
target: e,
priority: t
};
- for (var n = 0; n < ph.length && t !== 0 && t < ph[n].priority; n++);
- ph.splice(n, 0, e), n === 0 && vh(e);
+ for (var n = 0; n < fh.length && t !== 0 && t < fh[n].priority; n++);
+ fh.splice(n, 0, e), n === 0 && _h(e);
}
};
- var kh = n.version;
- if (kh !== "19.3.0") throw Error(i(527, kh, "19.3.0"));
+ var Oh = n.version;
+ if (Oh !== "19.3.0") throw Error(i(527, Oh, "19.3.0"));
me.findDOMNode = function(e) {
var t = e._reactInternals;
if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));
return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;
};
- var Ah = {
+ var kh = {
bundleType: 0,
version: "19.3.0",
rendererPackageName: "react-dom",
@@ -9055,15 +9055,15 @@ var f = /* @__PURE__ */ o(((e) => {
reconcilerVersion: "19.3.0"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
- var jh = __REACT_DEVTOOLS_GLOBAL_HOOK__;
- if (!jh.isDisabled && jh.supportsFiber) try {
- Xe = jh.inject(Ah), Ze = jh;
+ var Ah = __REACT_DEVTOOLS_GLOBAL_HOOK__;
+ if (!Ah.isDisabled && Ah.supportsFiber) try {
+ Xe = Ah.inject(kh), Ze = Ah;
} catch {}
}
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
var n = !1, r = "", o = pc, s = lee, c = mc;
- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = Km(e, 1, !1, null, null, n, r, null, o, s, c, Eh), e[St] = t.current, Ff(e), new Dh(t);
+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = Km(e, 1, !1, null, null, n, r, null, o, s, c, Th), e[St] = t.current, Ff(e), new Eh(t);
};
})), y = /* @__PURE__ */ o(((e, t) => {
function n() {
@@ -13088,64 +13088,81 @@ function ps(e, { drag: t = !1, fade: n = !0 } = {}) {
fade: n
}, a = new AbortController(), o = fs(e), s = null, c = 0, l = 0, u = 0, d = !1, f = 0, p = 0, m = 0, h = 0, g = (t, n) => {
e.dataset[t] !== n && (e.dataset[t] = n);
- }, _ = () => {
- i.fade && (g("overflowLeft", String(e.scrollLeft > 1)), g("overflowRight", String(e.scrollLeft + e.clientWidth < e.scrollWidth - 1)));
- }, v = (e, t, n, r = {}) => e.addEventListener(t, n, {
+ }, _ = () => [
+ "auto",
+ "scroll",
+ "hidden"
+ ].includes(getComputedStyle(e).overflowX), v = () => {
+ if (i.fade) {
+ let t = _();
+ g("overflowLeft", String(t && e.scrollLeft > 1)), g("overflowRight", String(t && e.scrollLeft + e.clientWidth < e.scrollWidth - 1));
+ }
+ }, y = (e, t, n, r = {}) => e.addEventListener(t, n, {
...r,
signal: a.signal
});
- v(e, "scroll", _, { passive: !0 });
- let y = (e) => {
+ y(e, "scroll", v, { passive: !0 });
+ let b = (e) => {
d || (d = !0, o.kick(e));
- }, b = () => {
+ }, x = () => {
cancelAnimationFrame(f), f = 0, h = 0;
- }, x = (t) => {
+ }, S = (t) => {
let n = Math.min(Math.max(t - p, 0), 64);
- if (p = t, m += (u - m) * (1 - Math.exp(-n / ss)), Math.abs(u - m) < .5 && (m = u), e.scrollLeft = m, m !== u) f = requestAnimationFrame(x);
+ if (p = t, m += (u - m) * (1 - Math.exp(-n / ss)), Math.abs(u - m) < .5 && (m = u), e.scrollLeft = m, m !== u) f = requestAnimationFrame(S);
else if (f = 0, h) {
let e = h;
- h = 0, y(e);
+ h = 0, b(e);
}
};
- v(e, "wheel", (t) => {
+ y(e, "wheel", (t) => {
let n = e.scrollWidth - e.clientWidth;
- if (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0) return;
+ if (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0 || !_()) return;
t.preventDefault();
let r = performance.now(), i = Math.abs(t.deltaY);
r > l && (d = !1), l = r + as;
let a = f ? u : e.scrollLeft, o = a + t.deltaY;
u = Math.min(n, Math.max(0, o));
let s = o === u ? 0 : t.deltaY;
- i < os || u === a ? (u !== a && (b(), e.scrollLeft = u), s && !f ? y(s) : s && (h = s)) : (s && (h = s), f ||= (m = e.scrollLeft, p = performance.now(), requestAnimationFrame(x)));
- }, { passive: !1 }), v(e, "mousedown", (t) => {
- !i.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || (t.stopPropagation(), b(), s = {
+ i < os || u === a ? (u !== a && (x(), e.scrollLeft = u), s && !f ? b(s) : s && (h = s)) : (s && (h = s), f ||= (m = e.scrollLeft, p = performance.now(), requestAnimationFrame(S)));
+ }, { passive: !1 }), y(e, "mousedown", (t) => {
+ !i.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || (t.stopPropagation(), x(), s = {
x: t.pageX,
left: e.scrollLeft
}, c = 0, e.style.cursor = "grabbing");
- }), v(window, "mousemove", (t) => {
+ }), y(window, "mousemove", (t) => {
if (!s) return;
let n = t.pageX - s.x, r = s.left - n, i = e.scrollWidth - e.clientWidth;
c = Math.max(c, Math.abs(n)), e.scrollLeft = r, o.drag(r < 0 ? r : r > i ? r - i : 0), t.preventDefault();
- }), v(window, "mouseup", () => {
+ }), y(window, "mouseup", () => {
s && o.release(), s = null, e.style.cursor = "";
- }), v(e, "click", (e) => {
+ }), y(e, "click", (e) => {
c > 6 && (e.stopPropagation(), e.preventDefault(), c = 0);
}, { capture: !0 });
- let S = new ResizeObserver(_);
- S.observe(e);
- let C = {
+ let C = new ResizeObserver(v), w = () => {
+ C.observe(e);
+ for (let t of e.children) C.observe(t);
+ v();
+ }, T = new MutationObserver(() => {
+ C.disconnect(), w();
+ });
+ T.observe(e, {
+ childList: !0,
+ characterData: !0,
+ subtree: !0
+ }), w();
+ let E = {
options: i,
- update: _,
+ update: v,
destroy() {
- a.abort(), b(), S.disconnect(), rs.delete(e), e.style.cursor = "", rs.size || (is?.disconnect(), is = null);
+ a.abort(), x(), C.disconnect(), T.disconnect(), rs.delete(e), e.style.cursor = "", rs.size || (is?.disconnect(), is = null);
}
};
- return rs.set(e, C), is || (is = new MutationObserver(() => {
+ return rs.set(e, E), is || (is = new MutationObserver(() => {
for (let [e, t] of rs) e.isConnected || t.destroy();
}), is.observe(document.body, {
childList: !0,
subtree: !0
- })), _(), C;
+ })), v(), E;
}
var ms = 24, hs = 2e3, gs = 3e3, _s = /* @__PURE__ */ new Map(), vs = /* @__PURE__ */ new Set(), ys = null;
function bs(e) {
@@ -16412,30 +16429,30 @@ function Km(e, t, n, r, i) {
let o;
if (!i) {
let i = n[r];
- o = qm(i) ?? e.read(t, r, i), `${r}`;
+ o = Tee(i) ?? e.read(t, r, i), `${r}`;
}
a = $p(o, { owner: i }), e(t, { [r]: a });
}
return a;
}, n, r, i);
}
-function qm(e) {
+function Tee(e) {
let t = Array.isArray(e) ? e[0] : void 0;
return t === null ? void 0 : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Jm(e) {
+function qm(e) {
return El(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function Ym(e) {
+function Jm(e) {
return El(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Xm(e, t, n) {
+function Ym(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -16448,7 +16465,7 @@ function Xm(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/effects/MotionValueState.mjs
-var Zm = class {
+var Xm = class {
constructor(e = wd.render) {
this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {
let { pending: e, numPending: t } = this;
@@ -16493,10 +16510,10 @@ var Zm = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs
-function Qm(e, { step: t, ...n } = {}) {
+function Zm(e, { step: t, ...n } = {}) {
let r = /* @__PURE__ */ new WeakMap();
return Object.assign((n, i) => {
- let a = r.get(n) ?? new Zm(t);
+ let a = r.get(n) ?? new Xm(t);
r.set(n, a);
let o = [];
for (let t in i) {
@@ -16514,34 +16531,34 @@ function Qm(e, { step: t, ...n } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/effects/style/transform.mjs
-var $m = {};
-function eh(e) {
+var Qm = {};
+function $m(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 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + ($m[i] || ($m[i] = (Ep[i] || i) + "(")) + Tp(a, vf[i]) + ")");
+ a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (Qm[i] || (Qm[i] = (Ep[i] || i) + "(")) + Tp(a, vf[i]) + ")");
}
let i = e.get("pathRotation")?.get();
return i && (t += (t && " ") + "rotate(" + Tp(i, vf.pathRotation) + ")"), t || "none";
}
//#endregion
//#region node_modules/motion-dom/dist/es/effects/style/index.mjs
-var th = /* @__PURE__ */ new Set([
+var eh = /* @__PURE__ */ new Set([
"originX",
"originY",
"originZ"
-]), nh = (e, t) => Tp(e.get(t)?.get(), yf[t]), rh = (e, t, n, r) => {
+]), th = (e, t) => Tp(e.get(t)?.get(), yf[t]), nh = (e, t, n, r) => {
let i, a;
if (Lf.has(n)) {
if (n !== "pathRotation") {
let e = t.transformKeys ??= [];
(t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => If.indexOf(e) - If.indexOf(t)));
}
- t.get("transform") || (!Jm(e) && !t.get("transformBox") && rh(e, t, "transformBox", new Qp("fill-box")), t.set("transform", new Qp("none"), () => {
- kp.get(e)?.check(), e.style.transform = eh(t);
+ t.get("transform") || (!qm(e) && !t.get("transformBox") && nh(e, t, "transformBox", new Qp("fill-box")), t.set("transform", new Qp("none"), () => {
+ kp.get(e)?.check(), e.style.transform = $m(t);
})), a = t.get("transform");
- } else th.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Qp(""), () => {
- let n = nh(t, "originX") ?? "50%", r = nh(t, "originY") ?? "50%", i = nh(t, "originZ") ?? 0;
+ } else eh.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Qp(""), () => {
+ let n = th(t, "originX") ?? "50%", r = th(t, "originY") ?? "50%", i = th(t, "originZ") ?? 0;
e.style.transformOrigin = `${n} ${r} ${i}`;
}), a = t.get("transformOrigin")) : i = $f(n) ? () => {
e.style.setProperty(n, r.getCurrent());
@@ -16549,17 +16566,17 @@ var th = /* @__PURE__ */ new Set([
e.style[n] = Tp(r.getCurrent(), yf[n]);
};
return t.set(n, r, i, a);
-}, ih = (e) => Jm(e) || Ym(e), ah = (e, t) => {
+}, rh = (e) => qm(e) || Jm(e), ih = (e, t) => {
if (Lf.has(t)) return Pf(e, t);
let n = getComputedStyle(e), r = $f(t) ? n.getPropertyValue(t) : n[t];
return typeof r == "string" && r.trim() || 0;
-}, oh = /*@__PURE__*/ Qm(rh, {
- test: ih,
- read: ah
+}, ah = /*@__PURE__*/ Zm(nh, {
+ test: rh,
+ read: ih
});
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function sh(e, t, n) {
+function oh(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
@@ -16577,21 +16594,21 @@ function sh(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
-var ch = {
+var sh = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, lh = {
+}, ch = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function uh(e, t, n = 1, r = 0, i = !0) {
+function lh(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? ch : lh;
+ let a = i ? sh : ch;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var dh = [
+var uh = [
"transform",
"opacity",
"clipPath",
@@ -16601,25 +16618,25 @@ var dh = [
"offsetRotate",
"offsetAnchor"
];
-function fh(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (sh(e, s, l), c) {
+function dh(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (oh(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 dh) 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 && uh(d, i, a, o, !1);
+ for (let e of uh) 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 && lh(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/effects/attr/index.mjs
-function ph(e, t) {
+function fh(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 mh = (e, t, n, r, i = n) => {
- let a = ph(e, i);
+var ph = (e, t, n, r, i = n) => {
+ let a = fh(e, i);
!a && (i.startsWith("data") || i.startsWith("aria")) && (i = Tm(i));
let o = yf[n] || yf[i], s = a ? () => {
e[i] = Tp(r.get(), yf[n]);
@@ -16631,7 +16648,7 @@ var mh = (e, t, n, r, i = n) => {
};
//#endregion
//#region node_modules/motion-dom/dist/es/effects/svg/index.mjs
-function hh(e, t, n, r) {
+function mh(e, t, n, r) {
return wd.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {
let t = r.get();
e.setAttribute("stroke-dashoffset", `${-t}`);
@@ -16640,16 +16657,16 @@ function hh(e, t, n, r) {
e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);
}), t.set(n, r, void 0, t.get("stroke-dasharray")));
}
-var gh = /*@__PURE__*/ Qm((e, t, n, r) => n.startsWith("path") ? hh(e, t, n, r) : n.startsWith("attr") ? mh(e, t, n, r, _h(n)) : (Lf.has(n) || th.has(n) || $f(n) || n in e.style ? rh : mh)(e, t, n, r), {
- test: Ym,
- read: (e, t) => Lf.has(t) ? yf[t]?.default || 0 : $f(t) || dh.includes(t) ? ah(e, t) || e.getAttribute(Tm(t)) || 0 : (t = _h(t), e.getAttribute(Tm(t)) ?? e.getAttribute(t) ?? void 0)
+var hh = /*@__PURE__*/ Zm((e, t, n, r) => n.startsWith("path") ? mh(e, t, n, r) : n.startsWith("attr") ? ph(e, t, n, r, gh(n)) : (Lf.has(n) || eh.has(n) || $f(n) || n in e.style ? nh : ph)(e, t, n, r), {
+ test: Jm,
+ read: (e, t) => Lf.has(t) ? yf[t]?.default || 0 : $f(t) || uh.includes(t) ? ih(e, t) || e.getAttribute(Tm(t)) || 0 : (t = gh(t), e.getAttribute(Tm(t)) ?? e.getAttribute(t) ?? void 0)
});
-function _h(e) {
+function gh(e) {
return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function vh({ top: e, left: t, right: n, bottom: r }) {
+function _h({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -16661,7 +16678,7 @@ function vh({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function yh({ x: e, y: t }) {
+function vh({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -16669,7 +16686,7 @@ function yh({ x: e, y: t }) {
left: e.min
};
}
-function bh(e, t) {
+function yh(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -16687,37 +16704,37 @@ function bh(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function xh(e) {
+function bh(e) {
return e === void 0 || e === 1;
}
-function Sh({ scale: e, scaleX: t, scaleY: n }) {
- return !xh(e) || !xh(t) || !xh(n);
+function xh({ scale: e, scaleX: t, scaleY: n }) {
+ return !bh(e) || !bh(t) || !bh(n);
+}
+function Sh(e) {
+ return xh(e) || Ch(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
function Ch(e) {
- return Sh(e) || wh(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+ return wh(e.x) || wh(e.y);
}
function wh(e) {
- return Th(e.x) || Th(e.y);
-}
-function Th(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function Eh(e, t, n) {
+function Th(e, t, n) {
return n + t * (e - n);
}
-function Dh(e, t, n, r, i) {
- return i !== void 0 && (e = Eh(e, i, r)), Eh(e, n, r) + t;
+function Eh(e, t, n, r, i) {
+ return i !== void 0 && (e = Th(e, i, r)), Th(e, n, r) + t;
}
-function Oh(e, t = 0, n = 1, r, i) {
- e.min = Dh(e.min, t, n, r, i), e.max = Dh(e.max, t, n, r, i);
+function Dh(e, t = 0, n = 1, r, i) {
+ e.min = Eh(e.min, t, n, r, i), e.max = Eh(e.max, t, n, r, i);
}
-function kh(e, { x: t, y: n }) {
- Oh(e.x, t.translate, t.scale, t.originPoint), Oh(e.y, n.translate, n.scale, n.originPoint);
+function Oh(e, { x: t, y: n }) {
+ Dh(e.x, t.translate, t.scale, t.originPoint), Dh(e.y, n.translate, n.scale, n.originPoint);
}
-var Ah = .999999999999, jh = 1.0000000000001;
-function Tee(e, t, n, r = !1) {
+var kh = .999999999999, Ah = 1.0000000000001;
+function Eee(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -16725,35 +16742,35 @@ function Tee(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Mh(e.x, -a.scroll.offset.x), Mh(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, kh(e, o)), r && Ch(a.latestValues) && Nh(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (jh(e.x, -a.scroll.offset.x), jh(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Oh(e, o)), r && Sh(a.latestValues) && Mh(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < jh && t.x > Ah && (t.x = 1), t.y < jh && t.y > Ah && (t.y = 1);
+ t.x < Ah && t.x > kh && (t.x = 1), t.y < Ah && t.y > kh && (t.y = 1);
}
-function Mh(e, t) {
+function jh(e, t) {
e.min += t, e.max += t;
}
-function Eee(e, t, n, r, i = .5) {
- Oh(e, t, n, rd(e.min, e.max, i), r);
+function Dee(e, t, n, r, i = .5) {
+ Dh(e, t, n, rd(e.min, e.max, i), r);
}
-function Dee(e, t) {
+function Oee(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function Nh(e, t, n) {
+function Mh(e, t, n) {
let r = n ?? e;
- Eee(e.x, Dee(t.x, r.x), t.scaleX, t.scale, t.originX), Eee(e.y, Dee(t.y, r.y), t.scaleY, t.scale, t.originY);
+ Dee(e.x, Oee(t.x, r.x), t.scaleX, t.scale, t.originX), Dee(e.y, Oee(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function Ph(e, t) {
- return vh(bh(e.getBoundingClientRect(), t));
+function Nh(e, t) {
+ return _h(yh(e.getBoundingClientRect(), t));
}
-function Oee(e, t, n) {
- let r = Ph(e, n), { scroll: i } = t;
- return i && (Mh(r.x, i.offset.x), Mh(r.y, i.offset.y)), r;
+function kee(e, t, n) {
+ let r = Nh(e, n), { scroll: i } = t;
+ return i && (jh(r.x, i.offset.x), jh(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/element.mjs
-var kee = {}, Aee = (e) => Ym(e) ? gh : oh, jee = class {
+var Aee = {}, jee = (e) => Jm(e) ? hh : ah, Mee = class {
constructor(e, t) {
this.effect = e, this.current = t, this.KeyframeResolver = Rm;
}
@@ -16767,20 +16784,20 @@ var kee = {}, Aee = (e) => Ym(e) ? gh : oh, jee = class {
this.effect.flush(this.current);
}
measureViewportBox() {
- return Ph(this.current);
+ return Nh(this.current);
}
getProps() {
- return kee;
+ return Aee;
}
};
-function Mee(e, t, n, r) {
+function Nee(e, t, n, r) {
if (r) return Gm((e) => r.getValue(e, null), t, n, r);
- let i = Aee(e);
- return Km(i, e, t, n, new jee(i, e));
+ let i = jee(e);
+ return Km(i, e, t, n, new Mee(i, e));
}
//#endregion
//#region node_modules/motion-dom/dist/es/effects/prop/index.mjs
-var Nee = /*@__PURE__*/ Qm((e, t, n, r) => t.set(n, r, () => {
+var Pee = /*@__PURE__*/ Zm((e, t, n, r) => t.set(n, r, () => {
e[n] = r.get();
}), {
test: (e) => El(e),
@@ -16788,26 +16805,26 @@ var Nee = /*@__PURE__*/ Qm((e, t, n, r) => t.set(n, r, () => {
let n = e[t];
return typeof n == "string" || typeof n == "number" ? n : void 0;
}
-}), { schedule: Fh, cancel: Pee } = /* @__PURE__ */ Cd(queueMicrotask, !1), Ih = {
+}), { schedule: Ph, cancel: Fee } = /* @__PURE__ */ Cd(queueMicrotask, !1), Fh = {
x: !1,
y: !1
};
-function Fee() {
- return Ih.x || Ih.y;
+function Iee() {
+ return Fh.x || Fh.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Iee(e) {
- return e === "x" || e === "y" ? Ih[e] ? null : (Ih[e] = !0, () => {
- Ih[e] = !1;
- }) : Ih.x || Ih.y ? null : (Ih.x = Ih.y = !0, () => {
- Ih.x = Ih.y = !1;
+function Lee(e) {
+ return e === "x" || e === "y" ? Fh[e] ? null : (Fh[e] = !0, () => {
+ Fh[e] = !1;
+ }) : Fh.x || Fh.y ? null : (Fh.x = Fh.y = !0, () => {
+ Fh.x = Fh.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function Lee(e, t) {
- let n = Xm(e), r = new AbortController();
+function Ree(e, t) {
+ let n = Ym(e), r = new AbortController();
return [
n,
{
@@ -16820,11 +16837,11 @@ function Lee(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Ree(e) {
- return !(e.pointerType === "touch" || Fee());
+function zee(e) {
+ return !(e.pointerType === "touch" || Iee());
}
-function zee(e, t, n = {}) {
- let [r, i, a] = Lee(e, n);
+function Bee(e, t, n = {}) {
+ let [r, i, a] = Ree(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -16838,7 +16855,7 @@ function zee(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!Ree(n)) return;
+ if (!zee(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -16847,125 +16864,125 @@ function zee(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var Bee = (e, t) => t ? e === t || Bee(e, t.parentElement) : !1, Lh = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Vee = /* @__PURE__ */ new Set([
+var Vee = (e, t) => t ? e === t || Vee(e, t.parentElement) : !1, Ih = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Hee = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Hee(e) {
- return Vee.has(e.tagName) || e.isContentEditable === !0;
+function Uee(e) {
+ return Hee.has(e.tagName) || e.isContentEditable === !0;
}
-var Uee = /* @__PURE__ */ new Set([
+var Wee = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Wee(e) {
- return Uee.has(e.tagName) || e.isContentEditable === !0;
+function Gee(e) {
+ return Wee.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var Rh = /* @__PURE__ */ new WeakSet();
+var Lh = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function Gee(e) {
+function Kee(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function zh(e, t) {
+function Rh(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Kee = (e, t) => {
+var qee = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = Gee(() => {
- if (Rh.has(n)) return;
- zh(n, "down");
- let e = Gee(() => {
- zh(n, "up");
+ let r = Kee(() => {
+ if (Lh.has(n)) return;
+ Rh(n, "down");
+ let e = Kee(() => {
+ Rh(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => zh(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Rh(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function qee(e) {
- return Lh(e) && !Fee();
+function Jee(e) {
+ return Ih(e) && !Iee();
}
-var Jee = /* @__PURE__ */ new WeakSet();
-function Yee(e, t, n = {}) {
- let [r, i, a] = Lee(e, n), o = (e) => {
+var Yee = /* @__PURE__ */ new WeakSet();
+function Xee(e, t, n = {}) {
+ let [r, i, a] = Ree(e, n), o = (e) => {
let r = e.currentTarget;
- if (!qee(e) || Jee.has(e)) return;
- Rh.add(r), n.stopPropagation && Jee.add(e);
+ if (!Jee(e) || Yee.has(e)) return;
+ Lh.add(r), n.stopPropagation && Yee.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Rh.has(r) && Rh.delete(r), qee(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Lh.has(r) && Lh.delete(r), Jee(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || Bee(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || Vee(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), Jm(e) && (e.addEventListener("focus", (e) => Kee(e, i)), !Hee(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), qm(e) && (e.addEventListener("focus", (e) => qee(e, i)), !Uee(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function Xee(e, t) {
+function Zee(e, t) {
let n = window.getComputedStyle(e);
return $f(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Bh = /* @__PURE__ */ new WeakMap(), Vh, Zee = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Ym(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Qee = /*@__PURE__*/ Zee("inline", "width", "offsetWidth"), $ee = /*@__PURE__*/ Zee("block", "height", "offsetHeight");
-function ete({ target: e, borderBoxSize: t }) {
- Bh.get(e)?.forEach((n) => {
+var zh = /* @__PURE__ */ new WeakMap(), Bh, Qee = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Jm(r) && "getBBox" in r ? r.getBBox()[t] : r[n], $ee = /*@__PURE__*/ Qee("inline", "width", "offsetWidth"), ete = /*@__PURE__*/ Qee("block", "height", "offsetHeight");
+function tte({ target: e, borderBoxSize: t }) {
+ zh.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Qee(e, t);
+ return $ee(e, t);
},
get height() {
- return $ee(e, t);
+ return ete(e, t);
}
});
});
}
-function tte(e) {
- e.forEach(ete);
+function nte(e) {
+ e.forEach(tte);
}
-function nte() {
- typeof ResizeObserver < "u" && (Vh = new ResizeObserver(tte));
+function rte() {
+ typeof ResizeObserver < "u" && (Bh = new ResizeObserver(nte));
}
-function rte(e, t) {
- Vh || nte();
- let n = Xm(e);
+function ite(e, t) {
+ Bh || rte();
+ let n = Ym(e);
return n.forEach((e) => {
- let n = Bh.get(e);
- n || (n = /* @__PURE__ */ new Set(), Bh.set(e, n)), n.add(t), Vh?.observe(e);
+ let n = zh.get(e);
+ n || (n = /* @__PURE__ */ new Set(), zh.set(e, n)), n.add(t), Bh?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Bh.get(e);
- n?.delete(t), n?.size || Vh?.unobserve(e);
+ let n = zh.get(e);
+ n?.delete(t), n?.size || Bh?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Hh = /* @__PURE__ */ new Set(), Uh;
-function ite() {
- Uh = () => {
+var Vh = /* @__PURE__ */ new Set(), Hh;
+function ate() {
+ Hh = () => {
let e = {
get width() {
return window.innerWidth;
@@ -16974,47 +16991,47 @@ function ite() {
return window.innerHeight;
}
};
- Hh.forEach((t) => t(e));
- }, window.addEventListener("resize", Uh);
+ Vh.forEach((t) => t(e));
+ }, window.addEventListener("resize", Hh);
}
-function ate(e) {
- return Hh.add(e), Uh || ite(), () => {
- Hh.delete(e), !Hh.size && typeof Uh == "function" && (window.removeEventListener("resize", Uh), Uh = void 0);
+function ote(e) {
+ return Vh.add(e), Hh || ate(), () => {
+ Vh.delete(e), !Vh.size && typeof Hh == "function" && (window.removeEventListener("resize", Hh), Hh = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function ote(e, t) {
- return typeof e == "function" ? ate(e) : rte(e, t);
+function ste(e, t) {
+ return typeof e == "function" ? ote(e) : ite(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var Wh = {
+var Uh = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function ste(e) {
- return Ym(e) && e.tagName === "svg";
+function cte(e) {
+ return Jm(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function cte(...e) {
+function lte(...e) {
let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = Gd(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/FollowAnimation.mjs
-var Gh = /* @__PURE__ */ new Set(), lte = ({ timestamp: e }) => {
- Gh.forEach((t) => t.tick(e));
-}, ute = class extends cf {
+var Wh = /* @__PURE__ */ new Set(), ute = ({ timestamp: e }) => {
+ Wh.forEach((t) => t.tick(e));
+}, dte = class extends cf {
constructor(e) {
super(), this.state = "idle", this.startTime = 0, this.currentTime = 0, this.started = !1, this.hasNextTarget = !1, this.nextTarget = 0, this.stop = () => {
this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.factory = e.type, this.generator = this.factory(e);
let { driver: t } = e;
- t && (this.driver = t((e) => this.tick(e))), this.startTime = this.now(), this.state = "running", this.driver ? this.driver.start() : (Gh.size || wd.update(lte, !0), Gh.add(this));
+ t && (this.driver = t((e) => this.tick(e))), this.startTime = this.now(), this.state = "running", this.driver ? this.driver.start() : (Wh.size || wd.update(ute, !0), Wh.add(this));
}
setTarget(e, t) {
this.nextTarget = e, this.nextVelocity = t, this.hasNextTarget = !0;
@@ -17041,25 +17058,25 @@ var Gh = /* @__PURE__ */ new Set(), lte = ({ timestamp: e }) => {
return this.driver ? this.driver.now() : ou.now();
}
teardown() {
- this.state = "idle", this.driver ? this.driver.stop() : (Gh.delete(this), Gh.size || Td(lte));
+ this.state = "idle", this.driver ? this.driver.stop() : (Wh.delete(this), Wh.size || Td(ute));
}
-}, Kh = (e) => typeof e == "number" ? e : parseFloat(e);
+}, Gh = (e) => typeof e == "number" ? e : parseFloat(e);
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/follow.mjs
-function dte(e, t, n) {
+function fte(e, t, n) {
let r = e.get(), i = null, a, o = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, s = (e) => a(o ? e + o : e), c = () => e.events.animationStart?.notify(), l = () => {
i &&= (i.stop(), null), e.animation = void 0;
};
if (e.attach((t, r) => {
a = r;
- let o = Kh(t);
+ let o = Gh(t);
if (i?.state === "running") {
i.setTarget(o, n.velocity);
return;
}
- let u = Kh(e.get()), d = i ? i.getGeneratorVelocity() : e.getVelocity();
+ let u = Gh(e.get()), d = i ? i.getGeneratorVelocity() : e.getVelocity();
if (l(), u === o) return;
- let f = i = new ute({
+ let f = i = new dte({
keyframes: [u, o],
velocity: d,
restDelta: .001,
@@ -17073,7 +17090,7 @@ function dte(e, t, n) {
});
}, l), Sm(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(fte(t, o), !1)) : e.set(fte(t, o));
+ r ? (r = !1, e.jump(pte(t, o), !1)) : e.set(pte(t, o));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -17081,47 +17098,47 @@ function dte(e, t, n) {
}
return l;
}
-function fte(e, t) {
+function pte(e, t) {
return t ? e + t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/spring-value.mjs
-function pte(e, t, n) {
- return dte(e, t, {
+function mte(e, t, n) {
+ return fte(e, t, {
...n,
type: Hd
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/models.mjs
-var mte = () => ({
+var hte = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
+}), Kh = () => ({
+ x: hte(),
+ y: hte()
}), qh = () => ({
- x: mte(),
- y: mte()
-}), Jh = () => ({
min: 0,
max: 0
-}), Yh = () => ({
- x: Jh(),
- y: Jh()
-}), Xh = /* @__PURE__ */ new WeakMap();
+}), Jh = () => ({
+ x: qh(),
+ y: qh()
+}), Yh = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function Zh(e) {
+function Xh(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function Qh(e) {
+function Zh(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var $h = [
+var Qh = [
"animate",
"whileInView",
"whileFocus",
@@ -17129,20 +17146,20 @@ var $h = [
"whileTap",
"whileDrag",
"exit"
-], eg = ["initial", ...$h];
+], $h = ["initial", ...Qh];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function tg(e) {
- if (Zh(e.animate)) return !0;
- for (let t = 0; t < eg.length; t++) if (Qh(e[eg[t]])) return !0;
+function eg(e) {
+ if (Xh(e.animate)) return !0;
+ for (let t = 0; t < $h.length; t++) if (Zh(e[$h[t]])) return !0;
return !1;
}
-function ng(e) {
- return !!(tg(e) || e.variants);
+function tg(e) {
+ return !!(eg(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function hte(e, t, n) {
+function gte(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
if (Sm(i)) e.addValue(r, i);
@@ -17162,18 +17179,18 @@ function hte(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var rg = { current: null }, ig = { current: !1 }, gte = typeof window < "u";
-function ag() {
- if (ig.current = !0, gte) {
+var ng = { current: null }, rg = { current: !1 }, _te = typeof window < "u";
+function ig() {
+ if (rg.current = !0, _te) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => rg.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => ng.current = e.matches;
e.addEventListener("change", t), t();
- } else rg.current = !1;
+ } else ng.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var og = [
+var ag = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -17181,14 +17198,14 @@ var og = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], sg = {};
-function cg(e) {
- sg = e;
+], og = {};
+function sg(e) {
+ og = e;
}
-function _te() {
- return sg;
+function vte() {
+ return og;
}
-var vte = class {
+var yte = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
@@ -17200,7 +17217,7 @@ var vte = class {
this.renderScheduledAt < e && (this.renderScheduledAt = e, wd.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 = tg(t), this.isVariantNode = ng(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 = eg(t), this.isVariantNode = tg(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];
@@ -17209,7 +17226,7 @@ var vte = class {
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- if (this.current = e, Xh.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {
+ if (this.current = e, Yh.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {
let e = this;
do
e = e.props.inherit !== !1 && e.parent;
@@ -17219,7 +17236,7 @@ var vte = 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 : (ig.current || ag(), this.shouldReduceMotion = rg.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 : (rg.current || ig(), this.shouldReduceMotion = ng.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection && this.projection.unmount(), Td(this.notifyUpdate), Td(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
@@ -17265,8 +17282,8 @@ var vte = class {
}
updateFeatures() {
let e = "animation";
- for (e in sg) {
- let t = sg[e];
+ for (e in og) {
+ let t = og[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]) {
@@ -17279,7 +17296,7 @@ var vte = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Yh();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Jh();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -17290,13 +17307,13 @@ var vte = class {
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
(e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && kp.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < og.length; t++) {
- let n = og[t];
+ for (let t = 0; t < ag.length; t++) {
+ let n = ag[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = hte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = gte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -17345,9 +17362,9 @@ var vte = class {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- Fh.render(this.render);
+ Ph.render(this.render);
}
-}, lg = class extends vte {
+}, cg = class extends yte {
constructor() {
super(...arguments), this.KeyframeResolver = Rm;
}
@@ -17368,7 +17385,7 @@ var vte = class {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, ug = class {
+}, lg = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -17376,35 +17393,35 @@ var vte = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function dg(e, { style: t, vars: n }, r, i) {
+function ug(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]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs
-var fg = {};
+var dg = {};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function pg(e, { layout: t, layoutId: n }) {
- return Lf.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!fg[e] || e === "opacity");
+function fg(e, { layout: t, layoutId: n }) {
+ return Lf.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!dg[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function mg(e, t, n) {
+function pg(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (Sm(r[t]) || i && Sm(i[t]) || pg(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (Sm(r[t]) || i && Sm(i[t]) || fg(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function yte(e) {
+function bte(e) {
return window.getComputedStyle(e);
}
-var bte = class extends lg {
+var xte = class extends cg {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = dg;
+ super(...arguments), this.type = "html", this.renderInstance = ug;
}
mount(e) {
e.style, super.mount(e);
@@ -17412,20 +17429,20 @@ var bte = class extends lg {
readValueFromInstance(e, t) {
if (Lf.has(t)) return this.projection?.isProjecting ? Mf(t) : Pf(e, t);
{
- let n = yte(e), r = (lu(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = bte(e), r = (lu(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return Ph(e, t);
+ return Nh(e, t);
}
build(e, t, n) {
- sh(e, t, n.transformTemplate);
+ oh(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return mg(e, t, n);
+ return pg(e, t, n);
}
-}, hg = /* @__PURE__ */ new Set([
+}, mg = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -17449,17 +17466,17 @@ var bte = class extends lg {
"startOffset",
"textLength",
"lengthAdjust"
-]), gg = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), hg = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function xte(e, t, n, r) {
- dg(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(hg.has(n) ? n : Tm(n), t.attrs[n]);
+function Ste(e, t, n, r) {
+ ug(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(mg.has(n) ? n : Tm(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function _g(e, t, n) {
- let r = mg(e, t, n);
+function gg(e, t, n) {
+ let r = pg(e, t, n);
for (let n in e) if (Sm(e[n]) || Sm(t[n])) {
let t = If.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
@@ -17468,9 +17485,9 @@ function _g(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var Ste = class extends lg {
+var Cte = class extends cg {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Yh;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Jh;
}
getBaseTargetFromProps(e, t) {
return Lf.has(t) ? super.getBaseTargetFromProps(e, t) ?? Mf(t) : e[t];
@@ -17483,28 +17500,28 @@ var Ste = class extends lg {
let e = xf(t);
return e && e.default || 0;
}
- if (dh.includes(t)) {
+ if (uh.includes(t)) {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = hg.has(t) ? t : Tm(t), e.getAttribute(t);
+ return t = mg.has(t) ? t : Tm(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return _g(e, t, n);
+ return gg(e, t, n);
}
build(e, t, n) {
- fh(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ dh(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- xte(e, t, n, r);
+ Ste(e, t, n, r);
}
mount(e) {
- this.isSVGTag = gg(e.tagName), super.mount(e);
+ this.isSVGTag = hg(e.tagName), super.mount(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function vg(e, t) {
+function _g(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -17513,19 +17530,19 @@ function vg(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Cte = [...$h].reverse();
-function wte(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Mm(e, t, n))), n = yg(), r = !0, i = !1;
+var wte = [...Qh].reverse();
+function Tte(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Mm(e, t, n))), n = vg(), r = !0, i = !1;
function a(a) {
let { props: o, parent: s, manuallyAnimateOnMount: c } = e, l = r || i, u = [], d = /* @__PURE__ */ new Set(), f = {}, p = Infinity, m = e;
do
m = m.props.inherit !== !1 && m.parent;
while (m && !m.isControllingVariants);
- if (Cte.forEach((t, r) => {
- let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? Qh(g) || g === !1 ? g : void 0 : h, v = Qh(_), y = t === a ? i.isActive : null;
+ if (wte.forEach((t, r) => {
+ let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? Zh(g) || g === !1 ? g : void 0 : h, v = Zh(_), y = t === a ? i.isActive : null;
y === !1 && (p = r);
let b = v && h === void 0 && !(l && c);
- if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || Zh(_) || typeof _ == "boolean") return;
+ if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || Xh(_) || typeof _ == "boolean") return;
if (t === "exit" && i.isActive && y !== !0) {
f = {
...f,
@@ -17533,7 +17550,7 @@ function wte(e) {
};
return;
}
- let x = Tte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};
+ let x = Ete(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};
if (y !== !1) for (let n of w) {
let { transition: r, transitionEnd: i, ...a } = hm(e, n, gm(e, t)) || {};
T = {
@@ -17548,7 +17565,7 @@ function wte(e) {
...T
}) {
if (t in f) continue;
- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !vg(n, r) || x : n !== r;
+ let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !_g(n, r) || x : n !== r;
if (a && n == null) d.add(t);
else if (a || n !== void 0 && d.has(t)) {
S = !0, d.delete(t) && (C = !0), i.needsAnimating[t] = !0;
@@ -17597,16 +17614,16 @@ function wte(e) {
},
getState: () => n,
reset: () => {
- n = yg(), i = !0;
+ n = vg(), i = !0;
}
};
}
-function Tte(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !vg(t, e) : !1;
+function Ete(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !_g(t, e) : !1;
}
-function yg() {
+function vg() {
let e = {};
- for (let t of $h) e[t] = {
+ for (let t of Qh) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -17616,112 +17633,112 @@ function yg() {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function bg(e, t) {
+function yg(e, t) {
e.min = t.min, e.max = t.max;
}
-function xg(e, t) {
- bg(e.x, t.x), bg(e.y, t.y);
+function bg(e, t) {
+ yg(e.x, t.x), yg(e.y, t.y);
}
-function Sg(e, t) {
+function xg(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var Ete = .9999, Dte = 1.0001, Ote = -.01, kte = .01;
-function Cg(e) {
+var Dte = .9999, Ote = 1.0001, kte = -.01, Ate = .01;
+function Sg(e) {
return e.max - e.min;
}
-function Ate(e, t, n) {
+function jte(e, t, n) {
return Math.abs(e - t) <= n;
}
-function wg(e, t, n, r = .5) {
- e.origin = r, e.originPoint = rd(t.min, t.max, e.origin), e.scale = Cg(n) / Cg(t), e.translate = rd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ete && e.scale <= Dte || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Ote && e.translate <= kte || isNaN(e.translate)) && (e.translate = 0);
+function Cg(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = rd(t.min, t.max, e.origin), e.scale = Sg(n) / Sg(t), e.translate = rd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Dte && e.scale <= Ote || isNaN(e.scale)) && (e.scale = 1), (e.translate >= kte && e.translate <= Ate || isNaN(e.translate)) && (e.translate = 0);
}
-function Tg(e, t, n, r) {
- wg(e.x, t.x, n.x, r ? r.originX : void 0), wg(e.y, t.y, n.y, r ? r.originY : void 0);
+function wg(e, t, n, r) {
+ Cg(e.x, t.x, n.x, r ? r.originX : void 0), Cg(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function Eg(e, t, n, r = 0) {
- e.min = (r ? rd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Cg(t);
+function Tg(e, t, n, r = 0) {
+ e.min = (r ? rd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Sg(t);
}
-function jte(e, t, n, r) {
- Eg(e.x, t.x, n.x, r?.x), Eg(e.y, t.y, n.y, r?.y);
+function Mte(e, t, n, r) {
+ Tg(e.x, t.x, n.x, r?.x), Tg(e.y, t.y, n.y, r?.y);
}
-function Dg(e, t, n, r = 0) {
+function Eg(e, t, n, r = 0) {
let i = r ? rd(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + Cg(t);
+ e.min = t.min - i, e.max = e.min + Sg(t);
}
-function Og(e, t, n, r) {
- Dg(e.x, t.x, n.x, r?.x), Dg(e.y, t.y, n.y, r?.y);
+function Dg(e, t, n, r) {
+ Eg(e.x, t.x, n.x, r?.x), Eg(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function kg(e, t, n, r, i) {
- return e -= t, e = Eh(e, 1 / n, r), i !== void 0 && (e = Eh(e, 1 / i, r)), e;
+function Og(e, t, n, r, i) {
+ return e -= t, e = Th(e, 1 / n, r), i !== void 0 && (e = Th(e, 1 / i, r)), e;
}
-function Mte(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function Nte(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (ku.test(t) && (t = parseFloat(t), t = rd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = rd(a.min, a.max, r);
- e === a && (s -= t), e.min = kg(e.min, t, n, s, i), e.max = kg(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = Og(e.min, t, n, s, i), e.max = Og(e.max, t, n, s, i);
}
-function Ag(e, t, [n, r, i], a, o) {
- Mte(e, t[n], t[r], t[i], t.scale, a, o);
+function kg(e, t, [n, r, i], a, o) {
+ Nte(e, t[n], t[r], t[i], t.scale, a, o);
}
-var Nte = [
+var Pte = [
"x",
"scaleX",
"originX"
-], Pte = [
+], Fte = [
"y",
"scaleY",
"originY"
];
-function jg(e, t, n, r) {
- Ag(e.x, t, Nte, n ? n.x : void 0, r ? r.x : void 0), Ag(e.y, t, Pte, n ? n.y : void 0, r ? r.y : void 0);
+function Ag(e, t, n, r) {
+ kg(e.x, t, Pte, n ? n.x : void 0, r ? r.x : void 0), kg(e.y, t, Fte, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function Mg(e) {
+function jg(e) {
return e.translate === 0 && e.scale === 1;
}
-function Ng(e) {
- return Mg(e.x) && Mg(e.y);
+function Mg(e) {
+ return jg(e.x) && jg(e.y);
}
-function Pg(e, t) {
+function Ng(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Fte(e, t) {
- return Pg(e.x, t.x) && Pg(e.y, t.y);
+function Ite(e, t) {
+ return Ng(e.x, t.x) && Ng(e.y, t.y);
}
-function Fg(e, t) {
+function Pg(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function Ig(e, t) {
- return Fg(e.x, t.x) && Fg(e.y, t.y);
+function Fg(e, t) {
+ return Pg(e.x, t.x) && Pg(e.y, t.y);
}
-function Lg(e) {
- return Cg(e.x) / Cg(e.y);
+function Ig(e) {
+ return Sg(e.x) / Sg(e.y);
}
-function Rg(e, t) {
+function Lg(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function zg(e) {
+function Rg(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function Bg(e, t) {
+function zg(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var Vg = { correct: (e, t) => {
+var Bg = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (Au.test(e)) e = parseFloat(e);
else return e;
}
- return `${Bg(e, t.target.x)}% ${Bg(e, t.target.y)}%`;
-} }, Ite = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ return `${zg(e, t.target.x)}% ${zg(e, t.target.y)}%`;
+} }, Lte = { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = $u.parse(e);
if (i.length > 5) return r;
let a = $u.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
@@ -17731,7 +17748,7 @@ var Vg = { correct: (e, t) => {
} };
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function Lte(e, t, n) {
+function Rte(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -17742,36 +17759,36 @@ function Lte(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var Rte = zm.length, Hg = (e) => typeof e == "number" || Au.test(e);
-function zte(e, t, n, r, i, a) {
- i ? (e.opacity = rd(0, n.opacity ?? 1, Bte(r)), e.opacityExit = rd(t.opacity ?? 1, 0, Vte(r))) : a && (e.opacity = rd(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < Rte; i++) {
- let a = zm[i], o = Ug(t, a), s = Ug(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Hg(o) === Hg(s) ? (e[a] = Math.max(rd(Kh(o), Kh(s), r), 0), (ku.test(s) || ku.test(o)) && (e[a] += "%")) : e[a] = s);
+var zte = zm.length, Vg = (e) => typeof e == "number" || Au.test(e);
+function Bte(e, t, n, r, i, a) {
+ i ? (e.opacity = rd(0, n.opacity ?? 1, Vte(r)), e.opacityExit = rd(t.opacity ?? 1, 0, Hte(r))) : a && (e.opacity = rd(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < zte; i++) {
+ let a = zm[i], o = Hg(t, a), s = Hg(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Vg(o) === Vg(s) ? (e[a] = Math.max(rd(Gh(o), Gh(s), r), 0), (ku.test(s) || ku.test(o)) && (e[a] += "%")) : e[a] = s);
}
(t.rotate || n.rotate) && (e.rotate = rd(t.rotate || 0, n.rotate || 0, r));
}
-function Ug(e, t) {
+function Hg(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var Bte = /*@__PURE__*/ Wg(0, .5, Kl), Vte = /*@__PURE__*/ Wg(.5, .95, kl);
-function Wg(e, t, n) {
+var Vte = /*@__PURE__*/ Ug(0, .5, Kl), Hte = /*@__PURE__*/ Ug(.5, .95, kl);
+function Ug(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ jl(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function Gg(e, t, n) {
+function Wg(e, t, n) {
let r = Sm(e) ? e : $p(e);
return r.start(lm("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function Kg(e, t, n, r = { passive: !0 }) {
+function Gg(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var Hte = (e, t) => e.depth - t.depth, Ute = class {
+var Ute = (e, t) => e.depth - t.depth, Wte = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -17782,12 +17799,12 @@ var Hte = (e, t) => e.depth - t.depth, Ute = class {
Sl(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Hte), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Ute), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function Wte(e, t) {
+function Gte(e, t) {
let n = ou.now(), r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (Td(r), e(a - t));
@@ -17796,12 +17813,12 @@ function Wte(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function qg(e) {
+function Kg(e) {
return Sm(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Gte = class {
+var Kte = class {
constructor() {
this.members = [];
}
@@ -17847,42 +17864,42 @@ var Gte = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, Kte = {
+}, qte = {
borderRadius: {
- ...Vg,
+ ...Bg,
applyTo: [...zm]
},
- borderTopLeftRadius: Vg,
- borderTopRightRadius: Vg,
- borderBottomLeftRadius: Vg,
- borderBottomRightRadius: Vg,
- boxShadow: Ite
-}, Jg = {
+ borderTopLeftRadius: Bg,
+ borderTopRightRadius: Bg,
+ borderBottomLeftRadius: Bg,
+ borderBottomRightRadius: Bg,
+ boxShadow: Lte
+}, qg = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs
-Object.assign(fg, {
- ...Kte,
- ...fg
+Object.assign(dg, {
+ ...qte,
+ ...dg
});
-var Yg = {
+var Jg = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, Xg = [
+}, Yg = [
"",
"X",
"Y",
"Z"
-], qte = 1e3, Jte = 0;
-function Zg(e, t, n, r) {
+], Jte = 1e3, Yte = 0;
+function Xg(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var Qg = ({ instance: e }) => e && kp.get(e)?.demote();
-function $g(e) {
+var Zg = ({ instance: e }) => e && kp.get(e)?.demote();
+function Qg(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
@@ -17892,21 +17909,21 @@ function $g(e) {
window.MotionCancelOptimisedAnimation(n, "transform", wd, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && $g(r);
+ r && !r.hasCheckedOptimisedAppear && Qg(r);
}
-function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function $g({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = Jte++, 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 = Yte++, 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, Wh.value && (Yg.nodes = Yg.calculatedTargetDeltas = Yg.calculatedProjections = 0), this.nodes.forEach(Zte), this.nodes.forEach(ane), this.nodes.forEach(one), this.nodes.forEach(Qte), Wh.addProjectionMetrics && Wh.addProjectionMetrics(Yg);
+ this.projectionUpdateScheduled = !1, Uh.value && (Jg.nodes = Jg.calculatedTargetDeltas = Jg.calculatedProjections = 0), this.nodes.forEach(Qte), this.nodes.forEach(one), this.nodes.forEach(sne), this.nodes.forEach($te), Uh.addProjectionMetrics && Uh.addProjectionMetrics(Jg);
}, 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 Ute());
+ this.root === this && (this.nodes = new Wte());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Ml()), this.eventHandlers.get(e).add(t);
@@ -17920,7 +17937,7 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = Ym(t) && !ste(t), this.instance = t;
+ this.isSVG = Jm(t) && !cte(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 && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -17928,7 +17945,7 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Wte(i, 250), Jg.hasAnimatedSinceResize && (Jg.hasAnimatedSinceResize = !1, this.nodes.forEach(r_)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Gte(i, 250), qg.hasAnimatedSinceResize && (qg.hasAnimatedSinceResize = !1, this.nodes.forEach(n_)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -17936,7 +17953,7 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || dne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Ig(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || fne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Fg(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
@@ -17945,7 +17962,7 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || r_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || n_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
@@ -17964,7 +17981,7 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(sne), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(cne), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -17975,11 +17992,11 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && $g(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
- Qg(this), this.isLayoutDirty = !0;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Qg(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ Zg(this), this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
- t.shouldResetTransform = !0, Qg(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, Zg(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;
@@ -17989,22 +18006,22 @@ function e_({ 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(ene), this.nodes.forEach(t_);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(tne), this.nodes.forEach(e_);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(n_);
+ this.nodes.forEach(t_);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(nne), this.nodes.forEach(rne), this.nodes.forEach(ine), this.nodes.forEach(Yte), this.nodes.forEach(Xte)) : this.nodes.forEach(n_), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(rne), this.nodes.forEach(ine), this.nodes.forEach(ane), this.nodes.forEach(Xte), this.nodes.forEach(Zte)) : this.nodes.forEach(t_), this.clearAllSnapshots();
let e = ou.now();
ru.delta = Cl(0, 1e3 / 60, e - ru.timestamp), ru.timestamp = e, ru.isProcessing = !0, Ed.update.process(ru), Ed.preRender.process(ru), Ed.render.process(ru), ru.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, Fh.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, Ph.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach($te), this.sharedNodes.forEach(cne);
+ this.nodes.forEach(ene), this.sharedNodes.forEach(lne);
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, wd.preRender(this.updateProjection, !1, !0));
@@ -18015,13 +18032,13 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Cg(this.snapshot.measuredBox.x) && !Cg(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Sg(this.snapshot.measuredBox.x) && !Sg(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 ||= Yh(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutCorrected ||= Jh(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -18041,13 +18058,13 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
resetTransform() {
if (!i) return;
let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;
- e && Qg(this);
- let t = this.projectionDelta && !Ng(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || Ch(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ e && Zg(this);
+ let t = this.projectionDelta && !Mg(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Sh(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)), fne(n), {
+ return e && (n = this.removeTransform(n)), pne(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -18057,42 +18074,42 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return Yh();
+ if (!e) return Jh();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(pne))) {
+ if (!(this.scroll?.wasRoot || this.path.some(mne))) {
let { scroll: e } = this.root;
- e && (Mh(t.x, e.offset.x), Mh(t.y, e.offset.y));
+ e && (jh(t.x, e.offset.x), jh(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = Yh();
- if (xg(t, e), this.scroll?.wasRoot) return t;
+ let t = Jh();
+ if (bg(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 && xg(t, e), Mh(t.x, i.offset.x), Mh(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && bg(t, e), jh(t.x, i.offset.x), jh(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || Yh();
- xg(r, e);
+ let r = n || Jh();
+ bg(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (Mh(r.x, -n.scroll.offset.x), Mh(r.y, -n.scroll.offset.y)), Ch(n.latestValues) && Nh(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (jh(r.x, -n.scroll.offset.x), jh(r.y, -n.scroll.offset.y)), Sh(n.latestValues) && Mh(r, n.latestValues, n.layout?.layoutBox);
}
- return Ch(this.latestValues) && Nh(r, this.latestValues, this.layout?.layoutBox), r;
+ return Sh(this.latestValues) && Mh(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = Yh();
- xg(t, e);
+ let t = Jh();
+ bg(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!Ch(n.latestValues)) continue;
+ if (!Sh(n.latestValues)) continue;
let r;
- n.instance && (Sh(n.latestValues) && n.updateSnapshot(), r = Yh(), xg(r, n.measurePageBox())), jg(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (xh(n.latestValues) && n.updateSnapshot(), r = Jh(), bg(r, n.measurePageBox())), Ag(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Ch(this.latestValues) && jg(t, this.latestValues), t;
+ return Sh(this.latestValues) && Ag(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -18119,16 +18136,16 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = ru.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 = Yh(), this.targetWithTransforms = Yh()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), jte(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : xg(this.target, this.layout.layoutBox), kh(this.target, this.targetDelta)) : xg(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Wh.value && Yg.calculatedTargetDeltas++);
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Jh(), this.targetWithTransforms = Jh()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Mte(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : bg(this.target, this.layout.layoutBox), Oh(this.target, this.targetDelta)) : bg(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Uh.value && Jg.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || Sh(this.parent.latestValues) || wh(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || xh(this.parent.latestValues) || Ch(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 = Yh(), this.relativeTargetOrigin = Yh(), Og(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), xg(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Jh(), this.relativeTargetOrigin = Jh(), Dg(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), bg(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -18138,11 +18155,11 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === ru.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- xg(this.layoutCorrected, this.layout.layoutBox);
+ bg(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- Tee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Yh());
+ Eee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Jh());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Sg(this.prevProjectionDelta.x, this.projectionDelta.x), Sg(this.prevProjectionDelta.y, this.projectionDelta.y)), Tg(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Rg(this.projectionDelta.x, this.prevProjectionDelta.x) || !Rg(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Wh.value && Yg.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (xg(this.prevProjectionDelta.x, this.projectionDelta.x), xg(this.prevProjectionDelta.y, this.projectionDelta.y)), wg(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Lg(this.projectionDelta.x, this.prevProjectionDelta.x) || !Lg(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Uh.value && Jg.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -18158,22 +18175,22 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = qh(), this.projectionDelta = qh(), this.projectionDeltaWithTransform = qh();
+ this.prevProjectionDelta = Kh(), this.projectionDelta = Kh(), this.projectionDeltaWithTransform = Kh();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = qh();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Kh();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = Yh(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(une));
+ let s = Jh(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(dne));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = rd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = rd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (i_(o.x, e.x, n), i_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Og(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), lne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Fte(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Yh(), xg(f, this.relativeTarget)), c && (this.animationValues = a, zte(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = rd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = rd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (r_(o.x, e.x, n), r_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Dg(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), une(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ite(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Jh(), bg(f, this.relativeTarget)), c && (this.animationValues = a, Bte(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Td(this.pendingAnimation), void 0), this.pendingAnimation = wd.update(() => {
- Jg.hasAnimatedSinceResize = !0, this.motionValue ||= $p(0), this.motionValue.jump(0, !1), this.currentAnimation = Gg(this.motionValue, [0, 1e3], {
+ qg.hasAnimatedSinceResize = !0, this.motionValue ||= $p(0), this.motionValue.jump(0, !1), this.currentAnimation = Wg(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -18192,23 +18209,23 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(qte), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Jte), 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 && l_(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
- i = this.target || Yh();
- let t = Cg(this.layout.layoutBox.x);
+ if (this !== e && this.layout && n && c_(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ i = this.target || Jh();
+ let t = Sg(this.layout.layoutBox.x);
i.x.min = e.target.x.min, i.x.max = i.x.min + t;
- let n = Cg(this.layout.layoutBox.y);
+ let n = Sg(this.layout.layoutBox.y);
i.y.min = e.target.y.min, i.y.max = i.y.min + n;
}
- xg(t, i), Nh(t, r), Tg(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ bg(t, i), Mh(t, r), wg(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Gte()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Kte()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -18245,8 +18262,8 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && Zg("z", e, r, this.animationValues);
- for (let t = 0; t < Xg.length; t++) Zg(`rotate${Xg[t]}`, e, r, this.animationValues), Zg(`skew${Xg[t]}`, e, r, this.animationValues);
+ n.z && Xg("z", e, r, this.animationValues);
+ for (let t = 0; t < Yg.length; t++) Xg(`rotate${Yg[t]}`, e, r, this.animationValues), Xg(`skew${Yg[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -18259,71 +18276,71 @@ function e_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = qg(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Kg(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = qg(t?.pointerEvents) || ""), this.hasProjected && !Ch(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Kg(t?.pointerEvents) || ""), this.hasProjected && !Sh(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = Lte(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = Rte(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in fg) {
+ for (let t in dg) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = fg[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = dg[t], c = a === "none" ? i[t] : n(i[t], r);
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 = r === this ? qg(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? Kg(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(t_), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(e_), this.root.sharedNodes.clear();
}
};
}
-function Yte(e) {
- e.updateLayout(), tne(e);
-}
function Xte(e) {
+ e.updateLayout(), nne(e);
+}
+function Zte(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") zg((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Cg(r);
+ if (i === "size") Rg((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Sg(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- bg(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else l_(i, t.layoutBox, n) && zg((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Cg(n[r]);
+ yg(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else c_(i, t.layoutBox, n) && Rg((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Sg(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = qh();
- Tg(o, n, t.layoutBox);
- let s = qh();
- a ? Tg(s, e.applyTransform(r, !0), t.measuredBox) : Tg(s, n, t.layoutBox);
- let c = !Ng(o), l = !1;
+ let o = Kh();
+ wg(o, n, t.layoutBox);
+ let s = Kh();
+ a ? wg(s, e.applyTransform(r, !0), t.measuredBox) : wg(s, n, t.layoutBox);
+ let c = !Mg(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = Yh();
- Og(s, t.layoutBox, i.layoutBox, o);
- let c = Yh();
- Og(c, n, a.layoutBox, o), Ig(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = Jh();
+ Dg(s, t.layoutBox, i.layoutBox, o);
+ let c = Jh();
+ Dg(c, n, a.layoutBox, o), Fg(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -18341,68 +18358,68 @@ function Xte(e) {
}
e.options.transition = void 0;
}
-function Zte(e) {
- Wh.value && Yg.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
-}
function Qte(e) {
- e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
+ Uh.value && Jg.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
function $te(e) {
+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
+}
+function ene(e) {
e.clearSnapshot();
}
-function t_(e) {
+function e_(e) {
e.clearMeasurements();
}
-function ene(e) {
+function tne(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function n_(e) {
+function t_(e) {
e.isLayoutDirty = !1;
}
-function tne(e) {
+function nne(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- zg((e) => Mh(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ Rg((e) => jh(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function nne(e) {
+function rne(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function rne(e) {
+function ine(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function ine(e) {
+function ane(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function r_(e) {
+function n_(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function ane(e) {
+function one(e) {
e.resolveTargetDelta();
}
-function one(e) {
+function sne(e) {
e.calcProjection();
}
-function sne(e) {
+function cne(e) {
e.resetSkewAndRotation();
}
-function cne(e) {
+function lne(e) {
e.removeLeadSnapshot();
}
-function i_(e, t, n) {
+function r_(e, t, n) {
e.translate = rd(t.translate, 0, n), e.scale = rd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function a_(e, t, n, r) {
+function i_(e, t, n, r) {
e.min = rd(t.min, n.min, r), e.max = rd(t.max, n.max, r);
}
-function lne(e, t, n, r) {
- a_(e.x, t.x, n.x, r), a_(e.y, t.y, n.y, r);
+function une(e, t, n, r) {
+ i_(e.x, t.x, n.x, r), i_(e.y, t.y, n.y, r);
}
-function une(e) {
+function dne(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var dne = {
+var fne = {
duration: .45,
ease: [
.4,
@@ -18410,79 +18427,79 @@ var dne = {
.1,
1
]
-}, o_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), s_ = o_("applewebkit/") && !o_("chrome/") ? Math.round : kl;
-function c_(e) {
- e.min = s_(e.min), e.max = s_(e.max);
+}, a_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), o_ = a_("applewebkit/") && !a_("chrome/") ? Math.round : kl;
+function s_(e) {
+ e.min = o_(e.min), e.max = o_(e.max);
}
-function fne(e) {
- c_(e.x), c_(e.y);
+function pne(e) {
+ s_(e.x), s_(e.y);
}
-function l_(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Ate(Lg(t), Lg(n), .2);
+function c_(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !jte(Ig(t), Ig(n), .2);
}
-function pne(e) {
+function mne(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var mne = e_({
- attachResizeListener: (e, t) => Kg(e, "resize", t),
+var hne = $g({
+ attachResizeListener: (e, t) => Gg(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), u_ = { current: void 0 }, d_ = e_({
+}), l_ = { current: void 0 }, u_ = $g({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!u_.current) {
- let e = new mne({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), u_.current = e;
+ if (!l_.current) {
+ let e = new hne({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), l_.current = e;
}
- return u_.current;
+ return l_.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), f_ = (0, S.createContext)({
+}), d_ = (0, S.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function p_(e, t) {
+function f_(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function hne(...e) {
+function gne(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = p_(e, t);
+ let r = f_(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() : p_(e[t], null);
+ typeof n == "function" ? n() : f_(e[t], null);
}
};
};
}
-function gne(...e) {
- return S.useCallback(hne(...e), e);
+function _ne(...e) {
+ return S.useCallback(gne(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var _ne = class extends S.Component {
+var vne = class extends S.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (Jm(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = Jm(e) && e.offsetWidth || 0, r = Jm(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (qm(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = qm(e) && e.offsetWidth || 0, r = qm(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;
}
return null;
@@ -18492,7 +18509,7 @@ var _ne = class extends S.Component {
return this.props.children;
}
};
-function vne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function yne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, S.useId)(), s = (0, S.useRef)(null), c = (0, S.useRef)({
width: 0,
height: 0,
@@ -18501,7 +18518,7 @@ function vne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, S.useContext)(f_), u = gne(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, S.useContext)(d_), u = _ne(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, S.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -18521,7 +18538,7 @@ function vne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);
};
- }, [t]), (0, C.jsx)(_ne, {
+ }, [t]), (0, C.jsx)(vne, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -18531,8 +18548,8 @@ function vne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var yne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = vl(bne), d = (0, S.useId)(), f = (0, S.useRef)(n), p = (0, S.useRef)(r);
+var bne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = vl(xne), d = (0, S.useId)(), f = (0, S.useRef)(n), p = (0, S.useRef)(r);
yl(() => {
f.current = n, p.current = r;
});
@@ -18558,7 +18575,7 @@ var yne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), S.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, C.jsx)(vne, {
+ }, [n]), e = (0, C.jsx)(yne, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -18570,12 +18587,12 @@ var yne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function bne() {
+function xne() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function m_(e = !0) {
+function p_(e = !0) {
let t = (0, S.useContext)(bl);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, S.useId)();
@@ -18589,16 +18606,16 @@ function m_(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function h_() {
- return xne((0, S.useContext)(bl));
+function m_() {
+ return Sne((0, S.useContext)(bl));
}
-function xne(e) {
+function Sne(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var g_ = (e) => e.key || "";
-function __(e) {
+var h_ = (e) => e.key || "";
+function g_(e) {
let t = [];
return S.Children.forEach(e, (e) => {
(0, S.isValidElement)(e) && t.push(e);
@@ -18606,8 +18623,8 @@ function __(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var v_ = ({ 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] = m_(o), f = (0, S.useMemo)(() => __(e), [e]), p = o && !u ? [] : f.map(g_), m = (0, S.useRef)(!0), h = vl(() => /* @__PURE__ */ new Map()), g = (0, S.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, S.useState)(f), [y, b] = (0, S.useState)(f);
+var __ = ({ 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] = p_(o), f = (0, S.useMemo)(() => g_(e), [e]), p = o && !u ? [] : f.map(h_), m = (0, S.useRef)(!0), h = vl(() => /* @__PURE__ */ new Map()), g = (0, S.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, S.useState)(f), [y, b] = (0, S.useState)(f);
yl(() => {
o && !u && !y.length && d?.();
}, [
@@ -18618,7 +18635,7 @@ var v_ = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
]), yl(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = g_(y[e]);
+ let t = h_(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -18630,15 +18647,15 @@ var v_ = ({ 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(g_(n));
+ let r = p.indexOf(h_(n));
r === -1 ? (e.splice(t++, 0, n), x.push(n)) : t = r + x.length + 1;
}
- return x.every((e) => h.get(g_(e))) ? e = f : a === "wait" && (e = x), b(__(e)), v(f), null;
+ return x.every((e) => h.get(h_(e))) ? e = f : a === "wait" && (e = x), b(g_(e)), v(f), null;
}
let { forceRender: w } = (0, S.useContext)(_l);
return (0, C.jsx)(C.Fragment, { children: y.map((e) => {
- let _ = g_(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, C.jsx)(yne, {
+ let _ = h_(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, C.jsx)(bne, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -18659,7 +18676,7 @@ var v_ = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, y_ = (0, S.createContext)({ strict: !1 }), b_ = {
+}, v_ = (0, S.createContext)({ strict: !1 }), y_ = {
animation: [
"animate",
"variants",
@@ -18696,30 +18713,30 @@ var v_ = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, x_ = !1;
-function Sne() {
- if (x_) return;
+}, b_ = !1;
+function Cne() {
+ if (b_) return;
let e = {};
- for (let t in b_) e[t] = { isEnabled: (e) => b_[t].some((t) => !!e[t]) };
- cg(e), x_ = !0;
+ for (let t in y_) e[t] = { isEnabled: (e) => y_[t].some((t) => !!e[t]) };
+ sg(e), b_ = !0;
}
-function S_() {
- return Sne(), _te();
+function x_() {
+ return Cne(), vte();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Cne(e) {
- let t = S_();
+function wne(e) {
+ let t = x_();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- cg(t);
+ sg(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function wne({ children: e, ...t }) {
- let n = (0, S.useContext)(f_);
+function Tne({ children: e, ...t }) {
+ let n = (0, S.useContext)(d_);
t = {
...n,
...t
@@ -18731,41 +18748,41 @@ function wne({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, C.jsx)(f_.Provider, {
+ return (0, C.jsx)(d_.Provider, {
value: r,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var C_ = /* @__PURE__ */ (0, S.createContext)({});
+var S_ = /* @__PURE__ */ (0, S.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Tne(e, t) {
- if (tg(e)) {
+function Ene(e, t) {
+ if (eg(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || Qh(t) ? t : void 0,
- animate: Qh(n) ? n : void 0
+ initial: t === !1 || Zh(t) ? t : void 0,
+ animate: Zh(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Ene(e) {
- let { initial: t, animate: n } = Tne(e, (0, S.useContext)(C_));
+function Dne(e) {
+ let { initial: t, animate: n } = Ene(e, (0, S.useContext)(S_));
return (0, S.useMemo)(() => ({
initial: t,
animate: n
- }), [Dne(t), Dne(n)]);
+ }), [One(t), One(n)]);
}
-function Dne(e) {
+function One(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var w_ = () => ({
+var C_ = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -18773,42 +18790,42 @@ var w_ = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function One(e, t, n) {
- for (let r in t) !Sm(t[r]) && !pg(r, n) && (e[r] = t[r]);
+function kne(e, t, n) {
+ for (let r in t) !Sm(t[r]) && !fg(r, n) && (e[r] = t[r]);
}
-function kne({ transformTemplate: e }, t) {
+function Ane({ transformTemplate: e }, t) {
return (0, S.useMemo)(() => {
- let n = w_();
- return sh(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = C_();
+ return oh(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Ane(e, t) {
+function jne(e, t) {
let n = e.style || {}, r = {};
- return One(r, n, e), Object.assign(r, kne(e, t)), r;
+ return kne(r, n, e), Object.assign(r, Ane(e, t)), r;
}
-function jne(e, t) {
- let n = {}, r = Ane(e, t);
+function Mne(e, t) {
+ let n = {}, r = jne(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Mne = () => ({
- ...w_(),
+var Nne = () => ({
+ ...C_(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Nne(e, t, n, r) {
+function Pne(e, t, n, r) {
let i = (0, S.useMemo)(() => {
- let n = Mne();
- return fh(n, t, gg(r), e.transformTemplate, e.style), {
+ let n = Nne();
+ return dh(n, t, hg(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- One(t, e.style, e), i.style = {
+ kne(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -18817,23 +18834,23 @@ function Nne(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Pne = /* @__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 T_(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Pne.has(e);
+var Fne = /* @__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 w_(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Fne.has(e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function Fne(e, t) {
- return e.startsWith("on") ? !T_(e) : t?.(e) ?? !T_(e);
+function Ine(e, t) {
+ return e.startsWith("on") ? !w_(e) : t?.(e) ?? !w_(e);
}
-function Ine(e, t, n, r) {
+function Lne(e, t, n, r) {
let i = {};
- for (let a in e) (a !== "values" || typeof e.values != "object") && (Sm(e[a]) || (Fne(a, r) || n === !0 && T_(a) || !t && !T_(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));
+ for (let a in e) (a !== "values" || typeof e.values != "object") && (Sm(e[a]) || (Ine(a, r) || n === !0 && w_(a) || !t && !w_(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));
return i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var Lne = [
+var Rne = [
"animate",
"circle",
"defs",
@@ -18862,13 +18879,13 @@ var Lne = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function E_(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(Lne.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function T_(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Rne.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function Rne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? E_(e) ? Nne : jne)(t, r, i, e), l = Ine(t, typeof e == "string", a, s), u = e === S.Fragment ? {} : {
+function zne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? T_(e) ? Pne : Mne)(t, r, i, e), l = Lne(t, typeof e == "string", a, s), u = e === S.Fragment ? {} : {
...l,
...c,
ref: n
@@ -18880,21 +18897,21 @@ function Rne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function zne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Bne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: Bne(n, r, i, e),
+ latestValues: Vne(n, r, i, e),
renderState: t()
};
}
-function Bne(e, t, n, r) {
+function Vne(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = qg(a[e]);
- let { initial: o, animate: s } = e, c = tg(e), l = ng(e);
+ for (let e in a) i[e] = Kg(a[e]);
+ let { initial: o, animate: s } = e, c = eg(e), l = tg(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" && !Zh(d)) {
+ if (d && typeof d != "boolean" && !Xh(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
let r = mm(e, t[n]);
@@ -18914,19 +18931,19 @@ function Bne(e, t, n, r) {
}
return i;
}
-var Vne = (e) => (t, n) => {
- let r = (0, S.useContext)(C_), i = (0, S.useContext)(bl), a = () => zne(e, t, r, i);
+var Hne = (e) => (t, n) => {
+ let r = (0, S.useContext)(S_), i = (0, S.useContext)(bl), a = () => Bne(e, t, r, i);
return n ? a() : vl(a);
-}, Hne = /*@__PURE__*/ Vne({
- scrapeMotionValuesFromProps: mg,
- createRenderState: w_
-}), Une = /*@__PURE__*/ Vne({
- scrapeMotionValuesFromProps: _g,
- createRenderState: Mne
-}), Wne = Symbol.for("motionComponentSymbol");
+}, Une = /*@__PURE__*/ Hne({
+ scrapeMotionValuesFromProps: pg,
+ createRenderState: C_
+}), Wne = /*@__PURE__*/ Hne({
+ scrapeMotionValuesFromProps: gg,
+ createRenderState: Nne
+}), Gne = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Gne(e, t, n) {
+function Kne(e, t, n) {
let r = (0, S.useRef)(n);
(0, S.useInsertionEffect)(() => {
r.current = n;
@@ -18945,16 +18962,16 @@ function Gne(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Kne = (0, S.createContext)({});
+var qne = (0, S.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function D_(e) {
+function E_(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function qne(e, t, n, r, i, a) {
- let { visualElement: o } = (0, S.useContext)(C_), s = (0, S.useContext)(y_), c = (0, S.useContext)(bl), l = (0, S.useContext)(f_), u = l.reducedMotion, d = l.skipAnimations, f = (0, S.useRef)(null), p = (0, S.useRef)(!1);
+function Jne(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, S.useContext)(S_), s = (0, S.useContext)(v_), c = (0, S.useContext)(bl), l = (0, S.useContext)(d_), u = l.reducedMotion, d = l.skipAnimations, f = (0, S.useRef)(null), p = (0, S.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -18965,8 +18982,8 @@ function qne(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, S.useContext)(Kne);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Jne(f.current, n, i, h);
+ let m = f.current, h = (0, S.useContext)(qne);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Yne(f.current, n, i, h);
let g = (0, S.useRef)(!1);
(0, S.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
@@ -18982,12 +18999,12 @@ function qne(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function Jne(e, t, n, r) {
+function Yne(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Yne(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Xne(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && D_(s),
+ alwaysMeasureLayout: !!o || s && E_(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -18997,46 +19014,46 @@ function Jne(e, t, n, r) {
layoutAnchor: u
});
}
-function Yne(e) {
- if (e) return e.options.allowProjection === !1 ? Yne(e.parent) : e.projection;
+function Xne(e) {
+ if (e) return e.options.allowProjection === !1 ? Xne(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function O_(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Cne(r);
- let a = n ? n === "svg" : E_(e), o = a ? Une : Hne;
+function D_(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && wne(r);
+ let a = n ? n === "svg" : T_(e), o = a ? Wne : Une;
function s(n, s) {
let c, l = {
- ...(0, S.useContext)(f_),
+ ...(0, S.useContext)(d_),
...n,
- layoutId: Xne(n)
- }, { isStatic: u, isValidProp: d } = l, f = Ene(n), p = o(n, u);
+ layoutId: Zne(n)
+ }, { isStatic: u, isValidProp: d } = l, f = Dne(n), p = o(n, u);
if (!u && typeof window < "u") {
- Zne(l, r);
- let t = Qne(l);
- c = t.MeasureLayout, f.visualElement = qne(e, p, l, i, t.ProjectionNode, a);
+ Qne(l, r);
+ let t = $ne(l);
+ c = t.MeasureLayout, f.visualElement = Jne(e, p, l, i, t.ProjectionNode, a);
}
- return (0, C.jsxs)(C_.Provider, {
+ return (0, C.jsxs)(S_.Provider, {
value: f,
children: [c && f.visualElement ? (0, C.jsx)(c, {
visualElement: f.visualElement,
...l
- }) : null, Rne(e, n, Gne(p, f.visualElement, s), p, u, t, a, d)]
+ }) : null, zne(e, n, Kne(p, f.visualElement, s), p, u, t, a, d)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, S.forwardRef)(s);
- return c[Wne] = e, c;
+ return c[Gne] = e, c;
}
-function Xne({ layoutId: e }) {
+function Zne({ layoutId: e }) {
let t = (0, S.useContext)(_l).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Zne(e, t) {
- (0, S.useContext)(y_).strict;
+function Qne(e, t) {
+ (0, S.useContext)(v_).strict;
}
-function Qne(e) {
- let { drag: t, layout: n } = S_();
+function $ne(e) {
+ let { drag: t, layout: n } = x_();
if (!t && !n) return {};
let r = {
...t,
@@ -19049,20 +19066,20 @@ function Qne(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function $ne(e, t) {
- if (typeof Proxy > "u") return O_;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => O_(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, O_(a, void 0, e, t)), n.get(a)) });
+function ere(e, t) {
+ if (typeof Proxy > "u") return D_;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => D_(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, D_(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var ere = (e, t) => t.isSVG ?? E_(e) ? new Ste(t) : new bte(t, { allowProjection: e !== S.Fragment }), tre = class extends ug {
+var tre = (e, t) => t.isSVG ?? T_(e) ? new Cte(t) : new xte(t, { allowProjection: e !== S.Fragment }), nre = class extends lg {
constructor(e) {
- super(e), e.animationState ||= wte(e);
+ super(e), e.animationState ||= Tte(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- Zh(e) && (this.unmountControls = e.subscribe(this.node));
+ Xh(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -19074,11 +19091,11 @@ var ere = (e, t) => t.isSVG ?? E_(e) ? new Ste(t) : new bte(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, nre = 0, rre = {
- animation: { Feature: tre },
- exit: { Feature: class extends ug {
+}, rre = 0, ire = {
+ animation: { Feature: nre },
+ exit: { Feature: class extends lg {
constructor() {
- super(...arguments), this.id = nre++;
+ super(...arguments), this.id = rre++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -19111,28 +19128,28 @@ var ere = (e, t) => t.isSVG ?? E_(e) ? new Ste(t) : new bte(t, { allowProjection
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function k_(e) {
+function O_(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var ire = (e) => (t) => Lh(t) && e(t, k_(t));
+var are = (e) => (t) => Ih(t) && e(t, O_(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function A_(e, t, n, r) {
- return Kg(e, t, ire(n), r);
+function k_(e, t, n, r) {
+ return Gg(e, t, are(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var are = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ore = (e, t) => Math.abs(e - t);
-function sre(e, t) {
- let n = ore(e.x, t.x), r = ore(e.y, t.y);
+var ore = ({ current: e }) => e ? e.ownerDocument.defaultView : null, sre = (e, t) => Math.abs(e - t);
+function cre(e, t) {
+ let n = sre(e.x, t.x), r = sre(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
-var cre = /*#__PURE__*/ new Set(["auto", "scroll"]), lre = class {
+var lre = /*#__PURE__*/ new Set(["auto", "scroll"]), ure = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -19140,8 +19157,8 @@ var cre = /*#__PURE__*/ new Set(["auto", "scroll"]), lre = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = j_(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = M_(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = sre(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = A_(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = j_(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = cre(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -19154,33 +19171,33 @@ var cre = /*#__PURE__*/ new Set(["auto", "scroll"]), lre = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = j_(t, this.transformPagePoint), this.hasPendingMove = !0, wd.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = A_(t, this.transformPagePoint), this.hasPendingMove = !0, wd.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.hasPendingMove && this.updatePoint(), this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = M_(e.type === "pointercancel" ? this.lastMoveEventInfo : j_(t, this.transformPagePoint), this.history);
+ let a = j_(e.type === "pointercancel" ? this.lastMoveEventInfo : A_(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !Lh(e)) return;
+ }, !Ih(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = j_(k_(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = ru;
+ let s = A_(O_(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = ru;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, M_(s, this.history));
+ u && u(e, j_(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Al(A_(this.contextWindow, "pointermove", this.handlePointerMove, d), A_(this.contextWindow, "pointerup", this.handlePointerUp, d), A_(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Al(k_(this.contextWindow, "pointermove", this.handlePointerMove, d), k_(this.contextWindow, "pointerup", this.handlePointerUp, d), k_(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (cre.has(e.overflowX) || cre.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (lre.has(e.overflowX) || lre.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -19214,35 +19231,35 @@ var cre = /*#__PURE__*/ new Set(["auto", "scroll"]), lre = class {
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Td(this.updatePoint);
}
};
-function j_(e, t) {
+function A_(e, t) {
return t ? { point: t(e.point) } : e;
}
-function ure(e, t) {
+function dre(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function M_({ point: e }, t) {
+function j_({ point: e }, t) {
return {
point: e,
- delta: ure(e, fre(t)),
- offset: ure(e, dre(t)),
- velocity: pre(t, .1)
+ delta: dre(e, pre(t)),
+ offset: dre(e, fre(t)),
+ velocity: mre(t, .1)
};
}
-function dre(e) {
+function fre(e) {
return e[0];
}
-function fre(e) {
+function pre(e) {
return e[e.length - 1];
}
-function pre(e, t) {
+function mre(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = fre(e);
+ let n = e.length - 1, r = null, i = pre(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Nl(t)));) n--;
if (!r) return {
x: 0,
@@ -19262,66 +19279,66 @@ function pre(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function mre(e, { min: t, max: n }, r) {
+function hre(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? rd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? rd(n, e, r.max) : Math.min(e, n)), e;
}
-function hre(e, t, n) {
+function gre(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 gre(e, { top: t, left: n, bottom: r, right: i }) {
+function _re(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: hre(e.x, n, i),
- y: hre(e.y, t, r)
+ x: gre(e.x, n, i),
+ y: gre(e.y, t, r)
};
}
-function _re(e, t) {
+function vre(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 vre(e, t) {
+function yre(e, t) {
return {
- x: _re(e.x, t.x),
- y: _re(e.y, t.y)
+ x: vre(e.x, t.x),
+ y: vre(e.y, t.y)
};
}
-function yre(e, t) {
- let n = .5, r = Cg(e), i = Cg(t);
+function bre(e, t) {
+ let n = .5, r = Sg(e), i = Sg(t);
return i > r ? n = /* @__PURE__ */ jl(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ jl(e.min, e.max - i, t.min)), Cl(0, 1, n);
}
-function bre(e, t) {
+function xre(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 N_ = .35;
-function xre(e = N_) {
- return e === !1 ? e = 0 : e === !0 && (e = N_), {
- x: Sre(e, "left", "right"),
- y: Sre(e, "top", "bottom")
+var M_ = .35;
+function Sre(e = M_) {
+ return e === !1 ? e = 0 : e === !0 && (e = M_), {
+ x: Cre(e, "left", "right"),
+ y: Cre(e, "top", "bottom")
};
}
-function Sre(e, t, n) {
+function Cre(e, t, n) {
return {
- min: Cre(e, t),
- max: Cre(e, n)
+ min: wre(e, t),
+ max: wre(e, n)
};
}
-function Cre(e, t) {
+function wre(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
+var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Yh(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Jh(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
@@ -19330,14 +19347,14 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
t && this.snapToCursor(e), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Iee(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), zg((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Lee(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Rg((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
if (ku.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = Cg(r) * (parseFloat(t) / 100));
+ r && (t = Sg(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
@@ -19349,7 +19366,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
- r && this.currentDirection === null ? (this.currentDirection = Ore(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && wd.update(() => a(e, t), !1, !0));
+ r && this.currentDirection === null ? (this.currentDirection = kre(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && wd.update(() => a(e, t), !1, !0));
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -19359,7 +19376,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new lre(e, {
+ this.panSession = new ure(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -19369,7 +19386,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: are(this.visualElement),
+ contextWindow: ore(this.visualElement),
element: this.visualElement.current
});
}
@@ -19393,32 +19410,32 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !P_(e, r, this.currentDirection)) return;
+ if (!n || !N_(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = mre(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = hre(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && D_(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? gre(n.layoutBox, e) : !1, this.elastic = xre(t), r !== this.constraints && !D_(e) && n && this.constraints && !this.hasMutatedConstraints && zg((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = bre(n.layoutBox[e], this.constraints[e]));
+ e && E_(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? _re(n.layoutBox, e) : !1, this.elastic = Sre(t), r !== this.constraints && !E_(e) && n && this.constraints && !this.hasMutatedConstraints && Rg((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = xre(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !D_(e)) return !1;
+ if (!e || !E_(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = Oee(n, r.root, this.visualElement.getTransformPagePoint()), a = vre(r.layout.layoutBox, i);
+ let i = kee(n, r.root, this.visualElement.getTransformPagePoint()), a = yre(r.layout.layoutBox, i);
if (t) {
- let e = t(yh(a));
- this.hasMutatedConstraints = !!e, e && (a = vh(e));
+ let e = t(vh(a));
+ this.hasMutatedConstraints = !!e, e && (a = _h(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = zg((o) => {
- if (!P_(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = Rg((o) => {
+ if (!N_(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -19444,7 +19461,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
return wm(this.visualElement, e), n.start(lm(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- zg((e) => this.getAxisMotionValue(e).stop());
+ Rg((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
@@ -19455,8 +19472,8 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
x: e,
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
- zg((e) => {
- if (!P_(e, n, this.currentDirection)) return;
+ Rg((e) => {
+ if (!N_(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - rd(r, o, .5));
});
@@ -19464,40 +19481,40 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!D_(t) || !n || !this.constraints) return;
+ if (!E_(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- zg((e) => {
+ Rg((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = yre({
+ i[e] = bre({
min: t,
max: t
}, r[e]);
});
let { transformTemplate: a } = this.visualElement.getProps();
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), zg((t) => {
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Rg((t) => {
let n = this.getAxisMotionValue(t);
- if (!P_(t, e, null) || !n.get()) return;
+ if (!N_(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(rd(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- wre.set(this.visualElement, this);
- let e = this.visualElement.current, t = A_(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Wee(i);
+ Tre.set(this.visualElement, this);
+ let e = this.visualElement.current, t = k_(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Gee(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- D_(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Dre(e, t.current, () => this.scalePositionWithinConstraints()));
+ E_(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ore(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), wd.read(r);
- let o = Kg(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (zg((t) => {
+ let o = Gg(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (Rg((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -19507,7 +19524,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = N_, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = M_, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -19519,30 +19536,30 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
};
}
};
-function Ere(e) {
+function Dre(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function Dre(e, t, n) {
- let r = ote(e, Ere(n)), i = ote(t, Ere(n));
+function Ore(e, t, n) {
+ let r = ste(e, Dre(n)), i = ste(t, Dre(n));
return () => {
r(), i();
};
}
-function P_(e, t, n) {
+function N_(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Ore(e, t = 10) {
+function kre(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var kre = class extends ug {
+var Are = class extends lg {
constructor(e) {
- super(e), this.removeGroupControls = kl, this.removeListeners = kl, this.controls = new Tre(e);
+ super(e), this.removeGroupControls = kl, this.removeListeners = kl, this.controls = new Ere(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -19555,31 +19572,31 @@ var kre = class extends ug {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, F_ = (e) => (t, n) => {
+}, P_ = (e) => (t, n) => {
e && wd.update(() => e(t, n), !1, !0);
-}, Are = class extends ug {
+}, jre = class extends lg {
constructor() {
super(...arguments), this.removePointerDownListener = kl;
}
onPointerDown(e) {
- this.session = new lre(e, this.createPanHandlers(), {
+ this.session = new ure(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: are(this.node)
+ contextWindow: ore(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: F_(e),
- onStart: F_(t),
- onMove: F_(n),
+ onSessionStart: P_(e),
+ onStart: P_(t),
+ onMove: P_(n),
onEnd: (e, t) => {
delete this.session, r && wd.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = A_(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = k_(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -19587,36 +19604,36 @@ var kre = class extends ug {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, I_ = !1, jre = class extends S.Component {
+}, F_ = !1, Mre = class extends S.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), I_ && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), F_ && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), Jg.hasEverUpdated = !0;
+ })), qg.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), I_ = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || wd.postRender(() => {
+ }), F_ = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || wd.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
}))), null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), Fh.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Ph.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- I_ = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ F_ = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -19626,41 +19643,41 @@ var kre = class extends ug {
return null;
}
};
-function Mre(e) {
- let [t, n] = m_(), r = (0, S.useContext)(_l);
- return (0, C.jsx)(jre, {
+function Nre(e) {
+ let [t, n] = p_(), r = (0, S.useContext)(_l);
+ return (0, C.jsx)(Mre, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, S.useContext)(Kne),
+ switchLayoutGroup: (0, S.useContext)(qne),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Nre = {
- pan: { Feature: Are },
+var Pre = {
+ pan: { Feature: jre },
drag: {
- Feature: kre,
- ProjectionNode: d_,
- MeasureLayout: Mre
+ Feature: Are,
+ ProjectionNode: u_,
+ MeasureLayout: Nre
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function Pre(e, t, n) {
+function Fre(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && wd.postRender(() => i(t, k_(t)));
+ i && wd.postRender(() => i(t, O_(t)));
}
-var Fre = class extends ug {
+var Ire = class extends lg {
mount() {
let { current: e } = this.node;
- e && (this.unmount = zee(e, (e, t) => (Pre(this.node, t, "Start"), (e) => Pre(this.node, e, "End"))));
+ e && (this.unmount = Bee(e, (e, t) => (Fre(this.node, t, "Start"), (e) => Fre(this.node, e, "End"))));
}
unmount() {}
-}, Ire = class extends ug {
+}, Lre = class extends lg {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -19677,57 +19694,57 @@ var Fre = class extends ug {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Al(Kg(this.node.current, "focus", () => this.onFocus()), Kg(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Al(Gg(this.node.current, "focus", () => this.onFocus()), Gg(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function Lre(e, t, n) {
+function Rre(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && wd.postRender(() => i(t, k_(t)));
+ i && wd.postRender(() => i(t, O_(t)));
}
-var Rre = class extends ug {
+var zre = class extends lg {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Yee(e, (e, t) => (Lre(this.node, t, "Start"), (e, { success: t }) => Lre(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = Xee(e, (e, t) => (Rre(this.node, t, "Start"), (e, { success: t }) => Rre(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, L_ = /* @__PURE__ */ new WeakMap(), R_ = /* @__PURE__ */ new WeakMap(), zre = (e) => {
- let t = L_.get(e.target);
+}, I_ = /* @__PURE__ */ new WeakMap(), L_ = /* @__PURE__ */ new WeakMap(), Bre = (e) => {
+ let t = I_.get(e.target);
t && t(e);
-}, Bre = (e) => {
- e.forEach(zre);
+}, Vre = (e) => {
+ e.forEach(Bre);
};
-function Vre({ root: e, ...t }) {
+function Hre({ root: e, ...t }) {
let n = e || document;
- R_.has(n) || R_.set(n, {});
- let r = R_.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Bre, {
+ L_.has(n) || L_.set(n, {});
+ let r = L_.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Vre, {
root: e,
...t
})), r[i];
}
-function Hre(e, t, n) {
- let r = Vre(t);
- return L_.set(e, n), r.observe(e), () => {
- L_.delete(e), r.unobserve(e);
+function Ure(e, t, n) {
+ let r = Hre(t);
+ return I_.set(e, n), r.observe(e), () => {
+ I_.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Ure = {
+var Wre = {
some: 0,
all: 1
-}, Wre = class extends ug {
+}, Gre = class extends lg {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -19736,7 +19753,7 @@ var Ure = {
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 : Ure[r]
+ threshold: typeof r == "number" ? r : Wre[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -19744,7 +19761,7 @@ var Ure = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Hre(this.node.current, a, o);
+ this.stopObserver = Ure(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -19756,34 +19773,34 @@ var Ure = {
"amount",
"margin",
"root"
- ].some(Gre(e, t)) && this.startObserver();
+ ].some(Kre(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Gre({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Kre({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var Kre = {
- inView: { Feature: Wre },
- tap: { Feature: Rre },
- focus: { Feature: Ire },
- hover: { Feature: Fre }
-}, qre = { layout: {
- ProjectionNode: d_,
- MeasureLayout: Mre
-} }, Jre = /*@__PURE__*/ $ne({
- ...rre,
- ...Kre,
- ...Nre,
- ...qre
-}, ere);
+var qre = {
+ inView: { Feature: Gre },
+ tap: { Feature: zre },
+ focus: { Feature: Lre },
+ hover: { Feature: Ire }
+}, Jre = { layout: {
+ ProjectionNode: u_,
+ MeasureLayout: Nre
+} }, Yre = /*@__PURE__*/ ere({
+ ...ire,
+ ...qre,
+ ...Pre,
+ ...Jre
+}, tre);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function Yre(e, t, n) {
+function Xre(e, t, n) {
(0, S.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -19792,8 +19809,8 @@ function Yre(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function z_(e) {
- let t = vl(() => $p(e)), { isStatic: n } = (0, S.useContext)(f_);
+function R_(e) {
+ let t = vl(() => $p(e)), { isStatic: n } = (0, S.useContext)(d_);
if (n) {
let [, n] = (0, S.useState)(e);
(0, S.useEffect)(() => t.on("change", n), []);
@@ -19802,8 +19819,8 @@ function z_(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function Xre(e, t) {
- let n = z_(t()), r = () => n.set(t());
+function Zre(e, t) {
+ let n = R_(t()), r = () => n.set(t());
return r(), yl(() => {
let t = () => wd.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return r(), () => {
@@ -19813,17 +19830,17 @@ function Xre(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function Zre(e) {
+function Qre(e) {
Zp.current = [], e();
- let t = Xre(Zp.current, e);
+ let t = Zre(Zp.current, e);
return Zp.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function B_(e, t, n, r) {
- if (typeof e == "function") return Zre(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return $re(e, t, n, r);
- let i = typeof t == "function" ? t : cte(t, n, r), a = Array.isArray(e) ? Qre(e, i) : Qre([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function z_(e, t, n, r) {
+ if (typeof e == "function") return Qre(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return eie(e, t, n, r);
+ let i = typeof t == "function" ? t : lte(t, n, r), a = Array.isArray(e) ? $re(e, i) : $re([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
if (o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1) {
let e = r?.ease;
a.accelerate = {
@@ -19844,70 +19861,70 @@ function B_(e, t, n, r) {
}
return a;
}
-function Qre(e, t) {
+function $re(e, t) {
let n = vl(() => []);
- return Xre(e, () => {
+ return Zre(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function $re(e, t, n, r) {
+function eie(e, t, n, r) {
let i = vl(() => Object.keys(n)), a = vl(() => ({}));
- for (let o of i) a[o] = B_(e, t, n[o], r);
+ for (let o of i) a[o] = z_(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function eie(e, t, n) {
- let { isStatic: r } = (0, S.useContext)(f_), i = () => Sm(e) ? e.get() : e;
- if (r) return B_(i);
- let a = z_(i());
+function tie(e, t, n) {
+ let { isStatic: r } = (0, S.useContext)(d_), i = () => Sm(e) ? e.get() : e;
+ if (r) return z_(i);
+ let a = R_(i());
return (0, S.useInsertionEffect)(() => n(a, e, t), [a, JSON.stringify(t)]), a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function tie(e, t = {}) {
- return eie(e, t, pte);
+function nie(e, t = {}) {
+ return tie(e, t, mte);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function V_() {
- !ig.current && ag();
- let [e] = (0, S.useState)(rg.current);
+function B_() {
+ !rg.current && ig();
+ let [e] = (0, S.useState)(ng.current);
return e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function H_(e) {
+function V_(e) {
return typeof e == "object" && !Array.isArray(e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function nie(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && H_(t) ? Xm(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function rie(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && V_(t) ? Ym(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function rie(e, t, n) {
+function iie(e, t, n) {
return e * (t + 1) + n * t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function iie(e, t, n, r) {
+function aie(e, t, n, r) {
return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function aie(e, t, n) {
+function oie(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (Sl(e, i), r--);
}
}
-function oie(e, t, n, r, i, a) {
- aie(e, i, a);
+function sie(e, t, n, r, i, a) {
+ oie(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: rd(i, a, r[o]),
@@ -19916,19 +19933,19 @@ function oie(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function sie(e, t, n = 0) {
+function cie(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function cie(e, t) {
+function lie(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var lie = "easeInOut", uie = 20;
-function die(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
+var uie = "easeInOut", die = 20;
+function fie(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;
for (let n = 0; n < e.length; n++) {
let o = e[n];
@@ -19937,16 +19954,16 @@ function die(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
continue;
}
if (!Array.isArray(o)) {
- l.set(o.name, iie(d, o.at, u, l));
+ l.set(o.name, aie(d, o.at, u, l));
continue;
}
let [p, m, h = {}] = o;
- h.at !== void 0 && (d = iie(d, h.at, u, l));
+ h.at !== void 0 && (d = aie(d, h.at, u, l));
let g = 0, _ = (e, n, r, o = 0, s = 0) => {
- let c = mie(e), { delay: l = 0, times: u = qd(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = cp(p) ? p : i?.[p || "keyframes"];
+ let c = hie(e), { delay: l = 0, times: u = qd(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = cp(p) ? p : i?.[p || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && _ie(c)) {
+ if (S === 2 && vie(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -19962,9 +19979,9 @@ function die(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let w = d + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && Kd(u, T), c.length === 1 && c.unshift(null), m && `${m}${uie}`, m && m < uie) {
+ if (T > 0 && Kd(u, T), c.length === 1 && c.unshift(null), m && `${m}${die}`, m && m < die) {
let e = b > 0 ? _ / b : 0;
- b = rie(b, m, _);
+ b = iie(b, m, _);
let t = [...c], n = [...u];
y = Array.isArray(y) ? [...y] : [y];
let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -19974,20 +19991,20 @@ function die(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Ql(f, e - 1));
}
- sie(u, m, e);
+ cie(u, m, e);
}
let E = w + b;
- oie(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
+ sie(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
};
if (Sm(p)) {
- let e = fie(p, s);
- _(m, h, pie("default", e));
+ let e = pie(p, s);
+ _(m, h, mie("default", e));
} else {
- let e = nie(p, m, r, c), t = e.length;
+ let e = rie(p, m, r, c), t = e.length;
for (let n = 0; n < t; n++) {
m = m, h = h;
- let r = e[n], i = fie(r, s);
- for (let e in m) _(m[e], hie(h, e), pie(e, i), n, t);
+ let r = e[n], i = pie(r, s);
+ for (let e in m) _(m[e], gie(h, e), mie(e, i), n, t);
}
}
u = d, d += g;
@@ -19995,13 +20012,13 @@ function die(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
return s.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(cie);
+ a.sort(lie);
let s = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
s.push(n), c.push(/* @__PURE__ */ jl(0, f, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(lie)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(uie)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
keyframes: {},
transition: {}
});
@@ -20018,45 +20035,45 @@ function die(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
}
}), o;
}
-function fie(e, t) {
+function pie(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function pie(e, t) {
+function mie(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function mie(e) {
+function hie(e) {
return Array.isArray(e) ? e : [e];
}
-function hie(e, t) {
+function gie(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var gie = (e) => typeof e == "number", _ie = (e) => e.every(gie);
+var _ie = (e) => typeof e == "number", vie = (e) => e.every(_ie);
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function vie(e, t) {
- return Sm(e) || typeof e == "number" || typeof e == "string" && !H_(t);
+function yie(e, t) {
+ return Sm(e) || typeof e == "number" || typeof e == "string" && !V_(t);
}
-function yie(e, t, n, r) {
+function bie(e, t, n, r) {
let i = [];
- if (vie(e, t)) i.push(Gg(e, H_(t) && t.default || t, n && (n.default || n)));
+ if (yie(e, t)) i.push(Wg(e, V_(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = nie(e, t, r), o = a.length;
+ let a = rie(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(...Mee(r, t, s, Xh.get(r))) : i.push(...Km(Wm(r) ?? Nee, r, t, s));
+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Nee(r, t, s, Yh.get(r))) : i.push(...Km(Wm(r) ?? Pee, r, t, s));
}
}
return i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function bie(e, t, n) {
+function xie(e, t, n) {
let r = [];
- return die(e.map((e) => {
+ return fie(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
let t = e[0], n = $p(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
@@ -20071,27 +20088,27 @@ function bie(e, t, n) {
}
return e;
}), t, n, { spring: Hd }).forEach(({ keyframes: e, transition: t }, n) => {
- r.push(...yie(n, e, t));
+ r.push(...bie(n, e, t));
}), r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function xie(e) {
+function Sie(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function Sie(e = {}) {
+function Cie(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
let o = [], s, c = {};
- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), xie(e)) {
+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Sie(e)) {
let { onComplete: n, ...r } = i || {};
- typeof n == "function" && (s = n), o = bie(e, {
+ typeof n == "function" && (s = n), o = xie(e, {
...c,
...r
}, t);
} else {
let { onComplete: n, ...r } = a || {};
- typeof n == "function" && (s = n), o = yie(e, i, {
+ typeof n == "function" && (s = n), o = bie(e, i, {
...c,
...r
}, t);
@@ -20103,15 +20120,15 @@ function Sie(e = {}) {
}
return i;
}
-var Cie = Object.assign(Sie(), {
+var wie = Object.assign(Cie(), {
addEffect: Hm,
removeEffect: Um
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function wie(e, t, n, r) {
+function Tie(e, t, n, r) {
if (e == null) return [];
- let i = Xm(e, r), a = i.length, o = [];
+ let i = Ym(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));
@@ -20136,7 +20153,7 @@ function wie(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] = Xee(r, i)), wf(t), wee(t, i), !a && t.length < 2 && t.unshift(Xee(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = Zee(r, i)), wf(t), wee(t, i), !a && t.length < 2 && t.unshift(Zee(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
@@ -20145,12 +20162,12 @@ function wie(e, t, n, r) {
}
return s;
}
-var Tie = /*@__PURE__*/ ((e) => {
+var Eie = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new Wp(wie(t, n, r, e));
+ return new Wp(Tie(t, n, r, e));
}
return t;
-})(), U_ = Jre, W_ = class {
+})(), H_ = Yre, U_ = 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;
}
@@ -20165,22 +20182,22 @@ var Tie = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, G_ = class extends W_ {
+}, W_ = class extends U_ {
filter(e, t, n) {
- let [r, i] = Oie(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = kie(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends W_ {
+(class extends U_ {
static {
this.type = "header";
}
});
-var K_ = class extends W_ {
+var G_ = class extends U_ {
static {
this.type = "loader";
}
-}, Eie = class extends G_ {
+}, Die = class extends W_ {
static {
this.type = "item";
}
@@ -20191,7 +20208,7 @@ var K_ = class extends W_ {
}
return null;
}
-}, Die = class extends G_ {
+}, Oie = class extends W_ {
static {
this.type = "section";
}
@@ -20203,7 +20220,7 @@ var K_ = class extends W_ {
}
return null;
}
-}, q_ = class {
+}, K_ = class {
get size() {
return this.itemCount;
}
@@ -20278,14 +20295,14 @@ var K_ = class extends W_ {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Oie(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = kie(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 Oie(e, t, n, r) {
+function kie(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -20300,7 +20317,7 @@ function Oie(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var kie = class {
+var Aie = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -20381,7 +20398,7 @@ var kie = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, J_ = class e extends kie {
+}, q_ = class e extends Aie {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -20432,7 +20449,7 @@ var kie = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, Aie = class extends kie {
+}, jie = class extends Aie {
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;
}
@@ -20440,7 +20457,7 @@ var kie = class {
return !0;
}
createElement(e) {
- return new J_(e, this);
+ return new q_(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -20462,8 +20479,8 @@ var kie = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof J_ && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof J_ ? (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 q_ && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof q_ ? (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() {
@@ -20482,13 +20499,13 @@ var kie = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Y_(e) {
+function J_(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, S.useMemo)(() => void 0, [t]), s = (0, S.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, S.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = jie(a) ? a : null, o = n ? s.get(n) : null;
+ let n = Mie(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -20513,7 +20530,7 @@ function Y_(e) {
i
]);
}
-function jie(e) {
+function Mie(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -20523,25 +20540,25 @@ function jie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function X_(e) {
+function Y_(e) {
e.focus({ preventScroll: !0 });
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Z_ = (e) => Mie(e) ? e.document : Nie(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Q_ = (e) => Z_(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function $_(e) {
+var X_ = (e) => Nie(e) ? e.document : Pie(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Z_ = (e) => X_(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function Q_(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function Mie(e) {
+function Nie(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function Nie(e) {
- return $_(e) && e.nodeType === 9;
+function Pie(e) {
+ return Q_(e) && e.nodeType === 9;
}
-function ev(e) {
- return $_(e) && e.nodeType === 11 && "host" in e;
+function $_(e) {
+ return Q_(e) && e.nodeType === 11 && "host" in e;
}
-function tv(e, t, n, r) {
+function ev(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);
@@ -20549,7 +20566,7 @@ function tv(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function nv(e, t, n, r) {
+function tv(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -20564,73 +20581,73 @@ function nv(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var Pie = !1;
-function rv() {
- return Pie;
+var Fie = !1;
+function nv() {
+ return Fie;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function iv(e, t) {
- if (!rv()) return t && e ? e.contains(t) : !1;
+function rv(e, t) {
+ if (!nv()) 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 : ev(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : $_(n) ? n.host : n.parentNode;
}
return !1;
}
-var av = (e = document) => {
- if (!rv()) return e.activeElement;
+var iv = (e = document) => {
+ if (!nv()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
-function ov(e) {
- if (rv() && e.target instanceof Element && e.target.shadowRoot) {
+function av(e) {
+ if (nv() && 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 Fie(e, t) {
+function Iie(e, t) {
if (t === null) return [];
- t ??= Q_(e);
+ t ??= Z_(e);
let n = [t];
- if (!rv() || !e || e === t) return n;
+ if (!nv() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; ev(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; $_(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function sv(e) {
+function ov(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Q_(e);
+ let t = e.getRootNode(), n = Z_(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var Iie = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function Lie(e) {
- let t = Q_(e);
+var Lie = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function Rie(e) {
+ let t = Z_(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 } = Q_(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = Z_(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function Rie(e, t) {
+function zie(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 cv(e, t) {
- return Iie ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Lie(e) && Rie(e, t) && (!e.parentElement || cv(e.parentElement, e));
+function sv(e, t) {
+ return Lie ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Rie(e) && zie(e, t) && (!e.parentElement || sv(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var lv = [
+var cv = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -20645,60 +20662,60 @@ var lv = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], zie = lv.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-lv.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var Bie = lv.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function uv(e, t) {
- return e.matches(zie) && !Vie(e) && (t?.skipVisibilityCheck || cv(e));
+], Bie = cv.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+cv.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var Vie = cv.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function lv(e, t) {
+ return e.matches(Bie) && !Hie(e) && (t?.skipVisibilityCheck || sv(e));
}
-function dv(e) {
- return e.matches(Bie) && cv(e) && !Vie(e);
+function uv(e) {
+ return e.matches(Vie) && sv(e) && !Hie(e);
}
-function Vie(e) {
+function Hie(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Q_(t).HTMLElement && t.inert) return !0;
+ if (t instanceof Z_(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var fv = typeof document < "u" ? S.useLayoutEffect : () => {};
+var dv = typeof document < "u" ? S.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function pv(e) {
+function fv(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function Hie(e, t) {
+function Uie(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function Uie(e) {
+function Wie(e) {
let t = (0, S.useRef)({
isFocused: !1,
observer: null
});
- return fv(() => {
+ return dv(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
};
}, []), (0, S.useCallback)((n) => {
- let r = ov(n);
+ let r = av(n);
if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {
t.current.isFocused = !0;
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = pv(r);
+ let t = fv(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 === av() ? null : av();
+ let e = n === iv() ? null : iv();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -20711,83 +20728,83 @@ function Uie(e) {
}
}, [e]);
}
-var mv = !1;
-function Wie(e) {
- for (; e && !uv(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = av(Q_(e).document);
+var pv = !1;
+function Gie(e) {
+ for (; e && !lv(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = iv(Z_(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && ev(n) ? n : Q_(e), i = (t) => t === e || $_(t) && iv(e, t), a = (e) => e === t || t != null && $_(e) && iv(t, e);
- mv = !0;
+ let n = e?.getRootNode(), r = n != null && $_(n) ? n : Z_(e), i = (t) => t === e || Q_(t) && rv(e, t), a = (e) => e === t || t != null && Q_(e) && rv(t, e);
+ pv = !0;
let o = !1, s = (e) => {
- (a(ov(e)) || o) && e.stopImmediatePropagation();
+ (a(av(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(ov(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, X_(t), d()));
+ (a(av(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Y_(t), d()));
}, l = (e) => {
- (i(ov(e)) || o) && e.stopImmediatePropagation();
+ (i(av(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(ov(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, X_(t), d()));
+ (i(av(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Y_(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), mv = !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), pv = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function hv(e) {
+function mv(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 gv(e) {
+function hv(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function _v(e) {
+function gv(e) {
let t = null;
return () => (t ??= e(), t);
}
-var vv = _v(function() {
- return gv(/^Mac/i);
-}), Gie = _v(function() {
- return gv(/^iPhone/i);
-}), Kie = _v(function() {
- return gv(/^iPad/i) || vv() && navigator.maxTouchPoints > 1;
-}), yv = _v(function() {
- return Gie() || Kie();
-}), qie = _v(function() {
- return vv() || yv();
-}), bv = _v(function() {
- return hv(/AppleWebKit/i) && (yv() || !Jie());
-}), Jie = _v(function() {
- return hv(/Chrome|CriOS|CrMo/i);
-}), xv = _v(function() {
- return hv(/Android/i);
+var _v = gv(function() {
+ return hv(/^Mac/i);
+}), Kie = gv(function() {
+ return hv(/^iPhone/i);
+}), qie = gv(function() {
+ return hv(/^iPad/i) || _v() && navigator.maxTouchPoints > 1;
+}), vv = gv(function() {
+ return Kie() || qie();
+}), Jie = gv(function() {
+ return _v() || vv();
+}), yv = gv(function() {
+ return mv(/AppleWebKit/i) && (vv() || !Yie());
+}), Yie = gv(function() {
+ return mv(/Chrome|CriOS|CrMo/i);
+}), bv = gv(function() {
+ return mv(/Android/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Yie(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : xv() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
-}
function Xie(e) {
- return !xv() && e.width === 0 && e.height === 0 || xv() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+ return e.pointerType === "" && e.isTrusted ? !0 : bv() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+}
+function Zie(e) {
+ return !bv() && e.width === 0 && e.height === 0 || bv() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
-var Zie = /*#__PURE__*/ (0, S.createContext)({
+var Qie = /*#__PURE__*/ (0, S.createContext)({
isNative: !0,
- open: eae,
+ open: tae,
useHref: (e) => e
});
-function Sv() {
- return (0, S.useContext)(Zie);
+function xv() {
+ return (0, S.useContext)(Qie);
}
-function Qie(e, t) {
+function $ie(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 Cv(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = bv() && vv() && !Kie() ? new KeyboardEvent("keydown", {
+function Sv(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = yv() && _v() && !qie() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -20802,21 +20819,21 @@ function Cv(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- Cv.isOpening = n, X_(e), e.dispatchEvent(s), Cv.isOpening = !1;
+ Sv.isOpening = n, Y_(e), e.dispatchEvent(s), Sv.isOpening = !1;
}
-Cv.isOpening = !1;
-function $ie(e, t) {
+Sv.isOpening = !1;
+function eae(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 eae(e, t) {
- $ie(e, (e) => Cv(e, t));
+function tae(e, t) {
+ eae(e, (e) => Sv(e, t));
}
-function tae(e) {
- let t = Sv().useHref(e.href ?? "");
+function nae(e) {
+ let t = xv().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -20826,8 +20843,8 @@ function tae(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function wv(e) {
- let t = Sv().useHref(e?.href ?? ""), n = {};
+function Cv(e) {
+ let t = xv().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -20838,140 +20855,140 @@ function wv(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function nae(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Qie(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function rae(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && $ie(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var rae = {
+var iae = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, iae = /*#__PURE__*/ S.createContext(rae), aae = /*#__PURE__*/ S.createContext(!1);
+}, aae = /*#__PURE__*/ S.createContext(iae), oae = /*#__PURE__*/ S.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var Tv = /* @__PURE__ */ new WeakMap();
-function oae(e = !1) {
- let t = (0, S.useContext)(iae), n = (0, S.useRef)(null);
+var wv = /* @__PURE__ */ new WeakMap();
+function sae(e = !1) {
+ let t = (0, S.useContext)(aae), n = (0, S.useRef)(null);
if (n.current === null && !e) {
let e = S.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = Tv.get(e);
- n == null ? Tv.set(e, {
+ let n = wv.get(e);
+ n == null ? wv.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, Tv.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, wv.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function sae(e) {
- let t = (0, S.useContext)(iae), n = oae(!!e), r = `react-aria${t.prefix}`;
+function cae(e) {
+ let t = (0, S.useContext)(aae), n = sae(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function cae(e) {
- let t = S.useId(), [n] = (0, S.useState)(Ev()), r = n ? "react-aria" : `react-aria${rae.prefix}`;
+function lae(e) {
+ let t = S.useId(), [n] = (0, S.useState)(Tv()), r = n ? "react-aria" : `react-aria${iae.prefix}`;
return e || `${r}-${t}`;
}
-var lae = typeof S.useId == "function" ? cae : sae;
-function uae() {
+var uae = typeof S.useId == "function" ? lae : cae;
+function dae() {
return !1;
}
-function dae() {
+function fae() {
return !0;
}
-function fae(e) {
+function pae(e) {
return () => {};
}
-function Ev() {
- return typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore(fae, uae, dae) : (0, S.useContext)(aae);
+function Tv() {
+ return typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore(pae, dae, fae) : (0, S.useContext)(oae);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var Dv = null, Ov = /* @__PURE__ */ new Set(), kv = /* @__PURE__ */ new Map(), Av = !1, jv = !1, pae = {
+var Ev = null, Dv = /* @__PURE__ */ new Set(), Ov = /* @__PURE__ */ new Map(), kv = !1, Av = !1, mae = {
Tab: !0,
Escape: !0
};
-function Mv(e, t) {
- for (let n of Ov) n(e, t);
-}
-function mae(e) {
- return !(e.metaKey || !vv() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function jv(e, t) {
+ for (let n of Dv) n(e, t);
}
-function Nv(e) {
- Av = !0, !Cv.isOpening && mae(e) && (Dv = "keyboard", Mv("keyboard", e));
+function hae(e) {
+ return !(e.metaKey || !_v() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function Pv(e) {
- Dv = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Av = !0, Mv("pointer", e));
+function Mv(e) {
+ kv = !0, !Sv.isOpening && hae(e) && (Ev = "keyboard", jv("keyboard", e));
}
-function hae(e) {
- !Cv.isOpening && Yie(e) && (Av = !0, Dv = "virtual");
+function Nv(e) {
+ Ev = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (kv = !0, jv("pointer", e));
}
function gae(e) {
- if (mv) return;
- let t = ov(e), n = Q_(t), r = Z_(t);
- t === n ? jv = !0 : t !== r && e.isTrusted && (!Av && !jv && (Dv = "virtual", Mv("virtual", e)), Av = !1, jv = !1);
+ !Sv.isOpening && Xie(e) && (kv = !0, Ev = "virtual");
+}
+function _ae(e) {
+ if (pv) return;
+ let t = av(e), n = Z_(t), r = X_(t);
+ t === n ? Av = !0 : t !== r && e.isTrusted && (!kv && !Av && (Ev = "virtual", jv("virtual", e)), kv = !1, Av = !1);
}
-function _ae() {
- mv || (Av = !1, jv = !0);
+function vae() {
+ pv || (kv = !1, Av = !0);
}
-function vae(e) {
- let t = av(Z_(ov(e)));
+function yae(e) {
+ let t = iv(X_(av(e)));
queueMicrotask(() => {
- av(Z_(ov(e))) !== t && Rv("keyboard");
+ iv(X_(av(e))) !== t && Lv("keyboard");
});
}
-function Fv(e) {
+function Pv(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Q_(e), n = Z_(e);
- if (kv.get(t)) return;
+ let t = Z_(e), n = X_(e);
+ if (Ov.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- Av = !0, r.apply(this, arguments);
+ kv = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Nv, !0), n.addEventListener("keyup", Nv, !0), n.addEventListener("click", hae, !0), n.addEventListener("invalid", vae, !0), t.addEventListener("focus", gae, !0), t.addEventListener("blur", _ae, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Pv, !0), n.addEventListener("pointermove", Pv, !0), n.addEventListener("pointerup", Pv, !0)), t.addEventListener("beforeunload", () => {
- yae(e);
- }, { once: !0 }), kv.set(t, { focus: r });
+ }), n.addEventListener("keydown", Mv, !0), n.addEventListener("keyup", Mv, !0), n.addEventListener("click", gae, !0), n.addEventListener("invalid", yae, !0), t.addEventListener("focus", _ae, !0), t.addEventListener("blur", vae, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Nv, !0), n.addEventListener("pointermove", Nv, !0), n.addEventListener("pointerup", Nv, !0)), t.addEventListener("beforeunload", () => {
+ bae(e);
+ }, { once: !0 }), Ov.set(t, { focus: r });
}
-var yae = (e, t) => {
- let n = Q_(e), r = Z_(e);
- t && r.removeEventListener("DOMContentLoaded", t), kv.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var bae = (e, t) => {
+ let n = Z_(e), r = X_(e);
+ t && r.removeEventListener("DOMContentLoaded", t), Ov.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: kv.get(n).focus
- }), r.removeEventListener("keydown", Nv, !0), r.removeEventListener("keyup", Nv, !0), r.removeEventListener("click", hae, !0), r.removeEventListener("invalid", vae, !0), n.removeEventListener("focus", gae, !0), n.removeEventListener("blur", _ae, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Pv, !0), r.removeEventListener("pointermove", Pv, !0), r.removeEventListener("pointerup", Pv, !0)), kv.delete(n));
+ value: Ov.get(n).focus
+ }), r.removeEventListener("keydown", Mv, !0), r.removeEventListener("keyup", Mv, !0), r.removeEventListener("click", gae, !0), r.removeEventListener("invalid", yae, !0), n.removeEventListener("focus", _ae, !0), n.removeEventListener("blur", vae, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Nv, !0), r.removeEventListener("pointermove", Nv, !0), r.removeEventListener("pointerup", Nv, !0)), Ov.delete(n));
};
-function bae(e) {
- let t = Z_(e), n;
+function xae(e) {
+ let t = X_(e), n;
return t.readyState === "loading" ? (n = () => {
- Fv(e);
- }, t.addEventListener("DOMContentLoaded", n)) : Fv(e), () => yae(e, n);
+ Pv(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : Pv(e), () => bae(e, n);
}
-typeof document < "u" && bae();
-function Iv() {
- return Dv !== "pointer";
+typeof document < "u" && xae();
+function Fv() {
+ return Ev !== "pointer";
}
-function Lv() {
- return Dv;
+function Iv() {
+ return Ev;
}
-function Rv(e) {
- Dv = e, Mv(e, null);
+function Lv(e) {
+ Ev = e, jv(e, null);
}
-function xae() {
- Fv();
- let [e, t] = (0, S.useState)(Dv);
+function Sae() {
+ Pv();
+ let [e, t] = (0, S.useState)(Ev);
return (0, S.useEffect)(() => {
let e = () => {
- t(Dv);
+ t(Ev);
};
- return Ov.add(e), () => {
- Ov.delete(e);
+ return Dv.add(e), () => {
+ Dv.delete(e);
};
- }, []), Ev() ? null : e;
+ }, []), Tv() ? null : e;
}
-var Sae = /* @__PURE__ */ new Set([
+var Cae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -20982,90 +20999,90 @@ var Sae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Cae(e, t, n) {
- let r = n ? ov(n) : void 0, i = Z_(r), a = Q_(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 = av(i);
- return e = e || u instanceof o && !Sae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !pae[n.key]);
+function wae(e, t, n) {
+ let r = n ? av(n) : void 0, i = X_(r), a = Z_(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 = iv(i);
+ return e = e || u instanceof o && !Cae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !mae[n.key]);
}
-function zv(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, S.useState)(n || Iv());
- return Bv((e) => {
+function Rv(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, S.useState)(n || Fv());
+ return zv((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function Bv(e, t, n) {
- Fv(), (0, S.useEffect)(() => {
+function zv(e, t, n) {
+ Pv(), (0, S.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- Cae(!!n?.isTextInput, t, r) && e(Iv());
+ wae(!!n?.isTextInput, t, r) && e(Fv());
};
- return Ov.add(t), () => {
- Ov.delete(t);
+ return Dv.add(t), () => {
+ Dv.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var Vv = /* @__PURE__ */ new Map(), Hv = /* @__PURE__ */ new Set();
-function Uv(e) {
+var Bv = /* @__PURE__ */ new Map(), Vv = /* @__PURE__ */ new Set();
+function Hv(e) {
return "propertyName" in e;
}
-function wae(e) {
- let t = ov(e);
- if (!Uv(e) || !t) return;
- let n = Vv.get(t);
- n || (n = /* @__PURE__ */ new Set(), Vv.set(t, n), t.addEventListener("transitioncancel", Wv, { once: !0 })), n.add(e.propertyName);
+function Tae(e) {
+ let t = av(e);
+ if (!Hv(e) || !t) return;
+ let n = Bv.get(t);
+ n || (n = /* @__PURE__ */ new Set(), Bv.set(t, n), t.addEventListener("transitioncancel", Uv, { once: !0 })), n.add(e.propertyName);
}
-function Wv(e) {
- let t = ov(e);
- if (!Uv(e) || !t) return;
- let n = Vv.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Wv), Vv.delete(t)), Vv.size === 0)) for (let e of Hv) e(!0), Hv.delete(e);
+function Uv(e) {
+ let t = av(e);
+ if (!Hv(e) || !t) return;
+ let n = Bv.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Uv), Bv.delete(t)), Bv.size === 0)) for (let e of Vv) e(!0), Vv.delete(e);
}
-function Gv() {
- tv(document, "transitionrun", wae), tv(document, "transitionend", Wv);
+function Wv() {
+ ev(document, "transitionrun", Tae), ev(document, "transitionend", Uv);
}
-function Tae() {
- for (let [e] of Vv) "isConnected" in e && !e.isConnected && Vv.delete(e);
+function Eae() {
+ for (let [e] of Bv) "isConnected" in e && !e.isConnected && Bv.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? tv(document, "DOMContentLoaded", Gv) : Gv());
-function Kv(e) {
+typeof document < "u" && (document.readyState === "loading" ? ev(document, "DOMContentLoaded", Wv) : Wv());
+function Gv(e) {
let t = window.requestAnimationFrame(() => {
- if (Tae(), Vv.size === 0) return e(!1);
- Hv.add(e);
+ if (Eae(), Bv.size === 0) return e(!1);
+ Vv.add(e);
});
return () => {
- window.cancelAnimationFrame(t), Hv.delete(e);
+ window.cancelAnimationFrame(t), Vv.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function qv(e) {
+function Kv(e) {
if (!e.isConnected) return;
- let t = Z_(e);
- if (Lv() === "virtual") {
- let n = av(t);
- Kv(() => {
- let r = av(t);
- (r === n || r === t.body) && e.isConnected && X_(e);
+ let t = X_(e);
+ if (Iv() === "virtual") {
+ let n = iv(t);
+ Gv(() => {
+ let r = iv(t);
+ (r === n || r === t.body) && e.isConnected && Y_(e);
});
- } else X_(e);
+ } else Y_(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function Jv(...e) {
+function qv(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Eae(e) {
+function Dae(e) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(t), i = (0, S.useRef)(null), a = (0, S.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 fv(() => {
+ return dv(() => {
r.current = t, i.current && a.current();
}), [t, (0, S.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -21073,21 +21090,21 @@ function Eae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var Dae = !!(typeof window < "u" && window.document && window.document.createElement), Yv = /* @__PURE__ */ new Map(), Xv;
-typeof FinalizationRegistry < "u" && (Xv = new FinalizationRegistry((e) => {
- Yv.delete(e);
+var Oae = !!(typeof window < "u" && window.document && window.document.createElement), Jv = /* @__PURE__ */ new Map(), Yv;
+typeof FinalizationRegistry < "u" && (Yv = new FinalizationRegistry((e) => {
+ Jv.delete(e);
}));
-var Zv = /* @__PURE__ */ new WeakMap();
-function Qv(e) {
- let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(null), i = lae(t), a = (0, S.useRef)(null), o = Zv.get(a);
- if (Xv && o !== i && (o != null && Xv.unregister(a), Xv.register(a, i, a), Zv.set(a, i)), Dae) {
- let e = Yv.get(i);
- e && !e.includes(r) ? e.push(r) : Yv.set(i, [r]);
- }
- return fv(() => {
+var Xv = /* @__PURE__ */ new WeakMap();
+function Zv(e) {
+ let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(null), i = uae(t), a = (0, S.useRef)(null), o = Xv.get(a);
+ if (Yv && o !== i && (o != null && Yv.unregister(a), Yv.register(a, i, a), Xv.set(a, i)), Oae) {
+ let e = Jv.get(i);
+ e && !e.includes(r) ? e.push(r) : Jv.set(i, [r]);
+ }
+ return dv(() => {
let e = i;
return () => {
- Xv && (Xv.unregister(a), Zv.delete(a)), Yv.delete(e);
+ Yv && (Yv.unregister(a), Xv.delete(a)), Jv.delete(e);
};
}, [i]), (0, S.useEffect)(() => {
let e = r.current;
@@ -21096,20 +21113,20 @@ function Qv(e) {
};
}), i;
}
-function Oae(e, t) {
+function kae(e, t) {
if (e === t) return e;
- let n = Yv.get(e);
+ let n = Jv.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = Yv.get(t);
+ let r = Jv.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function $v(e = []) {
- let t = Qv(), [n, r] = Eae(t), i = (0, S.useCallback)(() => {
+function Qv(e = []) {
+ let t = Zv(), [n, r] = Dae(t), i = (0, S.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return fv(i, [
+ return dv(i, [
t,
i,
...e
@@ -21117,60 +21134,60 @@ function $v(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function ey(...e) {
+function $v(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = ty(e, t);
+ let r = ey(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : ty(e[n], null);
+ typeof t == "function" ? t() : ey(e[n], null);
});
};
};
}
-function ty(e, t) {
+function ey(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function ny(e) {
+function ty(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 = ny(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = ty(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function ry() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ny(e)) && (r && (r += " "), r += t);
+function ny() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ty(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
-function iy(...e) {
+function ry(...e) {
let t = { ...e[0] };
for (let n = 1; n < e.length; n++) {
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] = Jv(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ry(n, i) : e === "id" && n && i ? t.id = Oae(n, i) : e === "ref" && n && i ? t.ref = ey(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] = qv(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ny(n, i) : e === "id" && n && i ? t.id = kae(n, i) : e === "ref" && n && i ? t.ref = $v(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function ay(e) {
+function iy(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, S.useCallback)((e) => {
- if (ov(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = Uie(a), s = (0, S.useCallback)((e) => {
- let t = ov(e), r = Z_(t), a = r ? av(r) : av();
+ if (av(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
+ }, [r, i]), o = Wie(a), s = (0, S.useCallback)((e) => {
+ let t = av(e), r = X_(t), a = r ? iv(r) : iv();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -21184,7 +21201,7 @@ function ay(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function oy(e) {
+function ay(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -21209,33 +21226,33 @@ function oy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var kae = /* @__PURE__ */ new Set([
+var Aae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Aae = [
+]), jae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function jae(e) {
+function Mae(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(vv() ? "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(_v() ? "Meta" : "Control"), t;
}
-function Mae(e) {
+function Nae(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 sy(e) {
- return Aae.filter((t) => e.has(t));
+function oy(e) {
+ return jae.filter((t) => e.has(t));
}
-function Nae(e) {
+function Pae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return kae.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 Aae.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,
@@ -21247,10 +21264,10 @@ function Nae(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 cy(e) {
+function sy(e) {
return e.toLowerCase();
}
-var Pae = {
+var Fae = {
space: " ",
esc: "escape",
del: "delete",
@@ -21262,26 +21279,26 @@ var Pae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Fae(e) {
- let t = cy(e);
- return Pae[t] ?? t;
-}
function Iae(e) {
- let t = sy(jae(e)), n = Fae(e.key);
- return t.length > 0 ? `${t.join("+")}+${n}` : n;
+ let t = sy(e);
+ return Fae[t] ?? t;
}
function Lae(e) {
- let t = sy(Mae(e)), n = cy(e.key);
- return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+ let t = oy(Mae(e)), n = Iae(e.key);
+ return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
function Rae(e) {
+ let t = oy(Nae(e)), n = sy(e.key);
+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+}
+function zae(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Nae(n);
- t.set(Iae(e), r);
+ let e = Pae(n);
+ t.set(Lae(e), r);
}
return (e) => {
- let n = Lae(e), r = t.get(n), i = r?.(e);
+ let n = Rae(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -21293,16 +21310,16 @@ function Rae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function ly(e) {
+function cy(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Rae(t), s = oy((e) => {
- iv(e.currentTarget, ov(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = oy((e) => {
- iv(e.currentTarget, ov(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = zae(t), s = ay((e) => {
+ rv(e.currentTarget, av(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = ay((e) => {
+ rv(e.currentTarget, av(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? Jv(e.onKeyDown, s) : s, a = e.onKeyUp ? Jv(e.onKeyUp, c) : c;
- } else i = oy(e.onKeyDown), a = oy(e.onKeyUp);
+ i = e.onKeyDown ? qv(e.onKeyDown, s) : s, a = e.onKeyUp ? qv(e.onKeyUp, c) : c;
+ } else i = ay(e.onKeyDown), a = ay(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -21310,7 +21327,7 @@ function ly(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function uy(e) {
+function ly(e) {
let t = (0, S.useRef)(null), n = (0, S.useRef)(void 0), r = (0, S.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -21333,8 +21350,8 @@ function uy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function dy(e, t) {
- fv(() => {
+function uy(e, t) {
+ dv(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -21342,20 +21359,20 @@ function dy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var fy = /*#__PURE__*/ S.createContext(null);
-function zae(e) {
- let t = (0, S.useContext)(fy) || {};
- dy(t, e);
+var dy = /*#__PURE__*/ S.createContext(null);
+function Bae(e) {
+ let t = (0, S.useContext)(dy) || {};
+ uy(t, e);
let { ref: n, ...r } = t;
return r;
}
-function py(e, t) {
- let { focusProps: n } = ay(e), { keyboardProps: r } = ly(e), i = iy(n, r), a = zae(t), o = e.isDisabled ? {} : a, s = (0, S.useRef)(e.autoFocus);
+function fy(e, t) {
+ let { focusProps: n } = iy(e), { keyboardProps: r } = cy(e), i = ry(n, r), a = Bae(t), o = e.isDisabled ? {} : a, s = (0, S.useRef)(e.autoFocus);
(0, S.useEffect)(() => {
- s.current && t.current && qv(t.current), s.current = !1;
+ s.current && t.current && Kv(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
- return e.isDisabled && (c = void 0), { focusableProps: iy({
+ return e.isDisabled && (c = void 0), { focusableProps: ry({
...i,
tabIndex: c
}, o) };
@@ -21387,22 +21404,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var my = /*#__PURE__*/ (0, S.createContext)(!1);
-function Bae(e) {
- if ((0, S.useContext)(my)) return /*#__PURE__*/ S.createElement(S.Fragment, null, e.children);
- let t = /*#__PURE__*/ S.createElement(my.Provider, { value: !0 }, e.children);
+var py = /*#__PURE__*/ (0, S.createContext)(!1);
+function Vae(e) {
+ if ((0, S.useContext)(py)) return /*#__PURE__*/ S.createElement(S.Fragment, null, e.children);
+ let t = /*#__PURE__*/ S.createElement(py.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ S.createElement("template", null, t);
}
-function hy(e) {
- let t = (t, n) => (0, S.useContext)(my) ? null : e(t, n);
+function my(e) {
+ let t = (t, n) => (0, S.useContext)(py) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, S.forwardRef)(t);
}
-function gy() {
- return (0, S.useContext)(my);
+function hy() {
+ return (0, S.useContext)(py);
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var Vae = /* @__PURE__ */ o(((e) => {
+var Hae = /* @__PURE__ */ o(((e) => {
var t = p();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -21440,47 +21457,47 @@ var Vae = /* @__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;
-})), _y = /* @__PURE__ */ o(((e, t) => {
- t.exports = Vae();
-})), Hae = _y(), vy = /*#__PURE__*/ (0, S.createContext)(!1), yy = /*#__PURE__*/ (0, S.createContext)(null);
-function by(e) {
- if ((0, S.useContext)(yy)) return e.content;
- let { collection: t, document: n } = Kae(e.createCollection);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Bae, null, /*#__PURE__*/ S.createElement(yy.Provider, { value: n }, e.content)), /*#__PURE__*/ S.createElement(Uae, {
+})), gy = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Hae();
+})), Uae = gy(), _y = /*#__PURE__*/ (0, S.createContext)(!1), vy = /*#__PURE__*/ (0, S.createContext)(null);
+function yy(e) {
+ if ((0, S.useContext)(vy)) return e.content;
+ let { collection: t, document: n } = qae(e.createCollection);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Vae, null, /*#__PURE__*/ S.createElement(vy.Provider, { value: n }, e.content)), /*#__PURE__*/ S.createElement(Wae, {
render: e.children,
collection: t
}));
}
-function Uae({ collection: e, render: t }) {
+function Wae({ collection: e, render: t }) {
return t(e);
}
-function Wae(e, t, n) {
- let r = Ev(), i = (0, S.useRef)(r);
+function Gae(e, t, n) {
+ let r = Tv(), i = (0, S.useRef)(r);
i.current = r;
let a = (0, S.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Hae.useSyncExternalStore)(e, a);
+ return (0, Uae.useSyncExternalStore)(e, a);
}
-var Gae = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Wae;
-function Kae(e) {
- let [t] = (0, S.useState)(() => new Aie(e?.() || new q_()));
+var Kae = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Gae;
+function qae(e) {
+ let [t] = (0, S.useState)(() => new jie(e?.() || new K_()));
return {
- collection: Gae((0, S.useCallback)((e) => t.subscribe(e), [t]), (0, S.useCallback)(() => {
+ collection: Kae((0, S.useCallback)((e) => t.subscribe(e), [t]), (0, S.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, S.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var xy = /*#__PURE__*/ (0, S.createContext)(null);
-function qae(e) {
- return class extends W_ {
+var by = /*#__PURE__*/ (0, S.createContext)(null);
+function Jae(e) {
+ return class extends U_ {
static {
this.type = e;
}
};
}
-function Sy(e, t, n, r, i, a) {
- typeof e == "string" && (e = qae(e));
+function xy(e, t, n, r, i, a) {
+ typeof e == "string" && (e = Jae(e));
let o = (0, S.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -21489,86 +21506,86 @@ function Sy(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, S.useContext)(xy);
+ ]), s = (0, S.useContext)(by);
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__*/ S.createElement(xy.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__*/ S.createElement(by.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ S.createElement(e.type, { ref: o }, i);
}
-function Cy(e, t) {
+function Sy(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, S.forwardRef)((r, i) => {
- let a = (0, S.useContext)(fy);
- if (!(0, S.useContext)(vy)) {
+ let a = (0, S.useContext)(dy);
+ if (!(0, S.useContext)(_y)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Sy(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ S.createElement(fy.Provider, { value: a }, /*#__PURE__*/ S.createElement(n, { node: e })));
+ return xy(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ S.createElement(dy.Provider, { value: a }, /*#__PURE__*/ S.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function wy(e, t, n = Ty) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, S.forwardRef)((t, i) => Sy(e, t, i, null, n(t), (e) => /*#__PURE__*/ S.createElement(r, { node: e })) ?? /*#__PURE__*/ S.createElement(S.Fragment, null));
+function Cy(e, t, n = wy) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, S.forwardRef)((t, i) => xy(e, t, i, null, n(t), (e) => /*#__PURE__*/ S.createElement(r, { node: e })) ?? /*#__PURE__*/ S.createElement(S.Fragment, null));
return i.displayName = t.name, i;
}
-function Ty(e) {
- return Y_({
+function wy(e) {
+ return J_({
...e,
addIdAndValue: !0
});
}
-var Ey = /*#__PURE__*/ (0, S.createContext)(null);
-function Dy(e) {
- let t = (0, S.useContext)(Ey), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Ty({
+var Ty = /*#__PURE__*/ (0, S.createContext)(null);
+function Ey(e) {
+ let t = (0, S.useContext)(Ty), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = wy({
...e,
idScope: r,
dependencies: n
});
- return (0, S.useContext)(yy) && (i = /*#__PURE__*/ S.createElement(Jae, null, i)), t = (0, S.useMemo)(() => ({
+ return (0, S.useContext)(vy) && (i = /*#__PURE__*/ S.createElement(Yae, null, i)), t = (0, S.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ S.createElement(Ey.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ S.createElement(Ty.Provider, { value: t }, i);
}
-function Jae({ children: e }) {
- let t = (0, S.useContext)(yy), n = (0, S.useMemo)(() => /*#__PURE__*/ S.createElement(yy.Provider, { value: null }, /*#__PURE__*/ S.createElement(vy.Provider, { value: !0 }, e)), [e]);
- return Ev() ? /*#__PURE__*/ S.createElement(xy.Provider, { value: t }, n) : /*#__PURE__*/ (0, gt.createPortal)(n, t);
+function Yae({ children: e }) {
+ let t = (0, S.useContext)(vy), n = (0, S.useMemo)(() => /*#__PURE__*/ S.createElement(vy.Provider, { value: null }, /*#__PURE__*/ S.createElement(_y.Provider, { value: !0 }, e)), [e]);
+ return Tv() ? /*#__PURE__*/ S.createElement(by.Provider, { value: t }, n) : /*#__PURE__*/ (0, gt.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var Yae = "react-aria-clear-focus", Xae = "react-aria-focus";
+var Xae = "react-aria-clear-focus", Zae = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Oy(e) {
- let t = Qae(Z_(e));
- t !== e && (t && Zae(t, e), e && ky(e, t));
+function Dy(e) {
+ let t = $ae(X_(e));
+ t !== e && (t && Qae(t, e), e && Oy(e, t));
}
-function Zae(e, t) {
+function Qae(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function ky(e, t) {
+function Oy(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function Qae(e) {
- let t = av(e), n = t?.getAttribute("aria-activedescendant");
+function $ae(e) {
+ let t = iv(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Ay(e, t) {
- let n = Q_(t), r = Z_(t);
+function ky(e, t) {
+ let n = Z_(t), r = X_(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-var jy = 100, My = 600, Ny = {
+var Ay = 100, jy = 600, My = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -21578,7 +21595,7 @@ var jy = 100, My = 600, Ny = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, $ae = /* @__PURE__ */ new Set([
+}, eoe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21589,7 +21606,7 @@ var jy = 100, My = 600, Ny = {
"submit",
"reset"
]);
-function Py() {
+function Ny() {
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,
@@ -21597,59 +21614,59 @@ function Py() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function eoe(e) {
- Ny.resizeTimeStamp <= e.timeStamp + 50 && (Ny.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Ny.resizeTimeout), Ny.resizeTimeout = window.setTimeout(Fy, 150));
+function toe(e) {
+ My.resizeTimeStamp <= e.timeStamp + 50 && (My.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(My.resizeTimeout), My.resizeTimeout = window.setTimeout(Py, 150));
}
-function Fy() {
- let e = Ay("viewport");
- if (xv() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = Py(), r = t - Ny.startTimeStamp, i = Ny.screenHeight - n.height, a = Ny.screenAngle - n.angle;
- Math.abs(a) % 180 && Ny.screenWidth - n.height < jy && (Ny.screenWidth = n.width, Ny.screenHeight = n.height, Ny.screenAngle = n.angle, i = 0), r > My && (window.clearTimeout(Ny.screenTimeout), Ny.screenTimeout = window.setTimeout(() => {
- let e = Ry(document.hasFocus() ? av() : null), t = Py();
- Math.abs(Ny.screenAngle - t.angle) % 180 || Ny.isOpen && e || (Ny.screenWidth = t.width, Ny.screenHeight = t.height, Ny.screenAngle = t.angle, Ny.isOpen = !1);
- }, My)), r <= My && i >= jy && (Ny.endTimeStamp = t), Ny.isOpen = i >= jy;
-}
-function toe() {
- let e = Py(), t = Ny.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !Ny.isOpen) {
- let e = Ny.screenWidth;
- Ny.screenWidth = Ny.screenHeight, Ny.screenHeight = e;
- }
- Ny.isOpen || (Ny.screenAngle = e.angle);
-}
-function noe(e) {
- let t = Ry(ov(e)), n = performance.now(), r = Py(), i = Ny.screenHeight - r.height;
- i < jy && t && (Ny.screenWidth = r.width, Ny.screenHeight = r.height, Ny.screenAngle = r.angle, Ny.startTimeStamp = n), t && window.clearTimeout(Ny.screenTimeout), i >= jy && t && (Ny.endTimeStamp = n);
+function Py() {
+ let e = ky("viewport");
+ if (bv() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = Ny(), r = t - My.startTimeStamp, i = My.screenHeight - n.height, a = My.screenAngle - n.angle;
+ Math.abs(a) % 180 && My.screenWidth - n.height < Ay && (My.screenWidth = n.width, My.screenHeight = n.height, My.screenAngle = n.angle, i = 0), r > jy && (window.clearTimeout(My.screenTimeout), My.screenTimeout = window.setTimeout(() => {
+ let e = Ly(document.hasFocus() ? iv() : null), t = Ny();
+ Math.abs(My.screenAngle - t.angle) % 180 || My.isOpen && e || (My.screenWidth = t.width, My.screenHeight = t.height, My.screenAngle = t.angle, My.isOpen = !1);
+ }, jy)), r <= jy && i >= Ay && (My.endTimeStamp = t), My.isOpen = i >= Ay;
+}
+function noe() {
+ let e = Ny(), t = My.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !My.isOpen) {
+ let e = My.screenWidth;
+ My.screenWidth = My.screenHeight, My.screenHeight = e;
+ }
+ My.isOpen || (My.screenAngle = e.angle);
+}
+function roe(e) {
+ let t = Ly(av(e)), n = performance.now(), r = Ny(), i = My.screenHeight - r.height;
+ i < Ay && t && (My.screenWidth = r.width, My.screenHeight = r.height, My.screenAngle = r.angle, My.startTimeStamp = n), t && window.clearTimeout(My.screenTimeout), i >= Ay && t && (My.endTimeStamp = n);
}
-function Iy() {
- let e = Py();
- tv(window.visualViewport, "resize", bv() ? Fy : eoe), tv(window.screen.orientation, "change", toe), tv(window, "focus", noe, {
+function Fy() {
+ let e = Ny();
+ ev(window.visualViewport, "resize", yv() ? Py : toe), ev(window.screen.orientation, "change", noe), ev(window, "focus", roe, {
capture: !0,
passive: !0
- }), Ny.screenWidth = e.width, Ny.screenHeight = e.height, Ny.screenAngle = e.angle;
+ }), My.screenWidth = e.width, My.screenHeight = e.height, My.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? tv(document, "DOMContentLoaded", Iy) : Iy());
-function Ly() {
- let e = Ay("viewport");
- return xv() && e?.includes("overlays-content") ? !1 : Ny.isOpen ? !0 : Ny.startTimeStamp ? Ny.endTimeStamp >= Ny.startTimeStamp ? !0 : performance.now() - Ny.startTimeStamp <= My ? Ny.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? ev(document, "DOMContentLoaded", Fy) : Fy());
+function Iy() {
+ let e = ky("viewport");
+ return bv() && e?.includes("overlays-content") ? !1 : My.isOpen ? !0 : My.startTimeStamp ? My.endTimeStamp >= My.startTimeStamp ? !0 : performance.now() - My.startTimeStamp <= jy ? My.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function Ry(e) {
- if (!(e instanceof Element) || !uv(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !$ae.has(e.type);
+function Ly(e) {
+ if (!(e instanceof Element) || !lv(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !eoe.has(e.type);
return t || n || r;
}
-function zy(e) {
- return vv() ? e.metaKey : e.ctrlKey;
+function Ry(e) {
+ return _v() ? e.metaKey : e.ctrlKey;
}
-function By() {
- return Ny.isOpen;
+function zy() {
+ return My.isOpen;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var roe = S.useInsertionEffect ?? fv;
-function Vy(e) {
+var ioe = S.useInsertionEffect ?? dv;
+function By(e) {
let t = (0, S.useRef)(null);
- return roe(() => {
+ return ioe(() => {
t.current = e;
}, [e]), (0, S.useCallback)((...e) => {
let n = t.current;
@@ -21658,10 +21675,10 @@ function Vy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Hy(e, t, n, r) {
- let i = Vy(n), a = n == null;
+function Vy(e, t, n, r) {
+ let i = By(n), a = n == null;
(0, S.useEffect)(() => {
- if (!(a || e.current == null)) return tv(e.current, t, i, r);
+ if (!(a || e.current == null)) return ev(e.current, t, i, r);
}, [
e,
t,
@@ -21671,9 +21688,9 @@ function Hy(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Uy(e, t) {
+function Hy(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Qv(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 = Zv(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
@@ -21681,7 +21698,7 @@ function Uy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var ioe = /* @__PURE__ */ new Set([
+var aoe = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -21692,7 +21709,7 @@ var ioe = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), aoe = /* @__PURE__ */ new Set([
+]), ooe = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -21713,20 +21730,20 @@ var ioe = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function ooe(e) {
+function soe(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 ioe.has(t.script);
+ if (t.script) return aoe.has(t.script);
}
let t = e.split("-")[0];
- return aoe.has(t);
+ return ooe.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Wy = Symbol.for("react-aria.i18n.locale");
-function Gy() {
- let e = typeof window < "u" && window[Wy] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Uy = Symbol.for("react-aria.i18n.locale");
+function Wy() {
+ let e = typeof window < "u" && window[Uy] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -21734,33 +21751,33 @@ function Gy() {
}
return {
locale: e,
- direction: ooe(e) ? "rtl" : "ltr"
+ direction: soe(e) ? "rtl" : "ltr"
};
}
-var Ky = Gy(), qy = /* @__PURE__ */ new Set();
-function Jy() {
- Ky = Gy();
- for (let e of qy) e(Ky);
+var Gy = Wy(), Ky = /* @__PURE__ */ new Set();
+function qy() {
+ Gy = Wy();
+ for (let e of Ky) e(Gy);
}
-function soe() {
- let e = Ev(), [t, n] = (0, S.useState)(Ky);
- return (0, S.useEffect)(() => (qy.size === 0 && window.addEventListener("languagechange", Jy), qy.add(n), () => {
- qy.delete(n), qy.size === 0 && window.removeEventListener("languagechange", Jy);
+function coe() {
+ let e = Tv(), [t, n] = (0, S.useState)(Gy);
+ return (0, S.useEffect)(() => (Ky.size === 0 && window.addEventListener("languagechange", qy), Ky.add(n), () => {
+ Ky.delete(n), Ky.size === 0 && window.removeEventListener("languagechange", qy);
}), []), e ? {
- locale: typeof window < "u" && window[Wy] || "en-US",
+ locale: typeof window < "u" && window[Uy] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var coe = /*#__PURE__*/ S.createContext(null);
-function Yy() {
- let e = soe();
- return (0, S.useContext)(coe) || e;
+var loe = /*#__PURE__*/ S.createContext(null);
+function Jy() {
+ let e = coe();
+ return (0, S.useContext)(loe) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var loe = Symbol.for("react-aria.i18n.locale"), uoe = Symbol.for("react-aria.i18n.strings"), Xy = void 0, Zy = class e {
+var uoe = Symbol.for("react-aria.i18n.locale"), doe = Symbol.for("react-aria.i18n.strings"), Yy = void 0, Xy = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -21771,39 +21788,39 @@ var loe = Symbol.for("react-aria.i18n.locale"), uoe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = doe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = foe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[loe];
- if (Xy === void 0) {
- let t = window[uoe];
+ let n = window[uoe];
+ if (Yy === void 0) {
+ let t = window[doe];
if (!t) return null;
- Xy = {};
- for (let r in t) Xy[r] = new e({ [n]: t[r] }, n);
+ Yy = {};
+ for (let r in t) Yy[r] = new e({ [n]: t[r] }, n);
}
- let r = Xy?.[t];
+ let r = Yy?.[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 doe(e, t, n = "en-US") {
+function foe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = foe(e), i = poe(e);
+ let r = poe(e), i = moe(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 foe(e) {
+function poe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function poe(e) {
+function moe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Qy = /* @__PURE__ */ new Map(), $y = /* @__PURE__ */ new Map(), moe = class {
+var Zy = /* @__PURE__ */ new Map(), Qy = /* @__PURE__ */ new Map(), hoe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -21814,37 +21831,37 @@ var Qy = /* @__PURE__ */ new Map(), $y = /* @__PURE__ */ new Map(), moe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Qy.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Qy.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Zy.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Zy.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = $y.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), $y.set(this.locale, t)), t.format(e);
+ let t = Qy.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Qy.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, eb = /* @__PURE__ */ new WeakMap();
-function hoe(e) {
- let t = eb.get(e);
- return t || (t = new Zy(e), eb.set(e, t)), t;
+}, $y = /* @__PURE__ */ new WeakMap();
+function goe(e) {
+ let t = $y.get(e);
+ return t || (t = new Xy(e), $y.set(e, t)), t;
}
-function goe(e, t) {
- return t && Zy.getGlobalDictionaryForPackage(t) || hoe(e);
+function _oe(e, t) {
+ return t && Xy.getGlobalDictionaryForPackage(t) || goe(e);
}
-function tb(e, t) {
- let { locale: n } = Yy(), r = goe(e, t);
- return (0, S.useMemo)(() => new moe(n, r), [n, r]);
+function eb(e, t) {
+ let { locale: n } = Jy(), r = _oe(e, t);
+ return (0, S.useMemo)(() => new hoe(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var _oe = /* @__PURE__ */ new Set(["id"]), voe = /* @__PURE__ */ new Set([
+var voe = /* @__PURE__ */ new Set(["id"]), yoe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), yoe = /* @__PURE__ */ new Set([
+]), boe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -21852,64 +21869,64 @@ var _oe = /* @__PURE__ */ new Set(["id"]), voe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), boe = /* @__PURE__ */ new Set([
+]), xoe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), nb = /* @__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(".")), xoe = /^(data-.*)$/;
-function rb(e, t = {}) {
+]), tb = /* @__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(".")), Soe = /^(data-.*)$/;
+function nb(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) && (_oe.has(t) || n && voe.has(t) || r && yoe.has(t) || i && boe.has(t) || a && (nb.has(t) || t.endsWith("Capture") && nb.has(t.slice(0, -7))) || o?.has(t) || xoe.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (voe.has(t) || n && yoe.has(t) || r && boe.has(t) || i && xoe.has(t) || a && (tb.has(t) || t.endsWith("Capture") && tb.has(t.slice(0, -7))) || o?.has(t) || Soe.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var ib = "default", ab = "", ob = /* @__PURE__ */ new WeakMap();
-function Soe(e) {
- if (yv() && bv()) {
- if (ib === "default") {
- let t = Z_(e);
- ab = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- ib = "disabled";
+var rb = "default", ib = "", ab = /* @__PURE__ */ new WeakMap();
+function Coe(e) {
+ if (vv() && yv()) {
+ if (rb === "default") {
+ let t = X_(e);
+ ib = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ rb = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- ob.set(e, e.style[t]), e.style[t] = "none";
+ ab.set(e, e.style[t]), e.style[t] = "none";
}
}
-function sb(e) {
- if (yv() && bv()) {
- if (ib !== "disabled") return;
- ib = "restoring", setTimeout(() => {
- Kv(() => {
- if (ib === "restoring") {
- let t = Z_(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ab || ""), ab = "", ib = "default";
+function ob(e) {
+ if (vv() && yv()) {
+ if (rb !== "disabled") return;
+ rb = "restoring", setTimeout(() => {
+ Gv(() => {
+ if (rb === "restoring") {
+ let t = X_(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ib || ""), ib = "", rb = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ob.has(e)) {
- let t = ob.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ob.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ab.has(e)) {
+ let t = ab.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ab.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var cb = /* @__PURE__ */ new WeakMap();
-function lb(e) {
- let t = Z_(e), n = cb.get(t);
- return n ??= Ay("csp-nonce", t), n !== void 0 && cb.set(t, n), n;
+var sb = /* @__PURE__ */ new WeakMap();
+function cb(e) {
+ let t = X_(e), n = sb.get(t);
+ return n ??= ky("csp-nonce", t), n !== void 0 && sb.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var ub = S.createContext({ register: () => {} });
-ub.displayName = "PressResponderContext";
+var lb = S.createContext({ register: () => {} });
+lb.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function db() {
+function ub() {
let e = (0, S.useRef)(/* @__PURE__ */ new Map()), t = (0, S.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -21936,15 +21953,15 @@ function db() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Coe(e) {
- let t = (0, S.useContext)(ub);
+function woe(e) {
+ let t = (0, S.useContext)(lb);
if (t) {
let { register: n, ref: r, ...i } = t;
- e = iy(i, e), n();
+ e = ry(i, e), n();
}
- return dy(t, e.ref), e;
+ return uy(t, e.ref), e;
}
-var fb = class {
+var db = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -21957,9 +21974,9 @@ var fb = class {
get shouldStopPropagation() {
return this.#e;
}
-}, pb = Symbol("linkClicked"), mb = "react-aria-pressable-style", hb = "data-react-aria-pressable";
-function gb(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 } = Coe(e), [m, h] = (0, S.useState)(!1), g = (0, S.useRef)({
+}, fb = Symbol("linkClicked"), pb = "react-aria-pressable-style", mb = "data-react-aria-pressable";
+function hb(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = woe(e), [m, h] = (0, S.useState)(!1), g = (0, S.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -21969,12 +21986,12 @@ function gb(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = db(), y = (0, S.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = ub(), y = (0, S.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new fb("pressstart", t, e);
+ let n = new db("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -21988,11 +22005,11 @@ function gb(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new fb("pressend", r, e);
+ let t = new db("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new fb("press", r, e);
+ let n = new db("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -22001,19 +22018,19 @@ function gb(e) {
i,
n,
t
- ]), x = Vy(b), C = Vy((0, S.useCallback)((e, t) => {
+ ]), x = By(b), C = By((0, S.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new fb("pressup", t, e);
+ let r = new db("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), w = (0, S.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(yb(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || sb(t.target);
+ t.didFirePressStart && t.pointerType != null && b(vb(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ob(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -22021,7 +22038,7 @@ function gb(e) {
d,
v,
b
- ]), T = Vy(w);
+ ]), T = By(w);
(0, S.useEffect)(() => {
s && g.current.isPressed && T({
currentTarget: g.current.target,
@@ -22038,39 +22055,39 @@ function gb(e) {
}, [s, o]), O = (0, S.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- Hie(n, t), o(pv(n));
+ Uie(n, t), o(fv(n));
}
}, [s, o]), k = (0, S.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (vb(t.nativeEvent, t.currentTarget) && iv(t.currentTarget, ov(t))) {
- bb(ov(t), t.key) && t.preventDefault();
+ if (_b(t.nativeEvent, t.currentTarget) && rv(t.currentTarget, av(t))) {
+ yb(av(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;
- _(Z_(t.currentTarget), "keyup", Jv((t) => {
- vb(t, i) && !t.repeat && iv(i, ov(t)) && e.target && C(yb(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && vv() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(X_(t.currentTarget), "keyup", qv((t) => {
+ _b(t, i) && !t.repeat && rv(i, av(t)) && e.target && C(vb(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && _v() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || iv(t.currentTarget, ov(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Cv.isOpening) {
+ if ((!t || rv(t.currentTarget, av(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Sv.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Yie(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Xie(t.nativeEvent))) {
let e = y(t, "virtual"), r = C(t, "virtual"), i = x(t, "virtual");
D(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(yb(t.currentTarget, t), r), a = x(yb(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(vb(t.currentTarget, t), r), a = x(vb(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, D(t), T(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && vb(t, e.target)) {
- bb(ov(t), t.key) && t.preventDefault();
- let n = ov(t), r = iv(e.target, n);
- x(yb(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && _b(e.target) && iv(e.target, n) && !t[pb] && (t[pb] = !0, Cv(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && _b(t, e.target)) {
+ yb(av(t), t.key) && t.preventDefault();
+ let n = av(t), r = rv(e.target, n);
+ x(vb(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && gb(e.target) && rv(e.target, n) && !t[fb] && (t[fb] = !0, Sv(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;
@@ -22079,39 +22096,39 @@ function gb(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !iv(t.currentTarget, ov(t))) return;
- if (Xie(t.nativeEvent)) {
+ if (t.button !== 0 || !rv(t.currentTarget, av(t))) return;
+ if (Zie(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 || Soe(e.target), i = y(t, e.pointerType);
- let a = ov(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Z_(t.currentTarget), "pointerup", n, !1), _(Z_(t.currentTarget), "pointercancel", r, !1);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Coe(e.target), i = y(t, e.pointerType);
+ let a = av(t);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(X_(t.currentTarget), "pointerup", n, !1), _(X_(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (iv(t.currentTarget, ov(t)) && t.button === 0) {
+ if (rv(t.currentTarget, av(t)) && t.button === 0) {
if (l) {
- let n = Wie(t.target);
+ let n = Gie(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- iv(t.currentTarget, ov(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);
+ rv(t.currentTarget, av(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(yb(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(vb(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(yb(e.target, t), e.pointerType, !1), E(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(vb(e.target, t), e.pointerType, !1), E(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (iv(e.target, ov(t)) && e.pointerType != null) {
+ if (rv(e.target, av(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (X_(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (Y_(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else T(t);
@@ -22121,7 +22138,7 @@ function gb(e) {
T(e);
};
t.onDragStart = (e) => {
- iv(e.currentTarget, ov(e)) && T(e);
+ rv(e.currentTarget, av(e)) && T(e);
};
}
return t;
@@ -22138,14 +22155,14 @@ function gb(e) {
]);
return (0, S.useEffect)(() => {
if (!f) return;
- let e = Z_(f.current);
- if (!e || !e.head || e.getElementById(mb)) return;
+ let e = X_(f.current);
+ if (!e || !e.head || e.getElementById(pb)) return;
let t = e.createElement("style");
- t.id = mb;
- let n = lb(e);
+ t.id = pb;
+ let n = cb(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${hb}] {
+ [${mb}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -22153,23 +22170,23 @@ function gb(e) {
}, [f]), (0, S.useEffect)(() => {
let e = g.current;
return () => {
- d || sb(e.target ?? void 0);
+ d || ob(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: iy(p, k, { [hb]: !0 })
+ pressProps: ry(p, k, { [mb]: !0 })
};
}
-function _b(e) {
+function gb(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function vb(e, t) {
+function _b(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Q_(i).HTMLInputElement && !xb(i, n) || i instanceof Q_(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && _b(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Z_(i).HTMLInputElement && !bb(i, n) || i instanceof Z_(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && gb(i)) && n !== "Enter");
}
-function yb(e, t) {
+function vb(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -22182,13 +22199,13 @@ function yb(e, t) {
key: t.key
};
}
-function woe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !_b(e);
+function Toe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !gb(e);
}
-function bb(e, t) {
- return vv() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !xb(e, t) : woe(e);
+function yb(e, t) {
+ return _v() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !bb(e, t) : Toe(e);
}
-var Toe = /* @__PURE__ */ new Set([
+var Eoe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22199,12 +22216,12 @@ var Toe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function xb(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Toe.has(e.type);
+function bb(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Eoe.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function Eoe(e, t) {
+function Doe(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -22226,7 +22243,7 @@ function Eoe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = gb({
+ let { pressProps: _, isPressed: v } = hb({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -22236,12 +22253,12 @@ function Eoe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = py(e, t);
+ }), { focusableProps: y } = fy(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = iy(y, _, rb(e, { labelable: !0 }));
+ let b = ry(y, _, nb(e, { labelable: !0 }));
return {
isPressed: v,
- buttonProps: iy(g, b, {
+ buttonProps: ry(g, b, {
"aria-haspopup": e["aria-haspopup"],
"aria-expanded": e["aria-expanded"],
"aria-controls": e["aria-controls"],
@@ -22253,7 +22270,7 @@ function Eoe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Doe = class {
+var Ooe = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -22278,7 +22295,7 @@ var Doe = class {
return this._currentNode;
}
set currentNode(e) {
- if (!iv(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!rv(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 });
@@ -22292,7 +22309,7 @@ var Doe = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return iv(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return rv(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -22356,45 +22373,45 @@ var Doe = class {
return null;
}
};
-function Sb(e, t, n, r) {
- return rv() ? new Doe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function xb(e, t, n, r) {
+ return nv() ? new Ooe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Cb = /*#__PURE__*/ S.createContext(null), wb = "react-aria-focus-scope-restore", Tb = null;
-function Eb(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)([]), { parentNode: c } = (0, S.useContext)(Cb) || {}, l = (0, S.useMemo)(() => new zb({ scopeRef: s }), [s]);
- fv(() => {
- let e = c || Bb.root;
- if (Bb.getTreeNode(e.scopeRef) && Tb && !Mb(Tb, e.scopeRef)) {
- let t = Bb.getTreeNode(Tb);
+var Sb = /*#__PURE__*/ S.createContext(null), Cb = "react-aria-focus-scope-restore", wb = null;
+function Tb(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)([]), { parentNode: c } = (0, S.useContext)(Sb) || {}, l = (0, S.useMemo)(() => new Rb({ scopeRef: s }), [s]);
+ dv(() => {
+ let e = c || zb.root;
+ if (zb.getTreeNode(e.scopeRef) && wb && !jb(wb, e.scopeRef)) {
+ let t = zb.getTreeNode(wb);
t && (e = t);
}
- e.addChild(l), Bb.addNode(l);
- }, [l, c]), fv(() => {
- let e = Bb.getTreeNode(s);
+ e.addChild(l), zb.addNode(l);
+ }, [l, c]), dv(() => {
+ let e = zb.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), fv(() => {
+ }, [n]), dv(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(wb, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Cb, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(wb, n);
+ for (let e of t) e.removeEventListener(Cb, n);
};
- }, [t]), Poe(s, r, n), joe(s, n), Foe(s, r, n), Noe(s, i), (0, S.useEffect)(() => {
- let e = av(Z_(s.current ? s.current[0] : void 0)), t = null;
- if (Ab(e, s.current)) {
- for (let n of Bb.traverse()) n.scopeRef && Ab(e, n.scopeRef.current) && (t = n);
- t === Bb.getTreeNode(s) && (Tb = t.scopeRef);
- }
- }, [s]), fv(() => () => {
- let e = Bb.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Tb || Mb(s, Tb)) && (!e || Bb.getTreeNode(e)) && (Tb = e), Bb.removeTreeNode(s);
+ }, [t]), Foe(s, r, n), Moe(s, n), Ioe(s, r, n), Poe(s, i), (0, S.useEffect)(() => {
+ let e = iv(X_(s.current ? s.current[0] : void 0)), t = null;
+ if (kb(e, s.current)) {
+ for (let n of zb.traverse()) n.scopeRef && kb(e, n.scopeRef.current) && (t = n);
+ t === zb.getTreeNode(s) && (wb = t.scopeRef);
+ }
+ }, [s]), dv(() => () => {
+ let e = zb.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === wb || jb(s, wb)) && (!e || zb.getTreeNode(e)) && (wb = e), zb.removeTreeNode(s);
}, [s]);
- let u = (0, S.useMemo)(() => Ooe(s), []), d = (0, S.useMemo)(() => ({
+ let u = (0, S.useMemo)(() => koe(s), []), d = (0, S.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ S.createElement(Cb.Provider, { value: d }, /*#__PURE__*/ S.createElement("span", {
+ return /*#__PURE__*/ S.createElement(Sb.Provider, { value: d }, /*#__PURE__*/ S.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -22404,154 +22421,154 @@ function Eb(e) {
ref: o
}));
}
-function Ooe(e) {
+function koe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || av(Z_(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Rb(Db(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || iv(X_(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Lb(Eb(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Ab(s, n) ? s : c;
+ l.currentNode = kb(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Nb(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Mb(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || av(Z_(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Rb(Db(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || iv(X_(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Lb(Eb(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Ab(s, n) ? s : c;
+ l.currentNode = kb(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Nb(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Mb(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Rb(Db(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Lb(Eb(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Nb(o, !0), o;
+ return o && Mb(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Rb(Db(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Lb(Eb(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Nb(o, !0), o;
+ return o && Mb(o, !0), o;
}
};
}
-function Db(e) {
+function Eb(e) {
return e[0].parentElement;
}
-function Ob(e) {
- let t = Bb.getTreeNode(Tb);
+function Db(e) {
+ let t = zb.getTreeNode(wb);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function koe(e) {
- if (!e.form) return Array.from(Z_(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Q_(e);
+function Aoe(e) {
+ if (!e.form) return Array.from(X_(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = Z_(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Aoe(e) {
+function joe(e) {
if (e.checked) return !0;
- let t = koe(e);
+ let t = Aoe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function joe(e, t) {
+function Moe(e, t) {
let n = (0, S.useRef)(void 0), r = (0, S.useRef)(void 0);
- fv(() => {
+ dv(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Z_(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ob(e) || t.isComposing) return;
- let n = av(a), r = e.current;
- if (!r || !Ab(n, r)) return;
- let i = Rb(Db(r), { tabbable: !0 }, r);
+ let a = X_(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Db(e) || t.isComposing) return;
+ let n = iv(a), r = e.current;
+ if (!r || !kb(n, r)) return;
+ let i = Lb(Eb(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 && (Nb(o, !0), o instanceof Q_(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 && (Mb(o, !0), o instanceof Z_(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Tb || Mb(Tb, e)) && Ab(ov(t), e.current) ? (Tb = e, n.current = ov(t)) : Ob(e) && !jb(ov(t), e) ? n.current ? Nb(n.current) : Tb && Tb.current && Fb(Tb.current) : Ob(e) && (n.current = ov(t));
+ (!wb || jb(wb, e)) && kb(av(t), e.current) ? (wb = e, n.current = av(t)) : Db(e) && !Ab(av(t), e) ? n.current ? Mb(n.current) : wb && wb.current && Pb(wb.current) : Db(e) && (n.current = av(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = Lv(), i = (r === "virtual" || r === null) && xv() && Jie(), o = av(a);
- if (!i && o && Ob(e) && !jb(o, e)) {
- Tb = e;
- let r = ov(t);
- r && r.isConnected ? (n.current = r, Nb(n.current)) : Tb.current && Fb(Tb.current);
+ let r = Iv(), i = (r === "virtual" || r === null) && bv() && Yie(), o = iv(a);
+ if (!i && o && Db(e) && !Ab(o, e)) {
+ wb = e;
+ let r = av(t);
+ r && r.isConnected ? (n.current = r, Mb(n.current)) : wb.current && Pb(wb.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]), fv(() => () => {
+ }, [e, t]), dv(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function kb(e) {
- return jb(e);
+function Ob(e) {
+ return Ab(e);
}
-function Ab(e, t) {
- return !e || !t ? !1 : t.some((t) => iv(t, e));
+function kb(e, t) {
+ return !e || !t ? !1 : t.some((t) => rv(t, e));
}
-function jb(e, t = null) {
+function Ab(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of Bb.traverse(Bb.getTreeNode(t))) if (n && Ab(e, n.current)) return !0;
+ for (let { scopeRef: n } of zb.traverse(zb.getTreeNode(t))) if (n && kb(e, n.current)) return !0;
return !1;
}
-function Moe(e) {
- return jb(e, Tb);
+function Noe(e) {
+ return Ab(e, wb);
}
-function Mb(e, t) {
- let n = Bb.getTreeNode(t)?.parent;
+function jb(e, t) {
+ let n = zb.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Nb(e, t = !1) {
+function Mb(e, t = !1) {
if (e != null && !t) try {
- qv(e);
+ Kv(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function Pb(e, t = !0) {
- let n = e[0].previousElementSibling, r = Db(e), i = Rb(r, { tabbable: t }, e);
+function Nb(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Eb(e), i = Lb(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Db(e), i = Rb(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Eb(e), i = Lb(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function Fb(e, t = !0) {
- Nb(Pb(e, t));
+function Pb(e, t = !0) {
+ Mb(Nb(e, t));
}
-function Noe(e, t) {
+function Poe(e, t) {
let n = S.useRef(t);
(0, S.useEffect)(() => {
- n.current && (Tb = e, !Ab(av(Z_(e.current ? e.current[0] : void 0)), Tb.current) && e.current && Fb(e.current)), n.current = !1;
+ n.current && (wb = e, !kb(iv(X_(e.current ? e.current[0] : void 0)), wb.current) && e.current && Pb(e.current)), n.current = !1;
}, [e]);
}
-function Poe(e, t, n) {
- fv(() => {
+function Foe(e, t, n) {
+ dv(() => {
if (t || n) return;
- let r = e.current, i = Z_(r ? r[0] : void 0), a = (t) => {
- let n = ov(t);
- Ab(n, e.current) ? Tb = e : kb(n) || (Tb = null);
+ let r = e.current, i = X_(r ? r[0] : void 0), a = (t) => {
+ let n = av(t);
+ kb(n, e.current) ? wb = e : Ob(n) || (wb = 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));
@@ -22562,43 +22579,43 @@ function Poe(e, t, n) {
n
]);
}
-function Ib(e) {
- let t = Bb.getTreeNode(Tb);
+function Fb(e) {
+ let t = zb.getTreeNode(wb);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Foe(e, t, n) {
- let r = (0, S.useRef)(typeof document < "u" ? av(Z_(e.current ? e.current[0] : void 0)) : null);
- fv(() => {
- let r = e.current, i = Z_(r ? r[0] : void 0);
+function Ioe(e, t, n) {
+ let r = (0, S.useRef)(typeof document < "u" ? iv(X_(e.current ? e.current[0] : void 0)) : null);
+ dv(() => {
+ let r = e.current, i = X_(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Tb || Mb(Tb, e)) && Ab(av(i), e.current) && (Tb = e);
+ (!wb || jb(wb, e)) && kb(iv(i), e.current) && (wb = 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]), fv(() => {
- let r = Z_(e.current ? e.current[0] : void 0);
+ }, [e, n]), dv(() => {
+ let r = X_(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ob(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Db(e) || t.isComposing) return;
let n = r.activeElement;
- if (!jb(n, e) || !Ib(e)) return;
- let i = Bb.getTreeNode(e);
+ if (!Ab(n, e) || !Fb(e)) return;
+ let i = zb.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = Rb(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = Lb(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 || !jb(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Ab(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (jb(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Nb(s, !0) : kb(a) ? Nb(a, !0) : n.blur();
+ while (Ab(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Mb(s, !0) : Ob(a) ? Mb(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -22608,31 +22625,31 @@ function Foe(e, t, n) {
e,
t,
n
- ]), fv(() => {
- let n = Z_(e.current ? e.current[0] : void 0);
+ ]), dv(() => {
+ let n = X_(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = Bb.getTreeNode(e);
+ let i = zb.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = Bb.getTreeNode(e);
+ let r = zb.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = av(n);
- if (t && i && (a && jb(a, e) || a === n.body && Ib(e))) {
- let t = Bb.clone();
+ let i = r.nodeToRestore, a = iv(n);
+ if (t && i && (a && Ab(a, e) || a === n.body && Fb(e))) {
+ let t = zb.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- Lb(n.nodeToRestore);
+ Ib(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && Bb.getTreeNode(n.scopeRef)) {
- let e = Pb(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && zb.getTreeNode(n.scopeRef)) {
+ let e = Nb(n.scopeRef.current, !0);
if (e) {
- Lb(e);
+ Ib(e);
return;
}
}
@@ -22644,21 +22661,21 @@ function Foe(e, t, n) {
};
}, [e, t]);
}
-function Lb(e) {
- e.dispatchEvent(new CustomEvent(wb, {
+function Ib(e) {
+ e.dispatchEvent(new CustomEvent(Cb, {
bubbles: !0,
cancelable: !0
- })) && Nb(e);
+ })) && Mb(e);
}
-function Rb(e, t, n) {
- let r = t?.tabbable ? dv : uv, i = Z_(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Sb(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return iv(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Aoe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Ab(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function Lb(e, t, n) {
+ let r = t?.tabbable ? uv : lv, i = X_(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = xb(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return rv(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!joe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || kb(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Ioe = class e {
+var Loe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new zb({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new Rb({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -22669,7 +22686,7 @@ var Ioe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new zb({ scopeRef: e });
+ let i = new Rb({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -22680,7 +22697,7 @@ var Ioe = 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 && Ab(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 && kb(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);
}
@@ -22692,7 +22709,7 @@ var Ioe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, zb = class {
+}, Rb = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -22702,13 +22719,13 @@ var Ioe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, Bb = new Ioe(), Vb = 7e3, Hb = null;
-function Ub(e, t = "assertive", n = Vb) {
- Hb ? Hb.announce(e, t, n) : (Hb = new Loe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Hb.announce(e, t, n) : setTimeout(() => {
- Hb?.isAttached() && Hb?.announce(e, t, n);
+}, zb = new Loe(), Bb = 7e3, Vb = null;
+function Hb(e, t = "assertive", n = Bb) {
+ Vb ? Vb.announce(e, t, n) : (Vb = new Roe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Vb.announce(e, t, n) : setTimeout(() => {
+ Vb?.isAttached() && Vb?.announce(e, t, n);
}, 100));
}
-var Loe = class {
+var Roe = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -22733,7 +22750,7 @@ var Loe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = Vb) {
+ announce(e, t = "assertive", n = Bb) {
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(() => {
@@ -22746,8 +22763,8 @@ var Loe = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function Wb(e, t) {
- let n = (0, S.useRef)(!0), r = (0, S.useRef)(null), i = Vy(e);
+function Ub(e, t) {
+ let n = (0, S.useRef)(!0), r = (0, S.useRef)(null), i = By(e);
(0, S.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, S.useEffect)(() => {
@@ -22757,33 +22774,33 @@ function Wb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function Gb(e, t) {
+function Wb(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function Kb(e, t) {
+function Gb(e, t) {
let n = e;
- for (Gb(n, t) && (n = n.parentElement); n && !Gb(n, t);) n = n.parentElement;
+ for (Wb(n, t) && (n = n.parentElement); n && !Wb(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function qb(e, t) {
+function Kb(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (Gb(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (Wb(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function Jb(e, t, n = {}) {
- e !== t && Roe(e, t, t.getBoundingClientRect(), n);
+function qb(e, t, n = {}) {
+ e !== t && zoe(e, t, t.getBoundingClientRect(), n);
}
-function Roe(e, t, n, r = {}) {
+function zoe(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, L = m - (f ? 0 : E) - S - I, te = h + (f ? 0 : D) + C, ne = g - (f ? 0 : O) - w;
- yv() && bv() || u.direction === "ltr" ? ne -= F : u.direction === "rtl" && (te += F);
+ vv() && yv() || u.direction === "ltr" ? ne -= F : u.direction === "rtl" && (te += F);
let re = k < ee || A > L, ie = j < te || M > ne;
if (re && i === "start") o += k - ee;
else if (re && i === "center") o += (k + A) / 2 - (ee + L) / 2;
@@ -22804,7 +22821,7 @@ function Roe(e, t, n, r = {}) {
top: o
});
}
-function Yb(e, t = {}) {
+function Jb(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -22817,47 +22834,47 @@ function Yb(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = qb(e, !0);
- for (let t of i) Jb(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = Kb(e, !0);
+ for (let t of i) qb(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? qb(n, !0) : [];
- for (let e of i) Jb(e, n, {
+ i = n ? Kb(n, !0) : [];
+ for (let e of i) qb(e, n, {
block: "center",
inline: "center"
});
- for (let t of qb(e, !0)) Jb(t, e);
+ for (let t of Kb(e, !0)) qb(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var zoe = 0, Xb = /* @__PURE__ */ new Map();
-function Zb(e) {
+var Boe = 0, Yb = /* @__PURE__ */ new Map();
+function Xb(e) {
let [t, n] = (0, S.useState)();
- return fv(() => {
+ return dv(() => {
if (!e) return;
- let t = Xb.get(e);
+ let t = Yb.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${zoe++}`;
+ let r = `react-aria-description-${Boe++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, Xb.set(e, t);
+ }, Yb.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), Xb.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), Yb.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function Qb(e, t, n) {
- let r = Vy((e) => {
+function Zb(e, t, n) {
+ let r = By((e) => {
n && !e.defaultPrevented && n(t);
});
(0, S.useEffect)(() => {
@@ -22869,21 +22886,21 @@ function Qb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function $b(e, t, n) {
+function Qb(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- fv(() => {
+ dv(() => {
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(Voe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Hoe(n.current));
}
});
- let a = (0, S.useRef)(!1), o = Vy(() => {
+ let a = (0, S.useRef)(!1), o = By(() => {
a.current || t.resetValidation();
- }), s = Vy((e) => {
+ }), s = By((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Hoe(r) === n.current && (i ? i() : n.current?.focus(), Rv("keyboard")), e.preventDefault();
- }), c = Vy(() => {
+ !e.defaultPrevented && n && r && Uoe(r) === n.current && (i ? i() : n.current?.focus(), Lv("keyboard")), e.preventDefault();
+ }), c = By(() => {
t.commitValidation();
});
(0, S.useEffect)(() => {
@@ -22891,13 +22908,13 @@ function $b(e, t, n) {
if (!e) return;
let t = e.form, r = t?.reset;
return t && (t.reset = () => {
- a.current = !window.event || window.event.type === "message" && ov(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
+ a.current = !window.event || window.event.type === "message" && av(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {
e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);
};
}, [n, r]);
}
-function Boe(e) {
+function Voe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -22913,14 +22930,14 @@ function Boe(e) {
valid: t.valid
};
}
-function Voe(e) {
+function Hoe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Boe(e),
+ validationDetails: Voe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Hoe(e) {
+function Uoe(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -22929,16 +22946,16 @@ function Hoe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Uoe(e = !0) {
+function Woe(e = !0) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return fv(() => {
+ return dv(() => {
r.current || n(!1);
}, []), [i, t];
}
-function ex(e = !0) {
- let t = Qv(), [n, r] = Uoe(e);
+function $b(e = !0) {
+ let t = Zv(), [n, r] = Woe(e);
return {
id: r ? t : void 0,
ref: n
@@ -22946,7 +22963,7 @@ function ex(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var tx = {
+var ex = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -22958,18 +22975,18 @@ var tx = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, nx = {
- ...tx,
+}, tx = {
+ ...ex,
customError: !0,
valid: !1
-}, rx = {
+}, nx = {
isInvalid: !1,
- validationDetails: tx,
+ validationDetails: ex,
validationErrors: []
-}, Woe = (0, S.createContext)({}), ix = "__reactAriaFormValidationState";
-function ax(e) {
+}, Goe = (0, S.createContext)({}), rx = "__reactAriaFormValidationState";
+function ix(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[ix];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[rx];
return {
realtimeValidation: t,
displayValidation: n,
@@ -22978,71 +22995,71 @@ function ax(e) {
commitValidation: a
};
}
- return Goe(e);
+ return Koe(e);
}
-function Goe(e) {
+function Koe(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: nx
- }, l = (0, S.useMemo)(() => !o || i == null ? null : sx(Koe(o, i)), [o, i]);
+ validationDetails: tx
+ }, l = (0, S.useMemo)(() => !o || i == null ? null : ox(qoe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, S.useContext)(Woe), d = (0, S.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => ox(u[e])) : ox(u[r]) : [], [u, r]), [f, p] = (0, S.useState)(u), [m, h] = (0, S.useState)(!1);
+ let u = (0, S.useContext)(Goe), d = (0, S.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => ax(u[e])) : ax(u[r]) : [], [u, r]), [f, p] = (0, S.useState)(u), [m, h] = (0, S.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, S.useMemo)(() => sx(m ? [] : d), [m, d]), _ = (0, S.useRef)(rx), [v, y] = (0, S.useState)(rx), b = (0, S.useRef)(rx), x = () => {
+ let g = (0, S.useMemo)(() => ox(m ? [] : d), [m, d]), _ = (0, S.useRef)(nx), [v, y] = (0, S.useState)(nx), b = (0, S.useRef)(nx), x = () => {
if (!C) return;
w(!1);
let e = l || a || _.current;
- cx(e, b.current) || (b.current = e, y(e));
+ sx(e, b.current) || (b.current = e, y(e));
}, [C, w] = (0, S.useState)(!1);
return (0, S.useEffect)(x), {
- realtimeValidation: c || g || l || a || rx,
+ realtimeValidation: c || g || l || a || nx,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !cx(v, e) ? y(e) : _.current = e;
+ s === "aria" && !sx(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = rx;
- cx(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
+ let e = nx;
+ sx(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
},
commitValidation() {
s === "native" && w(!0), h(!0);
}
};
}
-function ox(e) {
+function ax(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Koe(e, t) {
+function qoe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return ox(n);
+ if (n && typeof n != "boolean") return ax(n);
}
return [];
}
-function sx(e) {
+function ox(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: nx
+ validationDetails: tx
} : null;
}
-function cx(e, t) {
+function sx(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function lx(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 = ax({
+function cx(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 = ix({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: C, validationDetails: w } = b.displayValidation;
- $b(e, b, n);
+ Qb(e, b, n);
let T = (e) => {
- e.stopPropagation(), t.setSelected(ov(e).checked);
- }, { pressProps: E, isPressed: D } = gb({
+ e.stopPropagation(), t.setSelected(av(e).checked);
+ }, { pressProps: E, isPressed: D } = hb({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -23050,7 +23067,7 @@ function lx(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, S.useState)(!1), { pressProps: A } = gb({
+ }), [O, k] = (0, S.useState)(!1), { pressProps: A } = hb({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));
},
@@ -23067,16 +23084,16 @@ function lx(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [ix]: i } = e, { commitValidation: a } = i || b;
+ let { [rx]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = py(e, n), M = iy(E, j), N = rb(e, { labelable: !0 });
- Qb(n, t.defaultSelected, t.setSelected);
- let P = ex(), F = ex();
+ }), { focusableProps: j } = fy(e, n), M = ry(E, j), N = nb(e, { labelable: !0 });
+ Zb(n, t.defaultSelected, t.setSelected);
+ let P = $b(), F = $b();
return {
- labelProps: iy(A, { onClick: (e) => e.preventDefault() }),
- inputProps: iy(N, {
+ labelProps: ry(A, { onClick: (e) => e.preventDefault() }),
+ inputProps: ry(N, {
checked: t.isSelected,
"aria-required": l && u === "aria" || void 0,
required: l && u === "native",
@@ -23110,12 +23127,12 @@ function lx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function ux(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 } = lx(e, t, n), { isIndeterminate: m } = e;
+function lx(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 } = cx(e, t, n), { isIndeterminate: m } = e;
return (0, S.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
- labelProps: iy(r, (0, S.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
+ labelProps: ry(r, (0, S.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
inputProps: i,
descriptionProps: a,
errorMessageProps: o,
@@ -23130,18 +23147,18 @@ function ux(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var qoe = /* @__PURE__ */ new WeakMap();
+var Joe = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function dx(e) {
+function ux(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Qv(t);
- let o = Qv(), s = {};
+ t = Zv(t);
+ let o = Zv(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Uy({
+ let c = Hy({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -23153,19 +23170,19 @@ function dx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function fx(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = dx(e), s = $v([
+function dx(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ux(e), s = Qv([
!!t,
!!n,
r,
i
- ]), c = $v([
+ ]), c = Qv([
!!t,
!!n,
r,
i
]);
- return o = iy(o, { "aria-describedby": [
+ return o = ry(o, { "aria-describedby": [
s,
c,
e["aria-describedby"]
@@ -23178,26 +23195,26 @@ function fx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function px(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, S.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = db(), c = (0, S.useCallback)((e) => {
- iv(e.currentTarget, ov(e)) && a.current.isFocusWithin && !iv(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function fx(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, S.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = ub(), c = (0, S.useCallback)((e) => {
+ rv(e.currentTarget, av(e)) && a.current.isFocusWithin && !rv(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = Uie(c), u = (0, S.useCallback)((e) => {
- if (!iv(e.currentTarget, ov(e))) return;
- let t = ov(e), n = Z_(t), s = av(n);
+ ]), l = Wie(c), u = (0, S.useCallback)((e) => {
+ if (!rv(e.currentTarget, av(e))) return;
+ let t = av(e), n = X_(t), s = iv(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 = ov(e);
- if (a.current.isFocusWithin && !iv(t, r)) {
+ let r = av(e);
+ if (a.current.isFocusWithin && !rv(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- Hie(e, t);
- let i = pv(e);
+ Uie(e, t);
+ let i = fv(e);
c(i);
}
}, { capture: !0 });
@@ -23219,14 +23236,14 @@ function px(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Joe = S.useInsertionEffect ?? S.useLayoutEffect;
-function mx(e, t, n) {
+var Yoe = S.useInsertionEffect ?? S.useLayoutEffect;
+function px(e, t, n) {
let [r, i] = (0, S.useState)(e || t), a = (0, S.useRef)(r), o = (0, S.useRef)(e !== void 0), s = e !== void 0;
(0, S.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Joe(() => {
+ Yoe(() => {
a.current = c;
});
let [, l] = (0, S.useReducer)(() => ({}), {});
@@ -23237,8 +23254,8 @@ function mx(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function hx(e = {}) {
- let { isReadOnly: t } = e, [n, r] = mx(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, S.useState)(n);
+function mx(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = px(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, S.useState)(n);
function a(e) {
t || r(e);
}
@@ -23254,26 +23271,26 @@ function hx(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Yoe(e, t, n) {
- let r = hx({
+function Xoe(e, t, n) {
+ let r = mx({
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 } = qoe.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Joe.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = ax({
+ let { realtimeValidation: l } = ix({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, S.useRef)(rx), d = () => {
+ }), u = (0, S.useRef)(nx), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, S.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ux({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = lx({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -23281,7 +23298,7 @@ function Yoe(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [ix]: {
+ [rx]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -23305,12 +23322,12 @@ function Yoe(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function gx(e, t = -Infinity, n = Infinity) {
+function hx(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var _x = {
+var gx = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -23322,40 +23339,40 @@ var _x = {
width: "1px",
whiteSpace: "nowrap"
};
-function vx(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, S.useState)(!1), { focusWithinProps: a } = px({
+function _x(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, S.useState)(!1), { focusWithinProps: a } = fx({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, S.useMemo)(() => r ? t : t ? {
- ..._x,
+ ...gx,
...t
- } : _x, [r]);
+ } : gx, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function yx(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = vx(e);
- return /*#__PURE__*/ S.createElement(n, iy(a, o), t);
+function vx(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = _x(e);
+ return /*#__PURE__*/ S.createElement(n, ry(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Xoe(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = mx(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = py(e, t), d = ax({
+function Zoe(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = px(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = fy(e, t), d = ix({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = fx({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = dx({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = rb(e, { labelable: !0 }), b = {
+ }), y = nb(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, S.useState)(c);
- return Qb(t, e.defaultValue ?? x, l), $b(e, d, t), {
+ return Zb(t, e.defaultValue ?? x, l), Qb(e, d, t), {
labelProps: h,
- inputProps: iy(y, n === "input" ? b : void 0, {
+ inputProps: ry(y, n === "input" ? b : void 0, {
disabled: r,
readOnly: a,
required: i && s === "native",
@@ -23367,7 +23384,7 @@ function Xoe(e, t) {
"aria-haspopup": e["aria-haspopup"],
"aria-controls": e["aria-controls"],
value: c,
- onChange: (e) => l(ov(e).value),
+ onChange: (e) => l(av(e).value),
autoComplete: e.autoComplete,
autoCapitalize: e.autoCapitalize,
maxLength: e.maxLength,
@@ -23400,42 +23417,42 @@ function Xoe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Zoe = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function bx(e) {
+var Qoe = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function yx(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var xx = /* @__PURE__ */ new WeakMap(), Sx = [];
-function Cx(e, t) {
- let n = Q_(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Zoe, 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 bx = /* @__PURE__ */ new WeakMap(), xx = [];
+function Sx(e, t) {
+ let n = Z_(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Qoe, 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 (rv()) {
+ if (nv()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; ev(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; $_(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 (iv(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (rv(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Sb(Z_(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = xb(X_(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 = xx.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), xx.set(e, t + 1));
+ let t = bx.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), bx.set(e, t + 1));
};
- Sx.length && Sx[Sx.length - 1].disconnect(), d(i);
+ xx.length && xx[xx.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) => iv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && bx(e) ? o.add(e) : e instanceof Element && d(e);
- if (rv()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => rv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && yx(e) ? o.add(e) : e instanceof Element && d(e);
+ if (nv()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -23448,11 +23465,11 @@ function Cx(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (rv()) for (let e of u) {
+ if (nv()) 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) => iv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && bx(e) ? o.add(e) : e instanceof Element && d(e);
- if (rv()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => rv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && yx(e) ? o.add(e) : e instanceof Element && d(e);
+ if (nv()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -23478,59 +23495,59 @@ function Cx(e, t) {
p.disconnect();
}
};
- return Sx.push(h), () => {
- if (p.disconnect(), rv()) for (let e of m) e.disconnect();
+ return xx.push(h), () => {
+ if (p.disconnect(), nv()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = xx.get(e);
- t != null && (t === 1 ? (l(e, !1), xx.delete(e)) : xx.set(e, t - 1));
+ let t = bx.get(e);
+ t != null && (t === 1 ? (l(e, !1), bx.delete(e)) : bx.set(e, t - 1));
}
- h === Sx[Sx.length - 1] ? (Sx.pop(), Sx.length && Sx[Sx.length - 1].observe()) : Sx.splice(Sx.indexOf(h), 1);
+ h === xx[xx.length - 1] ? (xx.pop(), xx.length && xx[xx.length - 1].observe()) : xx.splice(xx.indexOf(h), 1);
};
}
-function wx(e) {
- let t = Sx[Sx.length - 1];
+function Cx(e) {
+ let t = xx[xx.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var Tx = /* @__PURE__ */ new WeakMap();
-function Qoe(e) {
+var wx = /* @__PURE__ */ new WeakMap();
+function $oe(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function $oe(e, t) {
- let n = Tx.get(e);
+function ese(e, t) {
+ let n = wx.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Qoe(t)}`;
+ return `${n.id}-option-${$oe(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function Ex(e) {
- return qie() ? e.altKey : e.ctrlKey;
+function Tx(e) {
+ return Jie() ? e.altKey : e.ctrlKey;
}
-function Dx(e, t) {
+function Ex(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 Ox = /* @__PURE__ */ new WeakMap();
-function ese(e) {
- let t = Qv();
- return Ox.set(e, t), t;
-}
+var Dx = /* @__PURE__ */ new WeakMap();
function tse(e) {
- return Ox.get(e);
+ let t = Zv();
+ return Dx.set(e, t), t;
+}
+function nse(e) {
+ return Dx.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var kx = class {
+var Ox = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Dx(this.ref, e);
+ let n = e == null ? null : Ex(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -23556,12 +23573,12 @@ var kx = class {
height: e?.clientHeight ?? 0
};
}
-}, Ax = class {
+}, kx = 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 kx(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 kx(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 Ox(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 Ox(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -23601,14 +23618,14 @@ var kx = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Dx(this.ref, e);
+ let t = this.getNextKey(e), n = Ex(this.ref, e);
if (t != null) {
- let e = Dx(this.ref, t);
+ let e = Ex(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Dx(this.ref, r);
+ let e = Ex(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -23642,7 +23659,7 @@ var kx = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !Gb(t)) return this.getFirstKey();
+ if (t && !Wb(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -23657,7 +23674,7 @@ var kx = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !Gb(t)) return this.getLastKey();
+ if (t && !Wb(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);
@@ -23680,184 +23697,184 @@ var kx = class {
}
return null;
}
-}, jx = {};
-jx = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Ax = {};
+Ax = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Mx = {};
-Mx = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var jx = {};
+jx = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Nx = {};
-Nx = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var Mx = {};
+Mx = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var Px = {};
-Px = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Nx = {};
+Nx = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var Fx = {};
-Fx = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Px = {};
+Px = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var Ix = {};
-Ix = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Fx = {};
+Fx = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var Lx = {};
-Lx = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var Ix = {};
+Ix = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var Rx = {};
-Rx = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Lx = {};
+Lx = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var zx = {};
-zx = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Rx = {};
+Rx = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var Bx = {};
-Bx = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var zx = {};
+zx = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var Vx = {};
-Vx = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var Bx = {};
+Bx = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var Hx = {};
-Hx = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Vx = {};
+Vx = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var Ux = {};
-Ux = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Hx = {};
+Hx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var Wx = {};
-Wx = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Ux = {};
+Ux = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var Gx = {};
-Gx = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Wx = {};
+Wx = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var Kx = {};
-Kx = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Gx = {};
+Gx = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var qx = {};
-qx = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Kx = {};
+Kx = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Jx = {};
-Jx = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var qx = {};
+qx = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Yx = {};
-Yx = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Jx = {};
+Jx = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var Xx = {};
-Xx = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Yx = {};
+Yx = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Zx = {};
-Zx = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Xx = {};
+Xx = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var Qx = {};
-Qx = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Zx = {};
+Zx = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var $x = {};
-$x = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Qx = {};
+Qx = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var eS = {};
-eS = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var $x = {};
+$x = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var tS = {};
-tS = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var eS = {};
+eS = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var nS = {};
-nS = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var tS = {};
+tS = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var rS = {};
-rS = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var nS = {};
+nS = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var iS = {};
-iS = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var rS = {};
+rS = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var aS = {};
-aS = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var iS = {};
+iS = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var oS = {};
-oS = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var aS = {};
+aS = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var sS = {};
-sS = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var oS = {};
+oS = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var cS = {};
-cS = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var sS = {};
+sS = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var lS = {};
-lS = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var cS = {};
+cS = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var uS = {};
-uS = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var lS = {};
+lS = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var dS = {};
-dS = {
- "ar-AE": jx,
- "bg-BG": Mx,
- "cs-CZ": Nx,
- "da-DK": Px,
- "de-DE": Fx,
- "el-GR": Ix,
- "en-US": Lx,
- "es-ES": Rx,
- "et-EE": zx,
- "fi-FI": Bx,
- "fr-FR": Vx,
- "he-IL": Hx,
- "hr-HR": Ux,
- "hu-HU": Wx,
- "it-IT": Gx,
- "ja-JP": Kx,
- "ko-KR": qx,
- "lt-LT": Jx,
- "lv-LV": Yx,
- "nb-NO": Xx,
- "nl-NL": Zx,
- "pl-PL": Qx,
- "pt-BR": $x,
- "pt-PT": eS,
- "ro-RO": tS,
- "ru-RU": nS,
- "sk-SK": rS,
- "sl-SI": iS,
- "sr-SP": aS,
- "sv-SE": oS,
- "tr-TR": sS,
- "uk-UA": cS,
- "zh-CN": lS,
- "zh-TW": uS
+var uS = {};
+uS = {
+ "ar-AE": Ax,
+ "bg-BG": jx,
+ "cs-CZ": Mx,
+ "da-DK": Nx,
+ "de-DE": Px,
+ "el-GR": Fx,
+ "en-US": Ix,
+ "es-ES": Lx,
+ "et-EE": Rx,
+ "fi-FI": zx,
+ "fr-FR": Bx,
+ "he-IL": Vx,
+ "hr-HR": Hx,
+ "hu-HU": Ux,
+ "it-IT": Wx,
+ "ja-JP": Gx,
+ "ko-KR": Kx,
+ "lt-LT": qx,
+ "lv-LV": Jx,
+ "nb-NO": Yx,
+ "nl-NL": Xx,
+ "pl-PL": Zx,
+ "pt-BR": Qx,
+ "pt-PT": $x,
+ "ro-RO": eS,
+ "ru-RU": tS,
+ "sk-SK": nS,
+ "sl-SI": rS,
+ "sr-SP": iS,
+ "sv-SE": aS,
+ "tr-TR": oS,
+ "uk-UA": sS,
+ "zh-CN": cS,
+ "zh-TW": lS
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var nse = 500;
-function fS(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = nse, accessibilityDescription: s } = e, c = (0, S.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = db(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = gb({
+var rse = 500;
+function dS(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = rse, accessibilityDescription: s } = e, c = (0, S.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = ub(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = hb({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -23865,12 +23882,12 @@ function fS(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Z_(e.target).activeElement !== e.target && X_(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), X_(e.target).activeElement !== e.target && Y_(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 = Q_(e.target);
+ let t = Z_(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -23885,12 +23902,12 @@ function fS(e) {
});
}
});
- return { longPressProps: iy(f, Zb(a && !t ? s : void 0)) };
+ return { longPressProps: ry(f, Xb(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function rse(e) {
- let { onContextMenu: t } = e, n = (0, S.useRef)(!1), { longPressProps: r } = fS({
+function ise(e) {
+ let { onContextMenu: t } = e, n = (0, S.useRef)(!1), { longPressProps: r } = dS({
onLongPressStart() {
n.current = !1;
},
@@ -23902,7 +23919,7 @@ function rse(e) {
});
}
});
- return t ? { contextMenuProps: iy(yv() ? r : {}, {
+ return t ? { contextMenuProps: ry(vv() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -23913,7 +23930,7 @@ function rse(e) {
});
},
onKeyDown(e) {
- if (vv() && e.ctrlKey && e.key === "Enter") {
+ if (_v() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -23933,13 +23950,13 @@ function rse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var pS = /* @__PURE__ */ new WeakMap();
-function ise(e) {
+var fS = /* @__PURE__ */ new WeakMap();
+function ase(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, S.useEffect)(() => !n || r === null ? void 0 : tv(Fie(t.current), "scroll", (e) => {
- let n = ov(e);
- if (!t.current || n instanceof Node && !iv(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || pS.get(t.current);
+ (0, S.useEffect)(() => !n || r === null ? void 0 : ev(Iie(t.current), "scroll", (e) => {
+ let n = av(e);
+ if (!t.current || n instanceof Node && !rv(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || fS.get(t.current);
i && i();
}, !0), [
n,
@@ -23949,14 +23966,14 @@ function ise(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function ase(e, t, n) {
+function ose(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, S.useEffect)(() => {
- n && n.current && pS.set(n.current, t.close);
+ n && n.current && fS.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Qv();
+ let o = Zv();
return {
triggerProps: {
"aria-haspopup": a,
@@ -23969,14 +23986,14 @@ function ase(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function ose(e) {
+function sse(e) {
return e && e.__esModule ? e.default : e;
}
-function mS(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Qv(), { triggerProps: s, overlayProps: c } = ase({ type: r }, t, n), l = (e, n, r = "first") => {
+function pS(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Zv(), { triggerProps: s, overlayProps: c } = ose({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = ly({
+ }, { keyboardProps: u } = cy({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -23988,7 +24005,7 @@ function mS(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = tb(ose(dS), "@react-aria/menu"), { longPressProps: f } = fS({
+ }), d = eb(sse(uS), "@react-aria/menu"), { longPressProps: f } = dS({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -24000,14 +24017,14 @@ function mS(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (X_(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Y_(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (X_(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (Y_(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = rse({ onContextMenu(e) {
+ let { contextMenuProps: m } = ise({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -24017,7 +24034,7 @@ function mS(e, t, n) {
(0, S.useEffect)(() => {
if (t.isOpen && a === "contextMenu") {
let e = (e) => {
- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && ov(e) === document.body && t.close();
+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && av(e) === document.body && t.close();
};
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
}
@@ -24052,8 +24069,8 @@ function mS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var hS = 1e3;
-function gS(e) {
+var mS = 1e3;
+function hS(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, S.useRef)({
search: "",
timeout: void 0
@@ -24072,12 +24089,12 @@ function gS(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, hS);
+ }, mS);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = sse(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !iv(e.currentTarget, ov(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = cse(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !rv(e.currentTarget, av(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();
@@ -24088,34 +24105,34 @@ function gS(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, hS);
+ }, mS);
}
} : void 0
} };
}
-function sse(e) {
+function cse(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function _S(e, t) {
+function gS(e, t) {
let n = (0, S.useRef)(!0), r = (0, S.useRef)(null);
- fv(() => (n.current = !0, () => {
+ dv(() => (n.current = !0, () => {
n.current = !1;
- }), []), fv(() => {
+ }), []), dv(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function vS(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 } = Yy(), _ = Sv(), v = (e, n, i) => {
+function _S(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 } = Jy(), _ = xv(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !Ex(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Tx(e)) {
(0, gt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Dx(r, n), o = t.getItemProps(n);
+ let a = Ex(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -24127,7 +24144,7 @@ function vS(e) {
t.extendSelection(n);
return;
}
- if (l && !Ex(e)) {
+ if (l && !Tx(e)) {
t.replaceSelection(n);
return;
}
@@ -24154,9 +24171,9 @@ function vS(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, zy(e));
+ let r = n.getFirstKey(t.focusedKey, Ry(e));
if (t.setFocusedKey(r), r != null) {
- if (zy(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ry(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24188,9 +24205,9 @@ function vS(e) {
}, T = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, zy(e));
+ let r = n.getLastKey(t.focusedKey, Ry(e));
if (t.setFocusedKey(r), r != null) {
- if (zy(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ry(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24221,12 +24238,12 @@ function vS(e) {
else return !1;
}, A = () => {
if (!f && r.current) {
- let e = Rb(r.current, { tabbable: !0 }), t, n;
+ let e = Lb(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = av();
- t && (!sv(t) || i && !dv(i)) && X_(t);
+ let i = iv();
+ t && (!ov(t) || i && !uv(i)) && Y_(t);
}
return {
shouldContinuePropagation: !0,
@@ -24236,11 +24253,11 @@ function vS(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), M = (e, t) => ({
- [vv() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [_v() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [vv() ? e + "+Alt" : e + "+Control"]: t,
+ [_v() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: N } = ly({
+ }), { keyboardProps: N } = cy({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", b),
@@ -24250,7 +24267,7 @@ function vS(e) {
...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: P } = ly({ shortcuts: {
+ }), { keyboardProps: P } = cy({ shortcuts: {
...M("Home", x),
...M("End", T),
"Mod+A": O,
@@ -24261,7 +24278,7 @@ function vS(e) {
top: 0,
left: 0
});
- Hy(p, "scroll", () => {
+ Vy(p, "scroll", () => {
F.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -24269,11 +24286,11 @@ function vS(e) {
});
let I = (e) => {
if (t.isFocused) {
- iv(e.currentTarget, ov(e)) || t.setFocused(!1);
+ rv(e.currentTarget, av(e)) || t.setFocused(!1);
return;
}
- if (!iv(e.currentTarget, ov(e))) return;
- let i = Lv();
+ if (!rv(e.currentTarget, av(e))) return;
+ let i = Iv();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -24284,27 +24301,27 @@ function vS(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 = F.current.top, p.current.scrollLeft = F.current.left);
if (t.focusedKey != null && p.current) {
- let e = Dx(r, t.focusedKey);
- e instanceof HTMLElement && (!sv(e) && !d && X_(e), (i === "keyboard" || h && i === "virtual") && Yb(e, { containingElement: r.current }));
+ let e = Ex(r, t.focusedKey);
+ e instanceof HTMLElement && (!ov(e) && !d && Y_(e), (i === "keyboard" || h && i === "virtual") && Jb(e, { containingElement: r.current }));
}
}, ee = (e) => {
- iv(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ rv(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, L = (0, S.useRef)(!1);
- Hy(r, Xae, d ? (e) => {
+ Vy(r, Zae, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (L.current = !0);
} : void 0);
let te = n.getFirstKey?.() ?? null;
- _S(() => {
+ gS(() => {
if (L.current) {
if (te == null) {
- let e = av();
- Oy(r.current), ky(e, null), t.collection.size > 0 && (L.current = !1);
+ let e = iv();
+ Dy(r.current), Oy(e, null), t.collection.size > 0 && (L.current = !1);
} else t.setFocusedKey(te), L.current = !1;
}
- }, [te, t.collection.size]), _S(() => {
+ }, [te, t.collection.size]), gS(() => {
t.collection.size > 0 && (L.current = !1);
- }, [t.focusedKey]), Hy(r, Yae, d ? (e) => {
+ }, [t.focusedKey]), Vy(r, Xae, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let ne = (0, S.useRef)(i), re = (0, S.useRef)(!1);
@@ -24319,53 +24336,53 @@ function vS(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && qv(r.current), t.collection.size > 0 && (ne.current = !1, re.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Kv(r.current), t.collection.size > 0 && (ne.current = !1, re.current = !0);
}
});
let ie = (0, S.useRef)(t.focusedKey), ae = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || re.current) && p.current && r.current) {
- let e = Lv(), n = Dx(r, t.focusedKey);
+ let e = Iv(), n = Ex(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || re.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
- p.current && (Jb(p.current, n), e !== "virtual" && Yb(n, { containingElement: r.current }));
+ p.current && (qb(p.current, n), e !== "virtual" && Jb(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && qv(r.current), ie.current = t.focusedKey, re.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && Kv(r.current), ie.current = t.focusedKey, re.current = !1;
}), (0, S.useEffect)(() => () => {
ae.current && cancelAnimationFrame(ae.current);
- }, []), Hy(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Vy(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let oe = {
- ...iy(P, N),
+ ...ry(P, N),
onFocus: I,
onBlur: ee,
onMouseDown(e) {
- p.current === ov(e) && e.preventDefault();
+ p.current === av(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = gS({
+ }, { typeSelectProps: se } = hS({
keyboardDelegate: n,
selectionManager: t
});
- u || (oe = iy(se, oe));
+ u || (oe = ry(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = ese(t.collection);
- return { collectionProps: iy(oe, {
+ let le = tse(t.collection);
+ return { collectionProps: ry(oe, {
tabIndex: ce,
"data-collection": le
}) };
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function yS(e, t) {
+function vS(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function bS(e) {
- return xS(e, 0);
+function yS(e) {
+ return bS(e, 0);
}
-function xS(e, t) {
+function bS(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -24373,112 +24390,112 @@ function xS(e, t) {
n++;
}
}
-function SS(e) {
+function xS(e) {
let t;
for (let n of e) t = n;
return t;
}
-function CS(e, t, n) {
+function SS(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...wS(e, t), t], i = [...wS(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...CS(e, t), t], i = [...CS(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 wS(e, t) {
+function CS(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var TS = /* @__PURE__ */ new WeakMap();
-function ES(e) {
- let t = TS.get(e);
+var wS = /* @__PURE__ */ new WeakMap();
+function TS(e) {
+ let t = wS.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(yS(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(vS(i, e)) : i.type === "item" && n++;
};
- return r(e), TS.set(e, n), n;
+ return r(e), wS.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var DS = /* @__PURE__ */ new Map();
-function OS(e) {
- let { locale: t } = Yy(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (DS.has(n)) return DS.get(n);
+var ES = /* @__PURE__ */ new Map();
+function DS(e) {
+ let { locale: t } = Jy(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (ES.has(n)) return ES.get(n);
let r = new Intl.Collator(t, e);
- return DS.set(n, r), r;
+ return ES.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var cse = /*#__PURE__*/ S.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, S.useRef)(!1), i = (0, S.useContext)(ub), a = iy(i || {}, {
+var lse = /*#__PURE__*/ S.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, S.useRef)(!1), i = (0, S.useContext)(lb), a = ry(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = uy(n || i?.ref), dy(i, a.ref), (0, S.useEffect)(() => {
+ return a.ref = ly(n || i?.ref), uy(i, a.ref), (0, S.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ S.createElement(ub.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ S.createElement(lb.Provider, { value: a }, e);
});
-function lse({ children: e }) {
+function use({ children: e }) {
let t = (0, S.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ S.createElement(ub.Provider, { value: t }, e);
+ return /*#__PURE__*/ S.createElement(lb.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var kS = /*#__PURE__*/ (0, S.createContext)({});
-function AS(e) {
- let { getContainer: t } = e, { getContainer: n } = jS();
- return /*#__PURE__*/ S.createElement(kS.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var OS = /*#__PURE__*/ (0, S.createContext)({});
+function kS(e) {
+ let { getContainer: t } = e, { getContainer: n } = AS();
+ return /*#__PURE__*/ S.createElement(OS.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function jS() {
- return (0, S.useContext)(kS) ?? {};
+function AS() {
+ return (0, S.useContext)(OS) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var MS = /*#__PURE__*/ S.createContext(null);
-function NS(e) {
- let t = Ev(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => ({
+var jS = /*#__PURE__*/ S.createContext(null);
+function MS(e) {
+ let t = Tv(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = jS();
+ }), [i, a]), { getContainer: s } = AS();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ S.createElement(Eb, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ S.createElement(Tb, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ S.createElement(MS.Provider, { value: o }, /*#__PURE__*/ S.createElement(lse, null, /*#__PURE__*/ S.createElement(fy.Provider, { value: null }, c))), /*#__PURE__*/ gt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ S.createElement(jS.Provider, { value: o }, /*#__PURE__*/ S.createElement(use, null, /*#__PURE__*/ S.createElement(dy.Provider, { value: null }, c))), /*#__PURE__*/ gt.createPortal(c, n);
}
-function PS() {
- let e = (0, S.useContext)(MS)?.setContain;
- fv(() => {
+function NS() {
+ let e = (0, S.useContext)(jS)?.setContain;
+ dv(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function use(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = $v();
+function dse(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = Qv();
i = e["aria-label"] ? void 0 : i;
- let a = $v();
+ let a = Qv();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, S.useRef)(!1);
(0, S.useEffect)(() => {
- if (!r && t.current && !sv(t.current)) {
- qv(t.current);
+ if (!r && t.current && !ov(t.current)) {
+ Kv(t.current);
let e = setTimeout(() => {
- (av() === t.current || av() === document.body) && (o.current = !0, t.current && (t.current.blur(), qv(t.current)), o.current = !1);
+ (iv() === t.current || iv() === document.body) && (o.current = !0, t.current && (t.current.blur(), Kv(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), PS(), (0, S.useRef)(!1), (0, S.useEffect)(() => {});
+ }, [t, r]), NS(), (0, S.useRef)(!1), (0, S.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...rb(e, { labelable: !0 }),
+ ...nb(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -24493,23 +24510,23 @@ function use(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function FS(e = {}) {
+function PS(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, S.useRef)({
isFocused: !1,
- isFocusVisible: t || Iv()
+ isFocusVisible: t || Fv()
}), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, S.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, S.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = Iv(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = Fv(), o(e), l();
}, [l]);
- Bv((e) => {
+ zv((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = ay({
+ let { focusProps: d } = iy({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = px({
+ }), { focusWithinProps: f } = fx({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -24521,42 +24538,42 @@ function FS(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function dse(e = {}) {
- let { locale: t } = Yy();
+function fse(e = {}) {
+ let { locale: t } = Jy();
return (0, S.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var IS = !1, LS = 0;
-function fse() {
- IS = !0, setTimeout(() => {
- IS = !1;
+var FS = !1, IS = 0;
+function pse() {
+ FS = !0, setTimeout(() => {
+ FS = !1;
}, 500);
}
-function RS(e) {
- e.pointerType === "touch" && fse();
+function LS(e) {
+ e.pointerType === "touch" && pse();
}
-function pse() {
- let e = Z_(null);
- if (e !== void 0) return LS === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", RS), LS++, () => {
- LS--, !(LS > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", RS);
+function mse() {
+ let e = X_(null);
+ if (e !== void 0) return IS === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", LS), IS++, () => {
+ IS--, !(IS > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", LS);
};
}
-function zS(e) {
+function RS(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, S.useState)(!1), s = (0, S.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, S.useEffect)(pse, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = db(), { hoverProps: u, triggerHoverEnd: d } = (0, S.useMemo)(() => {
+ (0, S.useEffect)(mse, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = ub(), { hoverProps: u, triggerHoverEnd: d } = (0, S.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !iv(e.currentTarget, ov(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !rv(e.currentTarget, av(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Z_(ov(e)), "pointerover", (e) => {
- s.isHovered && s.target && !iv(s.target, ov(e)) && a(e, e.pointerType);
+ s.target = l, c(X_(av(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !rv(s.target, av(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -24571,9 +24588,9 @@ function zS(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- IS && t.pointerType === "mouse" || e(t, t.pointerType);
+ FS && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && iv(e.currentTarget, ov(e)) && a(e, e.pointerType);
+ !i && rv(e.currentTarget, av(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -24596,22 +24613,22 @@ function zS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function mse(e) {
+function hse(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, S.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Vy((e) => {
- n && BS(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Vy((e) => {
+ }), o = By((e) => {
+ n && zS(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = By((e) => {
n && n(e);
});
(0, S.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Z_(n);
+ let n = t.current, i = X_(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && BS(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && zS(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);
@@ -24619,30 +24636,30 @@ function mse(e) {
}
}, [t, r]);
}
-function BS(e, t) {
+function zS(e, t) {
if (e.button > 0) return !1;
- let n = ov(e);
+ let n = av(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !iv(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !rv(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/utils.mjs
-var VS = /* @__PURE__ */ new WeakMap();
-function HS(e, t) {
- let { id: n } = VS.get(e) ?? {};
+var BS = /* @__PURE__ */ new WeakMap();
+function VS(e, t) {
+ let { id: n } = BS.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${hse(t)}`;
+ return `${n}-${gse(t)}`;
}
-function hse(e) {
+function gse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var US = {};
-US = {
+var HS = {};
+HS = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -24656,8 +24673,8 @@ US = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var WS = {};
-WS = {
+var US = {};
+US = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -24671,8 +24688,8 @@ WS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var GS = {};
-GS = {
+var WS = {};
+WS = {
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",
@@ -24686,8 +24703,8 @@ GS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var KS = {};
-KS = {
+var GS = {};
+GS = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -24701,8 +24718,8 @@ KS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var qS = {};
-qS = {
+var KS = {};
+KS = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -24716,8 +24733,8 @@ qS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var JS = {};
-JS = {
+var qS = {};
+qS = {
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: "Επιλογή",
@@ -24731,8 +24748,8 @@ JS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var YS = {};
-YS = {
+var JS = {};
+JS = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -24746,8 +24763,8 @@ YS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var XS = {};
-XS = {
+var YS = {};
+YS = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -24761,8 +24778,8 @@ XS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var ZS = {};
-ZS = {
+var XS = {};
+XS = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -24776,8 +24793,8 @@ ZS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var QS = {};
-QS = {
+var ZS = {};
+ZS = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -24791,8 +24808,8 @@ QS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var $S = {};
-$S = {
+var QS = {};
+QS = {
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",
@@ -24806,8 +24823,8 @@ $S = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var eC = {};
-eC = {
+var $S = {};
+$S = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -24821,8 +24838,8 @@ eC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var tC = {};
-tC = {
+var eC = {};
+eC = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -24836,8 +24853,8 @@ tC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var nC = {};
-nC = {
+var tC = {};
+tC = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -24851,8 +24868,8 @@ nC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var rC = {};
-rC = {
+var nC = {};
+nC = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -24866,8 +24883,8 @@ rC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var iC = {};
-iC = {
+var rC = {};
+rC = {
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: "選択",
@@ -24881,8 +24898,8 @@ iC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var aC = {};
-aC = {
+var iC = {};
+iC = {
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: "선택",
@@ -24896,8 +24913,8 @@ aC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var oC = {};
-oC = {
+var aC = {};
+aC = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -24911,8 +24928,8 @@ oC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var sC = {};
-sC = {
+var oC = {};
+oC = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -24926,8 +24943,8 @@ sC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var cC = {};
-cC = {
+var sC = {};
+sC = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -24941,8 +24958,8 @@ cC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var lC = {};
-lC = {
+var cC = {};
+cC = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -24956,8 +24973,8 @@ lC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var uC = {};
-uC = {
+var lC = {};
+lC = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -24971,8 +24988,8 @@ uC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var dC = {};
-dC = {
+var uC = {};
+uC = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -24986,8 +25003,8 @@ dC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var fC = {};
-fC = {
+var dC = {};
+dC = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -25001,8 +25018,8 @@ fC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var pC = {};
-pC = {
+var fC = {};
+fC = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -25016,8 +25033,8 @@ pC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var mC = {};
-mC = {
+var pC = {};
+pC = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -25031,8 +25048,8 @@ mC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var hC = {};
-hC = {
+var mC = {};
+mC = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -25046,8 +25063,8 @@ hC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var gC = {};
-gC = {
+var hC = {};
+hC = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -25061,8 +25078,8 @@ gC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var _C = {};
-_C = {
+var gC = {};
+gC = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -25076,8 +25093,8 @@ _C = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var vC = {};
-vC = {
+var _C = {};
+_C = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -25091,8 +25108,8 @@ vC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var yC = {};
-yC = {
+var vC = {};
+vC = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -25106,8 +25123,8 @@ yC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var bC = {};
-bC = {
+var yC = {};
+yC = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -25121,8 +25138,8 @@ bC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var xC = {};
-xC = {
+var bC = {};
+bC = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -25136,8 +25153,8 @@ xC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var SC = {};
-SC = {
+var xC = {};
+xC = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -25151,55 +25168,55 @@ SC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var CC = {};
-CC = {
- "ar-AE": US,
- "bg-BG": WS,
- "cs-CZ": GS,
- "da-DK": KS,
- "de-DE": qS,
- "el-GR": JS,
- "en-US": YS,
- "es-ES": XS,
- "et-EE": ZS,
- "fi-FI": QS,
- "fr-FR": $S,
- "he-IL": eC,
- "hr-HR": tC,
- "hu-HU": nC,
- "it-IT": rC,
- "ja-JP": iC,
- "ko-KR": aC,
- "lt-LT": oC,
- "lv-LV": sC,
- "nb-NO": cC,
- "nl-NL": lC,
- "pl-PL": uC,
- "pt-BR": dC,
- "pt-PT": fC,
- "ro-RO": pC,
- "ru-RU": mC,
- "sk-SK": hC,
- "sl-SI": gC,
- "sr-SP": _C,
- "sv-SE": vC,
- "tr-TR": yC,
- "uk-UA": bC,
- "zh-CN": xC,
- "zh-TW": SC
+var SC = {};
+SC = {
+ "ar-AE": HS,
+ "bg-BG": US,
+ "cs-CZ": WS,
+ "da-DK": GS,
+ "de-DE": KS,
+ "el-GR": qS,
+ "en-US": JS,
+ "es-ES": YS,
+ "et-EE": XS,
+ "fi-FI": ZS,
+ "fr-FR": QS,
+ "he-IL": $S,
+ "hr-HR": eC,
+ "hu-HU": tC,
+ "it-IT": nC,
+ "ja-JP": rC,
+ "ko-KR": iC,
+ "lt-LT": aC,
+ "lv-LV": oC,
+ "nb-NO": sC,
+ "nl-NL": cC,
+ "pl-PL": lC,
+ "pt-BR": uC,
+ "pt-PT": dC,
+ "ro-RO": fC,
+ "ru-RU": pC,
+ "sk-SK": mC,
+ "sl-SI": hC,
+ "sr-SP": gC,
+ "sv-SE": _C,
+ "tr-TR": vC,
+ "uk-UA": yC,
+ "zh-CN": bC,
+ "zh-TW": xC
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function gse(e) {
+function _se(e) {
return e && e.__esModule ? e.default : e;
}
-function wC(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = tb(gse(CC), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, S.useRef)(i), o = (0, S.useCallback)(() => {
+function CC(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = eb(_se(SC), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, S.useRef)(i), o = (0, S.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = TC(i, a.current), o = TC(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = wC(i, a.current), o = wC(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)) {
@@ -25219,7 +25236,7 @@ function wC(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 && Ub(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 && Hb(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -25230,7 +25247,7 @@ function wC(e, t) {
n,
r
]);
- Wb(() => {
+ Ub(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -25238,7 +25255,7 @@ function wC(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function TC(e, t) {
+function wC(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);
@@ -25246,13 +25263,13 @@ function TC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function EC(e, t) {
+function TC(e, t) {
let n = t?.isDisabled, [r, i] = (0, S.useState)(!1);
- return fv(() => {
+ return dv(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = Rb(e.current, { tabbable: !0 });
+ let t = Lb(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -25271,12 +25288,12 @@ function EC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function _se(e) {
+function vse(e) {
return e && e.__esModule ? e.default : e;
}
-function DC(e) {
- let t = tb(_se(CC), "@react-aria/grid"), n = xae(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return Zb((0, S.useMemo)(() => {
+function EC(e) {
+ let t = eb(vse(SC), "@react-aria/grid"), n = Sae(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return Xb((0, S.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;
}, [
@@ -25289,11 +25306,11 @@ function DC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function OC(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = OS({
+function DC(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = DS({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, S.useMemo)(() => a || new Ax({
+ }), l = t.disabledBehavior, u = (0, S.useMemo)(() => a || new kx({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -25310,7 +25327,7 @@ function OC(e) {
c,
l,
s
- ]), { collectionProps: d } = vS({
+ ]), { collectionProps: d } = _S({
...e,
ref: i,
selectionManager: t,
@@ -25320,10 +25337,10 @@ function OC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function vse(e, t, n) {
+function yse(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 } = OC({
+ let { listProps: f } = DC({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -25338,31 +25355,31 @@ function vse(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = Qv(e.id);
- VS.set(t, {
+ }), p = Zv(e.id);
+ BS.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = DC({
+ let m = EC({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = EC(n, { isDisabled: t.collection.size !== 0 }), g = iy(rb(e, { labelable: !0 }), {
+ }), h = TC(n, { isDisabled: t.collection.size !== 0 }), g = ry(nb(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), wC({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), CC({}, t), { gridProps: g };
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function kC(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 = Sv();
- t = Qv(t);
+function OC(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 = xv();
+ t = Zv(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && Ex(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Tx(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -25373,11 +25390,11 @@ function kC(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 && (zy(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 && (Ry(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, S.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Oy(i.current) : s ? s() : av() !== i.current && i.current && qv(i.current));
+ r === n.focusedKey && n.isFocused && (o ? Dy(i.current) : s ? s() : iv() !== i.current && i.current && Kv(i.current));
}, [
i,
r,
@@ -25390,7 +25407,7 @@ function kC(e) {
!o && !c ? m = {
tabIndex: r === n.focusedKey ? 0 : -1,
onFocus(e) {
- ov(e) === i.current && n.setFocusedKey(r);
+ av(e) === i.current && n.setFocusedKey(r);
}
} : c && (m.onMouseDown = (e) => {
e.preventDefault();
@@ -25405,23 +25422,23 @@ function kC(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
}, A = { ref: i };
a ? (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || jC(e.key)) && p(e);
+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || AC(e.key)) && p(e);
}, u ? (A.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, A.onPress = b ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : A.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !AC(e.key)) return;
+ if (e.pointerType === "keyboard" && !kC(e.key)) return;
k(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || jC(e.key))) && p(e);
+ w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || AC(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && AC(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && kC(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
});
- let j = tse(n.collection);
- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = iy(A, {
+ let j = nse(n.collection);
+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = ry(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
},
@@ -25435,10 +25452,10 @@ function kC(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = Jv(A[e], O[e]));
- let { pressProps: M, isPressed: N } = gb(A), P = x ? (e) => {
+ ]) O[e] && (A[e] = qv(A[e], O[e]));
+ let { pressProps: M, isPressed: N } = hb(A), P = x ? (e) => {
w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: F } = fS({
+ } : void 0, { longPressProps: F } = dS({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -25446,8 +25463,8 @@ function kC(e) {
}), I = (e) => {
w.current === "touch" && E.current && e.preventDefault();
}, ee = d !== "none" && n.isLink(r) ? (e) => {
- Cv.isOpening || e.preventDefault();
- } : void 0, L = iy(m, v || b || o && !c ? M : {}, T ? F : {}, {
+ Sv.isOpening || e.preventDefault();
+ } : void 0, L = ry(m, v || b || o && !c ? M : {}, T ? F : {}, {
onDoubleClick: P,
onDragStartCapture: I,
onClick: ee,
@@ -25459,15 +25476,15 @@ function kC(e) {
if (e != null) return e !== j;
t = t.parentElement;
}
- return dv(e);
+ return uv(e);
}, ne = L.onPointerDown;
L.onPointerDown = (e) => {
- let t = ov(e);
+ let t = av(e);
t && t !== i.current && te(t) ? e.stopPropagation() : ne?.(e);
};
let re = L.onMouseDown;
return L.onMouseDown = (e) => {
- let t = ov(e);
+ let t = av(e);
t && t !== i.current && te(t) ? e.stopPropagation() : re?.(e);
}, {
itemProps: L,
@@ -25479,15 +25496,15 @@ function kC(e) {
hasAction: C
};
}
-function AC(e) {
+function kC(e) {
return e === "Enter";
}
-function jC(e) {
+function AC(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var MC = {
+var jC = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -25497,18 +25514,18 @@ var MC = {
rtl: "ArrowRight"
}
};
-function yse(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Yy(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = VS.get(t), f = $v(), p = (0, S.useRef)(null), m = () => {
+function bse(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Jy(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = BS.get(t), f = Qv(), p = (0, S.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (sv(n.current) && n.current !== av(Z_(n.current))) return;
- let e = Rb(n.current, { tabbable: !0 }).firstChild();
+ if (ov(n.current) && n.current !== iv(X_(n.current))) return;
+ let e = Lb(n.current, { tabbable: !0 }).firstChild();
if (e) {
- qv(e), Yb(e, { containingElement: Kb(e) });
+ Kv(e), Jb(e, { containingElement: Gb(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !sv(n.current)) && qv(n.current);
+ (p.current != null && r.key !== p.current || !ov(n.current)) && Kv(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -25518,7 +25535,7 @@ function yse(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = bse(e, t.collection);
+ let n = xse(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;
@@ -25529,75 +25546,75 @@ function yse(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = kC({
+ let { itemProps: v, ...y } = OC({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? Jv(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? qv(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = av(Z_(n.current));
- if (!iv(e.currentTarget, ov(e)) || !n.current || !i) return;
- let a = Rb(n.current);
- if (a.currentNode = i, !NC(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = iv(X_(n.current));
+ if (!rv(e.currentTarget, av(e)) || !n.current || !i) return;
+ let a = Lb(n.current);
+ if (a.currentNode = i, !MC(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(), qv(t), Yb(t, { containingElement: Kb(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") qv(n.current), Yb(n.current, { containingElement: Kb(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Kv(t), Jb(t, { containingElement: Gb(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Kv(n.current), Jb(n.current, { containingElement: Gb(n.current) });
else {
a.currentNode = n.current;
- let e = PC(a);
- e && (qv(e), Yb(e, { containingElement: Kb(n.current) }));
+ let e = NC(a);
+ e && (Kv(e), Jb(e, { containingElement: Gb(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), qv(t), Yb(t, { containingElement: Kb(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") qv(n.current), Yb(n.current, { containingElement: Kb(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Kv(t), Jb(t, { containingElement: Gb(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Kv(n.current), Jb(n.current, { containingElement: Gb(n.current) });
else {
a.currentNode = n.current;
- let e = PC(a);
- e && (qv(e), Yb(e, { containingElement: Kb(n.current) }));
+ let e = NC(a);
+ e && (Kv(e), Jb(e, { containingElement: Gb(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && iv(n.current, ov(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && rv(n.current, av(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
}, x = (e) => {
- p.current = r.key, ov(e) === n.current ? a === "child" && e.relatedTarget && iv(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && av(Z_(n.current)) === n.current && m();
- }) : Iv() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, av(e) === n.current ? a === "child" && e.relatedTarget && rv(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && iv(X_(n.current)) === n.current && m();
+ }) : Fv() || t.selectionManager.setFocusedKey(r.key);
}, C = (e) => {
- let i = av(Z_(n.current));
- if (iv(e.currentTarget, ov(e)) && n.current && i) {
+ let i = iv(X_(n.current));
+ if (rv(e.currentTarget, av(e)) && n.current && i) {
if (u === "tab") {
- if (ov(e) !== n.current && e.key !== "Tab") {
+ if (av(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (NC(e, t, r, g, s, i, n.current, o)) return;
+ if (MC(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = Rb(n.current, { tabbable: !0 });
+ let t = Lb(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, w = tae(r.props), T = iy(v, y.hasAction ? w : {}, {
+ }, w = nae(r.props), T = ry(v, y.hasAction ? w : {}, {
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) ? `${HS(t, r.key)} ${f}` : void 0,
- id: HS(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${VS(t, r.key)} ${f}` : void 0,
+ id: VS(t, r.key)
});
a === "child" && o && u === "tab" && (T.tabIndex = -1);
let E = T.onKeyDown;
@@ -25612,43 +25629,43 @@ function yse(e, t, n) {
"aria-colindex": 1
};
return {
- rowProps: { ...iy(T, h) },
+ rowProps: { ...ry(T, h) },
gridCellProps: D,
descriptionProps: { id: f },
...y
};
}
-function NC(e, t, n, r, i, a, o, s) {
+function MC(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === MC.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === MC.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === jC.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === jC.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 PC(e) {
+function NC(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function bse(e, t) {
+function xse(e, t) {
let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];
for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);
return a;
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function xse(e) {
+function Sse(e) {
return e && e.__esModule ? e.default : e;
}
-function FC(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Qv(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function PC(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = Zv(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": tb(xse(CC), "@react-aria/grid").format("select"),
+ "aria-label": eb(Sse(SC), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -25656,31 +25673,31 @@ function FC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Sse(e, t) {
- let { key: n } = e, { checkboxProps: r } = FC(e, t);
+function Cse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = PC(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${HS(t, n)}`
+ "aria-labelledby": `${r.id} ${VS(t, n)}`
} };
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Cse(e, t, n) {
- let r = rb(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function wse(e, t, n) {
+ let r = nb(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 } = OC({
+ let { listProps: s } = DC({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = px({
+ }), { focusWithinProps: c } = fx({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Qv(e.id);
- Tx.set(t, {
+ }), l = Zv(e.id);
+ wx.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -25690,24 +25707,24 @@ function Cse(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = dx({
+ let { labelProps: u, fieldProps: d } = ux({
...e,
id: l,
labelElementType: "span"
});
return {
labelProps: u,
- listBoxProps: iy(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
+ listBoxProps: ry(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
role: "listbox",
"aria-orientation": a,
- ...iy(d, s)
+ ...ry(d, s)
})
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function wse(e) {
- let { heading: t, "aria-label": n } = e, r = Qv();
+function Tse(e) {
+ let { heading: t, "aria-label": n } = e, r = Zv();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -25726,8 +25743,8 @@ function wse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Tse(e, t, n) {
- let { key: r } = e, i = Tx.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 = $v(), f = $v(), p = {
+function Ese(e, t, n) {
+ let { key: r } = e, i = wx.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 = Qv(), f = Qv(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -25737,9 +25754,9 @@ function Tse(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"] = ES(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = TS(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = $oe(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = kC({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = ese(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = OC({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -25748,28 +25765,28 @@ function Tse(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? Jv(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? qv(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = zS({
+ }), { hoverProps: S } = RS({
isDisabled: a || !c,
onHoverStart() {
- Iv() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ Fv() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = rb(m?.props);
+ }), C = nb(m?.props);
delete C.id;
- let w = wv(m?.props);
+ let w = Cv(m?.props);
return {
optionProps: {
...p,
- ...iy(C, _, S, w),
+ ...ry(C, _, S, w),
id: g
},
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && Iv(),
+ isFocusVisible: y && t.selectionManager.isFocused && Fv(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -25779,13 +25796,13 @@ function Tse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var IC = /* @__PURE__ */ new WeakMap();
+var FC = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Ese(e, t, n) {
+function Dse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = rb(e, { labelable: !0 }), { listProps: c } = OC({
+ let s = nb(e, { labelable: !0 }), { listProps: c } = DC({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -25794,11 +25811,11 @@ function Ese(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return IC.set(t, {
+ return FC.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
- }), { menuProps: iy(s, {
+ }), { menuProps: ry(s, {
onKeyDown: i,
onKeyUp: a
}, {
@@ -25811,15 +25828,15 @@ function Ese(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Dse(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: C, selectionManager: w = t.selectionManager } = e, T = !!c, E = T && e["aria-expanded"] === "true", D = e.isDisabled ?? w.isDisabled(i), O = e.isSelected ?? w.isSelected(i), k = IC.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Sv(), N = () => {
+function Ose(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: C, selectionManager: w = t.selectionManager } = e, T = !!c, E = T && e["aria-expanded"] === "true", D = e.isDisabled ?? w.isDisabled(i), O = e.isSelected ?? w.isSelected(i), k = FC.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = xv(), N = () => {
if (!T && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {
let e = k.onAction;
e(i, A?.value);
}
}, P = "menuitem";
T || (w.selectionMode === "single" ? P = "menuitemradio" : w.selectionMode === "multiple" && (P = "menuitemcheckbox"));
- let F = $v(), I = $v(), ee = $v(), L = {
+ let F = Qv(), I = Qv(), ee = Qv(), L = {
id: r,
"aria-disabled": D || void 0,
role: P,
@@ -25836,17 +25853,17 @@ function Dse(e, t, n) {
};
if (w.selectionMode !== "none" && !T && (L["aria-checked"] = O), s) {
let e = Number(A?.index);
- L["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, L["aria-setsize"] = ES(t.collection);
+ L["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, L["aria-setsize"] = TS(t.collection);
}
let te = (0, S.useRef)(!1), ne = (e) => {
f?.(e), te.current = e;
}, re = (0, S.useRef)(null), ie = (e) => {
e.pointerType !== "keyboard" && (re.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (te.current || e.target.click()), u?.(e);
}, ae = (e) => {
- m?.(e), N(), nae(e, M, A.props.href, A?.props.routerOptions);
+ m?.(e), N(), rae(e, M, A.props.href, A?.props.routerOptions);
let t = re.current?.pointerType === "keyboard" ? re.current?.key === "Enter" || w.selectionMode === "none" || w.isLink(i) : w.selectionMode !== "multiple" || w.isLink(i);
t = o ?? a ?? t, j && !T && t && j(), re.current = null;
- }, { itemProps: oe, isFocused: se } = kC({
+ }, { itemProps: oe, isFocused: se } = OC({
id: r,
selectionManager: w,
key: i,
@@ -25855,36 +25872,36 @@ function Dse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: k.shouldUseVirtualFocus
- }), { pressProps: ce, isPressed: le } = gb({
+ }), { pressProps: ce, isPressed: le } = hb({
onPressStart: l,
onPress: d,
onPressUp: ie,
onPressChange: ne,
onPressEnd: p,
isDisabled: D
- }), { hoverProps: ue } = zS({
+ }), { hoverProps: ue } = RS({
isDisabled: D,
onHoverStart(e) {
- !Iv() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
+ !Fv() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: de } = ly({
+ }), { keyboardProps: de } = cy({
shortcuts: {
" ": (e) => {
re.current = {
pointerType: "keyboard",
key: " "
- }, ov(e).click(), Rv("keyboard");
+ }, av(e).click(), Lv("keyboard");
},
Enter: (e) => {
re.current = {
pointerType: "keyboard",
key: "Enter"
};
- let t = ov(e);
- if (t.tagName !== "A") t.click(), Rv("keyboard");
- else return Rv("keyboard"), {
+ let t = av(e);
+ if (t.tagName !== "A") t.click(), Lv("keyboard");
+ else return Lv("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -25892,17 +25909,17 @@ function Dse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: fe } = py({
+ }), { focusableProps: fe } = fy({
onBlur: C,
onFocus: b,
onFocusChange: x
- }, n), pe = rb(A?.props);
+ }, n), pe = nb(A?.props);
delete pe.id;
- let me = wv(A?.props);
+ let me = Cv(A?.props);
return {
menuItemProps: {
...L,
- ...iy(pe, me, T ? {
+ ...ry(pe, me, T ? {
onFocus: oe.onFocus,
"data-collection": oe["data-collection"],
"data-key": oe["data-key"]
@@ -25913,7 +25930,7 @@ function Dse(e, t, n) {
descriptionProps: { id: I },
keyboardShortcutProps: { id: ee },
isFocused: se,
- isFocusVisible: se && w.isFocused && Iv() && !E,
+ isFocusVisible: se && w.isFocused && Fv() && !E,
isSelected: O,
isPressed: le,
isDisabled: D
@@ -25921,8 +25938,8 @@ function Dse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Ose(e) {
- let { heading: t, "aria-label": n } = e, r = Qv();
+function kse(e) {
+ let { heading: t, "aria-label": n } = e, r = Zv();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -25938,15 +25955,15 @@ function Ose(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function kse() {
+function Ase() {
return window.ResizeObserver !== void 0;
}
-function LC(e) {
- let { ref: t, box: n, onResize: r } = e, i = Vy(r);
+function IC(e) {
+ let { ref: t, box: n, onResize: r } = e, i = By(r);
(0, S.useEffect)(() => {
let e = t?.current;
if (e) {
- if (kse()) {
+ if (Ase()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -25962,189 +25979,189 @@ function LC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var RC = {};
-RC = { dismiss: "تجاهل" };
+var LC = {};
+LC = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var zC = {};
-zC = { dismiss: "Отхвърляне" };
+var RC = {};
+RC = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var BC = {};
-BC = { dismiss: "Odstranit" };
+var zC = {};
+zC = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var VC = {};
-VC = { dismiss: "Luk" };
+var BC = {};
+BC = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var HC = {};
-HC = { dismiss: "Schließen" };
+var VC = {};
+VC = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var UC = {};
-UC = { dismiss: "Απόρριψη" };
+var HC = {};
+HC = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var WC = {};
-WC = { dismiss: "Dismiss" };
+var UC = {};
+UC = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var GC = {};
-GC = { dismiss: "Descartar" };
+var WC = {};
+WC = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var KC = {};
-KC = { dismiss: "Lõpeta" };
+var GC = {};
+GC = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var qC = {};
-qC = { dismiss: "Hylkää" };
+var KC = {};
+KC = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var JC = {};
-JC = { dismiss: "Rejeter" };
+var qC = {};
+qC = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var YC = {};
-YC = { dismiss: "התעלם" };
+var JC = {};
+JC = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var XC = {};
-XC = { dismiss: "Odbaci" };
+var YC = {};
+YC = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var ZC = {};
-ZC = { dismiss: "Elutasítás" };
+var XC = {};
+XC = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var QC = {};
-QC = { dismiss: "Ignora" };
+var ZC = {};
+ZC = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var $C = {};
-$C = { dismiss: "閉じる" };
+var QC = {};
+QC = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var ew = {};
-ew = { dismiss: "무시" };
+var $C = {};
+$C = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var tw = {};
-tw = { dismiss: "Atmesti" };
+var ew = {};
+ew = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var nw = {};
-nw = { dismiss: "Nerādīt" };
+var tw = {};
+tw = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var rw = {};
-rw = { dismiss: "Lukk" };
+var nw = {};
+nw = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var iw = {};
-iw = { dismiss: "Negeren" };
+var rw = {};
+rw = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var aw = {};
-aw = { dismiss: "Zignoruj" };
+var iw = {};
+iw = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var ow = {};
-ow = { dismiss: "Descartar" };
+var aw = {};
+aw = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var sw = {};
-sw = { dismiss: "Dispensar" };
+var ow = {};
+ow = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var cw = {};
-cw = { dismiss: "Revocare" };
+var sw = {};
+sw = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var lw = {};
-lw = { dismiss: "Пропустить" };
+var cw = {};
+cw = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var uw = {};
-uw = { dismiss: "Zrušiť" };
+var lw = {};
+lw = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var dw = {};
-dw = { dismiss: "Opusti" };
+var uw = {};
+uw = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var fw = {};
-fw = { dismiss: "Odbaci" };
+var dw = {};
+dw = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var pw = {};
-pw = { dismiss: "Avvisa" };
+var fw = {};
+fw = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var mw = {};
-mw = { dismiss: "Kapat" };
+var pw = {};
+pw = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var hw = {};
-hw = { dismiss: "Скасувати" };
+var mw = {};
+mw = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var gw = {};
-gw = { dismiss: "取消" };
+var hw = {};
+hw = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var _w = {};
-_w = { dismiss: "關閉" };
+var gw = {};
+gw = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var vw = {};
-vw = {
- "ar-AE": RC,
- "bg-BG": zC,
- "cs-CZ": BC,
- "da-DK": VC,
- "de-DE": HC,
- "el-GR": UC,
- "en-US": WC,
- "es-ES": GC,
- "et-EE": KC,
- "fi-FI": qC,
- "fr-FR": JC,
- "he-IL": YC,
- "hr-HR": XC,
- "hu-HU": ZC,
- "it-IT": QC,
- "ja-JP": $C,
- "ko-KR": ew,
- "lt-LT": tw,
- "lv-LV": nw,
- "nb-NO": rw,
- "nl-NL": iw,
- "pl-PL": aw,
- "pt-BR": ow,
- "pt-PT": sw,
- "ro-RO": cw,
- "ru-RU": lw,
- "sk-SK": uw,
- "sl-SI": dw,
- "sr-SP": fw,
- "sv-SE": pw,
- "tr-TR": mw,
- "uk-UA": hw,
- "zh-CN": gw,
- "zh-TW": _w
+var _w = {};
+_w = {
+ "ar-AE": LC,
+ "bg-BG": RC,
+ "cs-CZ": zC,
+ "da-DK": BC,
+ "de-DE": VC,
+ "el-GR": HC,
+ "en-US": UC,
+ "es-ES": WC,
+ "et-EE": GC,
+ "fi-FI": KC,
+ "fr-FR": qC,
+ "he-IL": JC,
+ "hr-HR": YC,
+ "hu-HU": XC,
+ "it-IT": ZC,
+ "ja-JP": QC,
+ "ko-KR": $C,
+ "lt-LT": ew,
+ "lv-LV": tw,
+ "nb-NO": nw,
+ "nl-NL": rw,
+ "pl-PL": iw,
+ "pt-BR": aw,
+ "pt-PT": ow,
+ "ro-RO": sw,
+ "ru-RU": cw,
+ "sk-SK": lw,
+ "sl-SI": uw,
+ "sr-SP": dw,
+ "sv-SE": fw,
+ "tr-TR": pw,
+ "uk-UA": mw,
+ "zh-CN": hw,
+ "zh-TW": gw
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Ase(e) {
+function jse(e) {
return e && e.__esModule ? e.default : e;
}
-function yw(e) {
- let { onDismiss: t, ...n } = e, r = Uy(n, tb(Ase(vw), "@react-aria/overlays").format("dismiss")), i = () => {
+function vw(e) {
+ let { onDismiss: t, ...n } = e, r = Hy(n, eb(jse(_w), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ S.createElement(yx, null, /*#__PURE__*/ S.createElement("button", {
+ return /*#__PURE__*/ S.createElement(vx, null, /*#__PURE__*/ S.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -26156,35 +26173,35 @@ function yw(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var bw = [];
-function xw(e, t) {
+var yw = [];
+function bw(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, S.useRef)(void 0);
(0, S.useEffect)(() => {
- if (i && !bw.includes(t)) return bw.push(t), () => {
- let e = bw.indexOf(t);
- e >= 0 && bw.splice(e, 1);
+ if (i && !yw.includes(t)) return yw.push(t), () => {
+ let e = yw.indexOf(t);
+ e >= 0 && yw.splice(e, 1);
};
}, [i, t]);
let l = () => {
- bw[bw.length - 1] === t && n && n();
+ yw[yw.length - 1] === t && n && n();
}, u = (e) => {
- let n = bw[bw.length - 1];
- c.current = n, (!s || s(ov(e))) && n === t && e.stopPropagation();
+ let n = yw[yw.length - 1];
+ c.current = n, (!s || s(av(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(ov(e))) && (bw[bw.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = ly({ shortcuts: { Escape: () => {
+ (!s || s(av(e))) && (yw[yw.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = cy({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- mse({
+ hse({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = px({
+ let { focusWithinProps: p } = fx({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Moe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !Noe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -26197,88 +26214,88 @@ function xw(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var jse = 200, Mse = 50, Nse = 600, Sw = /* @__PURE__ */ new WeakMap(), Cw = /* @__PURE__ */ new Set(), ww = /* @__PURE__ */ new Set();
-function Pse(e, t) {
- let n = By();
- if (e !== n || t.aborted) for (let e of ww) e(n), ww.delete(e);
- if (!e && n && bv() && !t.aborted) window.clearInterval(Sw.get(window)), Sw.set(window, Tw(jse));
+var Mse = 200, Nse = 50, Pse = 600, xw = /* @__PURE__ */ new WeakMap(), Sw = /* @__PURE__ */ new Set(), Cw = /* @__PURE__ */ new Set();
+function Fse(e, t) {
+ let n = zy();
+ if (e !== n || t.aborted) for (let e of Cw) e(n), Cw.delete(e);
+ if (!e && n && yv() && !t.aborted) window.clearInterval(xw.get(window)), xw.set(window, ww(Mse));
else {
- if (e !== n || t.aborted) for (let e of Cw) e(n), Cw.delete(e);
- (ww.size + Cw.size <= 0 || t.aborted) && (window.clearInterval(Sw.get(window)), Sw.delete(window));
+ if (e !== n || t.aborted) for (let e of Sw) e(n), Sw.delete(e);
+ (Cw.size + Sw.size <= 0 || t.aborted) && (window.clearInterval(xw.get(window)), xw.delete(window));
}
}
-function Tw(e = Nse) {
- return window.setInterval(Pse, Mse, By(), AbortSignal.timeout(e));
+function ww(e = Pse) {
+ return window.setInterval(Fse, Nse, zy(), AbortSignal.timeout(e));
}
-function Ew(e) {
- if (!Ly()) return e(!1), () => {};
+function Tw(e) {
+ if (!Iy()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ry(document.hasFocus() ? av() : null);
- if (By() === t || By() && !t) return e(t);
- ww.add(e), Sw.has(window) || Sw.set(window, Tw());
+ let t = Ly(document.hasFocus() ? iv() : null);
+ if (zy() === t || zy() && !t) return e(t);
+ Cw.add(e), xw.has(window) || xw.set(window, ww());
});
});
return () => {
- window.cancelAnimationFrame(t), ww.delete(e);
+ window.cancelAnimationFrame(t), Cw.delete(e);
};
}
-function Fse(e) {
- if (!Ly()) return e(!1), () => {};
+function Ise(e) {
+ if (!Iy()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ry(document.hasFocus() ? av() : null);
- if (By() === t) return e(t);
- Cw.add(e), Sw.has(window) || Sw.set(window, Tw());
+ let t = Ly(document.hasFocus() ? iv() : null);
+ if (zy() === t) return e(t);
+ Sw.add(e), xw.has(window) || xw.set(window, ww());
});
});
return () => {
- window.cancelAnimationFrame(t), Cw.delete(e);
+ window.cancelAnimationFrame(t), Sw.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Dw = typeof document < "u" && window.visualViewport, Ow = 0, kw;
-function Aw(e = {}) {
+var Ew = typeof document < "u" && window.visualViewport, Dw = 0, Ow;
+function kw(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- fv(() => {
- if (!t) return Ow++, Ow === 1 && (kw = yv() && bv() ? Lse() : Ise(n)), () => {
- Ow--, Ow === 0 && kw();
+ dv(() => {
+ if (!t) return Dw++, Dw === 1 && (Ow = vv() && yv() ? Rse() : Lse(n)), () => {
+ Dw--, Dw === 0 && Ow();
};
}, [t, n]);
}
-function Ise(e) {
+function Lse(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return Jv(t > 0 && ("scrollbarGutter" in document.documentElement.style ? nv(document.documentElement, "scrollbar-gutter", "stable") : nv(document.documentElement, "padding-right", `${t}px`)), nv(document.documentElement, "overflow", "hidden"), e && Mw(), e && Ly() && jw());
+ return qv(t > 0 && ("scrollbarGutter" in document.documentElement.style ? tv(document.documentElement, "scrollbar-gutter", "stable") : tv(document.documentElement, "padding-right", `${t}px`)), tv(document.documentElement, "overflow", "hidden"), e && jw(), e && Iy() && Aw());
}
-function Lse() {
- let e = nv(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
- let r = ov(e);
- t = Gb(r, !0) ? r : Kb(r, !0), n = !1;
+function Rse() {
+ let e = tv(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+ let r = av(e);
+ t = Wb(r, !0) ? r : Gb(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 = lb();
+ }, i = document.createElement("style"), a = cb();
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 = Mw(), c = Jv(tv(document, "touchstart", r, {
+ }, s = jw(), c = qv(ev(document, "touchstart", r, {
passive: !1,
capture: !0
- }), tv(document, "touchmove", o, {
+ }), ev(document, "touchmove", o, {
passive: !1,
capture: !0
- }), jw());
+ }), Aw());
return () => {
e(), c(), i.remove(), s();
};
}
-function jw() {
- return tv(document, "blur", (e) => {
- let t = ov(e), n = e.relatedTarget;
- n && Ry(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+function Aw() {
+ return ev(document, "blur", (e) => {
+ let t = av(e), n = e.relatedTarget;
+ n && Ly(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Mw() {
+function jw() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -26289,9 +26306,9 @@ function Mw() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- av() === this && Rse(this);
+ iv() === this && zse(this);
};
- Ew((t) => t ? e() : Fse(() => e()));
+ Tw((t) => t ? e() : Ise(() => e()));
}
}
}), () => {
@@ -26302,15 +26319,15 @@ function Mw() {
});
};
}
-function Rse(e) {
+function zse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = Kb(n);
+ let e = Gb(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;
- Dw && (n = Math.min(n, Dw.offsetTop + Dw.height));
+ Ew && (n = Math.min(n, Ew.offsetTop + Ew.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)),
@@ -26323,57 +26340,57 @@ function Rse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function zse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = xw({
+function Bse(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = bw({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- Aw({
+ kw({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), PS();
+ }), NS();
let { isEntering: a } = e;
return (0, S.useEffect)(() => {
- if (t.isOpen && n.current) return a ? wx(n.current) : Cx([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? Cx(n.current) : Sx([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
n
]), {
- modalProps: iy(r),
+ modalProps: ry(r),
underlayProps: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Nw = {
+var Mw = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Pw = {
+}, Nw = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Bse = {
+}, Vse = {
top: "left",
left: "top"
-}, Fw = {
+}, Pw = {
top: "height",
left: "width"
-}, Iw = {
+}, Fw = {
width: "totalWidth",
height: "totalHeight"
-}, Lw = {}, Vse = () => typeof document < "u" ? window.visualViewport : null;
-function Rw(e, t) {
+}, Iw = {}, Hse = () => typeof document < "u" ? window.visualViewport : null;
+function Lw(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} = Ww(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return bv() && (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} = Uw(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return yv() && (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,
@@ -26383,7 +26400,7 @@ function Rw(e, t) {
left: s
};
}
-function Hse(e) {
+function Use(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -26391,11 +26408,11 @@ function Hse(e) {
height: e.scrollHeight
};
}
-function zw(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Fw[e]], l = o[e] + r.scroll[Nw[e]] + a, u = o[e] + r.scroll[Nw[e]] + c - a, d = t - s + r.scroll[Nw[e]] + o[e] - r[Nw[e]], f = t - s + n + r.scroll[Nw[e]] + o[e] - r[Nw[e]];
+function Rw(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Pw[e]], l = o[e] + r.scroll[Mw[e]] + a, u = o[e] + r.scroll[Mw[e]] + c - a, d = t - s + r.scroll[Mw[e]] + o[e] - r[Mw[e]], f = t - s + n + r.scroll[Mw[e]] + o[e] - r[Mw[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Use(e) {
+function Wse(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -26404,55 +26421,55 @@ function Use(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Bw(e) {
- if (Lw[e]) return Lw[e];
- let [t, n] = e.split(" "), r = Nw[t] || "right", i = Bse[r];
- Nw[n] || (n = "center");
- let a = Fw[r], o = Fw[i];
- return Lw[e] = {
+function zw(e) {
+ if (Iw[e]) return Iw[e];
+ let [t, n] = e.split(" "), r = Mw[t] || "right", i = Vse[r];
+ Mw[n] || (n = "center");
+ let a = Pw[r], o = Pw[i];
+ return Iw[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Lw[e];
+ }, Iw[e];
}
-function Vw(e, t, n, r, i, a, o, s, c, l, u) {
+function Bw(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] = gx(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Iw[h]];
- _[Pw[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = hx(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Fw[h]];
+ _[Nw[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Wse(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Iw.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Gse(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Fw.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 Hw(e, t, n, r, i, a, o, s) {
+function Vw(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[Pw[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[Pw[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Nw[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[Nw[l]] - i);
}
-function Gse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Bw(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Vw(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Hw(s, l, t, i, a + u, v, c, g);
+function Kse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = zw(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Bw(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Vw(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Bw(`${Pw[S]} ${C}`), r = Vw(t, s, n, e, u, d, l, f, m, h, c);
- Hw(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = zw(`${Nw[S]} ${C}`), r = Bw(t, s, n, e, u, d, l, f, m, h, c);
+ Vw(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 = zw(b, w[b], n[x], s, c, a, l);
+ let O = Rw(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Wse(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Vw(t, s, n, v, T, d, l, f, m, h, c), O = zw(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Nw[b]], M = j + .5 * t[x], N = m / 2 + h, P = Nw[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
- A[b] = gx(gx(M, t[b] + m / 2 - (w[b] + i[Nw[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Nw[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Gse(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Bw(t, s, n, v, T, d, l, f, m, h, c), O = Rw(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Mw[b]], M = j + .5 * t[x], N = m / 2 + h, P = Mw[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
+ A[b] = hx(hx(M, t[b] + m / 2 - (w[b] + i[Mw[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Mw[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let I = S === "left" || S === "top" ? n[y] : 0, ee = {
x: S === "top" || S === "bottom" ? j : I,
y: S === "left" || S === "right" ? j : I
@@ -26466,17 +26483,17 @@ function Gse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ee
};
}
-function Kse(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 = Vse(), h = r instanceof HTMLElement ? qse(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Ww(n, !1, p) : Gw(n, h, !1, p);
+function qse(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 = Hse(), h = r instanceof HTMLElement ? Jse(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Uw(n, !1, p) : Ww(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 = Ww(r, !0), x = Use(r);
+ let b = Uw(r, !0), x = Wse(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Hse(i), C = Rw(s, m), w = Rw(h, m), T;
+ let S = Use(i), C = Lw(s, m), w = Lw(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Uw(h, !1);
+ let e = Hw(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -26488,11 +26505,11 @@ function Kse(e) {
left: 0,
width: 0,
height: 0
- } : Gw(s, h, !1);
- let E = iv(s, h);
- return Gse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Ww(s, h, !1);
+ let E = rv(s, h);
+ return Kse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Uw(e, t) {
+function Hw(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,
@@ -26501,8 +26518,8 @@ function Uw(e, t) {
height: a
};
}
-function Ww(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Uw(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Uw(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Hw(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -26510,30 +26527,30 @@ function Ww(e, t, n) {
height: o
};
}
-function Gw(e, t, n, r) {
+function Ww(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Uw(e, n);
+ if (i.position === "fixed") a = r || Hw(e, n);
else {
- a = Ww(e, n, r);
- let i = Ww(t, n), o = window.getComputedStyle(t);
+ a = Uw(e, n, r);
+ let i = Uw(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 qse(e) {
+function Jse(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Kw(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Kw(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Gw(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Gw(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Kw(e) {
+function Gw(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var qw = typeof document < "u" ? window.visualViewport : null;
-function Jse(e) {
- let { direction: t } = Yy(), { 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, S.useState)(null), x = [
+var Kw = typeof document < "u" ? window.visualViewport : null;
+function Yse(e) {
+ let { direction: t } = Jy(), { 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, S.useState)(null), x = [
p,
s,
i.current,
@@ -26550,15 +26567,15 @@ function Jse(e) {
g,
_,
n
- ], C = (0, S.useRef)(qw?.scale);
+ ], C = (0, S.useRef)(Kw?.scale);
(0, S.useEffect)(() => {
- m && (C.current = qw?.scale);
+ m && (C.current = Kw?.scale);
}, [m]);
let w = (0, S.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || qw?.scale !== C.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Kw?.scale !== C.current) return;
let e = null;
- if (o.current && sv(o.current)) {
- let t = av()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && ov(o.current)) {
+ let t = iv()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -26566,8 +26583,8 @@ function Jse(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 = Kse({
- placement: Xse(s, t),
+ let y = qse({
+ placement: Zse(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -26577,28 +26594,28 @@ function Jse(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Uw(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Hw(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 = av();
+ let x = iv();
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);
- fv(w, x), Yse(w), LC({
+ dv(w, x), Xse(w), IC({
ref: i,
onResize: w
- }), LC({
+ }), IC({
ref: r,
onResize: w
});
let T = (0, S.useRef)(!1);
- fv(() => {
+ dv(() => {
let e, t = () => {
T.current = !0, clearTimeout(e), e = setTimeout(() => {
T.current = !1;
@@ -26606,16 +26623,16 @@ function Jse(e) {
}, n = () => {
T.current && t();
};
- qw?.addEventListener("resize", t), qw?.addEventListener("scroll", n);
- let r = tv(Fie(window), "scroll", n);
+ Kw?.addEventListener("resize", t), Kw?.addEventListener("scroll", n);
+ let r = ev(Iie(window), "scroll", n);
return () => {
- qw?.removeEventListener("resize", t), qw?.removeEventListener("scroll", n), r();
+ Kw?.removeEventListener("resize", t), Kw?.removeEventListener("scroll", n), r();
};
}, [w]);
let E = (0, S.useCallback)(() => {
T.current || h?.();
}, [h, T]);
- return ise({
+ return ase({
triggerRef: r,
isOpen: m,
onClose: h && E
@@ -26641,25 +26658,25 @@ function Jse(e) {
updatePosition: w
};
}
-function Yse(e) {
- fv(() => (window.addEventListener("resize", e, !1), () => {
+function Xse(e) {
+ dv(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Xse(e, t) {
+function Zse(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function Zse(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 } = xw({
+function Qse(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 } = bw({
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 } = Jse({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Yse({
...c,
targetRef: n,
overlayRef: r,
@@ -26667,17 +26684,17 @@ function Zse(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)
});
- Aw({ isDisabled: a || !t.isOpen }), (0, S.useEffect)(() => {
- if (t.isOpen && r.current) return a ? wx(i?.current ?? r.current) : Cx([i?.current ?? r.current], { shouldUseInert: !0 });
+ kw({ isDisabled: a || !t.isOpen }), (0, S.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Cx(i?.current ?? r.current) : Sx([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = px(e);
+ let { focusWithinProps: g } = fx(e);
return {
- popoverProps: iy(u, f, g),
+ popoverProps: ry(u, f, g),
arrowProps: p,
underlayProps: d,
placement: m,
@@ -26686,13 +26703,13 @@ function Zse(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var Jw = /* @__PURE__ */ new WeakMap();
+var qw = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Qse(e, t, n) {
+function $se(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: _ } = gb({
+ }, { pressProps: g, isPressed: _ } = hb({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -26700,7 +26717,7 @@ function Qse(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = gb({
+ }), { pressProps: v, isPressed: y } = hb({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -26710,17 +26727,17 @@ function Qse(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = py(iy(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = iy(g, b), C = rb(e, { labelable: !0 }), w = -1;
+ }), { focusableProps: b } = fy(ry(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = ry(g, b), C = nb(e, { labelable: !0 }), w = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);
- let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = Jw.get(t);
- Qb(n, t.defaultSelectedValue, t.setSelectedValue), $b({ validationBehavior: k }, t, n);
- let A = ex();
+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = qw.get(t);
+ Zb(n, t.defaultSelectedValue, t.setSelectedValue), Qb({ validationBehavior: k }, t, n);
+ let A = $b();
return {
- labelProps: iy(v, (0, S.useMemo)(() => ({
+ labelProps: ry(v, (0, S.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
onMouseDown: (e) => e.preventDefault()
}), [])),
- inputProps: iy(C, {
+ inputProps: ry(C, {
...x,
type: "radio",
name: T,
@@ -26746,13 +26763,13 @@ function Qse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function $se(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Yy(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = fx({
+function ece(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Jy(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = dx({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = rb(e, { labelable: !0 }), { focusWithinProps: v } = px({
+ }), _ = nb(e, { labelable: !0 }), { focusWithinProps: v } = fx({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -26760,13 +26777,13 @@ function $se(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = Rb(n.currentTarget, {
- from: ov(n),
- accept: (e) => e instanceof Q_(e).HTMLInputElement && e.type === "radio"
+ let r = Lb(n.currentTarget, {
+ from: av(n),
+ accept: (e) => e instanceof Z_(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 } = ly({
+ let { keyboardProps: b } = cy({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -26774,15 +26791,15 @@ function $se(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Qv(n);
- return Jw.set(t, {
+ }), x = Zv(n);
+ return qw.set(t, {
name: x,
form: r,
descriptionId: h.id,
errorMessageId: g.id,
validationBehavior: c
}), {
- radioGroupProps: iy(_, {
+ radioGroupProps: ry(_, {
role: "radiogroup",
...b,
"aria-invalid": t.isInvalid || void 0,
@@ -26804,21 +26821,21 @@ function $se(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var Yw = /* @__PURE__ */ new WeakMap();
-function ece(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = OS({
+var Jw = /* @__PURE__ */ new WeakMap();
+function tce(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = DS({
usage: "search",
sensitivity: "base"
- }), u = (0, S.useMemo)(() => r || new Ax(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, S.useMemo)(() => r || new kx(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = mS({
+ ]), { menuTriggerProps: d, menuProps: f } = pS({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = ly({
+ }, t, n), { keyboardProps: p } = cy({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -26834,21 +26851,21 @@ function ece(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = gS({
+ }), { typeSelectProps: m } = hS({
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 } = fx({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = dx({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let C = rb(e, { labelable: !0 }), w = iy(m, d, y), T = Qv();
- return Yw.set(t, {
+ let C = nb(e, { labelable: !0 }), w = ry(m, d, y), T = Zv();
+ return Jw.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -26858,13 +26875,13 @@ function ece(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), Rv("keyboard"));
+ e.isDisabled || (n.current?.focus(), Lv("keyboard"));
}
},
- triggerProps: iy(C, {
+ triggerProps: ry(C, {
...w,
isDisabled: i,
- onKeyDown: Jv(w.onKeyDown, p.onKeyDown),
+ onKeyDown: qv(w.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
T,
@@ -26888,7 +26905,7 @@ function ece(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- iv(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ rv(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], w["aria-label"] && !y["aria-labelledby"] ? w.id : null].filter(Boolean).join(" ")
},
@@ -26909,18 +26926,18 @@ function ece(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function tce(e, t, n) {
- let r = Yw.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vx({ style: {
+function nce(e, t, n) {
+ let r = Jw.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = _x({ style: {
position: "fixed",
top: 0,
left: 0
} });
- Qb(e.selectRef, t.defaultValue, t.setValue), $b({
+ Zb(e.selectRef, t.defaultValue, t.setValue), Qb({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
let d = t.setValue, f = (0, S.useCallback)((e) => {
- let t = ov(e);
+ let t = av(e);
t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);
}, [d]);
return {
@@ -26945,8 +26962,8 @@ function tce(e, t, n) {
}
};
}
-function nce(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, S.useRef)(null), c = (0, S.useRef)(null), { containerProps: l, selectProps: u } = tce({
+function rce(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, S.useRef)(null), c = (0, S.useRef)(null), { containerProps: l, selectProps: u } = nce({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -26970,7 +26987,7 @@ function nce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Yw.get(t) || {};
+ let { validationBehavior: e } = Jw.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -27001,8 +27018,8 @@ function nce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function rce(e) {
- let t = rb(e, { labelable: !0 }), n;
+function ice(e) {
+ let t = nb(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -27011,8 +27028,8 @@ function rce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function ice(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = lx(e, t, n);
+function ace(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = cx(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -27026,10 +27043,10 @@ function ice(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Xw = class {
+var Yw = 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 ace(e.layout) : new kx(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new oce(e.layout) : new Ox(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -27065,7 +27082,7 @@ var Xw = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of yS(n, this.collection)) {
+ for (let e of vS(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -27099,13 +27116,13 @@ var Xw = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = yS(t, this.collection);
- return (this.direction === "rtl" ? SS(e)?.key : bS(e)?.key) ?? null;
+ let e = vS(t, this.collection);
+ return (this.direction === "rtl" ? xS(e)?.key : yS(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = yS(n, this.collection), i = (this.direction === "rtl" ? xS(r, t.index - 1) : xS(r, t.index + 1)) ?? null;
+ let r = vS(n, this.collection), i = (this.direction === "rtl" ? bS(r, t.index - 1) : bS(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;
@@ -27114,13 +27131,13 @@ var Xw = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = yS(t, this.collection);
- return (this.direction === "rtl" ? bS(e)?.key : SS(e)?.key) ?? null;
+ let e = vS(t, this.collection);
+ return (this.direction === "rtl" ? yS(e)?.key : xS(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = yS(n, this.collection), i = (this.direction === "rtl" ? xS(r, t.index + 1) : xS(r, t.index - 1)) ?? null;
+ let r = vS(n, this.collection), i = (this.direction === "rtl" ? bS(r, t.index + 1) : bS(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;
@@ -27131,13 +27148,13 @@ var Xw = 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 ? bS(yS(e, this.collection))?.key ?? null : null;
+ return e ? yS(vS(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 = bS(yS(e, this.collection))?.key ?? null;
+ n = yS(vS(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27147,13 +27164,13 @@ var Xw = 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 ? SS(yS(e, this.collection))?.key ?? null : null;
+ return e ? xS(vS(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 = SS(yS(e, this.collection))?.key ?? null;
+ n = xS(vS(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27189,13 +27206,13 @@ var Xw = 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" ? bS(yS(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? yS(vS(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;
}
-}, ace = class {
+}, oce = class {
constructor(e) {
this.layout = e;
}
@@ -27208,16 +27225,16 @@ var Xw = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, Zw = /* @__PURE__ */ new WeakMap();
+}, Xw = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function oce(e, t, n) {
+function sce(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 = OS({
+ let h = DS({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Yy(), _ = t.selectionManager.disabledBehavior, v = (0, S.useMemo)(() => a || new Xw({
+ }), { direction: g } = Jy(), _ = t.selectionManager.disabledBehavior, v = (0, S.useMemo)(() => a || new Yw({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -27234,7 +27251,7 @@ function oce(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = vS({
+ ]), { collectionProps: y } = _S({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -27242,8 +27259,8 @@ function oce(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Qv(e.id);
- Zw.set(t, {
+ }), b = Zv(e.id);
+ Xw.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -27252,44 +27269,44 @@ function oce(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = DC({
+ let x = EC({
selectionManager: m,
hasItemActions: !!(l || u)
- }), C = rb(e, { labelable: !0 }), w = (0, S.useCallback)((e) => {
- m.isFocused ? iv(e.currentTarget, ov(e)) || m.setFocused(!1) : iv(e.currentTarget, ov(e)) && m.setFocused(!0);
+ }), C = nb(e, { labelable: !0 }), w = (0, S.useCallback)((e) => {
+ m.isFocused ? rv(e.currentTarget, av(e)) || m.setFocused(!1) : rv(e.currentTarget, av(e)) && m.setFocused(!0);
}, [m]), T = (0, S.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: w
- }), [w, y.onBlur]), E = EC(n, { isDisabled: t.collection.size !== 0 }), D = iy(C, {
+ }), [w, y.onBlur]), E = TC(n, { isDisabled: t.collection.size !== 0 }), D = ry(C, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? T : y, t.collection.size === 0 && { tabIndex: E ? -1 : 0 } || void 0, x);
- return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), wC({ getRowText: c }, t), { gridProps: D };
+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), CC({ getRowText: c }, t), { gridProps: D };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Qw = /* @__PURE__ */ new WeakMap();
-function $w(e) {
+var Zw = /* @__PURE__ */ new WeakMap();
+function Qw(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function sce(e, t) {
- let n = Qw.get(e);
+function cce(e, t) {
+ let n = Zw.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${$w(t)}`;
+ return `${n}-${Qw(t)}`;
}
-function eT(e, t, n) {
- let r = Qw.get(e);
+function $w(e, t, n) {
+ let r = Zw.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${$w(t)}-${$w(n)}`;
+ return `${r}-${Qw(t)}-${Qw(n)}`;
}
-function tT(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => eT(e, t, n)).join(" ");
+function eT(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => $w(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var nT = {};
-nT = {
+var tT = {};
+tT = {
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: "طي",
@@ -27304,8 +27321,8 @@ nT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var rT = {};
-rT = {
+var nT = {};
+nT = {
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: "Свиване",
@@ -27320,8 +27337,8 @@ rT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var iT = {};
-iT = {
+var rT = {};
+rT = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -27336,8 +27353,8 @@ iT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var aT = {};
-aT = {
+var iT = {};
+iT = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -27352,8 +27369,8 @@ aT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var oT = {};
-oT = {
+var aT = {};
+aT = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -27368,8 +27385,8 @@ oT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var sT = {};
-sT = {
+var oT = {};
+oT = {
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: "Σύμπτυξη",
@@ -27384,8 +27401,8 @@ sT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var cT = {};
-cT = {
+var sT = {};
+sT = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -27400,8 +27417,8 @@ cT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var lT = {};
-lT = {
+var cT = {};
+cT = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -27416,8 +27433,8 @@ lT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var uT = {};
-uT = {
+var lT = {};
+lT = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -27432,8 +27449,8 @@ uT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var dT = {};
-dT = {
+var uT = {};
+uT = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -27448,8 +27465,8 @@ dT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var fT = {};
-fT = {
+var dT = {};
+dT = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -27464,8 +27481,8 @@ fT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var pT = {};
-pT = {
+var fT = {};
+fT = {
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: "כווץ",
@@ -27480,8 +27497,8 @@ pT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var mT = {};
-mT = {
+var pT = {};
+pT = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -27496,8 +27513,8 @@ mT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var hT = {};
-hT = {
+var mT = {};
+mT = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -27512,8 +27529,8 @@ hT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var gT = {};
-gT = {
+var hT = {};
+hT = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -27528,8 +27545,8 @@ gT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var _T = {};
-_T = {
+var gT = {};
+gT = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -27544,8 +27561,8 @@ _T = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var vT = {};
-vT = {
+var _T = {};
+_T = {
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: "접기",
@@ -27560,8 +27577,8 @@ vT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var yT = {};
-yT = {
+var vT = {};
+vT = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -27576,8 +27593,8 @@ yT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var bT = {};
-bT = {
+var yT = {};
+yT = {
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",
@@ -27592,8 +27609,8 @@ bT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var xT = {};
-xT = {
+var bT = {};
+bT = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -27608,8 +27625,8 @@ xT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var ST = {};
-ST = {
+var xT = {};
+xT = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -27624,8 +27641,8 @@ ST = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var CT = {};
-CT = {
+var ST = {};
+ST = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -27640,8 +27657,8 @@ CT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var wT = {};
-wT = {
+var CT = {};
+CT = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -27656,8 +27673,8 @@ wT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var TT = {};
-TT = {
+var wT = {};
+wT = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -27672,8 +27689,8 @@ TT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var ET = {};
-ET = {
+var TT = {};
+TT = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -27688,8 +27705,8 @@ ET = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var DT = {};
-DT = {
+var ET = {};
+ET = {
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: "Свернуть",
@@ -27704,8 +27721,8 @@ DT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var OT = {};
-OT = {
+var DT = {};
+DT = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -27720,8 +27737,8 @@ OT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var kT = {};
-kT = {
+var OT = {};
+OT = {
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",
@@ -27736,8 +27753,8 @@ kT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var AT = {};
-AT = {
+var kT = {};
+kT = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -27752,8 +27769,8 @@ AT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var jT = {};
-jT = {
+var AT = {};
+AT = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -27768,8 +27785,8 @@ jT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var MT = {};
-MT = {
+var jT = {};
+jT = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -27784,8 +27801,8 @@ MT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var NT = {};
-NT = {
+var MT = {};
+MT = {
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: "Згорнути",
@@ -27800,8 +27817,8 @@ NT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var PT = {};
-PT = {
+var NT = {};
+NT = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -27816,8 +27833,8 @@ PT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var FT = {};
-FT = {
+var PT = {};
+PT = {
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: "收合",
@@ -27832,46 +27849,46 @@ FT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var IT = {};
-IT = {
- "ar-AE": nT,
- "bg-BG": rT,
- "cs-CZ": iT,
- "da-DK": aT,
- "de-DE": oT,
- "el-GR": sT,
- "en-US": cT,
- "es-ES": lT,
- "et-EE": uT,
- "fi-FI": dT,
- "fr-FR": fT,
- "he-IL": pT,
- "hr-HR": mT,
- "hu-HU": hT,
- "it-IT": gT,
- "ja-JP": _T,
- "ko-KR": vT,
- "lt-LT": yT,
- "lv-LV": bT,
- "nb-NO": xT,
- "nl-NL": ST,
- "pl-PL": CT,
- "pt-BR": wT,
- "pt-PT": TT,
- "ro-RO": ET,
- "ru-RU": DT,
- "sk-SK": OT,
- "sl-SI": kT,
- "sr-SP": AT,
- "sv-SE": jT,
- "tr-TR": MT,
- "uk-UA": NT,
- "zh-CN": PT,
- "zh-TW": FT
+var FT = {};
+FT = {
+ "ar-AE": tT,
+ "bg-BG": nT,
+ "cs-CZ": rT,
+ "da-DK": iT,
+ "de-DE": aT,
+ "el-GR": oT,
+ "en-US": sT,
+ "es-ES": cT,
+ "et-EE": lT,
+ "fi-FI": uT,
+ "fr-FR": dT,
+ "he-IL": fT,
+ "hr-HR": pT,
+ "hu-HU": mT,
+ "it-IT": hT,
+ "ja-JP": gT,
+ "ko-KR": _T,
+ "lt-LT": vT,
+ "lv-LV": yT,
+ "nb-NO": bT,
+ "nl-NL": xT,
+ "pl-PL": ST,
+ "pt-BR": CT,
+ "pt-PT": wT,
+ "ro-RO": TT,
+ "ru-RU": ET,
+ "sk-SK": DT,
+ "sl-SI": OT,
+ "sr-SP": kT,
+ "sv-SE": AT,
+ "tr-TR": jT,
+ "uk-UA": MT,
+ "zh-CN": NT,
+ "zh-TW": PT
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var cce = class extends Xw {
+var lce = class extends Yw {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -27879,7 +27896,7 @@ var cce = class extends Xw {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = bS(yS(n, this.collection));
+ let e = yS(vS(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);
@@ -27900,13 +27917,13 @@ var cce = class extends Xw {
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 yS(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of vS(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 = [...yS(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...vS(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -27935,7 +27952,7 @@ var cce = class extends Xw {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of yS(o, this.collection)) {
+ for (let r of vS(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);
@@ -27949,14 +27966,14 @@ var cce = class extends Xw {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function lce(e) {
+function uce(e) {
return e && e.__esModule ? e.default : e;
}
-function uce(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = OS({
+function dce(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = DS({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Yy(), l = t.selectionManager.disabledBehavior, u = (0, S.useMemo)(() => r || new cce({
+ }), { direction: c } = Jy(), l = t.selectionManager.disabledBehavior, u = (0, S.useMemo)(() => r || new lce({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -27975,52 +27992,52 @@ function uce(e, t, n) {
s,
a,
o
- ]), d = Qv(e.id);
- Qw.set(t, d);
- let { gridProps: f } = oce({
+ ]), d = Zv(e.id);
+ Zw.set(t, d);
+ let { gridProps: f } = sce({
...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 = tb(lce(IT), "@react-aria/table"), g = (0, S.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = eb(uce(FT), "@react-aria/table"), g = (0, S.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
- ]), _ = Zb(g);
- return Wb(() => {
- g && Ub(g, "assertive", 500);
- }, [g]), { gridProps: iy(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
+ ]), _ = Xb(g);
+ return Ub(() => {
+ g && Hb(g, "assertive", 500);
+ }, [g]), { gridProps: ry(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function LT(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Yy(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Zw.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = () => {
+function IT(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Jy(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Xw.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = () => {
if (n.current) {
- let e = Rb(n.current);
+ let e = Lb(n.current);
if (p === "child") {
- let i = av(Z_(n.current));
- if (sv(n.current) && n.current !== i) return;
- let a = Z_(n.current);
+ let i = iv(X_(n.current));
+ if (ov(n.current) && n.current !== i) return;
+ let a = X_(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && iv(n.current, e)) {
- qv(e);
+ if (e && m.current === r.key && rv(n.current, e)) {
+ Kv(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? RT(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? LT(e) : e.firstChild();
if (o) {
- qv(o);
+ Kv(o);
return;
}
}
- (m.current != null && r.key !== m.current || !sv(n.current)) && qv(n.current);
+ (m.current != null && r.key !== m.current || !ov(n.current)) && Kv(n.current);
}
- }, { itemProps: _, isPressed: v } = kC({
+ }, { itemProps: _, isPressed: v } = OC({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -28029,47 +28046,47 @@ function LT(e, t, n) {
shouldSelectOnPressUp: s,
onAction: d ? () => d(r.key) : c,
isDisabled: t.collection.size === 0
- }), y = iy(_, {
+ }), y = ry(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = av(Z_(n.current));
- if (!iv(e.currentTarget, ov(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = Rb(n.current);
+ let i = iv(X_(n.current));
+ if (!rv(e.currentTarget, av(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = Lb(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) qv(t), Yb(t, { containingElement: Kb(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Kv(t), Jb(t, { containingElement: Gb(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" ? (qv(n.current), Yb(n.current, { containingElement: Kb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : RT(a), t && (qv(t), Yb(t, { containingElement: Kb(n.current) })));
+ p === "cell" && l === "rtl" ? (Kv(n.current), Jb(n.current, { containingElement: Gb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : LT(a), t && (Kv(t), Jb(t, { containingElement: Gb(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) qv(t), Yb(t, { containingElement: Kb(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Kv(t), Jb(t, { containingElement: Gb(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" ? (qv(n.current), Yb(n.current, { containingElement: Kb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? RT(a) : a.firstChild(), t && (qv(t), Yb(t, { containingElement: Kb(n.current) })));
+ p === "cell" && l === "ltr" ? (Kv(n.current), Jb(n.current, { containingElement: Gb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? LT(a) : a.firstChild(), t && (Kv(t), Jb(t, { containingElement: Gb(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && iv(n.current, ov(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && rv(n.current, av(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = av(Z_(n.current));
- if (iv(e.currentTarget, ov(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
- if (f === "tab" && ov(e) !== n.current && e.key !== "Tab") e.stopPropagation();
+ let r = iv(X_(n.current));
+ if (rv(e.currentTarget, av(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ if (f === "tab" && av(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = Rb(n.current, { tabbable: !0 });
+ let t = Lb(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -28078,11 +28095,11 @@ function LT(e, t, n) {
"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
- if (m.current = r.key, ov(e) !== n.current) {
- let i = ov(e);
- n.current && iv(n.current, i) && (h.current = i), Iv() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && iv(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && av(Z_(n.current)) === n.current && g();
+ if (m.current = r.key, av(e) !== n.current) {
+ let i = av(e);
+ n.current && rv(n.current, i) && (h.current = i), Fv() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && rv(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && iv(X_(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -28097,7 +28114,7 @@ function LT(e, t, n) {
isPressed: v
};
}
-function RT(e) {
+function LT(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -28106,33 +28123,33 @@ function RT(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function dce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = LT(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = eT(t, e.node.parentKey, a)), {
+function fce(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = IT(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = $w(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function fce(e) {
+function pce(e) {
return e && e.__esModule ? e.default : e;
}
-function pce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = LT({
+function mce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = IT({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = gb({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = hb({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = py({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !xv() && (u = d ? f : "none");
- let p = tb(fce(IT), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && xv() && (m = `${m}, ${p.format(f)}`));
- let h = Zb(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = fy({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !bv() && (u = d ? f : "none");
+ let p = eb(pce(FT), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && bv() && (m = `${m}, ${p.format(f)}`));
+ let h = Xb(m), g = t.collection.size === 0;
return (0, S.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -28141,9 +28158,9 @@ function pce(e, t, n) {
r.key
]), {
columnHeaderProps: {
- ...iy(l, a, s, h, g ? { tabIndex: -1 } : null),
+ ...ry(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: sce(t, r.key),
+ id: cce(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -28152,20 +28169,20 @@ function pce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function mce(e, t, n) {
+function hce(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function hce(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Zw.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = kC({
+function gce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Xw.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = OC({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? Jv(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? qv(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -28180,10 +28197,10 @@ function hce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function gce(e) {
+function _ce(e) {
return e && e.__esModule ? e.default : e;
}
-var zT = {
+var RT = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -28193,21 +28210,21 @@ var zT = {
rtl: "ArrowRight"
}
};
-function _ce(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = hce(e, t, n), { direction: s } = Yy();
+function vce(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = gce(e, t, n), { direction: s } = Jy();
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 = tb(gce(IT), "@react-aria/table"), u = Uy({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = eb(_ce(FT), "@react-aria/table"), u = Hy({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": tT(t, r.key)
+ "aria-labelledby": eT(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = BT(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 = BT(t.collection, a);
+ let n = zT(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 = zT(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === zT.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === zT.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 === RT.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === RT.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,
@@ -28225,45 +28242,45 @@ function _ce(e, t, n) {
};
}
}
- let p = tae(r.props), m = o.hasAction ? p : {};
+ let p = nae(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
- ...iy(a, d, m),
- "aria-labelledby": tT(t, r.key)
+ ...ry(a, d, m),
+ "aria-labelledby": eT(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function BT(e, t) {
+function zT(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function vce() {
+function yce() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function VT() {
- return vce();
+function BT() {
+ return yce();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function yce(e) {
+function bce(e) {
return e && e.__esModule ? e.default : e;
}
-function bce(e, t) {
- let { key: n } = e, { checkboxProps: r } = FC(e, t);
+function xce(e, t) {
+ let { key: n } = e, { checkboxProps: r } = PC(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${tT(t, n)}`
+ "aria-labelledby": `${r.id} ${eT(t, n)}`
} };
}
-function xce(e) {
+function Sce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": tb(yce(IT), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": eb(bce(FT), "@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,
@@ -28272,28 +28289,28 @@ function xce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var HT = /* @__PURE__ */ new WeakMap();
-function UT(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${HT.get(e)}-${n}-${t}`) : "";
+var VT = /* @__PURE__ */ new WeakMap();
+function HT(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${VT.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Sce(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 } = kC({
+function Cce(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 } = OC({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = UT(t, r, "tab"), m = UT(t, r, "tabpanel"), { tabIndex: h } = d, g = rb(u?.props, { labelable: !0 });
+ }), p = HT(t, r, "tab"), m = HT(t, r, "tabpanel"), { tabIndex: h } = d, g = nb(u?.props, { labelable: !0 });
delete g.id;
- let _ = wv(u?.props), { focusableProps: v } = py({
+ let _ = Cv(u?.props), { focusableProps: v } = fy({
...u?.props,
isDisabled: l
}, n);
return {
- tabProps: iy(g, v, _, d, {
+ tabProps: ry(g, v, _, d, {
id: p,
"aria-selected": c,
"aria-disabled": l || void 0,
@@ -28308,7 +28325,7 @@ function Sce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Cce = class {
+var wce = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -28352,11 +28369,11 @@ var Cce = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function wce(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Yy(), { collectionProps: l } = vS({
+function Tce(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Jy(), { collectionProps: l } = _S({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, S.useMemo)(() => new Cce(a, c, r, s), [
+ keyboardDelegate: (0, S.useMemo)(() => new wce(a, c, r, s), [
a,
s,
r,
@@ -28366,9 +28383,9 @@ function wce(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Qv();
- return HT.set(t, u), { tabListProps: {
- ...iy(l, Uy({
+ }), u = Zv();
+ return VT.set(t, u), { tabListProps: {
+ ...ry(l, Hy({
...e,
id: u
})),
@@ -28379,12 +28396,12 @@ function wce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Tce(e, t, n) {
- let r = EC(n) ? void 0 : 0, i = UT(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: iy(Uy({
+function Ece(e, t, n) {
+ let r = TC(n) ? void 0 : 0, i = HT(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: ry(Hy({
...e,
id: i,
- "aria-labelledby": UT(t, t?.selectedKey, "tab")
+ "aria-labelledby": HT(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -28394,105 +28411,105 @@ function Tce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tree/useTree.mjs
-function Ece(e, t, n) {
- let { gridProps: r } = vse(e, t, n);
+function Dce(e, t, n) {
+ let { gridProps: r } = yse(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var WT = {};
-WT = {
+var UT = {};
+UT = {
collapse: "طي",
expand: "تمديد"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var GT = {};
-GT = {
+var WT = {};
+WT = {
collapse: "Свиване",
expand: "Разширяване"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var KT = {};
-KT = {
+var GT = {};
+GT = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var qT = {};
-qT = {
+var KT = {};
+KT = {
collapse: "Skjul",
expand: "Udvid"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var JT = {};
-JT = {
+var qT = {};
+qT = {
collapse: "Reduzieren",
expand: "Erweitern"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var YT = {};
-YT = {
+var JT = {};
+JT = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var XT = {};
-XT = {
+var YT = {};
+YT = {
expand: "Expand",
collapse: "Collapse"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var ZT = {};
-ZT = {
+var XT = {};
+XT = {
collapse: "Contraer",
expand: "Expandir"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var QT = {};
-QT = {
+var ZT = {};
+ZT = {
collapse: "Ahenda",
expand: "Laienda"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var $T = {};
-$T = {
+var QT = {};
+QT = {
collapse: "Pienennä",
expand: "Laajenna"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var eE = {};
-eE = {
+var $T = {};
+$T = {
collapse: "Réduire",
expand: "Développer"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var tE = {};
-tE = {
+var eE = {};
+eE = {
collapse: "כווץ",
expand: "הרחב"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var nE = {};
-nE = {
+var tE = {};
+tE = {
collapse: "Sažmi",
expand: "Proširi"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var Dce = {};
-Dce = {
+var nE = {};
+nE = {
collapse: "Összecsukás",
expand: "Kibontás"
};
@@ -28640,20 +28657,20 @@ qce = {
//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs
var Jce = {};
Jce = {
- "ar-AE": WT,
- "bg-BG": GT,
- "cs-CZ": KT,
- "da-DK": qT,
- "de-DE": JT,
- "el-GR": YT,
- "en-US": XT,
- "es-ES": ZT,
- "et-EE": QT,
- "fi-FI": $T,
- "fr-FR": eE,
- "he-IL": tE,
- "hr-HR": nE,
- "hu-HU": Dce,
+ "ar-AE": UT,
+ "bg-BG": WT,
+ "cs-CZ": GT,
+ "da-DK": KT,
+ "de-DE": qT,
+ "el-GR": JT,
+ "en-US": YT,
+ "es-ES": XT,
+ "et-EE": ZT,
+ "fi-FI": QT,
+ "fr-FR": $T,
+ "he-IL": eE,
+ "hr-HR": tE,
+ "hu-HU": nE,
"it-IT": Oce,
"ja-JP": kce,
"ko-KR": Ace,
@@ -28681,14 +28698,14 @@ function Yce(e) {
return e && e.__esModule ? e.default : e;
}
function Xce(e, t, n) {
- let { node: r } = e, i = yse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = tb(Yce(Jce), "@react-aria/tree"), s = {
+ let { node: r } = e, i = bse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = eb(Yce(Jce), "@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,
- ...Uy({
+ ...Hy({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -28705,11 +28722,11 @@ var Zce = "(prefers-reduced-motion: reduce)", Qce = () => matchMedia(Zce).matche
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
function ele({ children: e, count: t, label: n }) {
- let r = h_(), i = (0, S.useSyncExternalStore)($ce, Qce, () => !1), { isFocusVisible: a } = zv(), o = i || a, s = {
+ let r = m_(), i = (0, S.useSyncExternalStore)($ce, Qce, () => !1), { isFocusVisible: a } = Rv(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, C.jsxs)(U_.div, {
+ return /* @__PURE__ */ (0, C.jsxs)(H_.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -28742,7 +28759,7 @@ function ele({ children: e, count: t, label: n }) {
});
}
function rE({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, C.jsx)(v_, { children: e ? /* @__PURE__ */ (0, C.jsx)(ele, { ...t }, "selection") : null });
+ return /* @__PURE__ */ (0, C.jsx)(__, { children: e ? /* @__PURE__ */ (0, C.jsx)(ele, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
@@ -32533,7 +32550,7 @@ function Mpe(e) {
let i = e === t.pressed;
return `<button type="button" data-manage="${pO(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${Ape(r)}<span>${pO(n)}</span></button>`;
}).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Ape("chevron-right")}</li><li aria-current="true"><span>${pO(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? jpe : `<span data-lede-text="">${pO(t.lede.text)}</span>${t.lede.total ? Npe : ""}`}</p>`;
- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${pO(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${pO(t.title)}</h2>` + i;
}
var Npe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
@@ -32579,19 +32596,19 @@ function zpe() {
function Bpe({ host: e, props: t }) {
let n = fO(t);
return n ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)("h2", {
- "data-manage-title": "",
- "data-compact": n.compact ? "" : void 0,
- children: n.title
+ /* @__PURE__ */ (0, C.jsx)(Vpe, {
+ host: e,
+ pressed: n.pressed,
+ menu: t.menu
}),
n.crumb ? /* @__PURE__ */ (0, C.jsx)(Hpe, {
host: e,
label: n.crumb
}) : null,
- /* @__PURE__ */ (0, C.jsx)(Vpe, {
- host: e,
- pressed: n.pressed,
- menu: t.menu
+ /* @__PURE__ */ (0, C.jsx)("h2", {
+ "data-manage-title": "",
+ "data-compact": n.compact ? "" : void 0,
+ children: n.title
}),
n.lede.kind === "none" ? null : /* @__PURE__ */ (0, C.jsx)(Upe, {
host: e,
@@ -37480,13 +37497,28 @@ function fj(e) {
}, [e]);
}
//#endregion
+//#region src/react/components/use-horizontal-scroller.ts
+function pj(e, t = !0) {
+ let [n, r] = (0, S.useState)(null), i = (0, S.useCallback)((t) => {
+ r(t), typeof e == "function" ? e(t) : e && (e.current = t);
+ }, [e]);
+ return (0, S.useLayoutEffect)(() => {
+ if (!n || !t) return;
+ n.dataset.horizontalScroll = "";
+ let e = ps(n);
+ return () => {
+ e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;
+ };
+ }, [n, t]), i;
+}
+//#endregion
//#region src/react/components/filter-glass.tsx
var wve = ({ className: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: No("正在处理") }
});
-function pj({ label: e, icon: t, busy: n = !1, onPress: r, ...i }) {
+function mj({ label: e, icon: t, busy: n = !1, onPress: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)(dj, {
...i,
"data-filter-action": "",
@@ -37516,8 +37548,8 @@ function Tve({ title: e, children: t }) {
}), t]
});
}
-function mj({ 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, S.useRef)(null);
+function hj({ 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, S.useRef)(null), f = pj(), p = pj(u);
return fj(d), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: d,
role: "group",
@@ -37529,6 +37561,7 @@ function mj({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
children: [
s,
n === null ? null : /* @__PURE__ */ (0, C.jsx)("div", {
+ ref: f,
role: "group",
"aria-label": t,
"data-filter-row": "top",
@@ -37536,7 +37569,7 @@ function mj({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
children: n
}),
/* @__PURE__ */ (0, C.jsx)("div", {
- ref: u,
+ ref: p,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
className: dA("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
@@ -37546,7 +37579,7 @@ function mj({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
});
}
var Eve = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function hj({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+function gj({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
...i,
@@ -37557,7 +37590,7 @@ function hj({ children: e, pressed: t, onPress: n, className: r, ...i }) {
});
}
var Dve = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function gj({ children: e, onPress: t, busy: n = !1 }) {
+function _j({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-glass-pill": "",
@@ -37572,13 +37605,13 @@ function gj({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var _j = (e, t) => [
+var vj = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function vj(e, t, n) {
+function yj(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;
@@ -37602,17 +37635,17 @@ function vj(e, t, n) {
h: e.offsetHeight
};
}
-function yj(e, t, n, r, { axis: i = "x" } = {}) {
+function bj(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, S.useRef)(null), o = (0, S.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 ? vj(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? yj(u, l, i) : null;
if (!d || !d.w || !d.h) {
s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && _j(f, d)) && ws(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && vj(f, d)) && ws(s, o ? f : null, d, i);
}, [
e,
t,
@@ -37633,8 +37666,8 @@ function yj(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 ? vj(o, r, i) : null, l = a.current;
- (!s || !l || !_j(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? yj(o, r, i) : null, l = a.current;
+ (!s || !l || !vj(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37666,12 +37699,12 @@ function yj(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var bj = Symbol("default");
-function xj({ values: e, children: t }) {
+var xj = Symbol("default");
+function Sj({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ S.createElement(n.Provider, { value: r }, t);
return t;
}
-function Sj(e) {
+function Cj(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, S.useMemo)(() => {
let e, l, u;
@@ -37705,11 +37738,11 @@ function Sj(e) {
c
]);
}
-function Cj(e, t) {
+function wj(e, t) {
let n = (0, S.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || bj;
+ let e = t || xj;
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}.`);
@@ -37718,8 +37751,8 @@ function Cj(e, t) {
}
return n;
}
-function wj(e, t, n) {
- let { ref: r, ...i } = Cj(n, e.slot) || {}, a = uy((0, S.useMemo)(() => ey(t, r), [t, r])), o = iy(i, e);
+function Tj(e, t, n) {
+ let { ref: r, ...i } = wj(n, e.slot) || {}, a = ly((0, S.useMemo)(() => $v(t, r), [t, r])), o = ry(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,
@@ -37737,42 +37770,42 @@ function wj(e, t, n) {
...e.style
}), [o, a];
}
-function Tj(e = !0) {
+function Ej(e = !0) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return fv(() => {
+ return dv(() => {
r.current || n(!1);
}, []), [i, t];
}
-function Ej(e) {
+function Dj(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
function Ove(e, t, n) {
- let { render: r, ...i } = t, a = (0, S.useRef)(null), o = (0, S.useMemo)(() => ey(n, a), [n, a]);
- fv(() => {}, [e, r]);
+ let { render: r, ...i } = t, a = (0, S.useRef)(null), o = (0, S.useMemo)(() => $v(n, a), [n, a]);
+ dv(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ S.createElement(e, s);
}
-var Dj = {}, Oj = new Proxy({}, { get(e, t) {
+var Oj = {}, kj = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = Dj[t];
- return n || (n = /*#__PURE__*/ (0, S.forwardRef)(Ove.bind(null, t)), Dj[t] = n), n;
-} }), kj = /*#__PURE__*/ (0, S.createContext)(null), Aj = /*#__PURE__*/ (0, S.createContext)(null), jj = /*#__PURE__*/ (0, S.createContext)(null), Mj = {
+ let n = Oj[t];
+ return n || (n = /*#__PURE__*/ (0, S.forwardRef)(Ove.bind(null, t)), Oj[t] = n), n;
+} }), Aj = /*#__PURE__*/ (0, S.createContext)(null), jj = /*#__PURE__*/ (0, S.createContext)(null), Mj = /*#__PURE__*/ (0, S.createContext)(null), Nj = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return Nj(e, null, t);
+ return Pj(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return Nj(e, t, n);
+ return Pj(e, t, n);
}
};
-function Nj(e, t, n) {
- return Y_({
+function Pj(e, t, n) {
+ return J_({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -37805,25 +37838,25 @@ function kve(e, t, n) {
}
return s;
}
-var Pj = /*#__PURE__*/ (0, S.createContext)(Mj);
-function Fj(e) {
+var Fj = /*#__PURE__*/ (0, S.createContext)(Nj);
+function Ij(e) {
return (0, S.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var Ij = /*#__PURE__*/ (0, S.createContext)({}), Ave = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, Ij);
- let { elementType: n = "label", ...r } = e, i = Oj[n];
+var Lj = /*#__PURE__*/ (0, S.createContext)({}), Ave = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, Lj);
+ let { elementType: n = "label", ...r } = e, i = kj[n];
return /*#__PURE__*/ S.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), jve = /*#__PURE__*/ (0, S.createContext)(null), Lj = /*#__PURE__*/ (0, S.createContext)({}), Rj = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, Lj);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Eoe(e, t);
+}), jve = /*#__PURE__*/ (0, S.createContext)(null), Rj = /*#__PURE__*/ (0, S.createContext)({}), zj = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, Rj);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Doe(e, t);
i = Nve(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = FS(e), { hoverProps: l, isHovered: u } = zS({
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = PS(e), { hoverProps: l, isHovered: u } = RS({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -37833,25 +37866,25 @@ var Ij = /*#__PURE__*/ (0, S.createContext)({}), Ave = /*#__PURE__*/ hy(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = Sj({
+ }, f = Cj({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Qv(i.id), m = Qv(), h = i["aria-labelledby"];
+ }), p = Zv(i.id), m = Zv(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, S.useRef)(r);
(0, S.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && Ub(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && Hb(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = rb(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ S.createElement(Oj.button, {
- ...iy(_, f, i, o, l),
+ let _ = nb(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ S.createElement(kj.button, {
+ ...ry(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
ref: t,
@@ -37875,37 +37908,37 @@ function Nve(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var zj = /*#__PURE__*/ (0, S.createContext)({}), Bj = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, zj);
- let { children: n, level: r = 3, className: i, ...a } = e, o = Oj[`h${r}`];
+var Bj = /*#__PURE__*/ (0, S.createContext)({}), Vj = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, Bj);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = kj[`h${r}`];
return /*#__PURE__*/ S.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), Vj = /*#__PURE__*/ (0, S.createContext)({}), Pve = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, Vj);
- let { elementType: n = "span", ...r } = e, i = Oj[n];
+}), Hj = /*#__PURE__*/ (0, S.createContext)({}), Pve = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, Hj);
+ let { elementType: n = "span", ...r } = e, i = kj[n];
return /*#__PURE__*/ S.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), Hj = /*#__PURE__*/ (0, S.createContext)(null), Uj = /*#__PURE__*/ (0, S.createContext)(null), Wj = /*#__PURE__*/ (0, S.createContext)(null), Gj = /*#__PURE__*/ (0, S.createContext)(null), Fve = /*#__PURE__*/ (0, S.createContext)(null), Kj = /*#__PURE__*/ (0, S.createContext)(null);
+}), Uj = /*#__PURE__*/ (0, S.createContext)(null), Wj = /*#__PURE__*/ (0, S.createContext)(null), Gj = /*#__PURE__*/ (0, S.createContext)(null), Kj = /*#__PURE__*/ (0, S.createContext)(null), Fve = /*#__PURE__*/ (0, S.createContext)(null), qj = /*#__PURE__*/ (0, S.createContext)(null);
function Ive(e, t) {
- let { validationBehavior: n } = Cj(Uj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)(Fve), a = uy((0, S.useMemo)(() => ey(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...Ej(e),
+ let { validationBehavior: n } = wj(Wj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)(Fve), a = ly((0, S.useMemo)(() => $v(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...Dj(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Yoe(o, i, a) : ux(o, hx(e), a), a];
+ return [i ? Xoe(o, i, a) : lx(o, mx(e), a), a];
}
var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = wj(r, t, Wj);
+ [e, t] = Tj(r, t, Gj);
let [i, a] = Ive(e, n);
- return /*#__PURE__*/ S.createElement(Kj.Provider, { value: {
+ return /*#__PURE__*/ S.createElement(qj.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
@@ -37916,10 +37949,10 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
ref: t
}));
}), Rve = /*#__PURE__*/ (0, S.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, S.useContext)(Kj), { isFocused: p, isFocusVisible: m, focusProps: h } = FS(), g = a || o, { hoverProps: _, isHovered: v } = zS({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, S.useContext)(qj), { isFocused: p, isFocusVisible: m, focusProps: h } = PS(), g = a || o, { hoverProps: _, isHovered: v } = RS({
...e,
isDisabled: g
- }), y = Sj({
+ }), y = Cj({
...e,
defaultClassName: u,
values: {
@@ -37934,9 +37967,9 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = rb(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(Oj.label, {
- ...iy(b, n, _, y),
+ }), b = nb(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(kj.label, {
+ ...ry(b, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -37949,20 +37982,20 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ S.createElement(yx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
- ...iy(r, h),
+ }, /*#__PURE__*/ S.createElement(vx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
+ ...ry(r, h),
ref: l
})), y.children);
-}), qj = /*#__PURE__*/ (0, S.createContext)({}), zve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, qj);
+}), Jj = /*#__PURE__*/ (0, S.createContext)({}), zve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, Jj);
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 } = zS({
+ let { hoverProps: l, isHovered: u } = RS({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = FS({ within: !0 }), m = Sj({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = PS({ within: !0 }), m = Cj({
...e,
values: {
isHovered: u,
@@ -37973,8 +38006,8 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(c, p, l),
+ return /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(c, p, l),
...m,
ref: t,
role: e.role ?? "group",
@@ -37986,18 +38019,18 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), Jj = /*#__PURE__*/ (0, S.createContext)({}), Bve = (e) => {
+}), Yj = /*#__PURE__*/ (0, S.createContext)({}), Bve = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Vve = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, Jj);
- let { hoverProps: n, isHovered: r } = zS({
+}, Vve = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, Yj);
+ let { hoverProps: n, isHovered: r } = RS({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = FS({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = PS({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Sj({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Cj({
...e,
values: {
isHovered: r,
@@ -38008,8 +38041,8 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ S.createElement(Oj.input, {
- ...iy(Bve(e), o, n),
+ return /*#__PURE__*/ S.createElement(kj.input, {
+ ...ry(Bve(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -38018,8 +38051,8 @@ var Lve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Yj = {};
-Yj = {
+}), Xj = {};
+Xj = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -38027,8 +38060,8 @@ Yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var Xj = {};
-Xj = {
+var Zj = {};
+Zj = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -38036,8 +38069,8 @@ Xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var Zj = {};
-Zj = {
+var Qj = {};
+Qj = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -38045,8 +38078,8 @@ Zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var Qj = {};
-Qj = {
+var $j = {};
+$j = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -38054,8 +38087,8 @@ Qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var $j = {};
-$j = {
+var eM = {};
+eM = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -38063,8 +38096,8 @@ $j = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var eM = {};
-eM = {
+var tM = {};
+tM = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -38072,8 +38105,8 @@ eM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var tM = {};
-tM = {
+var nM = {};
+nM = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -38081,8 +38114,8 @@ tM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var nM = {};
-nM = {
+var rM = {};
+rM = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -38090,8 +38123,8 @@ nM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var rM = {};
-rM = {
+var iM = {};
+iM = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -38099,8 +38132,8 @@ rM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var iM = {};
-iM = {
+var aM = {};
+aM = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -38108,8 +38141,8 @@ iM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var aM = {};
-aM = {
+var oM = {};
+oM = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -38117,8 +38150,8 @@ aM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var oM = {};
-oM = {
+var sM = {};
+sM = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -38126,8 +38159,8 @@ oM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var sM = {};
-sM = {
+var cM = {};
+cM = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -38135,8 +38168,8 @@ sM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var cM = {};
-cM = {
+var lM = {};
+lM = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -38144,8 +38177,8 @@ cM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var lM = {};
-lM = {
+var uM = {};
+uM = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -38153,8 +38186,8 @@ lM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var uM = {};
-uM = {
+var dM = {};
+dM = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -38162,8 +38195,8 @@ uM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var dM = {};
-dM = {
+var fM = {};
+fM = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -38171,8 +38204,8 @@ dM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var fM = {};
-fM = {
+var pM = {};
+pM = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -38180,8 +38213,8 @@ fM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var pM = {};
-pM = {
+var mM = {};
+mM = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -38189,8 +38222,8 @@ pM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var mM = {};
-mM = {
+var hM = {};
+hM = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -38198,8 +38231,8 @@ mM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var hM = {};
-hM = {
+var gM = {};
+gM = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -38207,8 +38240,8 @@ hM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var gM = {};
-gM = {
+var _M = {};
+_M = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -38216,8 +38249,8 @@ gM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var _M = {};
-_M = {
+var vM = {};
+vM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -38225,8 +38258,8 @@ _M = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var vM = {};
-vM = {
+var yM = {};
+yM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -38234,8 +38267,8 @@ vM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var yM = {};
-yM = {
+var bM = {};
+bM = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -38243,8 +38276,8 @@ yM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var bM = {};
-bM = {
+var xM = {};
+xM = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -38252,8 +38285,8 @@ bM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var xM = {};
-xM = {
+var SM = {};
+SM = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -38261,8 +38294,8 @@ xM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var SM = {};
-SM = {
+var CM = {};
+CM = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -38270,8 +38303,8 @@ SM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var CM = {};
-CM = {
+var wM = {};
+wM = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -38279,8 +38312,8 @@ CM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var wM = {};
-wM = {
+var TM = {};
+TM = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -38288,8 +38321,8 @@ wM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var TM = {};
-TM = {
+var EM = {};
+EM = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -38297,8 +38330,8 @@ TM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var EM = {};
-EM = {
+var DM = {};
+DM = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -38306,8 +38339,8 @@ EM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var DM = {};
-DM = {
+var OM = {};
+OM = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -38315,8 +38348,8 @@ DM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var OM = {};
-OM = {
+var kM = {};
+kM = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -38324,50 +38357,50 @@ OM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var kM = {};
-kM = {
- "ar-AE": Yj,
- "bg-BG": Xj,
- "cs-CZ": Zj,
- "da-DK": Qj,
- "de-DE": $j,
- "el-GR": eM,
- "en-US": tM,
- "es-ES": nM,
- "et-EE": rM,
- "fi-FI": iM,
- "fr-FR": aM,
- "he-IL": oM,
- "hr-HR": sM,
- "hu-HU": cM,
- "it-IT": lM,
- "ja-JP": uM,
- "ko-KR": dM,
- "lt-LT": fM,
- "lv-LV": pM,
- "nb-NO": mM,
- "nl-NL": hM,
- "pl-PL": gM,
- "pt-BR": _M,
- "pt-PT": vM,
- "ro-RO": yM,
- "ru-RU": bM,
- "sk-SK": xM,
- "sl-SI": SM,
- "sr-SP": CM,
- "sv-SE": wM,
- "tr-TR": TM,
- "uk-UA": EM,
- "zh-CN": DM,
- "zh-TW": OM
+var AM = {};
+AM = {
+ "ar-AE": Xj,
+ "bg-BG": Zj,
+ "cs-CZ": Qj,
+ "da-DK": $j,
+ "de-DE": eM,
+ "el-GR": tM,
+ "en-US": nM,
+ "es-ES": rM,
+ "et-EE": iM,
+ "fi-FI": aM,
+ "fr-FR": oM,
+ "he-IL": sM,
+ "hr-HR": cM,
+ "hu-HU": lM,
+ "it-IT": uM,
+ "ja-JP": dM,
+ "ko-KR": fM,
+ "lt-LT": pM,
+ "lv-LV": mM,
+ "nb-NO": hM,
+ "nl-NL": gM,
+ "pl-PL": _M,
+ "pt-BR": vM,
+ "pt-PT": yM,
+ "ro-RO": bM,
+ "ru-RU": xM,
+ "sk-SK": SM,
+ "sl-SI": CM,
+ "sr-SP": wM,
+ "sv-SE": TM,
+ "tr-TR": EM,
+ "uk-UA": DM,
+ "zh-CN": OM,
+ "zh-TW": kM
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var AM = /*#__PURE__*/ (0, S.createContext)({}), jM = /*#__PURE__*/ (0, S.createContext)(null), Hve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { render: n } = (0, S.useContext)(jM);
+var jM = /*#__PURE__*/ (0, S.createContext)({}), MM = /*#__PURE__*/ (0, S.createContext)(null), Hve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { render: n } = (0, S.useContext)(MM);
return /*#__PURE__*/ S.createElement(S.Fragment, null, n(e, t));
});
-function MM(e, t) {
+function NM(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, S.useCallback)((e) => {
if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ S.createElement(Hve, { target: e });
}, [
@@ -38377,7 +38410,7 @@ function MM(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function NM(e, t, n) {
+function PM(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;
@@ -38399,14 +38432,14 @@ function NM(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var PM = /*#__PURE__*/ (0, S.createContext)({}), Uve = /*#__PURE__*/ (0, S.createContext)(null);
-function FM(e) {
+var FM = /*#__PURE__*/ (0, S.createContext)({}), Uve = /*#__PURE__*/ (0, S.createContext)(null);
+function IM(e) {
let t = (0, S.useRef)({});
return /*#__PURE__*/ S.createElement(Uve.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var IM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), LM = /*#__PURE__*/ (0, S.createContext)({}), Wve = /*#__PURE__*/ Cy(class extends W_ {
+var LM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), RM = /*#__PURE__*/ (0, S.createContext)({}), Wve = /*#__PURE__*/ Sy(class extends U_ {
static {
this.type = "separator";
}
@@ -38419,17 +38452,17 @@ var IM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), LM = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = wj(e, t, LM);
+ [e, t] = Tj(e, t, RM);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = Oj[c], { separatorProps: u } = rce({
+ let l = kj[c], { separatorProps: u } = ice({
...s,
elementType: n,
orientation: r
- }), d = rb(e, { global: !0 });
+ }), d = nb(e, { global: !0 });
return /*#__PURE__*/ S.createElement(l, {
render: e.render,
- ...iy(d, u),
+ ...ry(d, u),
style: i,
className: a ?? "react-aria-Separator",
ref: t,
@@ -38438,13 +38471,13 @@ var IM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), LM = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function RM(e) {
+function zM(e) {
let t = S.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var zM = class {
+var BM = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -38488,7 +38521,7 @@ var zM = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, BM = class e extends Set {
+}, VM = 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);
}
@@ -38500,8 +38533,8 @@ function Gve(e, t) {
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function VM(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = mx((0, S.useMemo)(() => HM(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => HM(e.defaultSelectedKeys, new BM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);
+function HM(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = px((0, S.useMemo)(() => UM(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => UM(e.defaultSelectedKeys, new VM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, S.useRef)(i);
return (0, S.useEffect)(() => {
@@ -38534,12 +38567,12 @@ function VM(e) {
disabledBehavior: a
};
}
-function HM(e, t) {
- return e ? e === "all" ? "all" : new BM(e) : t;
+function UM(e, t) {
+ return e ? e === "all" ? "all" : new VM(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var UM = class e {
+var WM = 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;
}
@@ -38595,7 +38628,7 @@ var UM = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && CS(this.collection, n, e) < 0) && (e = n);
+ (!e || n && SS(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -38603,7 +38636,7 @@ var UM = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && CS(this.collection, n, e) > 0) && (e = n);
+ (!e || n && SS(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -38622,10 +38655,10 @@ var UM = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new BM([t], t, t);
+ if (this.state.selectedKeys === "all") n = new VM([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new BM(e, r, t);
+ n = new VM(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);
}
@@ -38633,7 +38666,7 @@ var UM = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? CS(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? SS(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);
@@ -38659,19 +38692,19 @@ var UM = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new BM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new VM(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 BM([t], t, t) : new BM();
+ let n = this.canSelectItem(t) ? new VM([t], t, t) : new VM();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new BM();
+ let t = new VM();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -38683,7 +38716,7 @@ var UM = 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(bS(yS(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(yS(vS(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -38694,7 +38727,7 @@ var UM = 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 BM());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new VM());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -38737,7 +38770,7 @@ var UM = class e {
}
}, Kve = class {
build(e, t) {
- return this.context = t, WM(() => this.iterateCollection(e));
+ return this.context = t, GM(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -38822,7 +38855,7 @@ var UM = class e {
wrapper: qve(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 <${GM(t.type)}> in <${GM(r?.type ?? "unknown parent type")}>. Only <${GM(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 <${KM(t.type)}> in <${KM(r?.type ?? "unknown parent type")}>. Only <${KM(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -38844,7 +38877,7 @@ var UM = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: WM(function* () {
+ childNodes: GM(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -38863,7 +38896,7 @@ var UM = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function WM(e) {
+function GM(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -38876,12 +38909,12 @@ function qve(e, t) {
if (e) return e;
if (t) return t;
}
-function GM(e) {
+function KM(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function KM(e, t, n) {
+function qM(e, t, n) {
let r = (0, S.useMemo)(() => new Kve(), []), { children: i, items: a, collection: o } = e;
return (0, S.useMemo)(() => o || t(r.build({
children: i,
@@ -38897,13 +38930,13 @@ function KM(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function qM(e) {
- let { filter: t, layoutDelegate: n } = e, r = VM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = KM(e, (0, S.useCallback)((e) => t ? new zM(t(e)) : new zM(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new UM(a, r, { layoutDelegate: n }), [
+function JM(e) {
+ let { filter: t, layoutDelegate: n } = e, r = HM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = qM(e, (0, S.useCallback)((e) => t ? new BM(t(e)) : new BM(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new WM(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return JM(a, o), {
+ return YM(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
@@ -38911,13 +38944,13 @@ function qM(e) {
}
function Jve(e, t) {
let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return JM(n, r), {
+ return YM(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function JM(e, t) {
+function YM(e, t) {
let n = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -38945,15 +38978,15 @@ function JM(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function YM(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, S.useRef)(null), s = Vy((e) => {
+function XM(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, S.useRef)(null), s = By((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- fv(() => {
+ dv(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: Kb(t?.current),
+ root: Gb(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -38969,14 +39002,14 @@ function YM(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var XM = /*#__PURE__*/ (0, S.createContext)(null), ZM = /*#__PURE__*/ (0, S.createContext)(null), Yve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, XM);
- let n = (0, S.useContext)(ZM);
- return n ? /*#__PURE__*/ S.createElement(QM, {
+var ZM = /*#__PURE__*/ (0, S.createContext)(null), QM = /*#__PURE__*/ (0, S.createContext)(null), Yve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, ZM);
+ let n = (0, S.useContext)(QM);
+ return n ? /*#__PURE__*/ S.createElement($M, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ S.createElement(by, { content: /*#__PURE__*/ S.createElement(Dy, e) }, (n) => /*#__PURE__*/ S.createElement(Xve, {
+ }) : /*#__PURE__*/ S.createElement(yy, { content: /*#__PURE__*/ S.createElement(Ey, e) }, (n) => /*#__PURE__*/ S.createElement(Xve, {
props: e,
listBoxRef: t,
collection: n
@@ -38989,22 +39022,22 @@ function Xve({ props: e, listBoxRef: t, collection: n }) {
children: null,
items: null
};
- let { layoutDelegate: r } = (0, S.useContext)(Pj), i = qM({
+ let { layoutDelegate: r } = (0, S.useContext)(Fj), i = JM({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ S.createElement(QM, {
+ return /*#__PURE__*/ S.createElement($M, {
state: i,
props: e,
listBoxRef: t
});
}
-function QM({ state: e, props: t, listBoxRef: n }) {
- [t, n] = wj(t, n, kj);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Jve(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Yy(), { disabledBehavior: p, disabledKeys: m } = l, h = OS({
+function $M({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = Tj(t, n, Aj);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Jve(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Jy(), { disabledBehavior: p, disabledKeys: m } = l, h = DS({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(Pj), b = (0, S.useMemo)(() => t.keyboardDelegate || new Ax({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(Fj), b = (0, S.useMemo)(() => t.keyboardDelegate || new kx({
collection: c,
collator: h,
ref: n,
@@ -39025,7 +39058,7 @@ function QM({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Cse({
+ ]), { listBoxProps: x } = wse({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -39057,7 +39090,7 @@ function QM({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, w, n), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = FS(), M = s.collection.size === 0, N = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = PS(), M = s.collection.size === 0, N = {
isDropTarget: E,
isEmpty: M,
isFocused: A,
@@ -39065,7 +39098,7 @@ function QM({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = Sj({
+ }, P = Cj({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -39075,9 +39108,9 @@ function QM({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(N)));
- let I = rb(t, { global: !0 });
- return /*#__PURE__*/ S.createElement(Eb, null, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(I, P, x, k, T?.collectionProps),
+ let I = nb(t, { global: !0 });
+ return /*#__PURE__*/ S.createElement(Tb, null, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(I, P, x, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
@@ -39087,60 +39120,60 @@ function QM({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [XM, t],
- [ZM, s],
- [AM, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [ZM, t],
+ [QM, s],
+ [jM, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [LM, { elementType: "div" }],
- [jM, { render: $ve }],
- [jj, {
+ [RM, { elementType: "div" }],
+ [MM, { render: $ve }],
+ [Mj, {
name: "ListBoxSection",
render: Zve
}]
- ] }, /*#__PURE__*/ S.createElement(FM, null, /*#__PURE__*/ S.createElement(y, {
+ ] }, /*#__PURE__*/ S.createElement(IM, null, /*#__PURE__*/ S.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: NM(l, r, w),
- renderDropIndicator: MM(r, w)
+ persistedKeys: PM(l, r, w),
+ renderDropIndicator: NM(r, w)
}))), F, D));
}
function Zve(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, S.useContext)(ZM), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(AM), { CollectionBranch: s } = (0, S.useContext)(Pj), [c, l] = Tj(), { headingProps: u, groupProps: d } = wse({
+ let i = (0, S.useContext)(QM), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(jM), { CollectionBranch: s } = (0, S.useContext)(Fj), [c, l] = Ej(), { headingProps: u, groupProps: d } = Tse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = Sj({
+ }), f = Cj({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = rb(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ S.createElement(Oj.section, {
- ...iy(p, f, d),
+ }), p = nb(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ S.createElement(kj.section, {
+ ...ry(p, f, d),
ref: t
- }, /*#__PURE__*/ S.createElement(PM.Provider, { value: {
+ }, /*#__PURE__*/ S.createElement(FM.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ S.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: MM(a, o)
+ renderDropIndicator: NM(a, o)
})));
}
-var Qve = /*#__PURE__*/ Cy(Eie, function(e, t, n) {
- let r = uy(t), i = (0, S.useContext)(ZM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(AM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Tse({
+var Qve = /*#__PURE__*/ Sy(Die, function(e, t, n) {
+ let r = ly(t), i = (0, S.useContext)(QM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(jM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ese({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = zS({
+ }, i, r), { hoverProps: p, isHovered: m } = RS({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = ly(e), { focusProps: g } = ay(e), _ = null;
+ }), { keyboardProps: h } = cy(e), { focusProps: g } = iy(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -39151,7 +39184,7 @@ var Qve = /*#__PURE__*/ Cy(Eie, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = Sj({
+ let y = o && o.isDragging(n.key), b = Cj({
...e,
id: void 0,
children: e.children,
@@ -39169,9 +39202,9 @@ var Qve = /*#__PURE__*/ Cy(Eie, function(e, t, n) {
(0, S.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? Oj.a : Oj.div, C = rb(e, { global: !0 });
+ let x = e.href ? kj.a : kj.div, C = nb(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ S.createElement(x, {
- ...iy(C, b, l, p, h, g, _?.dragProps, v?.dropProps),
+ ...ry(C, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
"data-allows-dragging": !!o || void 0,
"data-selected": f.isSelected || void 0,
@@ -39183,15 +39216,15 @@ var Qve = /*#__PURE__*/ Cy(Eie, 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__*/ S.createElement(xj, { values: [[Vj, { slots: {
- [bj]: u,
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [[Hj, { slots: {
+ [xj]: u,
label: u,
description: d
- } }], [IM, { isSelected: f.isSelected }]] }, b.children));
+ } }], [LM, { isSelected: f.isSelected }]] }, b.children));
});
function $ve(e, t) {
- t = uy(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(AM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ t = ly(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(jM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
return a ? null : /*#__PURE__*/ S.createElement(tye, {
...e,
dropIndicatorProps: i,
@@ -39200,12 +39233,12 @@ function $ve(e, t) {
});
}
function eye(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Sj({
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Cj({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Oj.div, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(kj.div, {
...n,
...a,
role: "option",
@@ -39214,9 +39247,9 @@ function eye(e, t) {
}));
}
var tye = /*#__PURE__*/ (0, S.forwardRef)(eye);
-Cy(K_, function(e, t, n) {
- let r = (0, S.useContext)(ZM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
- YM((0, S.useMemo)(() => ({
+Sy(G_, function(e, t, n) {
+ let r = (0, S.useContext)(QM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
+ XM((0, S.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39226,7 +39259,7 @@ Cy(K_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Sj({
+ let l = Cj({
...s,
id: void 0,
children: n.rendered,
@@ -39239,7 +39272,7 @@ Cy(K_, function(e, t, n) {
width: 0,
height: 0
},
- inert: RM(!0)
+ inert: zM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39248,8 +39281,8 @@ Cy(K_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(rb(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(nb(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -39260,8 +39293,8 @@ Cy(K_, function(e, t, n) {
var nye = /*#__PURE__*/ (0, S.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function $M(e) {
- let [t, n] = mx(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, S.useState)(null);
+function eN(e) {
+ let [t, n] = px(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, S.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -39280,15 +39313,15 @@ function $M(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function eN(e, t = !0, n) {
+function tN(e, t = !0, n) {
let [r, i] = (0, S.useState)(!0), a = r && t;
- return fv(() => {
- if (!t && e.current) return Jv(nv(e.current, "opacity", "0"), nv(e.current, "clip", "rect(0 0 0 0)"), nv(e.current, "clip-path", "inset(50%)"), nv(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), fv(() => {
+ return dv(() => {
+ if (!t && e.current) return qv(tv(e.current, "opacity", "0"), tv(e.current, "clip", "rect(0 0 0 0)"), tv(e.current, "clip-path", "inset(50%)"), tv(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), dv(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), nN(e, a, n, (0, S.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), rN(e, a, n, (0, S.useCallback)(() => i(!1), [])), a;
}
-function tN(e, t, n) {
+function nN(e, t, n) {
let [r, i] = (0, S.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -39298,13 +39331,13 @@ function tN(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return nN(e, a, n, (0, S.useCallback)(() => {
+ return rN(e, a, n, (0, S.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function nN(e, t, n, r) {
- let i = (0, S.useRef)(null), a = Vy(n);
- fv(() => {
+function rN(e, t, n, r) {
+ let i = (0, S.useRef)(null), a = By(n);
+ dv(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -39330,9 +39363,9 @@ function nN(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var rN = /*#__PURE__*/ (0, S.createContext)(null), iN = /*#__PURE__*/ (0, S.createContext)(null), aN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, rN);
- let n = (0, S.useContext)(_N), r = $M(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = tN(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = gy(), { direction: c } = Yy();
+var iN = /*#__PURE__*/ (0, S.createContext)(null), aN = /*#__PURE__*/ (0, S.createContext)(null), oN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, iN);
+ let n = (0, S.useContext)(vN), r = eN(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nN(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = hy(), { direction: c } = Jy();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -39353,12 +39386,12 @@ var rN = /*#__PURE__*/ (0, S.createContext)(null), iN = /*#__PURE__*/ (0, S.crea
});
});
function rye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(iN), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, S.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Zse({
+ let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(aN), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, S.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Qse({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = eN(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Sj({
+ }, e), g = i.popoverRef, _ = tN(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Cj({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -39368,10 +39401,10 @@ function rye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, C] = (0, S.useState)(i.trigger === "PreviewTrigger");
- fv(() => {
+ dv(() => {
g.current && C(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, S.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Lv() !== "pointer") && g.current && !sv(g.current) && qv(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Iv() !== "pointer") && g.current && !ov(g.current) && Kv(g.current);
}, [
x,
g,
@@ -39379,12 +39412,12 @@ function rye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, S.useMemo)(() => {
let e = y.children;
- for (let t of [rN, ...r ?? []]) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);
+ for (let t of [iN, ...r ?? []]) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, S.useState)(null), D = (0, S.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- fv(D, [D]), LC({
+ dv(D, [D]), IC({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: D
});
@@ -39394,9 +39427,9 @@ function rye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || T
};
- fv(() => Ew(() => u(!0)), []);
- let k = /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(rb(i, { global: !0 }), d),
+ dv(() => Tw(() => u(!0)), []);
+ let k = /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(nb(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -39411,17 +39444,17 @@ function rye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ S.createElement(yw, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(nye.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ S.createElement(vw, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(nye.Provider, { value: {
...p,
placement: m,
ref: a
- } }, w), /*#__PURE__*/ S.createElement(yw, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ S.createElement(NS, {
+ } }, w), /*#__PURE__*/ S.createElement(vw, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ S.createElement(MS, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, k) : /*#__PURE__*/ S.createElement(NS, {
+ }, k) : /*#__PURE__*/ S.createElement(MS, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -39436,15 +39469,15 @@ function rye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ S.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ S.createElement(iN.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ S.createElement(aN.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
var iye = /*#__PURE__*/ (0, S.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function oN(e) {
- let t = $M(e), [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)([]), o = () => {
+function sN(e) {
+ let t = eN(e), [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -39514,8 +39547,8 @@ var aye = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function sN(e) {
- let { onExpandedChange: t } = e, [n, r] = mx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = VM(e), a = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = KM(e, (0, S.useCallback)((e) => new aye(e, { expandedKeys: n }), [n]), null);
+function cN(e) {
+ let { onExpandedChange: t } = e, [n, r] = px(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = HM(e), a = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = qM(e, (0, S.useCallback)((e) => new aye(e, { expandedKeys: n }), [n]), null);
return (0, S.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -39526,7 +39559,7 @@ function sN(e) {
r(oye(n, e));
},
setExpandedKeys: r,
- selectionManager: new UM(o, i)
+ selectionManager: new WM(o, i)
};
}
function oye(e, t) {
@@ -39535,20 +39568,20 @@ function oye(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var cN = /*#__PURE__*/ (0, S.createContext)(null), lN = /*#__PURE__*/ (0, S.createContext)(null), uN = /*#__PURE__*/ (0, S.createContext)(null), dN = /*#__PURE__*/ (0, S.createContext)(null);
+var lN = /*#__PURE__*/ (0, S.createContext)(null), uN = /*#__PURE__*/ (0, S.createContext)(null), dN = /*#__PURE__*/ (0, S.createContext)(null), fN = /*#__PURE__*/ (0, S.createContext)(null);
function sye(e) {
- let t = oN(e), n = (0, S.useRef)(null), { menuTriggerProps: r, menuProps: i } = mS({
+ let t = sN(e), n = (0, S.useRef)(null), { menuTriggerProps: r, menuProps: i } = pS({
...e,
type: "menu"
}, t, n), a = (0, S.useRef)(null);
- return gy() ? null : /*#__PURE__*/ S.createElement(xj, { values: [
- [cN, {
+ return hy() ? null : /*#__PURE__*/ S.createElement(Sj, { values: [
+ [lN, {
...i,
ref: a
}],
- [_N, t],
- [uN, t],
- [rN, {
+ [vN, t],
+ [dN, t],
+ [iN, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -39556,14 +39589,14 @@ function sye(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ S.createElement(cse, {
+ ] }, /*#__PURE__*/ S.createElement(lse, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
var cye = /*#__PURE__*/ (0, S.createContext)(null);
-(class extends W_ {
+(class extends U_ {
static {
this.type = "submenutrigger";
}
@@ -39577,23 +39610,23 @@ var cye = /*#__PURE__*/ (0, S.createContext)(null);
}
});
var lye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return [e, t] = wj(e, t, cN), /*#__PURE__*/ S.createElement(by, { content: /*#__PURE__*/ S.createElement(Dy, e) }, (n) => /*#__PURE__*/ S.createElement(uye, {
+ return [e, t] = Tj(e, t, lN), /*#__PURE__*/ S.createElement(yy, { content: /*#__PURE__*/ S.createElement(Ey, e) }, (n) => /*#__PURE__*/ S.createElement(uye, {
props: e,
collection: n,
menuRef: t
}));
});
function uye({ props: e, collection: t, menuRef: n }) {
- [e, n] = wj(e, n, kj);
- let { filter: r, ...i } = e, a = (0, S.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = sN({
+ [e, n] = Tj(e, n, Aj);
+ let { filter: r, ...i } = e, a = (0, S.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = cN({
...e,
collection: a,
children: void 0
- }), s = (0, S.useContext)(uN), { isVirtualized: c, CollectionRoot: l } = (0, S.useContext)(Pj), { menuProps: u } = Ese({
+ }), s = (0, S.useContext)(dN), { isVirtualized: c, CollectionRoot: l } = (0, S.useContext)(Fj), { menuProps: u } = Dse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = Sj({
+ }, o, n), d = Cj({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -39603,36 +39636,36 @@ function uye({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Eb, null, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(p, d, u),
+ let p = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(Tb, null, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [lN, o],
- [LM, { elementType: "div" }],
- [jj, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [uN, o],
+ [RM, { elementType: "div" }],
+ [Mj, {
name: "MenuSection",
- render: fN
+ render: pN
}],
[cye, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [mN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [kj, null],
+ [hN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[Aj, null],
- [dN, o.selectionManager],
- [uN, s ?? oN({})]
- ] }, /*#__PURE__*/ S.createElement(FM, null, /*#__PURE__*/ S.createElement(l, {
+ [jj, null],
+ [fN, o.selectionManager],
+ [dN, s ?? sN({})]
+ ] }, /*#__PURE__*/ S.createElement(IM, null, /*#__PURE__*/ S.createElement(l, {
collection: o.collection,
- persistedKeys: Fj(o.selectionManager.focusedKey),
+ persistedKeys: Ij(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var dye = class extends UM {
+var dye = class extends WM {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -39652,11 +39685,11 @@ var dye = class extends UM {
return this.parent.childFocusStrategy;
}
};
-function fN(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, S.useContext)(lN), { CollectionBranch: a } = (0, S.useContext)(Pj), [o, s] = Tj(), { headingProps: c, groupProps: l } = Ose({
+function pN(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, S.useContext)(uN), { CollectionBranch: a } = (0, S.useContext)(Fj), [o, s] = Ej(), { headingProps: c, groupProps: l } = kse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = Sj({
+ }), u = Cj({
...e,
id: void 0,
children: void 0,
@@ -39664,31 +39697,31 @@ function fN(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, S.useContext)(dN), f = VM(e), p = e.selectionMode == null ? d : new dye(d, f), m = Cj(mN)?.shouldCloseOnSelect, h = rb(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ S.createElement(Oj.section, {
- ...iy(h, u, l),
+ }), d = (0, S.useContext)(fN), f = HM(e), p = e.selectionMode == null ? d : new dye(d, f), m = wj(hN)?.shouldCloseOnSelect, h = nb(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ S.createElement(kj.section, {
+ ...ry(h, u, l),
ref: t
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [PM, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [FM, {
...c,
ref: o
}],
- [dN, p],
- [mN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [fN, p],
+ [hN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ S.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var pN = /*#__PURE__*/ wy(Die, fN), mN = /*#__PURE__*/ (0, S.createContext)(null), hN = /*#__PURE__*/ Cy(Eie, function(e, t, n) {
- [e, t] = wj(e, t, mN);
- let r = Cj(mN)?.id, i = (0, S.useContext)(lN), a = uy(t), o = (0, S.useContext)(dN), { isVirtualized: s } = (0, S.useContext)(Pj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Dse({
+var mN = /*#__PURE__*/ Cy(Oie, pN), hN = /*#__PURE__*/ (0, S.createContext)(null), gN = /*#__PURE__*/ Sy(Die, function(e, t, n) {
+ [e, t] = Tj(e, t, hN);
+ let r = wj(hN)?.id, i = (0, S.useContext)(uN), a = ly(t), o = (0, S.useContext)(fN), { isVirtualized: s } = (0, S.useContext)(Fj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Ose({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = zS({ isDisabled: f.isDisabled }), h = Sj({
+ }, i, a), { hoverProps: p, isHovered: m } = RS({ isDisabled: f.isDisabled }), h = Cj({
...e,
id: void 0,
children: n.rendered,
@@ -39702,9 +39735,9 @@ var pN = /*#__PURE__*/ wy(Die, fN), mN = /*#__PURE__*/ (0, S.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? Oj.a : Oj.div, _ = rb(e, { global: !0 });
+ }), g = e.href ? kj.a : kj.div, _ = nb(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(g, {
- ...iy(_, h, c, p),
+ ...ry(_, h, c, p),
ref: a,
"data-disabled": f.isDisabled || void 0,
"data-hovered": m || void 0,
@@ -39715,19 +39748,19 @@ var pN = /*#__PURE__*/ wy(Die, fN), mN = /*#__PURE__*/ (0, S.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__*/ S.createElement(xj, { values: [
- [Vj, { slots: {
- [bj]: l,
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [Hj, { slots: {
+ [xj]: l,
label: l,
description: u
} }],
[iye, d],
- [IM, { isSelected: f.isSelected }]
+ [LM, { isSelected: f.isSelected }]
] }, h.children));
});
-Cy(K_, function(e, t, n) {
- let r = (0, S.useContext)(lN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
- YM((0, S.useMemo)(() => ({
+Sy(G_, function(e, t, n) {
+ let r = (0, S.useContext)(uN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
+ XM((0, S.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39737,7 +39770,7 @@ Cy(K_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Sj({
+ let l = Cj({
...s,
id: void 0,
children: n.rendered,
@@ -39750,7 +39783,7 @@ Cy(K_, function(e, t, n) {
width: 0,
height: 0
},
- inert: RM(!0)
+ inert: zM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39759,8 +39792,8 @@ Cy(K_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(rb(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(nb(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -39768,82 +39801,82 @@ Cy(K_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var gN = /*#__PURE__*/ (0, S.createContext)(null), _N = /*#__PURE__*/ (0, S.createContext)(null), vN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+var _N = /*#__PURE__*/ (0, S.createContext)(null), vN = /*#__PURE__*/ (0, S.createContext)(null), yN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = wj(e, t, gN);
- let { dialogProps: r, titleProps: i, contentProps: a } = use({
+ [e, t] = Tj(e, t, _N);
+ let { dialogProps: r, titleProps: i, contentProps: a } = dse({
...e,
"aria-labelledby": n
- }, t), o = (0, S.useContext)(_N);
+ }, t), o = (0, S.useContext)(vN);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = Sj({
+ let s = Cj({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Oj.section, {
- ...iy(c, s, r),
+ }), c = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(kj.section, {
+ ...ry(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [zj, { slots: {
- [bj]: {},
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [Bj, { slots: {
+ [xj]: {},
title: {
...i,
level: 2
}
} }],
- [Vj, { slots: {
- [bj]: {},
+ [Hj, { slots: {
+ [xj]: {},
description: a
} }],
- [Lj, { slots: {
- [bj]: {},
+ [Rj, { slots: {
+ [xj]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), yN = typeof document < "u" && window.visualViewport;
+}), bN = typeof document < "u" && window.visualViewport;
function fye() {
- let e = Ev(), t = (0, S.useRef)(null), [n, r] = (0, S.useState)(() => e ? {
+ let e = Tv(), t = (0, S.useRef)(null), [n, r] = (0, S.useState)(() => e ? {
width: 0,
height: 0
- } : bN());
+ } : xN());
return (0, S.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- yN && yN.scale > 1 || e(bN());
+ bN && bN.scale > 1 || e(xN());
}, i = (n) => {
- yN && yN.scale > 1 || Ry(ov(n)) && (t.current = Ew((t) => {
+ bN && bN.scale > 1 || Ly(av(n)) && (t.current = Tw((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(bN()), yv() && bv() && window.addEventListener("blur", i, !0), yN ? yN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), yv() && bv() && window.removeEventListener("blur", i, !0), yN ? yN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(xN()), vv() && yv() && window.addEventListener("blur", i, !0), bN ? bN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), vv() && yv() && window.removeEventListener("blur", i, !0), bN ? bN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function bN() {
+function xN() {
return {
- width: yN ? Math.min(yN.width * yN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: yN ? yN.height * yN.scale : document.documentElement.clientHeight
+ width: bN ? Math.min(bN.width * bN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: bN ? bN.height * bN.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var pye = /*#__PURE__*/ (0, S.createContext)(null), xN = /*#__PURE__*/ (0, S.createContext)(null), mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- if ((0, S.useContext)(xN)) return /*#__PURE__*/ S.createElement(CN, {
+var pye = /*#__PURE__*/ (0, S.createContext)(null), SN = /*#__PURE__*/ (0, S.createContext)(null), mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ if ((0, S.useContext)(SN)) return /*#__PURE__*/ S.createElement(wN, {
...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__*/ S.createElement(SN, {
+ return /*#__PURE__*/ S.createElement(CN, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -39853,14 +39886,14 @@ var pye = /*#__PURE__*/ (0, S.createContext)(null), xN = /*#__PURE__*/ (0, S.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ S.createElement(CN, {
+ }, /*#__PURE__*/ S.createElement(wN, {
...f,
modalRef: t
}, s));
});
function hye(e, t) {
- [e, t] = wj(e, t, pye);
- let n = (0, S.useContext)(_N), r = $M(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = uy(t), o = (0, S.useRef)(null), s = tN(a, i.isOpen, e.onExit), c = (0, S.useRef)(null), l = tN(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Ev();
+ [e, t] = Tj(e, t, pye);
+ let n = (0, S.useContext)(vN), r = eN(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ly(t), o = (0, S.useRef)(null), s = nN(a, i.isOpen, e.onExit), c = (0, S.useRef)(null), l = nN(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Tv();
return !i.isOpen && !u || d ? null : /*#__PURE__*/ S.createElement(gye, {
...e,
state: i,
@@ -39870,12 +39903,12 @@ function hye(e, t) {
onExitRef: c
});
}
-var SN = /*#__PURE__*/ (0, S.forwardRef)(hye);
+var CN = /*#__PURE__*/ (0, S.forwardRef)(hye);
function gye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, S.useState)(!1), s = eN(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = zse({
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, S.useState)(!1), s = tN(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Bse({
...n,
isEntering: c
- }, i, r), d = (0, S.useContext)(gN), f = t ? _ye(d, { isEntering: c }) : d, p = Sj({
+ }, i, r), d = (0, S.useContext)(_N), f = t ? _ye(d, { isEntering: c }) : d, p = Cj({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -39885,7 +39918,7 @@ function gye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
}
}), m = fye(), h, g;
if (typeof document < "u") {
- let e = Gb(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = Wb(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 _ = {
@@ -39895,18 +39928,18 @@ function gye({ 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 fv(() => Ew(() => o(!0)), []), /*#__PURE__*/ S.createElement(NS, {
+ return dv(() => Tw(() => o(!0)), []), /*#__PURE__*/ S.createElement(MS, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(rb(n, { global: !0 }), u),
+ }, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(nb(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [xN, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [SN, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -39914,8 +39947,8 @@ function gye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [_N, i],
- [gN, f]
+ [vN, i],
+ [_N, f]
] }, p.children)));
}
function _ye(e, t) {
@@ -39935,8 +39968,8 @@ function _ye(e, t) {
...t
};
}
-function CN(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, S.useContext)(xN), s = (0, S.useContext)(_N), c = uy((0, S.useMemo)(() => ey(e.modalRef, n), [e.modalRef, n])), l = eN(c, o, e.onEnter), u = Sj({
+function wN(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, S.useContext)(SN), s = (0, S.useContext)(vN), c = ly((0, S.useMemo)(() => $v(e.modalRef, n), [e.modalRef, n])), l = tN(c, o, e.onEnter), u = Cj({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -39945,21 +39978,21 @@ function CN(e) {
state: s
}
});
- return fv(() => {
+ return dv(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(rb(e, { global: !0 }), t),
+ }), /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(nb(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ S.createElement(yw, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ S.createElement(vw, { onDismiss: s.close }), u.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
var vye = Math.round(Math.random() * 1e10), yye = 0;
function bye(e) {
- let t = (0, S.useMemo)(() => e.name || `radio-group-${vye}-${++yye}`, [e.name]), [n, r] = mx(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = ax({
+ let t = (0, S.useMemo)(() => e.name || `radio-group-${vye}-${++yye}`, [e.name]), [n, r] = px(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = ix({
...e,
value: n
}), c = (t) => {
@@ -39982,16 +40015,16 @@ function bye(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.createContext)(null), wN = /*#__PURE__*/ (0, S.createContext)(null), TN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, xye);
- let { validationBehavior: n } = Cj(Uj) || {}, r = e.validationBehavior ?? n ?? "native", i = bye({
+var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.createContext)(null), TN = /*#__PURE__*/ (0, S.createContext)(null), EN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, xye);
+ let { validationBehavior: n } = wj(Wj) || {}, r = e.validationBehavior ?? n ?? "native", i = bye({
...e,
validationBehavior: r
- }), [a, o] = Tj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = $se({
+ }), [a, o] = Ej(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = ece({
...e,
label: o,
validationBehavior: r
- }, i), f = Sj({
+ }, i), f = Cj({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -40002,9 +40035,9 @@ var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(p, f, s),
+ }), p = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(p, f, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": e.orientation || "vertical",
@@ -40012,27 +40045,27 @@ var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [wN, i],
- [Ij, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [TN, i],
+ [Lj, {
...c,
ref: a,
elementType: "span"
}],
- [Vj, { slots: {
+ [Hj, { slots: {
description: l,
errorMessage: u
} }],
- [Hj, d]
- ] }, /*#__PURE__*/ S.createElement(FM, null, f.children)));
-}), EN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [Uj, d]
+ ] }, /*#__PURE__*/ S.createElement(IM, null, f.children)));
+}), DN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = wj(r, t, Sye);
- let i = S.useContext(wN), a = uy((0, S.useMemo)(() => ey(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Qse({
- ...Ej(e),
+ [e, t] = Tj(r, t, Sye);
+ let i = S.useContext(TN), a = ly((0, S.useMemo)(() => $v(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = $se({
+ ...Dj(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ S.createElement(DN.Provider, { value: {
+ return /*#__PURE__*/ S.createElement(ON.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
@@ -40040,11 +40073,11 @@ var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.cr
...e,
ref: t
}));
-}), DN = /*#__PURE__*/ (0, S.createContext)(null), Cye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(DN), l = S.useContext(wN), { isFocused: u, isFocusVisible: d, focusProps: f } = FS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = zS({
+}), ON = /*#__PURE__*/ (0, S.createContext)(null), Cye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(ON), l = S.useContext(TN), { isFocused: u, isFocusVisible: d, focusProps: f } = PS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = RS({
...e,
isDisabled: p
- }), g = Sj({
+ }), g = Cj({
...e,
defaultClassName: s,
values: {
@@ -40058,9 +40091,9 @@ var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = rb(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(Oj.label, {
- ...iy(_, n, m, g),
+ }), _ = nb(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(kj.label, {
+ ...ry(_, n, m, g),
ref: t,
"data-selected": i || void 0,
"data-pressed": o || void 0,
@@ -40071,19 +40104,19 @@ var xye = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(yx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
- ...iy(r, f),
+ }, /*#__PURE__*/ S.createElement(vx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
+ ...ry(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
function wye(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = $M(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = eN(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = mx((0, S.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = px((0, S.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -40095,7 +40128,7 @@ function wye(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = qM({
+ }, d = JM({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
@@ -40110,7 +40143,7 @@ function wye(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, S.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = ax({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, S.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = ix({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, S.useState)(!1), [_] = (0, S.useState)(l);
@@ -40145,8 +40178,8 @@ function Tye(e) {
function Eye(e) {
return e && e.__esModule ? e.default : e;
}
-var ON = /*#__PURE__*/ (0, S.createContext)(null), kN = /*#__PURE__*/ (0, S.createContext)(null), Dye = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, ON);
+var kN = /*#__PURE__*/ (0, S.createContext)(null), AN = /*#__PURE__*/ (0, S.createContext)(null), Dye = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, kN);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, S.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -40161,24 +40194,24 @@ var ON = /*#__PURE__*/ (0, S.createContext)(null), kN = /*#__PURE__*/ (0, S.crea
i,
a
]);
- return /*#__PURE__*/ S.createElement(by, { content: o }, (n) => /*#__PURE__*/ S.createElement(kye, {
+ return /*#__PURE__*/ S.createElement(yy, { content: o }, (n) => /*#__PURE__*/ S.createElement(kye, {
props: e,
collection: n,
selectRef: t
}));
}), Oye = [
- Ij,
Lj,
- Vj
+ Rj,
+ Hj
];
function kye({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Cj(Uj) || {}, i = e.validationBehavior ?? r ?? "native", a = wye({
+ let { validationBehavior: r } = wj(Wj) || {}, i = e.validationBehavior ?? r ?? "native", a = wye({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = FS({ within: !0 }), c = (0, S.useRef)(null), [l, u] = Tj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ece({
- ...Ej(e),
+ }), { isFocusVisible: o, focusProps: s } = PS({ within: !0 }), c = (0, S.useRef)(null), [l, u] = Ej(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = tce({
+ ...Dj(e),
label: u,
validationBehavior: i
}, a, c), y = (0, S.useMemo)(() => ({
@@ -40195,30 +40228,30 @@ function kye({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = Sj({
+ ]), b = Cj({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = rb(e, { global: !0 });
+ }), x = nb(e, { global: !0 });
delete x.id;
let C = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(xj, { values: [
- [ON, e],
- [kN, a],
- [AN, p],
- [Ij, {
+ return /*#__PURE__*/ S.createElement(Sj, { values: [
+ [kN, e],
+ [AN, a],
+ [jN, p],
+ [Lj, {
...d,
ref: l,
elementType: "span"
}],
- [Lj, {
+ [Rj, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [_N, a],
- [rN, {
+ [vN, a],
+ [iN, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
@@ -40226,18 +40259,18 @@ function kye({ props: e, selectRef: t, collection: n }) {
"aria-labelledby": m["aria-labelledby"],
clearContexts: Oye
}],
- [XM, {
+ [ZM, {
...m,
ref: C
}],
- [ZM, a],
- [Vj, { slots: {
+ [QM, a],
+ [Hj, { slots: {
description: h,
errorMessage: g
} }],
- [Hj, v]
- ] }, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(x, b, s),
+ [Uj, v]
+ ] }, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(x, b, s),
ref: t,
slot: e.slot || void 0,
"data-focused": a.isFocused || void 0,
@@ -40246,14 +40279,14 @@ function kye({ 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__*/ S.createElement(nce, {
+ }, b.children, /*#__PURE__*/ S.createElement(rce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, AN);
- let n = (0, S.useContext)(kN), { placeholder: r } = Cj(ON), i = n.selectedItems.map((e) => {
+for (var jN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, jN);
+ let n = (0, S.useContext)(AN), { placeholder: r } = wj(kN), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -40265,7 +40298,7 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = dse(), o = (0, S.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, S.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = fse(), o = (0, S.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, S.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -40280,7 +40313,7 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
a,
o,
i
- ]), u = tb(Eye(kM), "react-aria-components"), d = Sj({
+ ]), u = eb(Eye(AM), "react-aria-components"), d = Cj({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40291,21 +40324,21 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Oj.span, {
+ }), f = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(kj.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ S.createElement(Vj.Provider, { value: void 0 }, d.children));
-}), jye = /*#__PURE__*/ (0, S.createContext)(null), jN = /*#__PURE__*/ (0, S.createContext)(null), Mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ S.createElement(Hj.Provider, { value: void 0 }, d.children));
+}), jye = /*#__PURE__*/ (0, S.createContext)(null), MN = /*#__PURE__*/ (0, S.createContext)(null), Mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = wj(r, t, jye);
- let i = uy((0, S.useMemo)(() => ey(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = hx(e), o = ice({
- ...Ej(e),
+ [e, t] = Tj(r, t, jye);
+ let i = ly((0, S.useMemo)(() => $v(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = mx(e), o = ace({
+ ...Dj(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ S.createElement(xj, { values: [[jN, a], [MN, {
+ return /*#__PURE__*/ S.createElement(Sj, { values: [[MN, a], [NN, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
@@ -40313,11 +40346,11 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
...e,
ref: t
}));
-}), MN = /*#__PURE__*/ (0, S.createContext)(null), Nye = /*#__PURE__*/ (0, S.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, S.useContext)(MN), { isFocused: f, isFocusVisible: p, focusProps: m } = FS(), h = a || o, g = (0, S.useContext)(jN), { hoverProps: _, isHovered: v } = zS({
+}), NN = /*#__PURE__*/ (0, S.createContext)(null), Nye = /*#__PURE__*/ (0, S.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, S.useContext)(NN), { isFocused: f, isFocusVisible: p, focusProps: m } = PS(), h = a || o, g = (0, S.useContext)(MN), { hoverProps: _, isHovered: v } = RS({
...e,
isDisabled: h
- }), y = Sj({
+ }), y = Cj({
...e,
defaultClassName: u,
values: {
@@ -40332,9 +40365,9 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
isRequired: d || !1,
state: g
}
- }), b = rb(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(Oj.label, {
- ...iy(b, n, _, y),
+ }), b = nb(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(kj.label, {
+ ...ry(b, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -40346,11 +40379,11 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ S.createElement(yx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
- ...iy(r, m),
+ }, /*#__PURE__*/ S.createElement(vx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
+ ...ry(r, m),
ref: l
})), y.children);
-}), NN = 10, PN = 5, FN = class {
+}), PN = 10, FN = 5, IN = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -40360,7 +40393,7 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(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) > PN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > NN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > FN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > PN && (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);
@@ -40439,11 +40472,11 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > PN && i) {
+ if (Math.abs(r - c.lastSwitchY) > FN && 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 > NN && a) {
+ if (l > PN && 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;
}
@@ -40528,8 +40561,8 @@ for (var AN = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ hy(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, IN = "row-header-column-" + Math.random().toString(36).slice(2), LN = "row-header-column-" + Math.random().toString(36).slice(2); IN === LN;) LN = "row-header-column-" + Math.random().toString(36).slice(2);
-function RN(e, t) {
+}, LN = "row-header-column-" + Math.random().toString(36).slice(2), RN = "row-header-column-" + Math.random().toString(36).slice(2); LN === RN;) RN = "row-header-column-" + Math.random().toString(36).slice(2);
+function zN(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -40619,7 +40652,7 @@ var Fye = class extends Pye {
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: IN,
+ key: LN,
value: null,
textValue: "",
level: 0,
@@ -40634,7 +40667,7 @@ var Fye = class extends Pye {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: LN,
+ key: RN,
value: null,
textValue: "",
level: 0,
@@ -40661,7 +40694,7 @@ var Fye = class extends Pye {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = RN(s, a);
+ let l = zN(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -40687,10 +40720,10 @@ var Fye = class extends Pye {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return bS(this.body.childNodes)?.key ?? null;
+ return yS(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return SS(this.body.childNodes)?.key ?? null;
+ return xS(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -40723,18 +40756,18 @@ var Fye = class extends Pye {
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
function Iye(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || VM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || HM(e), i = (0, S.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 = yS(n, t);
- e = r === "last" ? SS(i)?.key ?? null : bS(i)?.key ?? null;
+ let i = vS(n, t);
+ e = r === "last" ? xS(i)?.key ?? null : yS(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, S.useMemo)(() => new UM(t, r), [t, r]), s = (0, S.useRef)(null);
+ let o = (0, S.useMemo)(() => new WM(t, r), [t, r]), s = (0, S.useRef)(null);
return (0, S.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;
@@ -40754,7 +40787,7 @@ function Iye(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...yS(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...vS(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);
}
@@ -40788,11 +40821,11 @@ function Rye(e) {
i,
r,
a
- ]), c = KM(e, (0, S.useCallback)((e) => new Fye(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Iye({
+ ]), c = qM(e, (0, S.useCallback)((e) => new Fye(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Iye({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = mx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = px(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -40827,7 +40860,7 @@ function zye(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Bye = class extends q_ {
+var Bye = class extends K_ {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -40842,7 +40875,7 @@ var Bye = class extends q_ {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new GN(-2);
+ return new KN(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -40868,7 +40901,7 @@ var Bye = class extends q_ {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = RN(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 = zN(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;
@@ -40949,11 +40982,11 @@ var Bye = class extends q_ {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new HN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new UN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Vye = /*#__PURE__*/ (0, S.createContext)(null), Hye = /*#__PURE__*/ (0, S.createContext)(null), zN = /*#__PURE__*/ (0, S.createContext)(null), BN = /*#__PURE__*/ (0, S.createContext)(null), Uye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, Hye);
- let n = VM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({
+}, Vye = /*#__PURE__*/ (0, S.createContext)(null), Hye = /*#__PURE__*/ (0, S.createContext)(null), BN = /*#__PURE__*/ (0, S.createContext)(null), VN = /*#__PURE__*/ (0, S.createContext)(null), Uye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, Hye);
+ let n = HM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -40963,8 +40996,8 @@ var Bye = class extends q_ {
i,
a,
o
- ]), c = /*#__PURE__*/ S.createElement(Kye.Provider, { value: s }, /*#__PURE__*/ S.createElement(Dy, e));
- return /*#__PURE__*/ S.createElement(by, {
+ ]), c = /*#__PURE__*/ S.createElement(Kye.Provider, { value: s }, /*#__PURE__*/ S.createElement(Ey, e));
+ return /*#__PURE__*/ S.createElement(yy, {
content: c,
createCollection: () => new Bye()
}, (r) => /*#__PURE__*/ S.createElement(Gye, {
@@ -40974,15 +41007,15 @@ var Bye = class extends q_ {
collection: r
}));
}), Wye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.table, {
+ }) : /*#__PURE__*/ S.createElement(kj.table, {
...e,
ref: t
});
-}), VN = {
+}), HN = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -40993,10 +41026,10 @@ var Bye = class extends q_ {
}
};
function Gye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = wj(e, t, kj);
+ [e, t] = Tj(e, t, Aj);
let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, S.useContext)(Vye);
- t = uy((0, S.useMemo)(() => ey(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = mx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ t = ly((0, S.useMemo)(() => $v(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = px(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, S.useMemo)(() => r.withExpandedKeys(l), [r, l]);
let d = Rye({
...s,
@@ -41005,13 +41038,13 @@ function Gye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = zye(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(Pj), { dragAndDropHooks: _ } = e, { gridProps: v } = uce({
+ }), f = zye(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(Fj), { dragAndDropHooks: _ } = e, { gridProps: v } = dce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, S.useRef)(b), (0, S.useRef)(x), (0, S.useEffect)(() => {}, [b, x]);
- let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = Yy(), [A] = (0, S.useState)(() => new FN());
+ let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = Jy(), [A] = (0, S.useState)(() => new IN());
if (b && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -41026,7 +41059,7 @@ function Gye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new Ax({
+ let e = new kx({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -41046,12 +41079,12 @@ function Gye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === VN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === VN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === HN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === HN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = FS(), P = Sj({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = PS(), P = Cj({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -41067,20 +41100,20 @@ function Gye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let L = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(xj, { values: [
- [zN, f],
- [BN, ee],
- [AM, {
+ let L = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(Sj, { values: [
+ [BN, f],
+ [VN, ee],
+ [jM, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [jM, { render: nbe }],
- [kj, null],
- [Aj, null]
- ] }, /*#__PURE__*/ S.createElement(Eb, null, /*#__PURE__*/ S.createElement(Wye, {
- ...iy(L, P, v, j, T?.collectionProps),
+ [MM, { render: nbe }],
+ [Aj, null],
+ [jj, null]
+ ] }, /*#__PURE__*/ S.createElement(Tb, null, /*#__PURE__*/ S.createElement(Wye, {
+ ...ry(L, P, v, j, T?.collectionProps),
style: I,
ref: t,
slot: e.slot || void 0,
@@ -41089,27 +41122,27 @@ function Gye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ S.createElement(FM, null, /*#__PURE__*/ S.createElement(g, {
+ }, /*#__PURE__*/ S.createElement(IM, null, /*#__PURE__*/ S.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: NM(y, _, w)
+ persistedKeys: PM(y, _, w)
})))), D);
}
-var Kye = /*#__PURE__*/ (0, S.createContext)(null), HN = class extends W_ {
+var Kye = /*#__PURE__*/ (0, S.createContext)(null), UN = class extends U_ {
static {
this.type = "tableheader";
}
}, qye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.thead, {
+ }) : /*#__PURE__*/ S.createElement(kj.thead, {
...e,
ref: t
});
-}), UN = /*#__PURE__*/ wy(HN, (e, t) => {
- let n = (0, S.useContext)(zN).collection, r = Y_({
+}), WN = /*#__PURE__*/ Cy(UN, (e, t) => {
+ let n = (0, S.useContext)(BN).collection, r = J_({
items: n.headerRows,
children: (0, S.useCallback)((e) => {
switch (e.type) {
@@ -41117,27 +41150,27 @@ var Kye = /*#__PURE__*/ (0, S.createContext)(null), HN = class extends W_ {
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = VT(), { hoverProps: a, isHovered: o } = zS({
+ }), { rowGroupProps: i } = BT(), { hoverProps: a, isHovered: o } = RS({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = Sj({
+ }), s = Cj({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
return /*#__PURE__*/ S.createElement(qye, {
- ...iy(rb(e, { global: !0 }), i, a),
+ ...ry(nb(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ S.createElement(Dy, {
+}, (e) => /*#__PURE__*/ S.createElement(Ey, {
dependencies: e.dependencies,
items: e.columns
}, e.children)), Jye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
return n ? /*#__PURE__*/ S.createElement("div", {
...e,
ref: t
@@ -41147,40 +41180,40 @@ var Kye = /*#__PURE__*/ (0, S.createContext)(null), HN = class extends W_ {
});
});
function Yye({ item: e }) {
- let t = (0, S.useRef)(null), n = (0, S.useContext)(zN), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(Pj), { rowProps: a } = mce({
+ let t = (0, S.useRef)(null), n = (0, S.useContext)(BN), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(Fj), { rowProps: a } = hce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = xce(n);
+ }, n, t), { checkboxProps: o } = Sce(n);
return /*#__PURE__*/ S.createElement(Jye, {
...a,
ref: t
- }, /*#__PURE__*/ S.createElement(xj, { values: [[Wj, { slots: { selection: o } }], [Gj, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [[Gj, { slots: { selection: o } }], [Kj, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Xye = class extends W_ {
+var Xye = class extends U_ {
static {
this.type = "column";
}
}, Zye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.th, {
+ }) : /*#__PURE__*/ S.createElement(kj.th, {
...e,
ref: t
});
-}), WN = /*#__PURE__*/ Cy(Xye, (e, t, n) => {
- let r = uy(t), i = (0, S.useContext)(zN), { isVirtualized: a } = (0, S.useContext)(Pj), { columnHeaderProps: o, isPressed: s } = pce({
+}), GN = /*#__PURE__*/ Sy(Xye, (e, t, n) => {
+ let r = ly(t), i = (0, S.useContext)(BN), { isVirtualized: a } = (0, S.useContext)(Fj), { columnHeaderProps: o, isPressed: s } = mce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = FS(), d = (0, S.useContext)(BN), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = PS(), d = (0, S.useContext)(VN), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = zS({ isDisabled: !e.allowsSorting }), h = Sj({
+ let { hoverProps: p, isHovered: m } = RS({ isDisabled: !e.allowsSorting }), h = Cj({
...e,
id: void 0,
children: n.rendered,
@@ -41206,9 +41239,9 @@ var Xye = class extends W_ {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = rb(e, { global: !0 });
+ let _ = nb(e, { global: !0 });
return delete _.id, /*#__PURE__*/ S.createElement(Zye, {
- ...iy(_, o, u, p),
+ ...ry(_, o, u, p),
...h,
style: g,
ref: r,
@@ -41219,28 +41252,28 @@ var Xye = class extends W_ {
"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__*/ S.createElement(xj, { values: [[Qye, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [[Qye, {
column: n,
triggerRef: r
- }], [Pj, Mj]] }, h.children));
-}), Qye = /*#__PURE__*/ (0, S.createContext)(null), GN = class extends G_ {
+ }], [Fj, Nj]] }, h.children));
+}), Qye = /*#__PURE__*/ (0, S.createContext)(null), KN = class extends W_ {
static {
this.type = "tablebody";
}
}, $ye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.tbody, {
+ }) : /*#__PURE__*/ S.createElement(kj.tbody, {
...e,
ref: t
});
-}), KN = /*#__PURE__*/ wy(GN, (e, t, n) => {
- let r = (0, S.useContext)(zN), { isVirtualized: i } = (0, S.useContext)(Pj), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(Pj), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(AM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), qN = /*#__PURE__*/ Cy(KN, (e, t, n) => {
+ let r = (0, S.useContext)(BN), { isVirtualized: i } = (0, S.useContext)(Fj), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(Fj), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(jM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = Sj({
+ }, p = Cj({
...e,
id: void 0,
children: void 0,
@@ -41249,33 +41282,33 @@ var Xye = class extends W_ {
}), 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__*/ S.createElement(JN, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ S.createElement(YN, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ S.createElement(XN, {
+ }, /*#__PURE__*/ S.createElement(ZN, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = VT(), _ = rb(e, { global: !0 });
+ let { rowGroupProps: g } = BT(), _ = nb(e, { global: !0 });
return /*#__PURE__*/ S.createElement($ye, {
- ...iy(_, p, g),
+ ...ry(_, p, g),
ref: t,
"data-empty": d || void 0
}, l && /*#__PURE__*/ S.createElement(sbe, null), /*#__PURE__*/ S.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: MM(s, c)
+ renderDropIndicator: NM(s, c)
}), m);
});
-(class extends G_ {
+(class extends W_ {
static {
this.type = "tablefooter";
}
});
-var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), ebe = class extends W_ {
+var JN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), ebe = class extends U_ {
static {
this.type = "item";
}
@@ -41287,31 +41320,31 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
}
return null;
}
-}, JN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+}, YN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.tr, {
+ }) : /*#__PURE__*/ S.createElement(kj.tr, {
...e,
ref: t
});
-}), YN = /*#__PURE__*/ wy(ebe, (e, t, n) => {
- let r = uy(t), i = (0, S.useContext)(zN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(AM), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(Pj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = _ce({
+}), XN = /*#__PURE__*/ Cy(ebe, (e, t, n) => {
+ let r = ly(t), i = (0, S.useContext)(BN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(jM), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(Fj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = vce({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = FS(), { isFocusVisible: _, focusProps: v } = FS({ within: !0 }), { hoverProps: y, isHovered: b } = zS({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = PS(), { isFocusVisible: _, focusProps: v } = PS({ within: !0 }), { hoverProps: y, isHovered: b } = RS({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = bce({ key: n.key }, i), C;
+ }), { checkboxProps: x } = xce({ key: n.key }, i), C;
o && a && (C = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let w, T = (0, S.useRef)(null), { visuallyHiddenProps: E } = vx();
+ let w, T = (0, S.useRef)(null), { visuallyHiddenProps: E } = _x();
s && a && (w = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -41321,7 +41354,7 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
(0, S.useEffect)(() => {
o && D.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Sj({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Cj({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -41342,11 +41375,11 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
isExpanded: M,
level: n.level + 1
}
- }), P = rb(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(JN, {
+ }), P = nb(e, { global: !0 });
+ return delete P.id, delete P.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(YN, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ S.createElement(XN, {
+ }, /*#__PURE__*/ S.createElement(ZN, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -41355,8 +41388,8 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ S.createElement(JN, {
- ...iy(P, N, d, g, y, C?.dragProps, v),
+ }))), /*#__PURE__*/ S.createElement(YN, {
+ ...ry(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
"data-selected": p.isSelected || void 0,
@@ -41371,17 +41404,17 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [Wj, { slots: {
- [bj]: {},
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [Gj, { slots: {
+ [xj]: {},
selection: x
} }],
- [Gj, { slots: {
- [bj]: {},
+ [Kj, { slots: {
+ [xj]: {},
selection: x
} }],
- [Lj, { slots: {
- [bj]: {},
+ [Rj, { slots: {
+ [xj]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -41389,8 +41422,8 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
style: { pointerEvents: "none" }
}
} }],
- [IM, { isSelected: p.isSelected }],
- [qN, { isFocusVisibleWithinRow: _ }]
+ [LM, { isSelected: p.isSelected }],
+ [JN, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ S.createElement(l, {
collection: i.collection,
parent: n
@@ -41398,34 +41431,34 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
}, (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__*/ S.createElement(Dy, {
+ return /*#__PURE__*/ S.createElement(Ey, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), tbe = class extends W_ {
+}), tbe = class extends U_ {
static {
this.type = "cell";
}
-}, XN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+}, ZN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.td, {
+ }) : /*#__PURE__*/ S.createElement(kj.td, {
...e,
ref: t
});
-}), ZN = /*#__PURE__*/ Cy(tbe, (e, t, n) => {
- let r = uy(t), i = (0, S.useContext)(zN), { dragState: a } = (0, S.useContext)(AM), { isVirtualized: o } = (0, S.useContext)(Pj);
+}), QN = /*#__PURE__*/ Sy(tbe, (e, t, n) => {
+ let r = ly(t), i = (0, S.useContext)(BN), { dragState: a } = (0, S.useContext)(jM), { isVirtualized: o } = (0, S.useContext)(Fj);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = dce({
+ let { gridCellProps: s, isPressed: c } = fce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = FS(), { hoverProps: f, isHovered: p } = zS({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)(qN), 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 = Sj({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = PS(), { hoverProps: f, isHovered: p } = RS({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)(JN), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = Cj({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -41444,9 +41477,9 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), C = rb(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ S.createElement(XN, {
- ...iy(C, x, s, d, f),
+ }), C = nb(e, { global: !0 });
+ return delete C.id, /*#__PURE__*/ S.createElement(ZN, {
+ ...ry(C, x, s, d, f),
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
@@ -41459,11 +41492,11 @@ var qN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), eb
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ S.createElement(Pj.Provider, { value: Mj }, x.children));
+ }, /*#__PURE__*/ S.createElement(Fj.Provider, { value: Nj }, x.children));
});
function nbe(e, t) {
- t = uy(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(AM), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ t = ly(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(jM), i = (0, S.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__*/ S.createElement(obe, {
@@ -41476,33 +41509,33 @@ function nbe(e, t) {
});
}
var rbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.tr, {
+ }) : /*#__PURE__*/ S.createElement(kj.tr, {
...e,
ref: t
});
}), ibe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Pj);
- return n ? /*#__PURE__*/ S.createElement(Oj.div, {
+ let { isVirtualized: n } = (0, S.useContext)(Fj);
+ return n ? /*#__PURE__*/ S.createElement(kj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(Oj.td, {
+ }) : /*#__PURE__*/ S.createElement(kj.td, {
...e,
ref: t
});
});
function abe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(zN), { visuallyHiddenProps: c } = vx(), l = Sj({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(BN), { visuallyHiddenProps: c } = _x(), l = Cj({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
return /*#__PURE__*/ S.createElement(rbe, {
- ...rb(e, { global: !0 }),
+ ...nb(e, { global: !0 }),
...l,
role: "row",
ref: t,
@@ -41521,12 +41554,12 @@ function abe(e, t) {
}
var obe = /*#__PURE__*/ (0, S.forwardRef)(abe);
function sbe() {
- let e = (0, S.useContext)(zN), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(AM), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vx();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(JN, {
+ let e = (0, S.useContext)(BN), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(jM), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = _x();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(YN, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ S.createElement(XN, {
+ }, /*#__PURE__*/ S.createElement(ZN, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -41537,9 +41570,9 @@ function sbe() {
ref: r
})));
}
-Cy(K_, function(e, t, n) {
- let r = (0, S.useContext)(zN), { isVirtualized: i } = (0, S.useContext)(Pj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);
- YM((0, S.useMemo)(() => ({
+Sy(G_, function(e, t, n) {
+ let r = (0, S.useContext)(BN), { isVirtualized: i } = (0, S.useContext)(Fj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);
+ XM((0, S.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -41549,7 +41582,7 @@ Cy(K_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = Sj({
+ let d = Cj({
...c,
id: void 0,
children: n.rendered,
@@ -41557,10 +41590,10 @@ Cy(K_, 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__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(JN, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(YN, {
style: { height: 0 },
- inert: RM(!0)
- }, /*#__PURE__*/ S.createElement(XN, { style: {
+ inert: zM(!0)
+ }, /*#__PURE__*/ S.createElement(ZN, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ S.createElement("div", {
@@ -41571,14 +41604,14 @@ Cy(K_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ S.createElement(JN, {
- ...iy(rb(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ S.createElement(YN, {
+ ...ry(nb(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ S.createElement(XN, {
+ }, /*#__PURE__*/ S.createElement(ZN, {
role: "rowheader",
...p,
style: m
@@ -41587,7 +41620,7 @@ Cy(K_, function(e, t, n) {
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
function cbe(e) {
- let [t, n] = mx(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = qM({
+ let [t, n] = px(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = JM({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -41617,17 +41650,17 @@ function lbe(e) {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? QN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? $N(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, S.useRef)(i);
return (0, S.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = QN(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = $N(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function QN(e, t) {
+function $N(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -41637,13 +41670,13 @@ function QN(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var $N = /*#__PURE__*/ (0, S.createContext)(null), eP = /*#__PURE__*/ (0, S.createContext)(null), tP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = wj(e, t, $N);
+var eP = /*#__PURE__*/ (0, S.createContext)(null), tP = /*#__PURE__*/ (0, S.createContext)(null), nP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Tj(e, t, eP);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, S.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ S.createElement(by, { content: n }, (n) => /*#__PURE__*/ S.createElement(ube, {
+ }) : n, [n, r]), /*#__PURE__*/ S.createElement(yy, { content: n }, (n) => /*#__PURE__*/ S.createElement(ube, {
props: e,
collection: n,
tabsRef: t
@@ -41654,7 +41687,7 @@ function ube({ props: e, tabsRef: t, collection: n }) {
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = FS({ within: !0 }), c = (0, S.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = PS({ within: !0 }), c = (0, S.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -41662,33 +41695,33 @@ function ube({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = Sj({
+ ]), l = Cj({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(u, l, a),
+ }), u = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(u, l, a),
ref: t,
slot: e.slot || void 0,
"data-focused": o || void 0,
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [[$N, e], [eP, i]] }, l.children));
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [[eP, e], [tP, i]] }, l.children));
}
-var nP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return (0, S.useContext)(eP) ? /*#__PURE__*/ S.createElement(dbe, {
+var rP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return (0, S.useContext)(tP) ? /*#__PURE__*/ S.createElement(dbe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ S.createElement(Dy, e);
+ }) : /*#__PURE__*/ S.createElement(Ey, e);
});
function dbe({ props: e, forwardedRef: t }) {
- let n = (0, S.useContext)(eP), { CollectionRoot: r } = (0, S.useContext)(Pj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Cj($N), o = uy(t), { tabListProps: s } = wce({
+ let n = (0, S.useContext)(tP), { CollectionRoot: r } = (0, S.useContext)(Fj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = wj(eP), o = ly(t), { tabListProps: s } = Tce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = Sj({
+ }, n, o), c = Cj({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -41696,30 +41729,30 @@ function dbe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = rb(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(l, c, s),
+ }), l = nb(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ S.createElement(FM, null, /*#__PURE__*/ S.createElement(r, {
+ }, /*#__PURE__*/ S.createElement(IM, null, /*#__PURE__*/ S.createElement(r, {
collection: n.collection,
- persistedKeys: Fj(n.selectionManager.focusedKey)
+ persistedKeys: Ij(n.selectionManager.focusedKey)
})));
}
-var rP = /*#__PURE__*/ Cy(class extends W_ {
+var iP = /*#__PURE__*/ Sy(class extends U_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, S.useContext)(eP), i = uy(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Sce({
+ let r = (0, S.useContext)(tP), i = ly(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Cce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = FS(), { hoverProps: f, isHovered: p } = zS({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = PS(), { hoverProps: f, isHovered: p } = RS({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = Sj({
+ }), m = Cj({
...e,
id: void 0,
children: n.rendered,
@@ -41732,9 +41765,9 @@ var rP = /*#__PURE__*/ Cy(class extends W_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? Oj.a : Oj.div, g = rb(e, { global: !0 });
+ }), h = n.props.href ? kj.a : kj.div, g = nb(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ S.createElement(h, {
- ...iy(g, m, a, l, f),
+ ...ry(g, m, a, l, f),
ref: i,
"data-selected": o || void 0,
"data-disabled": s || void 0,
@@ -41742,11 +41775,11 @@ var rP = /*#__PURE__*/ Cy(class extends W_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ S.createElement(IM.Provider, { value: { isSelected: o } }, m.children));
-}), iP = /*#__PURE__*/ hy(function(e, t) {
- let n = (0, S.useContext)(eP), r = uy(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ S.createElement(LM.Provider, { value: { isSelected: o } }, m.children));
+}), aP = /*#__PURE__*/ my(function(e, t) {
+ let n = (0, S.useContext)(tP), r = ly(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = tN(r, i);
+ let s = nN(r, i);
return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ S.createElement(fbe, {
...e,
tabPanelRef: r,
@@ -41755,45 +41788,45 @@ var rP = /*#__PURE__*/ Cy(class extends W_ {
});
});
function fbe(e) {
- let t = (0, S.useContext)(eP), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Tce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = FS(), d = t.selectedKey === e.id, f = eN(r) && !i, p = Sj({
+ let t = (0, S.useContext)(tP), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ece(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = PS(), d = t.selectedKey === e.id, f = tN(r) && !i, p = Cj({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: RM(!d),
+ isInert: zM(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = rb(o, { global: !0 });
+ }), m = nb(o, { global: !0 });
delete m.id;
- let h = d ? iy(m, s, c, p) : iy(m, p);
- return /*#__PURE__*/ S.createElement(Oj.div, {
+ let h = d ? ry(m, s, c, p) : ry(m, p);
+ return /*#__PURE__*/ S.createElement(kj.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: RM(!d || e.inert),
+ inert: zM(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [[$N, null], [eP, null]] }, /*#__PURE__*/ S.createElement(Pj.Provider, { value: Mj }, p.children)));
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [[eP, null], [tP, null]] }, /*#__PURE__*/ S.createElement(Fj.Provider, { value: Nj }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.createContext)(null), hbe = /*#__PURE__*/ hy(function(e, t) {
- [e, t] = wj(e, t, mbe);
- let { validationBehavior: n } = Cj(Uj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);
- [e, i] = wj(e, i, Aj);
- let [a, o] = Tj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Xoe({
- ...Ej(e),
+var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.createContext)(null), hbe = /*#__PURE__*/ my(function(e, t) {
+ [e, t] = Tj(e, t, mbe);
+ let { validationBehavior: n } = wj(Wj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);
+ [e, i] = Tj(e, i, jj);
+ let [a, o] = Ej(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Zoe({
+ ...Dj(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, S.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = Sj({
+ }, [i]), h = Cj({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -41802,8 +41835,8 @@ var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = rb(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ S.createElement(Oj.div, {
+ }), g = nb(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ S.createElement(kj.div, {
...g,
...h,
ref: t,
@@ -41812,12 +41845,12 @@ var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [Ij, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [Lj, {
...l,
ref: a
}],
- [Jj, {
+ [Yj, {
...u,
ref: m
}],
@@ -41825,18 +41858,18 @@ var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.crea
...u,
ref: m
}],
- [qj, {
+ [Jj, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [Vj, { slots: {
+ [Hj, { slots: {
description: d,
errorMessage: f
} }],
- [Hj, p]
+ [Uj, p]
] }, h.children));
-}), gbe = class e extends q_ {
+}), gbe = class e extends K_ {
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;
@@ -41908,16 +41941,16 @@ var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.crea
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, _be = /*#__PURE__*/ (0, S.createContext)(null), aP = /*#__PURE__*/ (0, S.createContext)(null), vbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return [e, t] = wj(e, t, _be), /*#__PURE__*/ S.createElement(by, {
- content: /*#__PURE__*/ S.createElement(Dy, e),
+}, _be = /*#__PURE__*/ (0, S.createContext)(null), oP = /*#__PURE__*/ (0, S.createContext)(null), vbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return [e, t] = Tj(e, t, _be), /*#__PURE__*/ S.createElement(yy, {
+ content: /*#__PURE__*/ S.createElement(Ey, e),
createCollection: () => new gbe()
}, (n) => /*#__PURE__*/ S.createElement(ybe, {
props: e,
collection: n,
treeRef: t
}));
-}), oP = {
+}), sP = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41928,16 +41961,16 @@ var pbe = /*#__PURE__*/ (0, S.createContext)({}), mbe = /*#__PURE__*/ (0, S.crea
}
};
function ybe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = Yy(), a = OS({
+ let { dragAndDropHooks: r } = e, { direction: i } = Jy(), a = DS({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, S.useRef)(o), l = (0, S.useRef)(s);
(0, S.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, S.useContext)(Pj), [y, b] = mx(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, C] = (0, S.useState)(t), [w, T] = (0, S.useState)(y), [E, D] = (0, S.useState)(() => t.withExpandedKeys(w, y));
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, S.useContext)(Fj), [y, b] = px(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, C] = (0, S.useState)(t), [w, T] = (0, S.useState)(y), [E, D] = (0, S.useState)(() => t.withExpandedKeys(w, y));
(!Ebe(w, y) || t !== x) && (D(t.withExpandedKeys(w, y)), C(t), T(y));
- let O = sN({
+ let O = cN({
...e,
selectionMode: u,
expandedKeys: y,
@@ -41945,7 +41978,7 @@ function ybe({ props: e, collection: t, treeRef: n }) {
collection: E,
children: void 0,
disabledBehavior: m
- }), { gridProps: k } = Ece({
+ }), { gridProps: k } = Dce({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -41959,7 +41992,7 @@ function ybe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
P = r.renderDragPreview ? /*#__PURE__*/ S.createElement(e, { ref: F }, r.renderDragPreview) : null;
}
- let [I] = (0, S.useState)(() => new FN());
+ let [I] = (0, S.useState)(() => new IN());
if (s && r) {
j = r.useDroppableCollectionState({
collection: O.collection,
@@ -41967,7 +42000,7 @@ function ybe({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });
I.setup(e, O, i);
- let t = new Ax({
+ let t = new kx({
collection: O.collection,
collator: a,
ref: n,
@@ -41989,12 +42022,12 @@ function ybe({ props: e, collection: t, treeRef: n }) {
let t = j?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = O.collection.getItem(t.key);
- (e.key === oP.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === oP.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
+ (e.key === sP.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === sP.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
}
}
}, j, n), N = j.isDropTarget({ type: "root" });
}
- let ee = !(!o || A?.isDisabled), { focusProps: L, isFocused: te, isFocusVisible: ne } = FS(), re = {
+ let ee = !(!o || A?.isDisabled), { focusProps: L, isFocused: te, isFocusVisible: ne } = PS(), re = {
isEmpty: O.collection.size === 0,
isFocused: te,
isFocusVisible: ne,
@@ -42002,7 +42035,7 @@ function ybe({ props: e, collection: t, treeRef: n }) {
selectionMode: O.selectionManager.selectionMode,
allowsDragging: !!ee,
state: O
- }, ie = Sj({
+ }, ie = Cj({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -42019,9 +42052,9 @@ function ybe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let oe = rb(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Eb, null, /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(oe, ie, k, L, M?.collectionProps),
+ let oe = nb(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Tb, null, /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(oe, ie, k, L, M?.collectionProps),
ref: n,
slot: e.slot || void 0,
"data-empty": O.collection.size === 0 || void 0,
@@ -42030,54 +42063,54 @@ function ybe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": ne || void 0,
"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,
"data-allows-dragging": !!ee || void 0
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [aP, O],
- [AM, {
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [oP, O],
+ [jM, {
dragAndDropHooks: r,
dragState: A,
dropState: j
}],
- [jM, { render: Sbe }]
- ] }, s && /*#__PURE__*/ S.createElement(Tbe, null), /*#__PURE__*/ S.createElement(FM, null, /*#__PURE__*/ S.createElement(h, {
+ [MM, { render: Sbe }]
+ ] }, s && /*#__PURE__*/ S.createElement(Tbe, null), /*#__PURE__*/ S.createElement(IM, null, /*#__PURE__*/ S.createElement(h, {
collection: O.collection,
- persistedKeys: NM(O.selectionManager, r, j),
+ persistedKeys: PM(O.selectionManager, r, j),
scrollRef: n,
- renderDropIndicator: MM(r, j)
+ renderDropIndicator: NM(r, j)
}))), ae)), P);
}
-var bbe = /*#__PURE__*/ Cy(class extends W_ {
+var bbe = /*#__PURE__*/ Sy(class extends U_ {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, S.useContext)(sP), n = Sj({
+ let t = (0, S.useContext)(cP), n = Cj({
children: e.children,
values: t
});
- return /*#__PURE__*/ S.createElement(Pj.Provider, { value: Mj }, n.children);
-}), sP = /*#__PURE__*/ (0, S.createContext)(null), xbe = /*#__PURE__*/ wy(class extends W_ {
+ return /*#__PURE__*/ S.createElement(Fj.Provider, { value: Nj }, n.children);
+}), cP = /*#__PURE__*/ (0, S.createContext)(null), xbe = /*#__PURE__*/ Cy(class extends U_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, S.useContext)(aP);
- t = uy(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, S.useContext)(AM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Xce({
+ let r = (0, S.useContext)(oP);
+ t = ly(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, S.useContext)(jM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Xce({
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: _ } = zS({
+ }, 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: _ } = RS({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = FS(), { isFocusVisible: b, focusProps: x } = FS({ within: !0 }), { checkboxProps: C } = Sse({ key: n.key }, r), w = null;
+ }), { isFocusVisible: v, focusProps: y } = PS(), { isFocusVisible: b, focusProps: x } = PS({ within: !0 }), { checkboxProps: C } = Cse({ key: n.key }, r), w = null;
a && i && (w = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let T = null, E = (0, S.useRef)(null), D = (0, S.useRef)(null), O = (0, S.useRef)(null), { visuallyHiddenProps: k } = vx();
+ let T = null, E = (0, S.useRef)(null), D = (0, S.useRef)(null), O = (0, S.useRef)(null), { visuallyHiddenProps: k } = _x();
o && i && (T = i.useDropIndicator({
target: {
type: "item",
@@ -42116,7 +42149,7 @@ var bbe = /*#__PURE__*/ Cy(class extends W_ {
j,
N,
M
- ]), F = Sj({
+ ]), F = Cj({
...e,
id: void 0,
children: n.rendered,
@@ -42133,7 +42166,7 @@ var bbe = /*#__PURE__*/ Cy(class extends W_ {
(0, S.useEffect)(() => {
a && I.current;
}, []);
- let ee = Y_({
+ let ee = J_({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -42143,7 +42176,7 @@ var bbe = /*#__PURE__*/ Cy(class extends W_ {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), L = Qv(), te = rb(e, { global: !0 });
+ }), L = Zv(), te = nb(e, { global: !0 });
return delete te.id, delete te.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, T && !T.isHidden && /*#__PURE__*/ S.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -42166,8 +42199,8 @@ var bbe = /*#__PURE__*/ Cy(class extends W_ {
"aria-labelledby": `${L} ${c.id}`,
tabIndex: -1,
ref: O
- }))), /*#__PURE__*/ S.createElement(Oj.div, {
- ...iy(te, c, y, g, x, w?.dragProps),
+ }))), /*#__PURE__*/ S.createElement(kj.div, {
+ ...ry(te, c, y, g, x, w?.dragProps),
...F,
ref: t,
"data-expanded": m && p || void 0,
@@ -42186,17 +42219,17 @@ var bbe = /*#__PURE__*/ Cy(class extends W_ {
}, /*#__PURE__*/ S.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ S.createElement(xj, { values: [
- [Wj, { slots: {
- [bj]: {},
+ }, /*#__PURE__*/ S.createElement(Sj, { values: [
+ [Gj, { slots: {
+ [xj]: {},
selection: C
} }],
- [Gj, { slots: {
- [bj]: {},
+ [Kj, { slots: {
+ [xj]: {},
selection: C
} }],
- [Lj, { slots: {
- [bj]: {},
+ [Rj, { slots: {
+ [xj]: {},
chevron: {
...u,
ref: E
@@ -42207,13 +42240,13 @@ var bbe = /*#__PURE__*/ Cy(class extends W_ {
style: { pointerEvents: "none" }
}
} }],
- [sP, { ...P }],
- [IM, { isSelected: f.isSelected }]
+ [cP, { ...P }],
+ [LM, { isSelected: f.isSelected }]
] }, ee))));
});
-Cy(K_, function(e, t, n) {
- let { isVirtualized: r } = (0, S.useContext)(Pj), i = (0, S.useContext)(aP), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, S.useRef)(null);
- YM((0, S.useMemo)(() => ({
+Sy(G_, function(e, t, n) {
+ let { isVirtualized: r } = (0, S.useContext)(Fj), i = (0, S.useContext)(oP), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, S.useRef)(null);
+ XM((0, S.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -42222,11 +42255,11 @@ Cy(K_, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = uy(t);
+ ]), l), t = ly(t);
let { rowProps: u, gridCellProps: d } = Xce({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = Sj({
+ }, m = Cj({
...c,
id: void 0,
children: n.rendered,
@@ -42239,7 +42272,7 @@ Cy(K_, function(e, t, n) {
width: 0,
height: 0
},
- inert: RM(!0)
+ inert: zM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -42248,9 +42281,9 @@ Cy(K_, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ S.createElement(Oj.div, {
+ })), a && m.children && /*#__PURE__*/ S.createElement(kj.div, {
ref: t,
- ...iy(rb(e), p),
+ ...ry(nb(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ S.createElement("div", {
@@ -42259,8 +42292,8 @@ Cy(K_, function(e, t, n) {
}, m.children)));
});
function Sbe(e, t) {
- t = uy(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(AM), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ t = ly(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(jM), i = (0, S.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__*/ S.createElement(wbe, {
@@ -42273,7 +42306,7 @@ function Sbe(e, t) {
});
}
function Cbe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vx(), c = Sj({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = _x(), c = Cj({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -42282,7 +42315,7 @@ function Cbe(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(Oj.div, {
+ return /*#__PURE__*/ S.createElement(kj.div, {
...c,
role: "row",
"aria-level": a,
@@ -42297,7 +42330,7 @@ function Cbe(e, t) {
}
var wbe = /*#__PURE__*/ (0, S.forwardRef)(Cbe);
function Tbe() {
- let { dragAndDropHooks: e, dropState: t } = (0, S.useContext)(AM), n = (0, S.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vx();
+ let { dragAndDropHooks: e, dropState: t } = (0, S.useContext)(jM), n = (0, S.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = _x();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ S.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -42316,7 +42349,7 @@ function Ebe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function cP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+function lP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
return /* @__PURE__ */ (0, C.jsxs)(Ave, {
"data-label": "true",
...a,
@@ -42346,9 +42379,9 @@ function Dbe({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var lP = (0, S.createContext)({});
-function uP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsx)(lP.Provider, {
+var uP = (0, S.createContext)({});
+function dP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsx)(uP.Provider, {
value: {
size: e,
fieldClassName: t,
@@ -42362,8 +42395,8 @@ function uP({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-uP.displayName = "TextField";
-var dP = fA({
+dP.displayName = "TextField";
+var fP = fA({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -42392,44 +42425,44 @@ var dP = fA({
].join(" "),
icon: "size-5 shrink-0"
});
-function fP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, S.useContext)(lP), u = e ?? l.size ?? "medium", d = r != null;
+function pP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, S.useContext)(uP), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, C.jsx)(zve, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => dA(dP.field, d ? dP.fieldWithAddonSize[u] : dP.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 }) => dA(fP.field, d ? fP.fieldWithAddonSize[u] : fP.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, C.jsxs)("div", {
- className: dP.content,
+ className: fP.content,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
- className: dP.leftSection,
+ className: fP.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, C.jsx)(t, {
- className: dP.icon,
+ className: fP.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, C.jsx)(Vve, {
ref: o,
...c,
- className: dA(dP.input, l.inputClassName, a)
+ className: dA(fP.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, C.jsx)(n, {
- className: dP.icon,
+ className: fP.icon,
"aria-hidden": !0
}) : null]
})
});
}
-fP.displayName = "InputBase";
-function pP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, C.jsx)(uP, {
+pP.displayName = "InputBase";
+function mP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, C.jsx)(dP, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- e && /* @__PURE__ */ (0, C.jsx)(cP, {
+ e && /* @__PURE__ */ (0, C.jsx)(lP, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, C.jsx)(fP, {
+ /* @__PURE__ */ (0, C.jsx)(pP, {
ref: c,
groupRef: l,
placeholder: r,
@@ -42445,7 +42478,7 @@ function pP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
] })
});
}
-pP.displayName = "Input";
+mP.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
var Obe = {
@@ -42454,9 +42487,9 @@ var Obe = {
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function mP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = zv();
- return /* @__PURE__ */ (0, C.jsx)(SN, {
+function hP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = Rv();
+ return /* @__PURE__ */ (0, C.jsx)(CN, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -42468,7 +42501,7 @@ function mP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"data-modal-surface": "",
"data-modal-width": n,
className: `flex max-h-full w-full ${Obe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, C.jsx)(vN, {
+ children: /* @__PURE__ */ (0, C.jsx)(yN, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -42476,7 +42509,7 @@ function mP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function hP({ children: e }) {
+function gP({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -42485,9 +42518,9 @@ function hP({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var kbe = { "text-aa": 1.435 }, gP = /* @__PURE__ */ new Map();
-function _P(e) {
- let t = gP.get(e);
+var kbe = { "text-aa": 1.435 }, _P = /* @__PURE__ */ new Map();
+function vP(e) {
+ let t = _P.get(e);
if (t) return t;
let n = kbe[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
@@ -42503,11 +42536,11 @@ function _P(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, gP.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, _P.set(e, r), r;
}
//#endregion
//#region src/react/components/settings-dialog-close.tsx
-function vP({ label: e, id: t, onPress: n }) {
+function yP({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
id: t,
@@ -42523,25 +42556,25 @@ function vP({ label: e, id: t, onPress: n }) {
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var yP = ["library-shortcuts"], bP = "/api/library-shortcuts";
-function xP(e = !0) {
+var bP = ["library-shortcuts"], xP = "/api/library-shortcuts";
+function SP(e = !0) {
return pt({
- queryKey: yP,
- queryFn: ({ signal: e }) => H(bP, e),
+ queryKey: bP,
+ queryFn: ({ signal: e }) => H(xP, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function SP() {
+function CP() {
return mt({
- mutationKey: yP,
- mutationFn: (e) => U(bP, e),
+ mutationKey: bP,
+ mutationFn: (e) => U(xP, e),
onSuccess: (e) => {
- W.setQueryData(yP, e);
+ W.setQueryData(bP, e);
}
});
}
-function CP(e, t) {
+function wP(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
function Abe(e) {
@@ -42549,32 +42582,32 @@ function Abe(e) {
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var wP = _P("star"), jbe = _P("bookmark-plus"), TP = _P("chevron-right"), EP = {
+var TP = vP("star"), jbe = vP("bookmark-plus"), EP = vP("chevron-right"), DP = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, DP = {
- all: _P("star"),
- performer: _P("user-round"),
- creator: _P("user-round"),
- studio: _P("clapperboard"),
- series: _P("film"),
- agency: _P("briefcase"),
- tag: _P("tags"),
- filters: _P("list-filter")
-}, OP = [
+}, OP = {
+ all: vP("star"),
+ performer: vP("user-round"),
+ creator: vP("user-round"),
+ studio: vP("clapperboard"),
+ series: vP("film"),
+ agency: vP("briefcase"),
+ tag: vP("tags"),
+ filters: vP("list-filter")
+}, kP = [
["all", "全部"],
- ...Object.entries(EP),
+ ...Object.entries(DP),
["filters", "保存的筛选"]
];
-function kP({ item: e }) {
+function AP({ item: e }) {
return /* @__PURE__ */ (0, C.jsx)(Mbe, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
function Mbe({ item: e }) {
- let t = xP(!1), n = (0, S.useRef)(t.data), r = SP(), i = t.data && t.data !== n.current ? CP(t.data.favorites || [], e) : e.favorite ?? (t.data ? CP(t.data.favorites || [], e) : !1);
+ let t = SP(!1), n = (0, S.useRef)(t.data), r = CP(), i = t.data && t.data !== n.current ? wP(t.data.favorites || [], e) : e.favorite ?? (t.data ? wP(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
@@ -42595,7 +42628,7 @@ function Mbe({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: No("") }
- }) : /* @__PURE__ */ (0, C.jsx)(wP, {})
+ }) : /* @__PURE__ */ (0, C.jsx)(TP, {})
}),
r.isError ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -42610,19 +42643,19 @@ function Mbe({ item: e }) {
]
});
}
-function AP({ currentHref: e, kind: t }) {
+function jP({ currentHref: e, kind: t }) {
let [n, r] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, C.jsx)(pj, {
+ children: /* @__PURE__ */ (0, C.jsx)(mj, {
"data-shortcuts-trigger": "",
label: "我的收藏",
- icon: wP,
+ icon: TP,
"aria-haspopup": "dialog",
"aria-expanded": n,
onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, C.jsx)(mP, {
+ }), /* @__PURE__ */ (0, C.jsx)(hP, {
isOpen: n,
onOpenChange: r,
width: "collections",
@@ -42635,12 +42668,12 @@ function AP({ currentHref: e, kind: t }) {
})] });
}
function Nbe({ currentHref: e, kind: t, close: n }) {
- let r = xP(), i = SP(), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(t || "all"), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = (0, S.useId)(), [m, h] = (0, S.useState)(() => matchMedia("(max-width: 760px)").matches);
+ let r = SP(), i = CP(), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(t || "all"), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = (0, S.useId)(), [m, h] = (0, S.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, S.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(s), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = yj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(s), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = bj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, S.useLayoutEffect)(() => {
b.current && (x.current = Na(b.current) || null);
}, []), (0, S.useLayoutEffect)(() => {
@@ -42653,7 +42686,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, S.useLayoutEffect)(() => {
x.current?.();
});
- let T = OP.find(([e]) => e === s)?.[1] || "全部", E = (e) => {
+ let T = kP.find(([e]) => e === s)?.[1] || "全部", E = (e) => {
let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);
if (n < 0) return;
let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;
@@ -42676,7 +42709,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: T
- }), /* @__PURE__ */ (0, C.jsx)(vP, {
+ }), /* @__PURE__ */ (0, C.jsx)(yP, {
label: "关闭我的收藏",
onPress: n
})]
@@ -42706,8 +42739,8 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- OP.map(([e, t]) => {
- let n = DP[e] || wP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ kP.map(([e, t]) => {
+ let n = OP[e] || TP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
@@ -42739,9 +42772,9 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, C.jsx)(wP, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, C.jsx)(TP, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, C.jsx)(TP, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, C.jsx)(EP, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, C.jsxs)("a", {
href: "/watch-later",
@@ -42749,7 +42782,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
children: [
/* @__PURE__ */ (0, C.jsx)(jbe, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, C.jsx)(TP, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, C.jsx)(EP, { "aria-hidden": !0 })
]
})]
})]
@@ -42784,7 +42817,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
O ? s === "filters" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
O.filters.length ? null : /* @__PURE__ */ (0, C.jsx)(vA, {
shell: "plain",
- icon: _P("list-filter"),
+ icon: vP("list-filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
@@ -42814,7 +42847,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "筛选名称",
value: a,
onChange: o,
@@ -42834,16 +42867,16 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: _P("search"),
+ leadingIcon: vP("search"),
value: l,
onChange: u
}),
k.length ? null : /* @__PURE__ */ (0, C.jsx)(vA, {
shell: "plain",
- icon: wP,
+ icon: TP,
title: l ? "没有匹配的收藏" : O.favorites.length ? "还没有此类收藏" : "还没有收藏",
children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"
}),
@@ -42864,7 +42897,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: EP[e.kind]
+ children: DP[e.kind]
})]
})]
}), /* @__PURE__ */ (0, C.jsx)(K, {
@@ -42890,7 +42923,7 @@ function Nbe({ currentHref: e, kind: t, close: n }) {
});
}
function Pbe({ item: e }) {
- let t = DP[e.kind] || wP;
+ let t = OP[e.kind] || TP;
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -42942,7 +42975,7 @@ function Lbe(e) {
})
});
}
-function jP(e) {
+function MP(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -42971,7 +43004,7 @@ function Rbe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
})
});
}
-function MP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function NP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t && /* @__PURE__ */ (0, C.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
@@ -42998,12 +43031,12 @@ function MP({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}
//#endregion
//#region src/react/boardui/components/foundations/direction/direction.tsx
-function NP() {
- return Yy().direction;
+function PP() {
+ return Jy().direction;
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var PP = [
+var FP = [
"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",
@@ -43011,11 +43044,11 @@ var PP = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), zbe = "w-[266px]", Bbe = "flex w-full flex-col gap-1 outline-none", FP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), IP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), zbe = "w-[266px]", Bbe = "flex w-full flex-col gap-1 outline-none", IP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), LP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/base/tree-view/tree-view.tsx
function Vbe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = NP(), l = (0, S.useContext)(Pj), u = l === Mj && !s.dragAndDropHooks ? RP : l;
+ let c = PP(), l = (0, S.useContext)(Fj), u = l === Nj && !s.dragAndDropHooks ? zP : l;
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -43032,7 +43065,7 @@ function Vbe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, C.jsx)(Pj.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(Fj.Provider, {
value: u,
children: /* @__PURE__ */ (0, C.jsx)(vbe, {
...s,
@@ -43041,13 +43074,13 @@ function Vbe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => dA("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 === RP ? "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) => dA("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 === zP ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)
})
})
});
}
-function LP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = NP();
+function RP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
+ let d = PP();
return /* @__PURE__ */ (0, C.jsxs)(xbe, {
...u,
ref: l,
@@ -43070,7 +43103,7 @@ function LP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, C.jsx)(Rj, {
+ children: [t ? /* @__PURE__ */ (0, C.jsx)(zj, {
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",
@@ -43098,19 +43131,19 @@ function LP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var RP = {
- ...Mj,
+var zP = {
+ ...Nj,
CollectionRoot: Hbe
};
function Hbe({ collection: e, ...t }) {
- let n = (0, S.useContext)(aP);
- return n ? /* @__PURE__ */ (0, C.jsx)(v_, {
+ let n = (0, S.useContext)(oP);
+ return n ? /* @__PURE__ */ (0, C.jsx)(__, {
initial: !1,
children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, C.jsx)(Wbe, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, C.jsx)(Mj.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, C.jsx)(Nj.CollectionRoot, {
collection: e,
...t
});
@@ -43175,8 +43208,8 @@ function Ube({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
});
}
function Wbe({ state: e, children: t }) {
- let n = h_(), r = V_(), [i, a] = (0, S.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, C.jsx)(U_.div, {
+ let n = m_(), r = B_(), [i, a] = (0, S.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, C.jsx)(H_.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -43215,7 +43248,7 @@ function Wbe({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, C.jsx)(aP.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(oP.Provider, {
value: n ? e : i,
children: t
})
@@ -43223,7 +43256,7 @@ function Wbe({ state: e, children: t }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var zP = {
+var BP = {
md: {
box: "size-4",
glyph: "size-4",
@@ -43237,8 +43270,8 @@ var zP = {
gap: "gap-1.5"
}
};
-function BP({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = zP[t], c = n || r, l = o && !a;
+function VP({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = BP[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: dA("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? dA("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : dA("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"),
@@ -43265,13 +43298,13 @@ function BP({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function VP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = zP[n];
+function HP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = BP[n];
return /* @__PURE__ */ (0, C.jsx)(Lve, {
ref: r,
...i,
className: (t) => dA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(BP, {
+ children: (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(VP, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, C.jsx)("span", {
@@ -43282,7 +43315,7 @@ function VP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function HP() {
+function UP() {
let e = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
Na(e.current);
@@ -43290,16 +43323,16 @@ function HP() {
}
//#endregion
//#region src/react/providers.tsx
-var UP = null;
+var WP = null;
function Gbe() {
- return UP?.isConnected || (UP = document.createElement("div"), UP.className = "peach-react", UP.dataset.reactOverlays = "", document.body.append(UP)), UP;
+ return WP?.isConnected || (WP = document.createElement("div"), WP.className = "peach-react", WP.dataset.reactOverlays = "", document.body.append(WP)), WP;
}
function Kbe({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)(E, {
client: W,
- children: /* @__PURE__ */ (0, C.jsx)(wne, {
+ children: /* @__PURE__ */ (0, C.jsx)(Tne, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, C.jsx)(AS, {
+ children: /* @__PURE__ */ (0, C.jsx)(kS, {
getContainer: Gbe,
children: e
})
@@ -43309,7 +43342,7 @@ function Kbe({ children: e }) {
//#endregion
//#region src/react/router/pages/settings.tsx
function qbe() {
- let e = (0, S.useContext)(JP), { pathname: t } = LO();
+ let e = (0, S.useContext)(YP), { pathname: t } = LO();
return (0, S.useEffect)(() => {
e?.openSettings?.(whe(t));
}, [e, t]), (0, S.useEffect)(() => () => {
@@ -43320,9 +43353,9 @@ function qbe() {
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var WP = () => al, Jbe = () => ol;
+var GP = () => al, Jbe = () => ol;
function Ybe() {
- let e = (0, S.useContext)(JP), t = (0, S.useSyncExternalStore)(gl, Jbe), n = (0, S.useSyncExternalStore)(gl, WP);
+ let e = (0, S.useContext)(YP), t = (0, S.useSyncExternalStore)(gl, Jbe), n = (0, S.useSyncExternalStore)(gl, GP);
return (0, S.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -43337,8 +43370,8 @@ function Ybe() {
e
]), null;
}
-function GP(e, t = !1) {
- let n = (0, S.useSyncExternalStore)(gl, WP), r = (0, S.useRef)(void 0);
+function KP(e, t = !1) {
+ let n = (0, S.useSyncExternalStore)(gl, GP), r = (0, S.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = Ck.navigation;
r.current = al === 0 || Tk() ? "boot" : e && !t ? null : "history";
@@ -43358,10 +43391,10 @@ function GP(e, t = !1) {
}, [n]);
}
function Xbe() {
- let e = (0, S.useContext)(JP), t = (0, S.useRef)(e);
+ let e = (0, S.useContext)(YP), t = (0, S.useRef)(e);
return (0, S.useLayoutEffect)(() => {
t.current = e;
- }, [e]), GP((t) => {
+ }, [e]), KP((t) => {
let n = Ck.navigation.location, { pathname: r, search: i } = GO(n.pathname) && qO(n.state) || n, a = Dhe(r, i);
e && a && (ek(), t || Ohe(Ck.navigation.location.state), e.openOverlay(a));
}, !0), (0, S.useEffect)(() => () => {
@@ -43371,7 +43404,7 @@ function Xbe() {
}, []), null;
}
function Zbe({ path: e }) {
- qP();
+ JP();
let { location: t, seq: n, action: r } = Ck.navigation, i = GO(t.pathname) ? qO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, S.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -43386,22 +43419,22 @@ function Zbe({ path: e }) {
}), /* @__PURE__ */ (0, C.jsx)(Xbe, {}, `${e} ${o.current.seq}`);
}
function Qbe() {
- let e = (0, S.useContext)(JP);
- return GP(() => {
+ let e = (0, S.useContext)(YP);
+ return KP(() => {
e?.follow?.ground();
}), null;
}
function $be() {
- return /* @__PURE__ */ (0, C.jsx)(Qbe, {}, qP());
+ return /* @__PURE__ */ (0, C.jsx)(Qbe, {}, JP());
}
//#endregion
//#region src/react/router/router.tsx
-var KP = (0, S.createContext)(0), qP = () => (0, S.useContext)(KP), JP = (0, S.createContext)(null);
+var qP = (0, S.createContext)(0), JP = () => (0, S.useContext)(qP), YP = (0, S.createContext)(null);
function exe({ children: e }) {
let [t, n] = (0, S.useState)(() => Ck.navigation);
return (0, S.useLayoutEffect)(() => (n(Ck.navigation), Ck.listen((e) => {
(0, gt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, C.jsx)(KP.Provider, {
+ })), []), /* @__PURE__ */ (0, C.jsx)(qP.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, C.jsx)(She, {
location: t.location,
@@ -43419,10 +43452,10 @@ function txe({ target: e }) {
}
function nxe(e, t, n) {
let r = new URL(e, window.location.href);
- h5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ m5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
function rxe() {
- let e = (0, S.useContext)(JP), [t, n] = (0, S.useState)(dk), r = (0, S.useRef)(null);
+ let e = (0, S.useContext)(YP), [t, n] = (0, S.useState)(dk), r = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => (n(dk()), Phe((e, t) => {
t ? (0, gt.flushSync)(() => n(e)) : n(e);
})), []);
@@ -43450,47 +43483,47 @@ var ixe = class extends S.Component {
return this.state.failed ? null : this.props.children;
}
}, axe = (0, S.memo)(function({ entry: e, actions: t, go: n }) {
- return _dt(e.path) ? (0, gt.createPortal)(bdt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+ return vdt(e.path) ? (0, gt.createPortal)(xdt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
function oxe({ children: e }) {
let t = LO();
- qP();
+ JP();
let n = Ek(), r = GO(t.pathname) && !Tk() ? qO(t.state) : null;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)(BO, {
location: n ?? t,
children: [
- Object.entries(m5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ Object.entries(p5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
element: t.element
}, e)),
- Object.entries(sdt).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ Object.entries(ldt).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
element: t.element
}, e)),
- Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
element: t.element
}, e)),
- Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
element: t.element
}, e)),
- Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
element: t.element
}, e)),
- gdt.map((e) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ _dt.map((e) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
- element: x5["/"].element
+ element: b5["/"].element
}, e)),
- Object.entries(cdt).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
+ Object.entries(udt).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
element: t.element
}, e)),
JO.map((e) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, C.jsx)($be, {}) : x5["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, C.jsx)($be, {}) : b5["/"].element
}, e)),
WO.map((e) => /* @__PURE__ */ (0, C.jsx)(zO, {
path: e,
@@ -43522,7 +43555,7 @@ function oxe({ children: e }) {
] });
}
function sxe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, C.jsx)(Kbe, { children: /* @__PURE__ */ (0, C.jsx)(JP.Provider, {
+ return /* @__PURE__ */ (0, C.jsx)(Kbe, { children: /* @__PURE__ */ (0, C.jsx)(YP.Provider, {
value: t,
children: /* @__PURE__ */ (0, C.jsxs)(exe, { children: [
/* @__PURE__ */ (0, C.jsx)(rxe, {}),
@@ -43564,8 +43597,8 @@ function uxe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var YP = (0, S.createContext)("md");
-function XP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var XP = (0, S.createContext)("md");
+function ZP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, S.useRef)(null), u = (0, S.useRef)(null), [d, f] = (0, S.useState)(!1);
lxe(d, () => f(!1), [l, u]);
let p = uxe(d, l);
@@ -43575,22 +43608,22 @@ function XP({ className: e, triggerClassName: t, popoverClassName: n, size: r =
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
className: dA("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(Rj, {
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(zj, {
ref: l,
className: dA("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, C.jsx)(Aye, {
className: dA("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
}), /* @__PURE__ */ (0, C.jsx)(Ibe, { className: dA("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
ref: u,
isNonModal: !0,
offset: 4,
- className: dA(zbe, PP, "p-2", n),
+ className: dA(zbe, FP, "p-2", n),
children: /* @__PURE__ */ (0, C.jsx)(Yve, {
items: a,
className: dA(Bbe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, C.jsx)(YP.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(XP.Provider, {
value: r,
children: i
})
@@ -43598,24 +43631,24 @@ function XP({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function ZP({ className: e, children: t, ...n }) {
- let r = (0, S.useContext)(YP);
+function QP({ className: e, children: t, ...n }) {
+ let r = (0, S.useContext)(XP);
return /* @__PURE__ */ (0, C.jsx)(Qve, {
...n,
- className: (t) => dA(FP, 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) => dA(IP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/catalog-folders/catalog-folders.ts
-var QP = {
+var $P = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function $P(e, t = "", n = "") {
+function eF(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -43627,7 +43660,7 @@ function $P(e, t = "", n = "") {
queryFn: ({ signal: e }) => H(`/api/folders?${r}`, e)
};
}
-function eF(e, t) {
+function tF(e, t) {
let n = new URLSearchParams(e.search);
for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);
return e.pathname + (n.size ? `?${n}` : "");
@@ -43635,7 +43668,7 @@ function eF(e, t) {
//#endregion
//#region src/react/catalog-folders/folder-rule-dialog.tsx
function dxe({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, S.useContext)(JP), a = CA(), [o, s] = (0, S.useState)(t?.purpose || "category"), [c, l] = (0, S.useState)(t?.name || ""), [u, d] = (0, S.useState)(t?.recursive ?? !0), [f, p] = (0, S.useState)(t?.future ?? !1), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(!1), v = {
+ let i = (0, S.useContext)(YP), a = CA(), [o, s] = (0, S.useState)(t?.purpose || "category"), [c, l] = (0, S.useState)(t?.name || ""), [u, d] = (0, S.useState)(t?.recursive ?? !0), [f, p] = (0, S.useState)(t?.future ?? !1), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -43664,7 +43697,7 @@ function dxe({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, E = !!a.busy, D = (e, t) => a.busy === e ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: No(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, C.jsx)(mP, {
+ return g ? null : /* @__PURE__ */ (0, C.jsx)(hP, {
isOpen: !0,
onOpenChange: (e) => {
!e && !E && r();
@@ -43678,7 +43711,7 @@ function dxe({ 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, C.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, C.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Vj, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -43686,7 +43719,7 @@ function dxe({ folder: e, rule: t, revision: n, close: r }) {
className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",
children: e.path
})]
- }), /* @__PURE__ */ (0, C.jsx)(vP, {
+ }), /* @__PURE__ */ (0, C.jsx)(yP, {
label: "关闭目录用途",
onPress: () => {
E || r();
@@ -43698,20 +43731,20 @@ function dxe({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(cP, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, C.jsx)(XP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(lP, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: E,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(QP).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: Object.entries($P).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, C.jsx)(pP, {
+ o === "category" ? null : /* @__PURE__ */ (0, C.jsx)(mP, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -43722,7 +43755,7 @@ function dxe({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: E,
isRequired: !0
}),
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: u,
isDisabled: E,
onChange: (e) => {
@@ -43730,7 +43763,7 @@ function dxe({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: f,
isDisabled: E,
onChange: (e) => {
@@ -43860,7 +43893,7 @@ function pxe() {
return IO() ? /* @__PURE__ */ (0, C.jsx)(mxe, {}) : null;
}
function mxe() {
- let e = LO(), t = (0, S.useContext)(JP);
+ let e = LO(), t = (0, S.useContext)(YP);
if (!Vt(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
return /* @__PURE__ */ (0, C.jsx)(dj, {
@@ -43870,7 +43903,7 @@ function mxe() {
title: "文件夹模式",
"aria-pressed": r,
icon: Lk,
- onClick: () => t?.navigate(eF(e, r ? {
+ onClick: () => t?.navigate(tF(e, r ? {
browse: null,
folder: null,
folder_recursive: null
@@ -43878,13 +43911,13 @@ function mxe() {
});
}
function hxe() {
- let e = LO(), t = (0, S.useContext)(JP), n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder"), i = {
+ let e = LO(), t = (0, S.useContext)(YP), n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder"), i = {
loc: n.get("loc") ?? "",
library: n.get("library") ?? ""
};
fxe(r);
let a = n.get("folder") || "", o = pt({
- ...$P(i, a),
+ ...eF(i, a),
enabled: r
}), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(!1), d = document.getElementById("catalogFoldersTree"), f = document.getElementById("catalogFolderHeader");
if ((0, S.useLayoutEffect)(() => (d && (d.hidden = !r), f && (f.hidden = !r), document.body.toggleAttribute("data-folder-browse", r), () => {
@@ -43897,7 +43930,7 @@ function hxe() {
c(!1), u(!1);
}, [a, r]), !r || !d || !f || !t) return null;
let p = (n) => {
- c(!1), t.navigate(eF(e, {
+ c(!1), t.navigate(tF(e, {
browse: "folders",
folder: n
}));
@@ -43929,12 +43962,12 @@ function hxe() {
}),
/* @__PURE__ */ (0, C.jsxs)(Rbe, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, C.jsx)(MP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(NP, {
current: !a,
onClick: () => p(""),
icon: Lk,
children: "全部文件夹"
- }), m?.ancestors.map((e, t) => /* @__PURE__ */ (0, C.jsx)(MP, {
+ }), m?.ancestors.map((e, t) => /* @__PURE__ */ (0, C.jsx)(NP, {
current: t === m.ancestors.length - 1,
onClick: () => p(e.id),
children: /* @__PURE__ */ (0, C.jsx)("span", {
@@ -43976,14 +44009,14 @@ function hxe() {
}) : null,
m?.selected ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, C.jsx)(VP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(HP, {
size: "sm",
isSelected: n.get("folder_recursive") !== "0",
- onChange: (n) => t.navigate(eF(e, { folder_recursive: n ? null : "0" })),
+ onChange: (n) => t.navigate(tF(e, { folder_recursive: n ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: m.rule ? `${QP[m.rule.purpose]}${m.rule.name ? ` · ${m.rule.name}` : ""}` : "个人分类"
+ children: m.rule ? `${$P[m.rule.purpose]}${m.rule.name ? ` · ${m.rule.name}` : ""}` : "个人分类"
})]
}) : null,
o.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -44008,7 +44041,7 @@ function hxe() {
}) : null
]
}), f),
- /* @__PURE__ */ (0, C.jsxs)(mP, {
+ /* @__PURE__ */ (0, C.jsxs)(hP, {
isOpen: s,
onOpenChange: c,
width: "form",
@@ -44018,7 +44051,7 @@ function hxe() {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, C.jsx)(vP, {
+ }), /* @__PURE__ */ (0, C.jsx)(yP, {
label: "关闭文件夹目录",
onPress: () => c(!1)
})]
@@ -44036,26 +44069,26 @@ function hxe() {
] });
}
function gxe({ scope: e, selected: t, current: n, go: r }) {
- let i = pt($P(e)), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (0, S.useDeferredValue)(s), u = pt({
- ...$P(e, "", l),
+ let i = pt(eF(e)), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (0, S.useDeferredValue)(s), u = pt({
+ ...eF(e, "", l),
enabled: !!l.trim()
- }), d = HP();
+ }), d = UP();
(0, S.useEffect)(() => {
n?.ancestors.length && o((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));
}, [n?.ancestors]);
- let f = [...a].map(String), p = dt({ queries: f.map((t) => $P(e, t)) }), m = /* @__PURE__ */ new Map();
+ let f = [...a].map(String), p = dt({ queries: f.map((t) => eF(e, t)) }), m = /* @__PURE__ */ new Map();
p.forEach((e, t) => {
e.data && m.set(f[t], e.data.children);
}), n?.selected && m.set(n.selected.id, n.children);
let h = (e) => {
let t = m.get(e.id);
- return /* @__PURE__ */ (0, C.jsx)(LP, {
+ return /* @__PURE__ */ (0, C.jsx)(RP, {
id: e.id,
label: e.name,
icon: Lk,
expandedIcon: sge,
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(h) : /* @__PURE__ */ (0, C.jsx)(LP, {
+ children: e.has_children ? t ? t.map(h) : /* @__PURE__ */ (0, C.jsx)(RP, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -44071,7 +44104,7 @@ function gxe({ scope: e, selected: t, current: n, go: r }) {
"aria-label": "文件夹导航",
className: "flex min-w-0 flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
leadingIcon: Hk,
@@ -44161,7 +44194,7 @@ var _xe = {
bounce: 0
}
};
-function tF(e) {
+function nF(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!t) return;
@@ -44182,7 +44215,7 @@ function tF(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 = Tie(n, { transform: [r, E] }, _xe[e]);
+ l = Eie(n, { transform: [r, E] }, _xe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -44219,36 +44252,36 @@ function tF(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function nF(e) {
- let t = tF("selection");
- return /* @__PURE__ */ (0, C.jsx)(nP, {
+function rF(e) {
+ let t = pj(nF("selection"));
+ return /* @__PURE__ */ (0, C.jsx)(rP, {
...e,
ref: t
});
}
-function rF(e) {
- let t = tF("selection");
- return /* @__PURE__ */ (0, C.jsx)(TN, {
+function iF(e) {
+ let t = pj(nF("selection"));
+ return /* @__PURE__ */ (0, C.jsx)(EN, {
...e,
ref: t
});
}
-var iF = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", aF = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", vxe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", oF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", sF = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+var aF = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", oF = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", vxe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", sF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", cF = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
//#endregion
//#region src/react/catalog-grid/catalog-view-toggle.tsx
-function cF() {
+function lF() {
let e = yD();
- return /* @__PURE__ */ (0, C.jsxs)(TN, {
+ return /* @__PURE__ */ (0, C.jsxs)(EN, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
onChange: Mde,
"data-entity-layout": "",
- className: oF,
- children: [/* @__PURE__ */ (0, C.jsx)(EN, {
+ className: sF,
+ children: [/* @__PURE__ */ (0, C.jsx)(DN, {
value: "cards",
"aria-label": "卡片",
- className: sF,
+ className: cF,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: "卡片",
@@ -44258,10 +44291,10 @@ function cF() {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, C.jsx)(EN, {
+ }), /* @__PURE__ */ (0, C.jsx)(DN, {
value: "list",
"aria-label": "列表",
- className: sF,
+ className: cF,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: "列表",
@@ -44276,75 +44309,75 @@ function cF() {
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var lF = (e) => typeof e == "string" ? e : "", uF = (e) => e.aliases;
-function dF(e, t = "") {
+var uF = (e) => typeof e == "string" ? e : "", dF = (e) => e.aliases;
+function fF(e, t = "") {
let n = Qr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function fF(e, t = "") {
+function pF(e, t = "") {
let n = B(pr(t || e)), r = Qr(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var pF = (e) => lF(e.title).trim() || "未命名内容", mF = (e, t) => fr(e, uF(t));
-function hF(e) {
+var mF = (e) => uF(e.title).trim() || "未命名内容", hF = (e, t) => fr(e, dF(t));
+function gF(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";
- let n = t[0], r = lF(n.entity_name);
+ let n = t[0], r = uF(n.entity_name);
return St("creator", r, n.entity_id), r;
}
-function gF(e, t) {
+function _F(e, t) {
let { src: n, fallback: r } = mr(e), i = pr(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;
let a = r ? ` data-fallbacks="${B(r)}"` : "";
return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;
}
-function _F(e, t, n) {
- let r = uF(n), i = e.credit, a = i?.poster;
+function vF(e, t, n) {
+ let r = dF(n), i = e.credit, a = i?.poster;
if (!a) {
let n = fr(t, r);
return {
- author: n || lF(e.author) || lF(e.source_label) || "创作者未取得",
- avatar: gF(t, n),
+ author: n || uF(e.author) || uF(e.source_label) || "创作者未取得",
+ avatar: _F(t, n),
credited: "",
- entityName: hF(t)
+ entityName: gF(t)
};
}
let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && fr(c, r) || a;
return {
author: l,
- avatar: gF(c, l),
+ avatar: _F(c, l),
credited: i.credited || "",
- entityName: hF(c)
+ entityName: gF(c)
};
}
-function vF(e, t = e.primary) {
+function yF(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = lF(e.primary.version);
+ let i = uF(e.primary.version);
i && n.push(r("version", B(i)));
- let a = lF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = uF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function yF(e, t = e.primary) {
+function bF(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => dF(e, t) || `<span>${B(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => fF(e, t) || `<span>${B(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function bF(e, t) {
- let n = lF(e.media_error);
+function xF(e, t) {
+ let n = uF(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
var yxe = 864e5, bxe = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
return Number.isFinite(n) && n - t > yxe;
};
-function xF(e, t) {
- let n = lF(e.published_at);
+function SF(e, t) {
+ let n = uF(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Nn(n);
return {
@@ -44353,29 +44386,29 @@ function xF(e, t) {
suffix: bxe(n, t) ? " · 晚于现在" : ""
};
}
-function SF(e, t = Date.now()) {
- let n = xF(e, t);
+function CF(e, t = Date.now()) {
+ let n = SF(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
function xxe(e, t = Date.now()) {
- let n = xF(e, t);
+ let n = SF(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var CF = /* @__PURE__ */ new Set(), wF = [], TF = null;
-function EF() {
- if (TF = null, !wF.length) return;
- let e = wF.splice(0, 200);
+var wF = /* @__PURE__ */ new Set(), TF = [], EF = null;
+function DF() {
+ if (EF = null, !TF.length) return;
+ let e = TF.splice(0, 200);
It("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), wF.length && (TF = setTimeout(EF, 800));
+ }).catch(() => {}), TF.length && (EF = setTimeout(DF, 800));
}
function Sxe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- CF.has(i) || (CF.add(i), wF.push(t === null ? {
+ wF.has(i) || (wF.add(i), TF.push(t === null ? {
item: e,
width: n,
height: r
@@ -44384,11 +44417,11 @@ function Sxe(e, t, n, r) {
width: n,
height: r,
media: t
- }), TF ||= setTimeout(EF, 800));
+ }), EF ||= setTimeout(DF, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Cxe = (e) => e === "videos", DF = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var Cxe = (e) => e === "videos", OF = () => /* @__PURE__ */ (0, C.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
@@ -44396,14 +44429,14 @@ function wxe(e) {
let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Cxe(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, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = yj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = yj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, S.useRef)(null), E = (0, S.useRef)(null), D = u?.mediaCounts ? u : null, O = yj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
+ })) : i, m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = bj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = bj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, S.useRef)(null), E = (0, S.useRef)(null), D = u?.mediaCounts ? u : null, O = bj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, S.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(OF, {
+ }, [c]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kF, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, C.jsx)(mj, {
+ }), /* @__PURE__ */ (0, C.jsx)(hj, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -44438,13 +44471,13 @@ function wxe(e) {
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, C.jsx)(DF, {}) : null] }) : null,
+ }), d ? /* @__PURE__ */ (0, C.jsx)(OF, {}) : null] }) : null,
D ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Exe, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, C.jsx)(DF, {})] }) : null,
+ }), /* @__PURE__ */ (0, C.jsx)(OF, {})] }) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -44465,11 +44498,11 @@ function wxe(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, C.jsx)(DF, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, C.jsx)(OF, {}) : null]
}), /* @__PURE__ */ (0, C.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, C.jsxs)(hj, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, C.jsxs)(gj, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -44535,10 +44568,10 @@ function Dxe({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: dF(n) }
+ dangerouslySetInnerHTML: { __html: fF(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, C.jsx)(DF, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, C.jsxs)(hj, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, C.jsx)(OF, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, C.jsxs)(gj, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -44599,7 +44632,7 @@ function Oxe({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function OF({ items: e, hidden: t, actions: n }) {
+function kF({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -44635,7 +44668,7 @@ function kxe(e) {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, C.jsx)(AP, { currentHref: () => location.pathname + location.search }),
+ /* @__PURE__ */ (0, C.jsx)(jP, { currentHref: () => location.pathname + location.search }),
t === "videos" && i ? /* @__PURE__ */ (0, C.jsx)(jxe, {
head: i,
actions: o
@@ -44661,22 +44694,22 @@ function Axe({ text: e, busy: t }) {
}) : e
});
}
-function kF({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, C.jsx)(TN, {
+function AF({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, C.jsx)(EN, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: oF,
+ className: sF,
children: r.map(([e, t, n]) => {
- let r = _P(n);
- return /* @__PURE__ */ (0, C.jsx)(EN, {
+ let r = vP(n);
+ return /* @__PURE__ */ (0, C.jsx)(DN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: sF,
+ className: cF,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -44686,12 +44719,12 @@ function kF({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function AF({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, C.jsx)(pj, {
+function jF({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, C.jsx)(mj, {
"data-entity-batch": "",
label: "换一批",
busy: t,
- icon: _P("shuffle"),
+ icon: vP("shuffle"),
onPress: e
});
}
@@ -44700,24 +44733,24 @@ function jxe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(AF, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, C.jsx)(kF, {
+ /* @__PURE__ */ (0, C.jsx)(jF, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, C.jsx)(AF, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, C.jsx)(cF, {}),
- n === "cards" ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ /* @__PURE__ */ (0, C.jsx)(lF, {}),
+ n === "cards" ? /* @__PURE__ */ (0, C.jsx)(MF, {
sorts: e.sorts,
onSort: t.setSort
}) : null
]
});
}
-function jF({ sorts: e, onSort: t }) {
+function MF({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: e.map((e) => {
- let n = _P(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = vP(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -44733,8 +44766,8 @@ function Mxe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(AF, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kF, {
+ /* @__PURE__ */ (0, C.jsx)(jF, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(AF, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -44754,7 +44787,7 @@ function Mxe({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: z("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, C.jsx)(jF, {
+ /* @__PURE__ */ (0, C.jsx)(MF, {
sorts: e.sorts,
onSort: t.onlineSort
})
@@ -44768,13 +44801,13 @@ function Nxe({ head: e, actions: t, helpers: n }) {
}, [n, o]), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, C.jsx)(AF, {
+ e.shuffle ? /* @__PURE__ */ (0, C.jsx)(jF, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, C.jsx)(kF, {
+ /* @__PURE__ */ (0, C.jsx)(AF, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -44790,7 +44823,7 @@ function Nxe({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var MF = "";
+var NF = "";
function Pxe(e) {
let t = !e.tiers, n = Vxe(e.comboHost);
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -44799,7 +44832,7 @@ function Pxe(e) {
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(OF, {
+ n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(kF, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
@@ -44810,14 +44843,14 @@ function Pxe(e) {
});
}
function Fxe(e) {
- let { actions: t, helpers: n } = e, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = yj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+ let { actions: t, helpers: n } = e, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = bj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, S.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = PF(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = FF(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, S.useLayoutEffect)(() => {
Wo(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, C.jsx)(mj, {
+ }, [u]), /* @__PURE__ */ (0, C.jsx)(hj, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -44860,7 +44893,7 @@ function Fxe(e) {
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, C.jsx)(NF, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, C.jsx)(Ixe, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, C.jsx)(PF, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, C.jsx)(Ixe, {
tag: e,
onPress: t.toggleTag
}, e.k))]
@@ -44870,7 +44903,7 @@ function Fxe(e) {
});
}
function Ixe({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, C.jsxs)(hj, {
+ return /* @__PURE__ */ (0, C.jsxs)(gj, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -44886,7 +44919,7 @@ function Lxe(e) {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useCallback)((e) => () => t.moreTops(e), [t]), c = PF(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = PF(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useCallback)((e) => () => t.moreTops(e), [t]), c = FF(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = FF(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, S.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -44899,7 +44932,7 @@ function Lxe(e) {
children: [u ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, C.jsx)(NF, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, C.jsx)(PF, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -44916,7 +44949,7 @@ function Lxe(e) {
}) : null, d ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, C.jsx)(NF, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, C.jsx)(PF, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
@@ -44941,7 +44974,7 @@ function Rxe({ studio: e }) {
}) : e.fallback
});
}
-function NF({ kind: e }) {
+function PF({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -44961,26 +44994,26 @@ function zxe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let a = yD(), [o, s] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Bxe, { count: e }), /* @__PURE__ */ (0, C.jsx)(AP, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Bxe, { count: e }), /* @__PURE__ */ (0, C.jsx)(jP, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(AF, {
+ /* @__PURE__ */ (0, C.jsx)(jF, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, C.jsx)(kF, {
+ n && a === "cards" ? /* @__PURE__ */ (0, C.jsx)(AF, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, C.jsx)(cF, {}),
+ /* @__PURE__ */ (0, C.jsx)(lF, {}),
/* @__PURE__ */ (0, C.jsx)(pxe, {}),
- a === "cards" ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ a === "cards" ? /* @__PURE__ */ (0, C.jsx)(MF, {
sorts: r,
onSort: i.setSort
}) : null
@@ -44996,7 +45029,7 @@ function Bxe({ count: e }) {
return;
}
let i = t.current;
- i && (MF && i.dataset.popCount === void 0 && (i.dataset.popCount = MF), MF = r, Vo(i, r));
+ i && (NF && i.dataset.popCount === void 0 && (i.dataset.popCount = NF), NF = r, Vo(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, C.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, C.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -45022,7 +45055,7 @@ function Vxe(e) {
};
}, [e]), t;
}
-function PF(e, t, n, r, i) {
+function FF(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -45062,7 +45095,7 @@ function PF(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function FF(e, t) {
+function IF(e, t) {
let [n, r] = (0, S.useState)(e ? "skeleton" : "none"), [i] = (0, S.useState)(() => e ? t() : ""), a = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
a.current && ns(a.current);
@@ -45088,7 +45121,7 @@ function FF(e, t) {
fading: n === "fade"
};
}
-function IF({ message: e, onRetry: t }) {
+function LF({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -45102,7 +45135,7 @@ function IF({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function LF({ artwork: e, identity: t = e.html, relayout: n }) {
+function RF({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, S.useState)({
identity: t,
artwork: e
@@ -45135,19 +45168,19 @@ var Hxe = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function RF(e, t) {
+function zF(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
let r = n.closest(Hxe);
return !r || !t.contains(r) || r === t;
}
-function zF(e) {
+function BF(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var Uxe = 9 / 16, BF = "未命名视频";
-function VF({ name: e }) {
+var Uxe = 9 / 16, VF = "未命名视频";
+function HF({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -45165,7 +45198,7 @@ var Wxe = {
duplicate: "重复",
missing: "文件缺失"
};
-function HF({ item: e }) {
+function UF({ item: e }) {
if (e.disposal !== "trash") return null;
let t = e.disposal_reason && Gxe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, C.jsx)("span", {
@@ -45174,7 +45207,7 @@ function HF({ item: e }) {
children: t
});
}
-function UF({ item: e, actions: t }) {
+function WF({ item: e, actions: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -45193,7 +45226,7 @@ function UF({ item: e, actions: t }) {
children: i
}) : null] });
}
-function WF(e, t, n) {
+function GF(e, t, n) {
return t === "short" ? Uxe : NE(n);
}
function Kxe(e) {
@@ -45225,7 +45258,7 @@ function Kxe(e) {
"data-media-who": "",
"data-entity-kind": "performer",
"data-entity-name": s,
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: s })]
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -45234,12 +45267,12 @@ function Kxe(e) {
"data-media-who": "",
"data-entity-kind": t,
"data-entity-name": n,
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
}) : /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
})
};
}
@@ -45280,11 +45313,11 @@ function Jxe({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function GF(e, t) {
+function KF(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)));
}
@@ -45294,7 +45327,7 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
let d = (0, S.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && Tc(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Dc(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = Ea(e, h, !1, n.javImage), _ = h === "small" ? g.html : Ea(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || BF, b = o.titleHtml(e, v).trim() || B(BF), x = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Kxe(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = Ea(e, h, !1, n.javImage), _ = h === "small" ? g.html : Ea(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || VF, b = o.titleHtml(e, v).trim() || B(VF), x = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Kxe(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.watch_later && "later"
@@ -45323,9 +45356,9 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(WF(e, t, n)) },
+ style: { "--card-ratio": String(GF(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, C.jsx)(LF, {
+ g.html ? /* @__PURE__ */ (0, C.jsx)(RF, {
artwork: g,
identity: _,
relayout: (e) => vc(e, h)
@@ -45339,11 +45372,11 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: "check" })
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-group": "",
@@ -45358,7 +45391,7 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-duration": "",
children: an(w)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)(UF, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)(WF, {
item: e,
actions: s
}) : null,
@@ -45385,27 +45418,27 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), GF(l.current, -a);
+ e.stopPropagation(), KF(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), GF(l.current, a);
+ e.stopPropagation(), KF(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: "expand" })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: "expand" })
})
]
})
@@ -45422,7 +45455,7 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: zF,
+ onMouseDown: BF,
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -45460,11 +45493,11 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
e.is_jav && e.release_date ? /* @__PURE__ */ (0, C.jsxs)("time", {
"data-media-release": "",
dateTime: e.release_date,
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "calendar" }), e.release_date]
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "hard-drive" }), Number(x) > 0 ? sn(Number(x)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "hard-drive" }), Number(x) > 0 ? sn(Number(x)) : "大小未知"]
}),
e.play_count ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-watch-count": "",
@@ -45486,7 +45519,7 @@ function Yxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(HF, { item: e })
+ /* @__PURE__ */ (0, C.jsx)(UF, { item: e })
]
})]
})
@@ -45506,14 +45539,14 @@ function Xxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: zF,
+ onMouseDown: BF,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: u }), /* @__PURE__ */ (0, C.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: u }), /* @__PURE__ */ (0, C.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-art": "thumb",
@@ -45525,13 +45558,13 @@ function Xxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: "check" })
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, C.jsx)(UF, {
+ n ? null : /* @__PURE__ */ (0, C.jsx)(WF, {
item: e,
actions: i
})
@@ -45542,7 +45575,7 @@ function Xxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(VF, { name: u })
+ children: /* @__PURE__ */ (0, C.jsx)(HF, { name: u })
}), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-text": "",
children: [
@@ -45570,7 +45603,7 @@ function Xxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, C.jsx)(HF, { item: e })
+ /* @__PURE__ */ (0, C.jsx)(UF, { item: e })
]
})]
})]
@@ -45579,7 +45612,7 @@ function Xxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
function Zxe(e) {
return e.variant === "resource" ? /* @__PURE__ */ (0, C.jsx)(Xxe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(Yxe, { ...e });
}
-var KF = (0, S.memo)(Zxe), Qxe = 1100, $xe = 340, eSe = 5e3;
+var qF = (0, S.memo)(Zxe), Qxe = 1100, $xe = 340, eSe = 5e3;
function tSe(e, t, n) {
return new Promise((r) => {
let i = new Image();
@@ -45592,7 +45625,7 @@ function tSe(e, t, n) {
}, i.src = e;
});
}
-function qF({ load: e, canFlip: t, referrerPolicy: n }) {
+function JF({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, S.useState)([]), [a, o] = (0, S.useState)(0), [s, c] = (0, S.useState)(null), l = (0, S.useRef)({
live: !1,
generation: 0,
@@ -45658,7 +45691,7 @@ function qF({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var JF = _P("play");
+var YF = vP("play");
function nSe({ src: e }) {
let [t, n] = (0, S.useState)(!1);
return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {
@@ -45672,7 +45705,7 @@ function nSe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var YF = "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";
+var XF = "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 rSe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-mix-avatars": "",
@@ -45681,18 +45714,18 @@ function rSe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${YF} cursor-pointer outline-none`,
+ className: `${XF} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: va(e.name, e, ta(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${YF} mt-0.5`,
+ className: `${XF} mt-0.5`,
children: t
});
}
-function XF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = qF({
+function ZF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = JF({
load: i,
canFlip: a
}), x = (0, S.useRef)(b.onPointerLeave);
@@ -45719,7 +45752,7 @@ function XF({ 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, C.jsx)(LF, {
+ f?.html ? /* @__PURE__ */ (0, C.jsx)(RF, {
artwork: f,
identity: p,
relayout: m
@@ -45753,7 +45786,7 @@ function XF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, C.jsx)(JF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(YF, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -45766,7 +45799,7 @@ function XF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, C.jsx)(JF, {})
+ children: /* @__PURE__ */ (0, C.jsx)(YF, {})
}) : /* @__PURE__ */ (0, C.jsx)(rSe, {
faces: o,
fallback: dn(e),
@@ -49352,7 +49385,7 @@ var iSe = [
}
]
]
-], ZF = [
+], QF = [
[
{
x: 0,
@@ -49649,85 +49682,85 @@ var iSe = [
rows: 2
}
]
-], QF = (e) => e.map((e) => ({
+], $F = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), $F = (e) => e.map((e) => ({
+})), eI = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), eI = [
+})), tI = [
(e) => e,
- QF,
$F,
- (e) => QF($F(e))
-], tI = ZF.flatMap((e) => eI.map((t) => t(e))), aSe = iSe.flatMap((e) => eI.map((t) => e.map(t)));
-tI.length;
+ eI,
+ (e) => $F(eI(e))
+], nI = QF.flatMap((e) => tI.map((t) => t(e))), aSe = iSe.flatMap((e) => tI.map((t) => e.map(t)));
+nI.length;
var oSe = (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;
-}, nI = (e, t) => {
- let n = ZF.length;
- return ((e + t * 2) % n + n) % n * eI.length + oSe(e, t) % eI.length;
-}, sSe = (e, t) => tI[nI(e, t)], cSe = (e, t, n) => n < 0 || n >= 12 ? null : aSe[nI(e, t)][n], rI = 103.36, iI = 6.08, aI = 12 * rI, oI = 8 * rI, sI = 12, cI = (e, t) => (e % t + t) % t, lSe = (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 lI(e, t) {
- let n = Math.max(1, Math.ceil(e / sI)), r = t ? 3 : Math.min(3, n);
+}, rI = (e, t) => {
+ let n = QF.length;
+ return ((e + t * 2) % n + n) % n * tI.length + oSe(e, t) % tI.length;
+}, sSe = (e, t) => nI[rI(e, t)], cSe = (e, t, n) => n < 0 || n >= 12 ? null : aSe[rI(e, t)][n], iI = 103.36, aI = 6.08, oI = 12 * iI, sI = 8 * iI, cI = 12, lI = (e, t) => (e % t + t) % t, lSe = (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 uI(e, t) {
+ let n = Math.max(1, Math.ceil(e / cI)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * aI,
- height: Math.ceil(n / r) * oI
+ width: r * oI,
+ height: Math.ceil(n / r) * sI
};
}
-function uI(e, t, n) {
+function dI(e, t, n) {
let { x: r, y: i, cols: a, rows: o } = sSe(e, t)[n];
return {
- x: e * aI + r * rI,
- y: t * oI + i * rI,
- width: a * rI - iI,
- height: o * rI - iI
+ x: e * oI + r * iI,
+ y: t * sI + i * iI,
+ width: a * iI - aI,
+ height: o * iI - aI
};
}
function uSe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function dI(e, t, n) {
+function fI(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= sI) return null;
- let o = lI(e, t), s = o.height / oI;
+ ].every(Number.isInteger) || a < 0 || a >= cI) return null;
+ let o = uI(e, t), s = o.height / sI;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : cI(r, o.columns), l = ((t ? i : cI(i, s)) * o.columns + c) * sI + a;
+ let c = t ? r : lI(r, o.columns), l = ((t ? i : lI(i, s)) * o.columns + c) * cI + a;
return t && l >= e ? null : {
- ...uI(r, i, a),
+ ...dI(r, i, a),
index: l % e,
key: n
};
}
function dSe(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / sI);
- return dI(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % sI}`);
+ let n = Math.floor(t / cI);
+ return fI(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % cI}`);
}
-function fI(e, t, n) {
+function pI(e, t, n) {
let [r, i, a] = n.key.split(":").map(Number), o = cSe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * aI + e.x * rI,
- y: i * oI + e.y * rI,
- width: e.cols * rI - iI,
- height: e.rows * rI - iI
+ x: r * oI + e.x * iI,
+ y: i * sI + e.y * iI,
+ width: e.cols * iI - aI,
+ height: e.rows * iI - aI
}]));
}
function fSe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / sI), i = uI(e % 3, Math.floor(e / 3), r % sI);
+ let e = Math.floor(r / cI), i = dI(e % 3, Math.floor(e / 3), r % cI);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * aI - iI : t,
+ width: e >= 36 ? 3 * oI - aI : t,
height: n
};
}
@@ -49747,14 +49780,14 @@ function mSe(e, t, n, r) {
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = lI(e, t), s = o.height / oI, c = [];
- for (let n = Math.floor(a.y / oI); n <= Math.floor((a.y + a.height) / oI); n += 1) for (let r = Math.floor(a.x / aI); r <= Math.floor((a.x + a.width) / aI); r += 1) {
+ }, o = uI(e, t), s = o.height / sI, c = [];
+ for (let n = Math.floor(a.y / sI); n <= Math.floor((a.y + a.height) / sI); n += 1) for (let r = Math.floor(a.x / oI); r <= Math.floor((a.x + a.width) / oI); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : cI(r, o.columns), l = t ? n : cI(n, s);
- for (let s = 0; s < sI; s += 1) {
- let u = (l * o.columns + i) * sI + s;
+ let i = t ? r : lI(r, o.columns), l = t ? n : lI(n, s);
+ for (let s = 0; s < cI; s += 1) {
+ let u = (l * o.columns + i) * cI + s;
if (t && u >= e) continue;
- let d = uI(r, n, s);
+ let d = dI(r, n, s);
lSe(d, a) && c.push({
...d,
index: u % e,
@@ -49776,7 +49809,7 @@ var hSe = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : dI(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : fI(t, !1, e);
return r ? {
...r,
index: n
@@ -49806,7 +49839,7 @@ var hSe = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * aI,
+ x: (e + 2) * oI,
y: 0
};
}
@@ -49819,10 +49852,10 @@ var hSe = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / aI)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / oI)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, pI = [
+}, mI = [
"q",
"performer",
"series",
@@ -49838,16 +49871,16 @@ var hSe = class {
"region"
];
function gSe(e = {}) {
- return pI.some((t) => !!e[t]);
+ return mI.some((t) => !!e[t]);
}
//#endregion
//#region src/react/video-wall/use-wall-camera.ts
-var mI = {
+var hI = {
x: 16,
y: 16,
scale: 1
};
-function _Se(e, t, n = mI, r = !1) {
+function _Se(e, t, n = hI, r = !1) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)({
width: 0,
height: 0
@@ -49938,7 +49971,7 @@ function _Se(e, t, n = mI, 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 = Cie(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = wie(0, 1, {
duration: .42,
ease: [
.22,
@@ -49967,7 +50000,7 @@ function _Se(e, t, n = mI, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...mI }, !0);
+ g(), _({ ...hI }, !0);
},
pan: (e, t) => {
g(), _({
@@ -50082,14 +50115,14 @@ function bSe(e, t, n) {
//#endregion
//#region src/react/video-wall/wall-controls.tsx
function xSe({ 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 = V_(), x = bSe(t, n, v), S = x.duration || Number(e.duration) || 0, w = r || i, T = !t || x.paused, E = async () => {
+ let b = B_(), x = bSe(t, n, v), S = x.duration || Number(e.duration) || 0, w = r || i, T = !t || x.paused, E = async () => {
if (!(w || a && !s)) try {
t === e.id ? await x.toggle() : await f();
} catch (e) {
y(Ft(e));
}
};
- return /* @__PURE__ */ (0, C.jsxs)(U_.div, {
+ return /* @__PURE__ */ (0, C.jsxs)(H_.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -50204,7 +50237,7 @@ function xSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function hI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function gI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, S.useRef)(null), l = (0, S.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -50240,7 +50273,7 @@ function hI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function gI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function _I({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -50277,12 +50310,12 @@ function CSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, C.jsx)(hI, {
+ children: /* @__PURE__ */ (0, C.jsx)(gI, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(gI, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(_I, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
@@ -50291,7 +50324,7 @@ function CSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, C.jsx)(LF, { artwork: Ea(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, C.jsx)(RF, { artwork: Ea(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, C.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, C.jsx)("span", { children: [
e.edition_label,
e.part_label ? ND(e.part_label) : "",
@@ -50320,16 +50353,16 @@ function wSe(e = `${location.pathname}${location.search}`, t = {}) {
}
function TSe(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of pI) t.delete(e);
+ for (let e of mI) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function _I() {
+function vI() {
let e = new URLSearchParams(Ck.navigation.location.search).get("returnTo") || "/";
Ck.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
-var vI = /* @__PURE__ */ new Map(), yI = (0, S.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var yI = /* @__PURE__ */ new Map(), bI = (0, S.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = Ea(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -50342,7 +50375,7 @@ var vI = /* @__PURE__ */ new Map(), yI = (0, S.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, C.jsx)(LF, {
+ children: /* @__PURE__ */ (0, C.jsx)(RF, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && oc(e);
@@ -50352,7 +50385,7 @@ var vI = /* @__PURE__ */ new Map(), yI = (0, S.memo)(function({ item: e, image:
});
function ESe({ 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, S.useState)(() => {
- let e = vI.get(f);
+ let e = yI.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
}), [h] = (0, S.useState)(() => m?.exploration || new hSe()), g = (0, S.useRef)(!1), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = (0, S.useRef)(null), T = (0, S.useRef)(null), [E, D] = (0, S.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, S.useState)(m?.selectedKey || ""), [A, j] = (0, S.useState)(m?.sourceId || null), [M, N] = (0, S.useState)(!1), P = E?.edition_group ? {
kind: "editions",
@@ -50374,7 +50407,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!E), te = V_(), [ne, re] = (0, S.useState)(!!m);
+ }, !!E), te = B_(), [ne, re] = (0, S.useState)(!!m);
(0, S.useEffect)(() => {
if (!e.length || ne || te) return;
let t = setTimeout(() => re(!0), 1100);
@@ -50408,17 +50441,17 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Ae = () => {
- Oe.current && (vI.delete(f), vI.set(f, {
+ Oe.current && (yI.delete(f), yI.set(f, {
...ke.current,
camera: L.snapshot(),
exploration: h
- }), vI.size > 8 && vI.delete(vI.keys().next().value));
+ }), yI.size > 8 && yI.delete(yI.keys().next().value));
};
(0, S.useLayoutEffect)(Ae);
let je = mSe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({
...e,
index: -1
- })) : t ? je : h.assign(je, e.length, n), Ne = E && (t ? dI(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? fI(e.length, t, Ne) : /* @__PURE__ */ new Map();
+ })) : t ? je : h.assign(je, e.length, n), Ne = E && (t ? fI(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? pI(e.length, t, Ne) : /* @__PURE__ */ new Map();
Ne && !Me.some((e) => e.key === Ne.key) && Me.push(Ne);
let Fe = (e = !1) => {
T.current?.abort(), T.current = null, w.current?.(e), w.current = null, oe(null), ue(!1);
@@ -50457,7 +50490,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
E?.id !== n.id && Fe(!1), Ee.current = {
key: r.key,
id: n.id
- }, fe(""), ce(null), D(n), k(r.key), j(null), N(!1), be(!1), L.reveal(fI(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, fe(""), ce(null), D(n), k(r.key), j(null), N(!1), be(!1), L.reveal(pI(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Re = () => {
ee && y.current && (Ae(), Fe(!0), l.wallDetails?.(ee, y.current.querySelector("[data-wall-focus]") || y.current));
}, ze = async (e = ee) => {
@@ -50593,7 +50626,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(yI, {
+ children: /* @__PURE__ */ (0, C.jsx)(bI, {
item: E,
image: we,
big: !0
@@ -50601,7 +50634,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, C.jsx)(yI, {
+ children: /* @__PURE__ */ (0, C.jsx)(bI, {
item: E,
image: we,
big: !0
@@ -50695,7 +50728,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Se,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Ie() : ye ? be(!1) : _I());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Ie() : ye ? be(!1) : vI());
},
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -50703,7 +50736,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: _I,
+ onClick: vI,
children: /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -50747,18 +50780,18 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, C.jsxs)(rF, {
+ /* @__PURE__ */ (0, C.jsxs)(iF, {
"aria-label": "播放墙图片",
value: we,
onChange: Te,
- className: iF,
- children: [/* @__PURE__ */ (0, C.jsx)(EN, {
+ className: aF,
+ children: [/* @__PURE__ */ (0, C.jsx)(DN, {
value: "cover",
- className: aF,
+ className: oF,
children: "封面"
- }), /* @__PURE__ */ (0, C.jsx)(EN, {
+ }), /* @__PURE__ */ (0, C.jsx)(DN, {
value: "thumbnail",
- className: aF,
+ className: oF,
children: "缩略图"
})]
}),
@@ -50830,7 +50863,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
}, t.key);
let n = e[t.index], r = !!E && t.key === O, i = Pe.get(t.key) || t, a = !ne && !r, o = a ? Math.min(.34, (Math.max(0, t.x + L.view.camera.x / L.view.camera.scale) + Math.max(0, t.y + L.view.camera.y / L.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, C.jsx)(U_.article, {
+ return /* @__PURE__ */ (0, C.jsx)(H_.article, {
layout: !0,
"data-wall-tile": t.key,
"data-wall-id": n.id,
@@ -50883,7 +50916,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Le(n, t, !1));
},
children: r ? Xe : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(yI, {
+ /* @__PURE__ */ (0, C.jsx)(bI, {
item: n,
image: we,
ratio: i.width / i.height
@@ -50909,7 +50942,7 @@ function ESe({ 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, C.jsx)(U_.span, {
+ /* @__PURE__ */ (0, C.jsx)(H_.span, {
"data-wall-dim": "",
animate: { opacity: E ? .65 : 0 },
transition: { duration: te ? 0 : .24 }
@@ -50937,7 +50970,7 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, C.jsx)(AF, {
+ children: /* @__PURE__ */ (0, C.jsx)(jF, {
busy: r,
onPress: () => void Ke()
})
@@ -50984,15 +51017,15 @@ function ESe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var bI = "/api/library-processing", xI = ["library-processing"], SI = (e) => H(bI, e);
-async function CI(e) {
+var xI = "/api/library-processing", SI = ["library-processing"], CI = (e) => H(xI, e);
+async function wI(e) {
await W.fetchQuery({
- queryKey: xI,
- queryFn: () => SI(e)
+ queryKey: SI,
+ queryFn: () => CI(e)
});
}
-var DSe = 2e3, OSe = 1e4, wI = "连接中断,正在重新读取处理进度";
-function TI(e, t) {
+var DSe = 2e3, OSe = 1e4, TI = "连接中断,正在重新读取处理进度";
+function EI(e, t) {
return e?.status === "running" ? DSe : t ? OSe : !1;
}
var kSe = {
@@ -51001,15 +51034,15 @@ var kSe = {
fetching_cover: "采集缺失封面",
generating_preview: "生成视频预览",
writing_candidates: "保存资料候选"
-}, EI = {
+}, DI = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
function ASe(e) {
- let t = Object.entries(e).filter(([e, t]) => EI[e] && t > 0).map(([e, t]) => `${EI[e]} ${t.toLocaleString()} 部`);
+ let t = Object.entries(e).filter(([e, t]) => DI[e] && t > 0).map(([e, t]) => `${DI[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function DI(e) {
+function OI(e) {
let t = kSe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${qA(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
@@ -51027,30 +51060,30 @@ function jSe(e) {
log: e.issues_log || ""
} : null;
}
-var OI = "peach.library-processing.announced", MSe = 120;
+var kI = "peach.library-processing.announced", MSe = 120;
function NSe(e, t, n) {
if (e.status !== "complete") return;
let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < MSe;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(OI) === e.job_id) return;
- e.job_id && localStorage.setItem(OI, e.job_id);
+ if (e.job_id && localStorage.getItem(kI) === e.job_id) return;
+ e.job_id && localStorage.setItem(kI, e.job_id);
} catch {}
e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));
}
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function kI(e) {
- let t = tF("hover");
- return /* @__PURE__ */ (0, C.jsx)(vN, {
+function AI(e) {
+ let t = nF("hover");
+ return /* @__PURE__ */ (0, C.jsx)(yN, {
...e,
ref: t
});
}
//#endregion
//#region src/react/library-processing/processing-actions.tsx
-function AI({ busy: e, scan: t = !1, metadataOnly: n = !1, onRun: r }) {
+function jI({ busy: e, scan: t = !1, metadataOnly: n = !1, onRun: r }) {
let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), s = {
label: t ? "同步媒体库" : "同步这些影片",
icon: Pk,
@@ -51101,14 +51134,14 @@ function AI({ busy: e, scan: t = !1, metadataOnly: n = !1, onRun: r }) {
e || o(!a);
}
})]
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: PP,
- children: /* @__PURE__ */ (0, C.jsx)(kI, {
+ className: FP,
+ children: /* @__PURE__ */ (0, C.jsx)(AI, {
"aria-label": "同步方式",
className: "flex w-56 flex-col gap-1 outline-none",
children: c.map(({ label: e, icon: t, command: r }) => {
@@ -51117,7 +51150,7 @@ function AI({ busy: e, scan: t = !1, metadataOnly: n = !1, onRun: r }) {
type: "button",
disabled: i,
title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: dA(FP, IP, "text-body-2-medium"),
+ className: dA(IP, LP, "text-body-2-medium"),
onClick: () => l(r),
children: [/* @__PURE__ */ (0, C.jsx)(t, {
"aria-hidden": !0,
@@ -51130,10 +51163,10 @@ function AI({ busy: e, scan: t = !1, metadataOnly: n = !1, onRun: r }) {
}
//#endregion
//#region src/react/library-processing/library-completion.tsx
-function jI(e, t) {
+function MI(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) && !Ea(e, "small", !1, t).html).map((e) => e.id))];
}
-function MI({ assetIds: e, onComplete: t }) {
+function NI({ assetIds: e, onComplete: t }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)(PSe, {
assetIds: e,
onComplete: t
@@ -51141,16 +51174,16 @@ function MI({ assetIds: e, onComplete: t }) {
}
function PSe({ assetIds: e, onComplete: t }) {
let n = pt({
- queryKey: xI,
- queryFn: ({ signal: e }) => SI(e),
- refetchInterval: (e) => TI(e.state.data, !0)
+ queryKey: SI,
+ queryFn: ({ signal: e }) => CI(e),
+ refetchInterval: (e) => EI(e.state.data, !0)
}), [r, i] = (0, S.useState)(null), [a, o] = (0, S.useState)(""), s = (0, S.useRef)(null), c = mt({
- mutationFn: (t) => U(bI, {
+ mutationFn: (t) => U(xI, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- i(e.job_id || null), W.setQueryData(xI, e), W.invalidateQueries({ queryKey: xI });
+ i(e.job_id || null), W.setQueryData(SI, e), W.invalidateQueries({ queryKey: SI });
}
}), l = n.data;
(0, S.useEffect)(() => {
@@ -51160,7 +51193,7 @@ function PSe({ assetIds: e, onComplete: t }) {
r,
t
]);
- let u = c.isPending || l?.status === "running", d = c.error ? V(c.error) : n.error ? wI : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (u ? c.isPending ? "正在启动补全…" : DI(l) : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
+ let u = c.isPending || l?.status === "running", d = c.error ? V(c.error) : n.error ? TI : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (u ? c.isPending ? "正在启动补全…" : OI(l) : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
return /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
@@ -51169,7 +51202,7 @@ function PSe({ assetIds: e, onComplete: t }) {
children: /* @__PURE__ */ (0, C.jsxs)(q, {
tone: d ? "warning" : "neutral",
actionLayout: "below",
- action: /* @__PURE__ */ (0, C.jsx)(AI, {
+ action: /* @__PURE__ */ (0, C.jsx)(jI, {
busy: u,
metadataOnly: l?.metadata_only,
onRun: (e) => {
@@ -51203,15 +51236,15 @@ function ISe(e) {
function LSe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function NI(e, t) {
+function PI(e, t) {
return e == null ? null : FSe(e) ? /* @__PURE__ */ S.createElement(e, t) : e;
}
function RSe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? NI(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : NI(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? PI(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : PI(n.cell, t.getContext());
}
- return "header" in e && e.header ? NI(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? NI(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? PI(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? PI(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
//#endregion
//#region node_modules/@tanstack/store/dist/alien.js
@@ -51342,35 +51375,35 @@ function BSe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var PI = [], FI = 0, { link: II, unlink: VSe, propagate: HSe, checkDirty: LI, shallowPropagate: RI } = /* @__PURE__ */ zSe({
+var FI = [], II = 0, { link: LI, unlink: VSe, propagate: HSe, checkDirty: RI, shallowPropagate: zI } = /* @__PURE__ */ zSe({
update(e) {
return e._update();
},
notify(e) {
- PI[BI++] = e, e.flags &= -3;
+ FI[VI++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, UI(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, WI(e));
}
-}), zI = 0, BI = 0, VI, HI = 0;
+}), BI = 0, VI = 0, HI, UI = 0;
function USe(e) {
try {
- ++HI, e();
+ ++UI, e();
} finally {
- --HI || WI();
+ --UI || GI();
}
}
-function UI(e) {
+function WI(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
for (; n !== void 0;) n = VSe(n, e);
}
-function WI() {
- if (!(HI > 0)) {
- for (; zI < BI;) {
- let e = PI[zI];
- PI[zI++] = void 0, e.notify();
+function GI() {
+ if (!(UI > 0)) {
+ for (; BI < VI;) {
+ let e = FI[BI];
+ FI[BI++] = void 0, e.notify();
}
- zI = 0, BI = 0;
+ BI = 0, VI = 0;
}
}
function WSe(e, t) {
@@ -51382,53 +51415,53 @@ function WSe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return VI !== void 0 && II(i, VI, FI), i._snapshot;
+ return HI !== void 0 && LI(i, HI, II), i._snapshot;
},
subscribe(e) {
let t = BSe(e), n = { current: !1 }, r = GSe(() => {
- i.get(), n.current ? (VI = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ i.get(), n.current ? (HI = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = VI, o = t?.compare ?? Object.is;
- if (n) VI = i, ++FI, i.depsTail = void 0;
+ let a = HI, o = t?.compare ?? Object.is;
+ if (n) HI = i, ++II, i.depsTail = void 0;
else if (e === void 0) return !1;
n && (i.flags = 5);
try {
let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;
return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;
} finally {
- VI = a, n && (i.flags &= -5), UI(i);
+ HI = a, n && (i.flags &= -5), WI(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && LI(i.deps, i)) {
+ if (e & 16 || e & 32 && RI(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && RI(e);
+ e !== void 0 && zI(e);
}
} else e & 32 && (i.flags = e & -33);
- return VI !== void 0 && II(i, VI, FI), i._snapshot;
+ return HI !== void 0 && LI(i, HI, II), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (HSe(e), RI(e), WI());
+ e !== void 0 && (HSe(e), zI(e), GI());
}
}, i;
}
function GSe(e) {
let t = () => {
- let t = VI;
- VI = n, ++FI, n.depsTail = void 0, n.flags = 6;
+ let t = HI;
+ HI = n, ++II, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- VI = t, n.flags &= -5, UI(n);
+ HI = t, n.flags &= -5, WI(n);
}
}, n = {
deps: void 0,
@@ -51438,17 +51471,17 @@ function GSe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && LI(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && RI(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, UI(this);
+ this.flags = 0, this.depsTail = void 0, WI(this);
}
};
return t(), n;
}
//#endregion
//#region node_modules/@tanstack/store/dist/shallow.js
-function GI(e, t) {
+function KI(e, t) {
if (Object.is(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
if (e instanceof Map && t instanceof Map) {
@@ -51462,18 +51495,18 @@ function GI(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = KI(e);
- if (n.length !== KI(t).length) return !1;
+ let n = qI(e);
+ if (n.length !== qI(t).length) return !1;
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;
return !0;
}
-function KI(e) {
+function qI(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
var KSe = /* @__PURE__ */ o(((e) => {
- var t = p(), n = _y();
+ var t = p(), n = gy();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -51517,23 +51550,23 @@ var KSe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), qI = (/* @__PURE__ */ o(((e, t) => {
+})), JI = (/* @__PURE__ */ o(((e, t) => {
t.exports = KSe();
})))();
function qSe(e, t) {
return e === t;
}
-function JI(e, t = (e) => e, n) {
+function YI(e, t = (e) => e, n) {
let r = n?.compare ?? qSe, i = (0, S.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, S.useCallback)(() => e.get(), [e]);
- return (0, qI.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, JI.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/Subscribe.js
function JSe(e) {
- let t = JI(e.source, e.selector, { compare: GI });
+ let t = YI(e.source, e.selector, { compare: KI });
return typeof e.children == "function" ? e.children(t) : e.children;
}
//#endregion
@@ -51598,21 +51631,21 @@ function QSe() {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/utils.js
-function YI(e, t) {
+function XI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function XI(e) {
- if (Array.isArray(e)) return e.map(XI);
+function ZI(e) {
+ if (Array.isArray(e)) return e.map(ZI);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? QI() : {}, r = Object.keys(e);
+ let n = t === null ? $I() : {}, r = Object.keys(e);
for (let t = 0; t < r.length; t++) {
let i = r[t];
Object.defineProperty(n, i, {
configurable: !0,
enumerable: !0,
- value: XI(e[i]),
+ value: ZI(e[i]),
writable: !0
});
}
@@ -51620,7 +51653,7 @@ function XI(e) {
}
return e;
}
-function ZI(e, t) {
+function QI(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -51628,46 +51661,46 @@ function ZI(e, t) {
}
return e;
}
-function QI() {
+function $I() {
return Object.create(null);
}
-function $I(e, t) {
+function eL(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function eL(e, t) {
+function tL(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => YI(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => XI(n, e));
};
}
-function tL(e) {
+function nL(e) {
if (typeof e != "object" || !e) return !1;
if (Array.isArray(e)) return !0;
let t = Object.getPrototypeOf(e);
return t === Object.prototype || t === null;
}
-function nL(e) {
+function rL(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
var $Se = 3;
function eCe(e, t) {
- return rL(e, t, $Se);
+ return iL(e, t, $Se);
}
-function rL(e, t, n) {
+function iL(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !tL(e) || !tL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = nL(e), i = nL(t);
+ if (n <= 0 || !nL(e) || !nL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = rL(e), i = rL(t);
if (r.length !== i.length) return !1;
let a = e, o = t;
for (let e = 0; e < r.length; e++) {
let i = r[e];
- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !rL(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !iL(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function iL(e, t, n, r = eCe) {
+function aL(e, t, n, r = eCe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = YI(n, e);
+ let t = XI(n, e);
return r(e, t) ? e : t;
});
}
@@ -51698,13 +51731,13 @@ var rCe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function aL(e) {
+function oL(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function oL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function sL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
let o = { onAfterUpdate: r ? () => {
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
@@ -51714,7 +51747,7 @@ function oL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..
...o
});
}
-function sL(e, t = "_") {
+function cL(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -51722,10 +51755,10 @@ function sL(e, t = "_") {
parentName: n
};
}
-function cL(e, t, n) {
+function lL(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = sL(r);
- t[n] = a ? oL({
+ let { fnKey: n, fnName: o } = cL(r);
+ t[n] = a ? sL({
memoDeps: a,
fn: i,
fnName: o,
@@ -51734,15 +51767,15 @@ function cL(e, t, n) {
}) : i;
}
}
-function lL(e, t, n, r) {
+function uL(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = sL(i);
+ let { fnKey: r, fnName: s } = cL(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = oL({
+ this[i] = sL({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -51758,7 +51791,7 @@ function lL(e, t, n, r) {
};
}
}
-function uL(e, t, n, ...r) {
+function dL(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
//#endregion
@@ -51782,7 +51815,7 @@ function oCe(e) {
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
var sCe = { assignCellPrototype: (e, t) => {
- lL("coreCellsFeature", e, t, {
+ uL("coreCellsFeature", e, t, {
cell_getValue: { fn: (e) => iCe(e) },
cell_renderValue: { fn: (e) => aCe(e) },
cell_getContext: {
@@ -51829,26 +51862,26 @@ function lCe(e, t, n, r) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function dL(e) {
+function fL(e) {
return e.getIsVisible?.() ?? !0;
}
function uCe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function fL(e, t) {
+function pL(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
function dCe(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function pL(e, t) {
+function mL(e, t) {
return e._expandRows?.(t) ?? t;
}
function fCe(e) {
e.autoResetExpanded?.();
}
-function mL(e) {
+function hL(e) {
e.autoResetPageIndex?.();
}
function pCe(e) {
@@ -51865,7 +51898,7 @@ function hCe(e) {
function gCe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return fL(e.table, t);
+ return pL(e.table, t);
}
return [e];
}
@@ -51880,23 +51913,23 @@ function _Ce(e) {
...e.options.defaultColumn
};
}
-function hL(e, t, n, r = 0) {
+function gL(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 = lCe(e, o, r, n), c = o;
- s.columns = c.columns ? hL(e, c.columns, s, r + 1) : [], i[a] = s;
+ s.columns = c.columns ? gL(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
function vCe(e) {
- return hL(e, e.options.columns);
+ return gL(e, e.options.columns);
}
function yCe(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
function bCe(e) {
- let t = QI(), n = e.getAllFlatColumns();
+ let t = $I(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
@@ -51904,10 +51937,10 @@ function bCe(e) {
return t;
}
function xCe(e) {
- return fL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+ return pL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
function SCe(e) {
- let t = QI(), n = e.getAllLeafColumns();
+ let t = $I(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
@@ -51921,7 +51954,7 @@ function CCe(e, t) {
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
var wCe = {
assignColumnPrototype: (e, t) => {
- lL("coreColumnsFeature", e, t, {
+ uL("coreColumnsFeature", e, t, {
column_getFlatColumns: {
fn: (e) => hCe(e),
memoDeps: (e) => [e.table.options.columns]
@@ -51938,7 +51971,7 @@ var wCe = {
});
},
constructTableAPIs: (e) => {
- cL("coreColumnsFeature", e, {
+ lL("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
fn: () => _Ce(e),
memoDeps: () => [e.options.defaultColumn]
@@ -51982,7 +52015,7 @@ function TCe(e) {
}
return e._headerPrototype;
}
-function gL(e, t, n) {
+function _L(e, t, n) {
let r = TCe(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;
@@ -51991,11 +52024,11 @@ function gL(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function _L(e, t = 1) {
+function vL(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- dL(i) && i.columns.length && (n = Math.max(n, _L(i.columns, t + 1)));
+ fL(i) && i.columns.length && (n = Math.max(n, vL(i.columns, t + 1)));
}
return n;
}
@@ -52011,7 +52044,7 @@ function OCe(e, t) {
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function vL(e, t, n, r, i, a) {
+function yL(e, t, n, r, i, a) {
let o = {
depth: t,
id: ECe(r, t),
@@ -52022,7 +52055,7 @@ function vL(e, t, n, r, i, a) {
let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;
if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);
else {
- let e = gL(n, u, {
+ let e = _L(n, u, {
id: DCe(r, t, u.id, a.id),
isPlaceholder: d,
placeholderId: d ? String(OCe(s, u)) : void 0,
@@ -52034,18 +52067,18 @@ function vL(e, t, n, r, i, a) {
o.headers.push(a), a.headerGroup = o;
}
for (let e = 0; e < a.length; e++) a[e](o);
- i.push(o), t > 0 && vL(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && yL(s, t - 1, n, r, i, a);
}
-function yL(e) {
+function bL(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!dL(n.column)) continue;
+ if (!fL(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- yL(n.subHeaders);
+ bL(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- dL(t.column) && (r += t.colSpan);
+ fL(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -52056,22 +52089,22 @@ function yL(e) {
}
}
function kCe(e, t, n, r) {
- let i = _L(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = gL(n, t[e], {
+ let i = vL(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = _L(n, t[e], {
depth: i,
index: e
}));
- return vL(s, i - 1, n, r, a, o), a.reverse(), yL(a[0]?.headers ?? []), a;
+ return yL(s, i - 1, n, r, a, o), a.reverse(), bL(a[0]?.headers ?? []), a;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function bL(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) bL(e.subHeaders[n], t);
+function xL(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) xL(e.subHeaders[n], t);
t.push(e);
}
function ACe(e) {
let t = [];
- return bL(e, t), t;
+ return xL(e, t), t;
}
function jCe(e) {
return {
@@ -52106,7 +52139,7 @@ function FCe(e) {
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
var ICe = {
assignHeaderPrototype: (e, t) => {
- lL("coreHeadersFeature", e, t, {
+ uL("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
fn: (e) => ACe(e),
memoDeps: (e) => [e.column.table.options.columns]
@@ -52118,7 +52151,7 @@ var ICe = {
});
},
constructTableAPIs: (e) => {
- cL("coreHeadersFeature", e, {
+ lL("coreHeadersFeature", e, {
table_getHeaderGroups: {
fn: () => MCe(e),
memoDeps: () => [
@@ -52157,7 +52190,7 @@ function LCe(e) {
}
var RCe = (e, t, n, r, i, a, o) => {
let s = LCe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = QI(), c._valuesCache = QI(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+ c._displayIndexCache = -1, c._uniqueValuesCache = $I(), c._valuesCache = $I(), 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;
@@ -52165,22 +52198,22 @@ var RCe = (e, t, n, r, i, a, o) => {
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
function zCe() {
- return (e) => oL({
+ return (e) => sL({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
fn: () => BCe(e, e.options.data),
- onAfterUpdate: aL(() => {
- fCe(e), mL(e), pCe(e), mCe(e);
+ onAfterUpdate: oL(() => {
+ fCe(e), hL(e), pCe(e), mCe(e);
})
});
}
-function xL(e, t, n, r = 0, i) {
+function SL(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
let s = n[o], c = RCe(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 = xL(e, t, c.originalSubRows, r + 1, c)));
+ 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 = SL(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
@@ -52188,9 +52221,9 @@ function BCe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: QI()
+ rowsById: $I()
};
- return n.rows = xL(e, n, t), n;
+ return n.rows = SL(e, n, t), n;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
@@ -52233,7 +52266,7 @@ function QCe(e) {
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
var $Ce = { constructTableAPIs: (e) => {
- cL("coreRowModelsFeature", e, {
+ lL("coreRowModelsFeature", e, {
table_getCoreRowModel: { fn: () => VCe(e) },
table_getPreFilteredRowModel: { fn: () => HCe(e) },
table_getFilteredRowModel: { fn: () => UCe(e) },
@@ -52272,17 +52305,17 @@ function nwe(e) {
return t[n] === e ? n : -1;
}
function rwe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? pL(e, t).rows : t.rows;
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? mL(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
function iwe(e, t) {
- if ($I(e._valuesCache, t)) return e._valuesCache[t];
+ if (eL(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 awe(e, t) {
- if ($I(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+ if (eL(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]);
}
@@ -52320,7 +52353,7 @@ function dwe(e) {
return r;
}
function fwe(e) {
- let t = QI(), n = e.getAllCells();
+ let t = $I(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
@@ -52339,7 +52372,7 @@ function mwe(e, t, n) {
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
var hwe = {
assignRowPrototype: (e, t) => {
- lL("coreRowsFeature", e, t, {
+ uL("coreRowsFeature", e, t, {
row_getDisplayIndex: { fn: (e) => nwe(e) },
row_getAllCellsByColumnId: {
fn: (e) => fwe(e),
@@ -52361,7 +52394,7 @@ var hwe = {
});
},
constructTableAPIs: (e) => {
- cL("coreRowsFeature", e, {
+ lL("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
fn: () => rwe(e),
memoDeps: () => [
@@ -52381,7 +52414,7 @@ var hwe = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function SL(e, t, n = (e, t) => e === t) {
+function CL(e, t, n = (e, t) => e === t) {
let r = t === void 0 ? e.options.state : t;
e._reactivity.batch(() => {
if (r) for (let t in r) {
@@ -52392,13 +52425,13 @@ function SL(e, t, n = (e, t) => e === t) {
}
});
}
-function CL(e, t, n = (e, t) => e === t) {
+function wL(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- SL(e, t, n), e._reactivity.commit?.();
+ CL(e, t, n), e._reactivity.commit?.();
});
}
function gwe(e) {
- let t = XI(e.initialState);
+ let t = ZI(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -52441,9 +52474,9 @@ function _we(e, t) {
}
});
}
-function wL(e, t, n) {
- let r = _we(e, YI(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && CL(e, r.state ?? null);
+function TL(e, t, n) {
+ let r = _we(e, XI(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && wL(e, r.state ?? null);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js
@@ -52454,15 +52487,15 @@ var vwe = {
coreRowModelsFeature: $Ce,
coreRowsFeature: hwe,
coreTablesFeature: { constructTableAPIs: (e) => {
- cL("coreTablesFeature", e, {
+ lL("coreTablesFeature", e, {
table_reset: { fn: () => gwe(e) },
- table_setOptions: { fn: (t) => wL(e, t) }
+ table_setOptions: { fn: (t) => TL(e, t) }
});
} }
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function TL() {
+function EL() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -52478,7 +52511,7 @@ function TL() {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function EL(e) {
+function DL(e) {
return e;
}
//#endregion
@@ -52486,7 +52519,7 @@ function EL(e) {
function ywe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), XI(t);
+ }), ZI(t);
}
function bwe(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 = {
@@ -52539,14 +52572,14 @@ function bwe(e) {
let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();
if (t) return r;
let i = e.state;
- if (i && $I(i, n)) {
+ if (i && eL(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- SL(v), v.store = YSe(t.createReadonlyAtom(() => {
+ CL(v), v.store = YSe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -52554,7 +52587,7 @@ function bwe(e) {
}
return e;
}, {
- compare: GI,
+ compare: KI,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -52565,43 +52598,43 @@ function bwe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.utils.js
-var DL = 0, OL = 10;
-function kL() {
+var OL = 0, kL = 10;
+function AL() {
return {
- pageIndex: DL,
- pageSize: OL
+ pageIndex: OL,
+ pageSize: kL
};
}
function xwe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? DL) === DL) return;
- ML(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? OL) === OL) return;
+ NL(e, !0);
}
}
-function AL(e, t) {
- iL(e, "pagination", t);
+function jL(e, t) {
+ aL(e, "pagination", t);
}
function Swe(e, t) {
- AL(e, t ? kL() : XI(e.initialState.pagination ?? kL()));
+ jL(e, t ? AL() : ZI(e.initialState.pagination ?? AL()));
}
-function jL(e, t) {
- AL(e, (n) => {
- let r = YI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function ML(e, t) {
+ jL(e, (n) => {
+ let r = XI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
};
});
}
-function ML(e, t) {
- jL(e, t ? DL : e.initialState.pagination?.pageIndex ?? DL);
+function NL(e, t) {
+ ML(e, t ? OL : e.initialState.pagination?.pageIndex ?? OL);
}
function Cwe(e, t) {
- NL(e, t ? OL : e.initialState.pagination?.pageSize ?? OL);
+ PL(e, t ? kL : e.initialState.pagination?.pageSize ?? kL);
}
-function NL(e, t) {
- AL(e, (e) => {
- let n = Math.max(1, YI(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function PL(e, t) {
+ jL(e, (e) => {
+ let n = Math.max(1, XI(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -52610,62 +52643,62 @@ function NL(e, t) {
});
}
function wwe(e) {
- let t = PL(e), n = [];
+ let t = FL(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
function Twe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
function Ewe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? DL, n = PL(e);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? OL, n = FL(e);
return n === -1 || n !== 0 && t < n - 1;
}
function Dwe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? DL, n = PL(e);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? OL, n = FL(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
function Owe(e) {
- return jL(e, (e) => e - 1);
+ return ML(e, (e) => e - 1);
}
function kwe(e) {
- return jL(e, (e) => e + 1);
+ return ML(e, (e) => e + 1);
}
function Awe(e) {
- return jL(e, 0);
+ return ML(e, 0);
}
function jwe(e) {
- let t = PL(e);
- if (!(!Number.isFinite(t) || t <= 0)) return jL(e, t - 1);
+ let t = FL(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return ML(e, t - 1);
}
-function PL(e) {
+function FL(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = FL(e), r = e.atoms.pagination?.get()?.pageSize ?? OL;
+ let n = IL(e), r = e.atoms.pagination?.get()?.pageSize ?? kL;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function FL(e) {
+function IL(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var IL = {
+var LL = {
getInitialState: (e) => ({
...e,
pagination: {
- ...kL(),
+ ...AL(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: eL("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: tL("pagination", e) }),
constructTableAPIs: (e) => {
- cL("rowPaginationFeature", e, {
+ lL("rowPaginationFeature", e, {
table_autoResetPageIndex: { fn: () => xwe(e) },
- table_setPagination: { fn: (t) => AL(e, t) },
+ table_setPagination: { fn: (t) => jL(e, t) },
table_resetPagination: { fn: (t) => Swe(e, t) },
- table_setPageIndex: { fn: (t) => jL(e, t) },
- table_resetPageIndex: { fn: (t) => ML(e, t) },
- table_setPageSize: { fn: (t) => NL(e, t) },
- table_getPageCount: { fn: () => PL(e) },
+ table_setPageIndex: { fn: (t) => ML(e, t) },
+ table_resetPageIndex: { fn: (t) => NL(e, t) },
+ table_setPageSize: { fn: (t) => PL(e, t) },
+ table_getPageCount: { fn: () => FL(e) },
table_resetPageSize: { fn: (t) => Cwe(e, t) },
table_getPageOptions: { fn: () => wwe(e) },
table_getCanPreviousPage: { fn: () => Twe(e) },
@@ -52675,43 +52708,43 @@ var IL = {
table_nextPage: { fn: () => kwe(e) },
table_firstPage: { fn: () => Awe(e) },
table_lastPage: { fn: () => jwe(e) },
- table_getRowCount: { fn: () => FL(e) }
+ table_getRowCount: { fn: () => IL(e) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
function Mwe() {
- return QI();
+ return $I();
}
-function LL(e, t) {
+function RL(e, t) {
e.options.onRowSelectionChange?.(t);
}
function Nwe(e, t) {
- e._lastSelectedRowId = null, LL(e, t ? QI() : Object.assign(QI(), XI(e.initialState.rowSelection ?? {})));
+ e._lastSelectedRowId = null, RL(e, t ? $I() : Object.assign($I(), ZI(e.initialState.rowSelection ?? {})));
}
-function RL(e, t, n) {
- e._lastSelectedRowId = null, LL(e, (r) => {
- if (t = t === void 0 ? !uL(e, "getIsAllRowsSelected", VL) : t, n?.deselectAll && !t) return QI();
- let i = Object.assign(QI(), r), a = e.getPreGroupedRowModel().flatRows;
+function zL(e, t, n) {
+ e._lastSelectedRowId = null, RL(e, (r) => {
+ if (t = t === void 0 ? !dL(e, "getIsAllRowsSelected", HL) : t, n?.deselectAll && !t) return $I();
+ let i = Object.assign($I(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- ZL(t, e) && (i[t.id] = !0);
+ QL(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- qL(e) && delete i[e.id];
+ JL(e) && delete i[e.id];
});
return i;
});
}
-function zL(e, t, n) {
- e._lastSelectedRowId = null, LL(e, (r) => {
- let i = t === void 0 ? !uL(e, "getIsAllPageRowsSelected", HL) : t;
- if (n?.deselectAll && !i) return QI();
- let a = Object.assign(QI(), r);
+function BL(e, t, n) {
+ e._lastSelectedRowId = null, RL(e, (r) => {
+ let i = t === void 0 ? !dL(e, "getIsAllPageRowsSelected", UL) : t;
+ if (n?.deselectAll && !i) return $I();
+ let a = Object.assign($I(), r);
return e.getRowModel().rows.forEach((t) => {
- XL(a, t.id, i, !0, e, !0);
+ ZL(a, t.id, i, !0, e, !0);
}), a;
});
}
@@ -52720,122 +52753,122 @@ function Pwe(e) {
}
function Fwe(e) {
let t = e.getCoreRowModel();
- return uL(e, "getIsSomeRowsSelected", UL) ? eR(t, e) : {
+ return dL(e, "getIsSomeRowsSelected", WL) ? tR(t, e) : {
rows: [],
flatRows: [],
- rowsById: QI()
+ rowsById: $I()
};
}
function Iwe(e) {
let t = e.getFilteredRowModel();
- return uL(e, "getIsSomeRowsSelected", UL) ? eR(t, e) : {
+ return dL(e, "getIsSomeRowsSelected", WL) ? tR(t, e) : {
rows: [],
flatRows: [],
- rowsById: QI()
+ rowsById: $I()
};
}
function Lwe(e) {
let t = e.getSortedRowModel();
- return uL(e, "getIsSomeRowsSelected", UL) ? eR(t, e) : {
+ return dL(e, "getIsSomeRowsSelected", WL) ? tR(t, e) : {
rows: [],
flatRows: [],
- rowsById: QI()
+ rowsById: $I()
};
}
-function BL(e) {
+function VL(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function VL(e) {
+function HL(e) {
let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);
if (r) {
let e = /* @__PURE__ */ new Map();
- t.some((t) => !tR(t, n) && ZL(t, e)) && (r = !1);
+ t.some((t) => !nR(t, n) && QL(t, e)) && (r = !1);
}
return r;
}
-function HL(e) {
+function UL(e) {
let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;
for (let e = 0; e < t.length; e++) {
let a = t[e];
- if (tR(a, n)) !i && ZL(a, r) && (i = !0);
- else if (ZL(a, r)) return !1;
+ if (nR(a, n)) !i && QL(a, r) && (i = !0);
+ else if (QL(a, r)) return !1;
}
return i;
}
-function UL(e) {
- return uL(e, "getSelectedRowIds", BL).length > 0;
+function WL(e) {
+ return dL(e, "getSelectedRowIds", VL).length > 0;
}
function Rwe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => qL(e)).some((e) => GL(e) || uL(e, "getIsSomeSelected", KL));
+ return e.getPaginatedRowModel().flatRows.filter((e) => JL(e)).some((e) => KL(e) || dL(e, "getIsSomeSelected", qL));
}
function zwe(e) {
return (t) => {
- RL(e, t.target.checked);
+ zL(e, t.target.checked);
};
}
function Bwe(e) {
return (t) => {
- zL(e, t.target.checked);
+ BL(e, t.target.checked);
};
}
-function WL(e, t, n) {
- let r = GL(e);
- LL(e.table, (i) => {
+function GL(e, t, n) {
+ let r = KL(e);
+ RL(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(QI(), i);
- return XL(a, e.id, t, (n?.selectChildren ?? !0) && YL(e), e.table), !t && n?.deselectParents && QL(a, e), a;
+ let a = Object.assign($I(), i);
+ return ZL(a, e.id, t, (n?.selectChildren ?? !0) && XL(e), e.table), !t && n?.deselectParents && $L(a, e), a;
});
}
-function GL(e) {
- return tR(e, e.table.atoms.rowSelection?.get() ?? {});
-}
function KL(e) {
- return nR(e) === "some";
+ return nR(e, e.table.atoms.rowSelection?.get() ?? {});
+}
+function qL(e) {
+ return rR(e) === "some";
}
function Vwe(e) {
- return nR(e) === "all";
+ return rR(e) === "all";
}
-function qL(e) {
+function JL(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function JL(e) {
+function YL(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function YL(e) {
+function XL(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
function Hwe(e, t) {
- let n = qL(e);
+ let n = JL(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 && YL(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !Uwe(e, s, o, t)) && WL(e, o, t), a._lastSelectedRowId = e.id;
+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && XL(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !Uwe(e, s, o, t)) && GL(e, o, t), a._lastSelectedRowId = e.id;
};
}
function Uwe(e, t, n, r) {
let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];
if (!s) return !1;
let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];
- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !YL(s) || !YL(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !XL(s) || !XL(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return LL(a, (e) => {
- let t = Object.assign(QI(), e);
+ return RL(a, (e) => {
+ let t = Object.assign($I(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- qL(s) && YL(s) && (XL(t, s.id, n, i, a), !n && r?.deselectParents && QL(t, s));
+ JL(s) && XL(s) && (ZL(t, s.id, n, i, a), !n && r?.deselectParents && $L(t, s));
}
return t;
}), !0;
}
-function XL(e, t, n, r, i, a) {
+function ZL(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (YL(o) || Object.keys(e).forEach((t) => delete e[t]), qL(o) && (e[t] = !0)) : (!a || qL(o)) && delete e[t], r && o.subRows.length && JL(o) && o.subRows.forEach((t) => XL(e, t.id, n, r, i, a));
+ n ? (XL(o) || Object.keys(e).forEach((t) => delete e[t]), JL(o) && (e[t] = !0)) : (!a || JL(o)) && delete e[t], r && o.subRows.length && YL(o) && o.subRows.forEach((t) => ZL(e, t.id, n, r, i, a));
}
-function ZL(e, t) {
- if (!qL(e)) return !1;
+function QL(e, t) {
+ if (!JL(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -52851,7 +52884,7 @@ function ZL(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!JL(r)) {
+ if (!YL(r)) {
s = !1;
break;
}
@@ -52859,43 +52892,43 @@ function ZL(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function QL(e, t) {
+function $L(e, t) {
let n = t.table.getCoreRowModel().rowsById, r = t.parentId;
for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;
}
-function $L(e, t, n, r) {
+function eR(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = tR(o, t);
+ let o = e[a], s = nR(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = $L(o.subRows, t, n, r);
+ let e = eR(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- ZI(t, o), t.subRows = e, i.push(t);
+ QI(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function eR(e, t) {
- let n = [], r = QI(), i = t.atoms.rowSelection?.get() ?? {};
+function tR(e, t) {
+ let n = [], r = $I(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: $L(e.rows, i, n, r),
+ rows: eR(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function tR(e, t) {
- return !!($I(t, e.id) && t[e.id]);
+function nR(e, t) {
+ return !!(eL(t, e.id) && t[e.id]);
}
-function nR(e) {
+function rR(e) {
if (!e.subRows.length) return !1;
let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;
for (let a = 0; a < e.subRows.length; a++) {
let o = e.subRows[a];
if (n && !r) break;
- if (qL(o) && (i = !0, tR(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = nR(o);
+ if (JL(o) && (i = !0, nR(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = rR(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
@@ -52903,7 +52936,7 @@ function nR(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var rR = {
+var iR = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -52915,7 +52948,7 @@ var rR = {
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: eL("rowSelection", e),
+ onRowSelectionChange: tL("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -52926,11 +52959,11 @@ var rR = {
}
}),
assignRowPrototype: (e, t) => {
- lL("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => WL(e, t, n) },
- row_getIsSelected: { fn: (e) => GL(e) },
+ uL("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => GL(e, t, n) },
+ row_getIsSelected: { fn: (e) => KL(e) },
row_getIsSomeSelected: {
- fn: (e) => KL(e),
+ fn: (e) => qL(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -52945,18 +52978,18 @@ var rR = {
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => qL(e) },
- row_getCanSelectSubRows: { fn: (e) => JL(e) },
- row_getCanMultiSelect: { fn: (e) => YL(e) },
+ row_getCanSelect: { fn: (e) => JL(e) },
+ row_getCanSelectSubRows: { fn: (e) => YL(e) },
+ row_getCanMultiSelect: { fn: (e) => XL(e) },
row_getToggleSelectedHandler: { fn: (e, t) => Hwe(e, t) }
});
},
constructTableAPIs: (e) => {
- cL("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => LL(e, t) },
+ lL("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => RL(e, t) },
table_resetRowSelection: { fn: (t) => Nwe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => RL(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => zL(e, t, n) },
+ table_toggleAllRowsSelected: { fn: (t, n) => zL(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => BL(e, t, n) },
table_getPreSelectedRowModel: { fn: () => Pwe(e) },
table_getSelectedRowModel: {
fn: () => Fwe(e),
@@ -52971,11 +53004,11 @@ var rR = {
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => BL(e),
+ fn: () => VL(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => VL(e),
+ fn: () => HL(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -52984,7 +53017,7 @@ var rR = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => HL(e),
+ fn: () => UL(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -52993,7 +53026,7 @@ var rR = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => UL(e),
+ fn: () => WL(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
@@ -53017,7 +53050,7 @@ function Gwe(e) {
}, e);
return t;
}
-var iR = /* @__PURE__ */ Gwe({ sort: (e, t) => Kwe(e, t) });
+var aR = /* @__PURE__ */ Gwe({ sort: (e, t) => Kwe(e, t) });
function Kwe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
@@ -53026,16 +53059,16 @@ function Kwe(e, t) {
function qwe() {
return [];
}
-function aR(e, t) {
- iL(e, "sorting", t);
-}
function oR(e, t) {
- aR(e, t ? [] : XI(e.initialState.sorting ?? []));
+ aL(e, "sorting", t);
+}
+function sR(e, t) {
+ oR(e, t ? [] : ZI(e.initialState.sorting ?? []));
}
function Jwe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && oR(e);
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && sR(e);
}
-function sR(e) {
+function cR(e) {
let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;
for (let t = 0; t < n.length; t++) {
let a = n[t].getValue(e.id);
@@ -53052,9 +53085,9 @@ function sR(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return iR;
+ return aR;
}
-function cR(e) {
+function lR(e) {
let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);
for (let n = 0; n < t.length; n++) {
let r = t[n].getValue(e.id);
@@ -53062,14 +53095,14 @@ function cR(e) {
}
return "desc";
}
-function lR(e) {
+function uR(e) {
let t = e.table._rowModelFns.sortFns;
- return tCe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? sR(e) : t?.[e.columnDef.sortFn] ?? iR;
+ return tCe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? cR(e) : t?.[e.columnDef.sortFn] ?? aR;
}
-function uR(e, t, n) {
- let r = fR(e, n && mR(e)), i = t !== void 0;
- aR(e.table, (a) => {
- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && mR(e) && n);
+function dR(e, t, n) {
+ let r = pR(e, n && hR(e)), i = t !== void 0;
+ oR(e.table, (a) => {
+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && hR(e) && n);
return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {
id: e.id,
desc: u
@@ -53085,20 +53118,20 @@ function uR(e, t, n) {
}], c;
});
}
-function dR(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? cR(e) === "desc" ? "desc" : "asc";
+function fR(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? lR(e) === "desc" ? "desc" : "asc";
}
-function fR(e, t) {
- let n = dR(e), r = hR(e);
+function pR(e, t) {
+ let n = fR(e), r = gR(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function pR(e) {
+function mR(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function mR(e) {
+function hR(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function hR(e) {
+function gR(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
@@ -53106,17 +53139,17 @@ function Ywe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
function Xwe(e) {
- aR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+ oR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
function Zwe(e) {
- let t = pR(e);
+ let t = mR(e);
return (n) => {
- t && uR(e, void 0, mR(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && dR(e, void 0, hR(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var gR = {
+var _R = {
getInitialState(e) {
return {
sorting: qwe(),
@@ -53132,40 +53165,40 @@ var gR = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: eL("sorting", e),
+ onSortingChange: tL("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- lL("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => sR(e) },
- column_getAutoSortDir: { fn: (e) => cR(e) },
- column_getSortFn: { fn: (e) => lR(e) },
- column_toggleSorting: { fn: (e, t, n) => uR(e, t, n) },
- column_getFirstSortDir: { fn: (e) => dR(e) },
- column_getNextSortingOrder: { fn: (e, t) => fR(e, t) },
- column_getCanSort: { fn: (e) => pR(e) },
- column_getCanMultiSort: { fn: (e) => mR(e) },
- column_getIsSorted: { fn: (e) => hR(e) },
+ uL("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => cR(e) },
+ column_getAutoSortDir: { fn: (e) => lR(e) },
+ column_getSortFn: { fn: (e) => uR(e) },
+ column_toggleSorting: { fn: (e, t, n) => dR(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => fR(e) },
+ column_getNextSortingOrder: { fn: (e, t) => pR(e, t) },
+ column_getCanSort: { fn: (e) => mR(e) },
+ column_getCanMultiSort: { fn: (e) => hR(e) },
+ column_getIsSorted: { fn: (e) => gR(e) },
column_getSortIndex: { fn: (e) => Ywe(e) },
column_clearSorting: { fn: (e) => Xwe(e) },
column_getToggleSortingHandler: { fn: (e) => Zwe(e) }
});
},
constructTableAPIs(e) {
- cL("rowSortingFeature", e, {
+ lL("rowSortingFeature", e, {
table_autoResetSorting: { fn: () => Jwe(e) },
- table_setSorting: { fn: (t) => aR(e, t) },
- table_resetSorting: { fn: (t) => oR(e, t) }
+ table_setSorting: { fn: (t) => oR(e, t) },
+ table_resetSorting: { fn: (t) => sR(e, t) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js
-function _R() {
+function vR() {
return (e) => {
let t = e;
- return oL({
+ return sL({
feature: "rowPaginationFeature",
table: t,
fnName: "table.getPaginatedRowModel",
@@ -53181,7 +53214,7 @@ function _R() {
function Qwe(e) {
let t = e.getPrePaginatedRowModel(), n = e.atoms.pagination?.get();
if (!t.rows.length) return t;
- let { pageSize: r, pageIndex: i } = n ?? kL(), { rows: a, flatRows: o, rowsById: s } = t, c = a;
+ let { pageSize: r, pageIndex: i } = n ?? AL(), { rows: a, flatRows: o, rowsById: s } = t, c = a;
if (r !== Infinity || i !== 0) {
let e = r * i, t = e + r;
c = a.slice(e, t);
@@ -53191,7 +53224,7 @@ function Qwe(e) {
rows: c,
flatRows: o,
rowsById: s
- } : pL(e, {
+ } : mL(e, {
rows: c,
flatRows: o,
rowsById: s
@@ -53203,16 +53236,16 @@ function Qwe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/createSortedRowModel.js
-function vR() {
+function yR() {
return (e) => {
let t = e;
- return oL({
+ return sL({
feature: "rowSortingFeature",
table: t,
fnName: "table.getSortedRowModel",
memoDeps: () => [t.atoms.sorting?.get(), t.getPreSortedRowModel()],
fn: () => $we(t),
- onAfterUpdate: aL(() => mL(t))
+ onAfterUpdate: oL(() => hL(t))
});
};
}
@@ -53221,7 +53254,7 @@ function $we(e) {
if (!t.rows.length || !n?.length) return t;
let r = [], i = n.filter((t) => {
let n = e.getColumn(t.id);
- return n ? pR(n) : !1;
+ return n ? mR(n) : !1;
});
if (!i.length) return t;
let a = [];
@@ -53232,7 +53265,7 @@ function $we(e) {
desc: n.desc,
sortUndefined: r.columnDef.sortUndefined,
invertSorting: r.columnDef.invertSorting,
- sortFn: lR(r)
+ sortFn: uR(r)
});
}
let o = (e, t) => {
@@ -53262,7 +53295,7 @@ function $we(e) {
let e = s(a.subRows);
if (e.changed) {
let s = Object.create(Object.getPrototypeOf(a));
- ZI(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;
+ QI(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;
}
}
}
@@ -53280,7 +53313,7 @@ function $we(e) {
//#endregion
//#region node_modules/@tanstack/react-table/dist/useTable.js
var eTe = typeof window > "u" ? S.useEffect : S.useLayoutEffect;
-function yR(e, t) {
+function bR(e, t) {
let [{ table: n, rootSource: r }] = (0, S.useState)(() => {
let t = bwe({
...e,
@@ -53294,16 +53327,16 @@ function yR(e, t) {
source: e.source ?? t.store
})), t.FlexRender = RSe, {
table: t,
- rootSource: ZSe(t.store, GI)
+ rootSource: ZSe(t.store, KI)
};
}), i = n;
- wL(i, (t) => ({
+ TL(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = JI(r, t, { compare: GI });
+ let a = i.options.state, o = r.get(), s = YI(r, t, { compare: KI });
return eTe(() => {
- r.markCommitted(o), CL(i, a ?? null, GI);
+ r.markCommitted(o), wL(i, a ?? null, KI);
}), (0, S.useMemo)(() => ({
...n,
options: e,
@@ -53316,7 +53349,7 @@ function yR(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function bR({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function xR({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
className: dA("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, C.jsx)(Uye, {
@@ -53328,7 +53361,7 @@ function bR({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function xR({ children: e, follow: t = !1, onRowClick: n }) {
+function SR({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -53336,14 +53369,14 @@ function xR({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && RF(e, r) && n(r.dataset.key);
+ r && zF(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/components/table-pagination.tsx
-function SR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function CR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, C.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -53382,11 +53415,11 @@ function SR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}
//#endregion
//#region src/react/components/table-controls.tsx
-function CR({ label: e, options: t, sorting: n, onChange: r }) {
+function wR({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsxs)(XP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(ZP, {
"aria-label": `${e}排序`,
selectedKey: i?.id ?? "default",
onSelectionChange: (e) => {
@@ -53395,10 +53428,10 @@ function CR({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(QP, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e.id,
children: e.label
}, e.id))]
@@ -53417,7 +53450,7 @@ function CR({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function wR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
+function TR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-table-pagination": !0,
@@ -53427,7 +53460,7 @@ function wR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`
}),
- /* @__PURE__ */ (0, C.jsx)(XP, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -53442,12 +53475,12 @@ function wR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
20,
50,
100
- ].map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ ].map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(SR, {
+ /* @__PURE__ */ (0, C.jsx)(CR, {
label: `${e}分页`,
page: s + 1,
pages: o,
@@ -53461,10 +53494,10 @@ function wR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
}
//#endregion
//#region src/react/catalog-grid/catalog-list-page.tsx
-var tTe = EL({
- rowSortingFeature: gR,
- rowSelectionFeature: rR,
- rowPaginationFeature: IL
+var tTe = DL({
+ rowSortingFeature: _R,
+ rowSelectionFeature: iR,
+ rowPaginationFeature: LL
}), nTe = [
{
id: "name",
@@ -53502,12 +53535,12 @@ var tTe = EL({
id: "played",
label: "观看时间"
}
-], TR = /* @__PURE__ */ new Map();
+], ER = /* @__PURE__ */ new Map();
function rTe(e) {
let t = bD(e.filters || {}, !1), [n] = (0, S.useState)(() => {
let n = new URLSearchParams(t);
return new URLSearchParams(location.search).has("seed") || n.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${n}`;
- }), [r, i] = (0, S.useState)(() => TR.get(n) || {
+ }), [r, i] = (0, S.useState)(() => ER.get(n) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -53515,7 +53548,7 @@ function rTe(e) {
}
}), { sorting: a, pagination: o } = r;
(0, S.useEffect)(() => {
- TR.set(n, r);
+ ER.set(n, r);
}, [n, r]);
let s = o.pageIndex * o.pageSize, c = a[0], l = pt({
queryKey: [
@@ -53569,14 +53602,14 @@ function rTe(e) {
d,
o.pageIndex
]);
- let f = Object.fromEntries([...e.selected].map((e) => [String(e), !0])), p = yR({
+ let f = Object.fromEntries([...e.selected].map((e) => [String(e), !0])), p = bR({
features: tTe,
columns: (0, S.useMemo)(() => {
- let t = TL();
+ let t = EL();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
"aria-label": "全选本页作品",
isDisabled: l.isPlaceholderData,
@@ -53584,7 +53617,7 @@ function rTe(e) {
isIndeterminate: e.getIsSomeRowsSelected(),
onChange: (t) => e.toggleAllRowsSelected(t)
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: l.isPlaceholderData,
@@ -53665,24 +53698,24 @@ function rTe(e) {
className: "flex flex-wrap justify-end gap-2",
role: "toolbar",
"aria-label": "作品列表工具栏",
- children: /* @__PURE__ */ (0, C.jsx)(CR, {
+ children: /* @__PURE__ */ (0, C.jsx)(wR, {
label: "作品列表",
options: nTe,
sorting: a,
onChange: (e) => p.setSorting(e)
})
}),
- /* @__PURE__ */ (0, C.jsx)(MI, { assetIds: e.filters?.state === "trash" ? [] : jI(u, e.layout.javImage) }),
- l.isError ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ /* @__PURE__ */ (0, C.jsx)(NI, { assetIds: e.filters?.state === "trash" ? [] : MI(u, e.layout.javImage) }),
+ l.isError ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(l.error),
onRetry: () => void l.refetch()
}) : null,
- /* @__PURE__ */ (0, C.jsx)(xR, {
+ /* @__PURE__ */ (0, C.jsx)(SR, {
follow: !0,
onRowClick: (t) => {
l.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
},
- children: /* @__PURE__ */ (0, C.jsxs)(bR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xR, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: c ? {
@@ -53693,19 +53726,19 @@ function rTe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, C.jsx)(UN, { children: p.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(WN, { children: p.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(GN, {
id: e.id,
isRowHeader: t === 1,
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [NI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [PI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(jP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(MP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(KN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(qN, {
renderEmptyState: () => l.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-skeleton": "",
"data-table-skeleton": "",
@@ -53714,17 +53747,17 @@ function rTe(e) {
"aria-label": "正在读取作品列表",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, C.jsxs)("div", { children: [/* @__PURE__ */ (0, C.jsx)("i", { className: "skeleton-sheen" }), /* @__PURE__ */ (0, C.jsx)("span", { className: "skeleton-sheen" })] }, t))
}) : l.isError ? "作品列表未取得" : "没有符合的作品",
- children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(YN, {
+ children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(XN, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ZN, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(QN, { children: PI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
}),
- l.data ? /* @__PURE__ */ (0, C.jsx)(wR, {
+ l.data ? /* @__PURE__ */ (0, C.jsx)(TR, {
label: "作品列表",
total: d,
pagination: o,
@@ -53749,7 +53782,7 @@ function iTe({ item: e, props: t, disabled: n }) {
},
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-list-picture": "",
- children: r.html ? /* @__PURE__ */ (0, C.jsx)(LF, {
+ children: r.html ? /* @__PURE__ */ (0, C.jsx)(RF, {
artwork: r,
relayout: (e) => vc(e, "small")
}) : /* @__PURE__ */ (0, C.jsx)("span", { children: "无预览" })
@@ -53776,7 +53809,7 @@ function iTe({ item: e, props: t, disabled: n }) {
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function ER(e) {
+function DR(e) {
let t = yD();
if (e.mode === "items") return /* @__PURE__ */ (0, C.jsx)(oTe, { ...e });
let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${bD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
@@ -53790,7 +53823,7 @@ function aTe({ name: e }) {
});
}
function oTe(e) {
- let { actions: t } = e, n = (0, S.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, C.jsx)(KF, {
+ let { actions: t } = e, n = (0, S.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, C.jsx)(qF, {
item: i,
variant: r,
layout: e.layout,
@@ -53842,7 +53875,7 @@ function sTe(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || gSe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && uSe(e.item) ? [e.item] : []), v = a ? [] : jI(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = FF(l.isPending, e.skeletonHtml), b = (0, S.useRef)(null), x = cTe(e, l.data, d, f, b);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || gSe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && uSe(e.item) ? [e.item] : []), v = a ? [] : MI(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = IF(l.isPending, e.skeletonHtml), b = (0, S.useRef)(null), x = cTe(e, l.data, d, f, b);
(0, S.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -53874,7 +53907,7 @@ function sTe(e) {
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, C.jsx)(KF, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, C.jsx)(qF, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -53891,7 +53924,7 @@ function sTe(e) {
"data-grid-reveal": y.fading ? "" : void 0,
children: [
!e.wall && y.layer,
- /* @__PURE__ */ (0, C.jsx)(MI, { assetIds: v }),
+ /* @__PURE__ */ (0, C.jsx)(NI, { assetIds: v }),
(() => {
if (g && e.wall) return /* @__PURE__ */ (0, C.jsx)(ESe, {
sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${bD(e.filters || {}, !!e.excludeVertical)}`,
@@ -53912,7 +53945,7 @@ function sTe(e) {
javImage: r.javImage
}, h ? "finite" : "explore");
if (l.isPending) return null;
- if (!l.data) return /* @__PURE__ */ (0, C.jsx)(IF, {
+ if (!l.data) return /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(l.error),
onRetry: () => void l.refetch()
});
@@ -53938,7 +53971,7 @@ function sTe(e) {
props: e,
onOpen: D
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(DR, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(OR, {
entity: i,
load: O,
enabled: () => e.canLoadMore?.() !== !1
@@ -53947,7 +53980,7 @@ function sTe(e) {
]
});
}
-function DR({ entity: e, load: t, enabled: n, children: r }) {
+function OR({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(!1), o = (0, S.useRef)(!1), [s, c] = (0, S.useState)({
busy: !1,
error: ""
@@ -54009,7 +54042,7 @@ function DR({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: Po("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ }), s.error ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
@@ -54066,7 +54099,7 @@ function lTe({ cut: e, props: t, onOpen: n }) {
] }), /* @__PURE__ */ (0, C.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, C.jsx)(qF, {
item: e,
variant: "short",
layout: t.layout,
@@ -54080,7 +54113,7 @@ function lTe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function OR(e, t, n) {
+function kR(e, t, n) {
return Da(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
function uTe({ seed: e, layout: t, helpers: n, actions: r }) {
@@ -54088,9 +54121,9 @@ function uTe({ seed: e, layout: t, helpers: n, actions: r }) {
a.current = t;
let o = Ma(e, n.tagLabel), s = (0, S.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => xD(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), OR(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = OR(e, t, !1);
- return /* @__PURE__ */ (0, C.jsx)(XF, {
+ return i.current = new Map(n.map((e) => [String(e.id), kR(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = kR(e, t, !1);
+ return /* @__PURE__ */ (0, C.jsx)(ZF, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -54100,12 +54133,12 @@ function uTe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : OR(e, {
+ artworkIdentity: c === "small" ? l.html : kR(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => vc(e, c),
- ratio: WF(e, "grid", t),
+ ratio: GF(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -54117,13 +54150,13 @@ function uTe({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function kR(e) {
+async function AR(e) {
await W.fetchQuery({
queryKey: kn,
queryFn: () => An(e)
});
}
-var dTe = (e) => (e?.sources ?? []).filter((e) => jt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), fTe = "/api/duplicates?limit=120", AR = ["duplicates"], jR = "/api/batch", MR = (e) => H(fTe, e), pTe = /[\s\-_.()[\]【】/\\]/;
+var dTe = (e) => (e?.sources ?? []).filter((e) => jt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), fTe = "/api/duplicates?limit=120", jR = ["duplicates"], MR = "/api/batch", NR = (e) => H(fTe, e), pTe = /[\s\-_.()[\]【】/\\]/;
function mTe(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
@@ -54136,17 +54169,17 @@ function mTe(e) {
var hTe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
async function gTe(e) {
await Promise.all([W.fetchQuery({
- queryKey: AR,
- queryFn: () => MR(e)
- }), kR(e)]);
+ queryKey: jR,
+ queryFn: () => NR(e)
+ }), AR(e)]);
}
-var NR = {
+var PR = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, _Te = (e, t) => t.filter((t) => e.some((e) => e.location === t)), PR = (e, t) => _Te(e, t).filter((t) => e.some((e) => e.location !== t)), vTe = (e, t) => t.filter((t) => e.some((e) => PR(e.files, [t]).length));
+}, _Te = (e, t) => t.filter((t) => e.some((e) => e.location === t)), FR = (e, t) => _Te(e, t).filter((t) => e.some((e) => e.location !== t)), vTe = (e, t) => t.filter((t) => e.some((e) => FR(e.files, [t]).length));
function yTe(e, t) {
let n = [];
for (let r of e) {
@@ -54170,8 +54203,8 @@ function bTe(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 FR(e, t) {
- for (let n = 0; n < e.length; n += 200) await U(jR, {
+async function IR(e, t) {
+ for (let n = 0; n < e.length; n += 200) await U(MR, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
@@ -54179,7 +54212,7 @@ async function FR(e, t) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var IR = "/api/media-repair", LR = ["media-repair"], RR = ["media-repair", "libraries"], xTe = {
+var LR = "/api/media-repair", RR = ["media-repair"], zR = ["media-repair", "libraries"], xTe = {
status: "idle",
library: "",
stage: "",
@@ -54191,41 +54224,41 @@ var IR = "/api/media-repair", LR = ["media-repair"], RR = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, zR = (e) => H(IR, e), BR = async (e) => (await H("/api/libraries", e)).libraries || [];
+}, BR = (e) => H(LR, e), VR = async (e) => (await H("/api/libraries", e)).libraries || [];
async function STe(e) {
await Promise.all([W.fetchQuery({
- queryKey: LR,
- queryFn: () => zR(e)
- }), W.fetchQuery({
queryKey: RR,
queryFn: () => BR(e)
+ }), W.fetchQuery({
+ queryKey: zR,
+ queryFn: () => VR(e)
})]);
}
-var VR = (e) => Number(e).toLocaleString();
+var HR = (e) => Number(e).toLocaleString();
function CTe(e) {
if (e.status === "running") {
- let t = e.total ? `${VR(Math.min(e.checked || 0, e.total))} / ${VR(e.total)}` : "准备中";
+ let t = e.total ? `${HR(Math.min(e.checked || 0, e.total))} / ${HR(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${VR(e.repaired)} 部,${VR(e.failed)} 部修不了` : `修好 ${VR(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${HR(e.repaired)} 部,${HR(e.failed)} 部修不了` : `修好 ${HR(e.repaired)} 部` : "";
}
-var wTe = (e) => `${VR(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, TTe = "/api/quality-goals?limit=200", HR = ["quality-goals"], UR = (e) => H(TTe, e);
+var wTe = (e) => `${HR(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, TTe = "/api/quality-goals?limit=200", UR = ["quality-goals"], WR = (e) => H(TTe, e);
async function ETe(e) {
await W.fetchQuery({
- queryKey: HR,
- queryFn: () => UR(e)
+ queryKey: UR,
+ queryFn: () => WR(e)
});
}
-var WR = (e) => e.has_cover ? pa(e) : `/poster?id=${e.id}&c=4`;
+var GR = (e) => e.has_cover ? pa(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function GR(e, t, n, r, i, a = i || !e.has(r)) {
+function KR(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/review/review.ts
-var DTe = "/api/review", OTe = "/api/review/decision", kTe = "/api/review/genre", KR = ["review"], qR = {
+var DTe = "/api/review", OTe = "/api/review/decision", kTe = "/api/review/genre", qR = ["review"], JR = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -54235,7 +54268,7 @@ var DTe = "/api/review", OTe = "/api/review/decision", kTe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, ATe = Object.keys(qR), jTe = "metadata_fields", JR = (e) => typeof e == "string" && Object.hasOwn(qR, e), MTe = {
+}, ATe = Object.keys(JR), jTe = "metadata_fields", YR = (e) => typeof e == "string" && Object.hasOwn(JR, e), MTe = {
creator_tags: "creator",
western_identity: "creator"
};
@@ -54243,7 +54276,7 @@ function NTe(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function YR(e, t) {
+function XR(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -54261,7 +54294,7 @@ function YR(e, t) {
return [...n.values()];
}
function PTe(e, t, n) {
- return n && YR(e, t).find((e) => e.key === n)?.rows || e;
+ return n && XR(e, t).find((e) => e.key === n)?.rows || e;
}
function FTe(e, t) {
let n = En(e.length, 20), r = Dn(t, n);
@@ -54275,17 +54308,17 @@ function ITe(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 LTe(e, t, n, r, i, a) {
- return GR(e, t, n, r, i, a);
+ return KR(e, t, n, r, i, a);
}
-function XR(e, t) {
+function ZR(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function ZR(e, t) {
+function QR(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var QR = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+var $R = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
function RTe(e, t) {
- let n = ZR(e, t), r = QR(e, t);
+ let n = QR(e, t), r = $R(e, t);
return r ? `${n} · ${r}` : n;
}
var zTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", BTe = (e) => String(e.tags || "").split("|").filter(Boolean), VTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
@@ -54296,7 +54329,7 @@ function HTe(e) {
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function $R(e, t, n, r) {
+function ez(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -54312,19 +54345,19 @@ function $R(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var UTe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", ez = (e) => H(DTe, e), tz = (e) => U(OTe, e), WTe = (e, t) => U(kTe, {
+var UTe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", tz = (e) => H(DTe, e), nz = (e) => U(OTe, e), WTe = (e, t) => U(kTe, {
genre: e,
tag: t
});
async function GTe(e) {
await W.fetchQuery({
- queryKey: KR,
- queryFn: () => ez(e)
+ queryKey: qR,
+ queryFn: () => tz(e)
});
}
-function nz(e, t) {
+function rz(e, t) {
let n = new Set(t);
- n.size && W.setQueryData(KR, (t) => {
+ n.size && W.setQueryData(qR, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -54341,7 +54374,7 @@ function nz(e, t) {
});
}
var KTe = () => W.invalidateQueries({
- queryKey: KR,
+ queryKey: qR,
exact: !0
});
function qTe(e, t) {
@@ -54349,68 +54382,68 @@ function qTe(e, t) {
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var JTe = "/api/links", rz = "/api/links/check", iz = "/api/links/prune", az = ["links"], oz = ["links", "check"], sz = ["links", "prune"], cz = {
+var JTe = "/api/links", iz = "/api/links/check", az = "/api/links/prune", oz = ["links"], sz = ["links", "check"], cz = ["links", "prune"], lz = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function lz(e) {
+async function uz(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var uz = (e) => H(JTe, e), dz = (e) => U(rz, { status_only: !0 }, "POST", e), YTe = ({ retry: e, checkId: t }) => lz(U(rz, e ? {
+var dz = (e) => H(JTe, e), fz = (e) => U(iz, { status_only: !0 }, "POST", e), YTe = ({ retry: e, checkId: t }) => uz(U(iz, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), fz = (e) => H(iz, e), XTe = ({ checkId: e, ids: t }) => lz(U(iz, {
+} : { restart: !0 })), pz = (e) => H(az, e), XTe = ({ checkId: e, ids: t }) => uz(U(az, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), pz = (e) => Number(e || 0).toLocaleString(), mz = (e) => `已删除 ${pz(e.removed)} 条;${e.marked ? `已隐退女优的 ${pz(e.marked)} 条留作不可点的记录;` : ""}保留 ${pz(e.recovered)} 条未确认失效的链接。`;
+})), mz = (e) => Number(e || 0).toLocaleString(), hz = (e) => `已删除 ${mz(e.removed)} 条;${e.marked ? `已隐退女优的 ${mz(e.marked)} 条留作不可点的记录;` : ""}保留 ${mz(e.recovered)} 条未确认失效的链接。`;
function ZTe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${pz(e.checked)} / ${pz(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${mz(e.checked)} / ${mz(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var hz = "/api/settings", gz = "/api/follow/schedule", _z = "/api/thumbnail-jobs", vz = ["settings"], yz = ["follow-schedule"], bz = ["thumbnail-jobs"], xz = (e) => H(hz, e), QTe = (e) => H(gz, e), $Te = (e) => H(_z, e);
+var gz = "/api/settings", _z = "/api/follow/schedule", vz = "/api/thumbnail-jobs", yz = ["settings"], bz = ["follow-schedule"], xz = ["thumbnail-jobs"], Sz = (e) => H(gz, e), QTe = (e) => H(_z, e), $Te = (e) => H(vz, e);
function eEe(e = W) {
return e.fetchQuery({
- queryKey: vz,
- queryFn: ({ signal: e }) => xz(e),
+ queryKey: yz,
+ queryFn: ({ signal: e }) => Sz(e),
staleTime: 0
}).catch(() => null);
}
-function Sz() {
+function Cz() {
return mt({
- mutationFn: (e) => U(hz, e),
- onSuccess: (e) => W.setQueryData(vz, e)
+ mutationFn: (e) => U(gz, e),
+ onSuccess: (e) => W.setQueryData(yz, e)
});
}
function tEe() {
return mt({
- mutationFn: (e) => U(gz, {
+ mutationFn: (e) => U(_z, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => W.setQueryData(yz, e)
+ onSuccess: (e) => W.setQueryData(bz, e)
});
}
function nEe() {
return mt({
- mutationFn: (e) => U(_z, { mode: e }),
- onSuccess: (e) => W.setQueryData(bz, e)
+ mutationFn: (e) => U(vz, { mode: e }),
+ onSuccess: (e) => W.setQueryData(xz, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var rEe = "/api/organize", iEe = "/api/organize/preview", aEe = "/api/organize/apply", oEe = "/api/organize/rollback", Cz = ["organize"], wz = (e) => H(rEe, e);
+var rEe = "/api/organize", iEe = "/api/organize/preview", aEe = "/api/organize/apply", oEe = "/api/organize/rollback", wz = ["organize"], Tz = (e) => H(rEe, e);
async function sEe(e) {
await W.fetchQuery({
- queryKey: Cz,
- queryFn: () => wz(e)
+ queryKey: wz,
+ queryFn: () => Tz(e)
});
}
var cEe = (e) => U(iEe, e), lEe = (e) => e.kind === "apply" ? U(aEe, {
@@ -54418,92 +54451,92 @@ var cEe = (e) => U(iEe, e), lEe = (e) => e.kind === "apply" ? U(aEe, {
confirm: !0
}) : U(oEe, { confirm: !0 });
async function uEe(e) {
- W.setQueryData(Cz, (t) => t && {
+ W.setQueryData(wz, (t) => t && {
...t,
templates: e
});
try {
- await U(hz, { organizeTemplates: e });
+ await U(gz, { organizeTemplates: e });
} catch {}
}
var dEe = (e, t) => e && {
...e,
...t
}, fEe = /目录模板|分隔符|盘符|`\.`/;
-function Tz(e) {
+function Ez(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var Ez = (e) => Number(e || 0).toLocaleString();
+var Dz = (e) => Number(e || 0).toLocaleString();
function pEe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Ez(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${Ez(e.counts.change)} 个文件会改名或移动,${Ez(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Dz(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${Dz(e.counts.change)} 个文件会改名或移动,${Dz(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function Dz(e) {
+function Oz(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${Ez(r)} 个文件${n ? `,${Ez(n)} 行未能退回` : ""}。` : `已整理 ${Ez(r)} 个文件${n ? `,${Ez(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${Dz(r)} 个文件${n ? `,${Dz(n)} 行未能退回` : ""}。` : `已整理 ${Dz(r)} 个文件${n ? `,${Dz(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var Oz = "/api/resource-sync/scan", kz = "/api/resource-sync/apply", Az = ["resource-sync", "scan"], jz = ["resource-sync", "apply"], Mz = (e) => U(Oz, {
+var kz = "/api/resource-sync/scan", Az = "/api/resource-sync/apply", jz = ["resource-sync", "scan"], Mz = ["resource-sync", "apply"], Nz = (e) => U(kz, {
background: !0,
status_only: !0
-}, "POST", e), mEe = () => U(Oz, {
+}, "POST", e), mEe = () => U(kz, {
background: !0,
restart: !0
-}), Nz = (e) => H(kz, e), hEe = (e) => U(kz, {
+}), Pz = (e) => H(Az, e), hEe = (e) => U(Az, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), Pz = (e) => (e?.sources ?? []).some((e) => At.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+}), Fz = (e) => (e?.sources ?? []).some((e) => At.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
async function gEe(e) {
- Pz(W.getQueryData(kn)) && await Promise.all([W.fetchQuery({
- queryKey: Az,
- queryFn: () => Mz(e)
- }), W.fetchQuery({
+ Fz(W.getQueryData(kn)) && await Promise.all([W.fetchQuery({
queryKey: jz,
queryFn: () => Nz(e)
+ }), W.fetchQuery({
+ queryKey: Mz,
+ queryFn: () => Pz(e)
})]);
}
-var _Ee = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Fz = (e) => Number(e || 0).toLocaleString(), vEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Iz = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Lz = (e) => e.vanish ? `${Fz(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Rz = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", yEe = (e) => `将永久删除文件已不在盘上的 ${Fz(Iz(e))} 条记录和 ${Fz(e.empty)} 个空文件夹,并清理 ${Fz(e.cache?.files)} 个闲置缓存。${Rz(e)}${Lz(e)}`, bEe = (e) => `将永久删除文件已不在盘上的 ${Fz(Iz(e))} 条记录(含回收站里的)、${Fz(e.empty)} 个空文件夹,并清理 ${Fz(e.cache?.files)} 个闲置缓存。来源根目录保留。${Rz(e)}${Lz(e)}`, xEe = (e) => e.online ? [
- `找不到文件 · 共 ${Fz(e.total)} 项`,
- e.vanish ? `${Fz(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${Fz(e.empty)} 个` : "",
- e.unreadable ? `${Fz(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${Fz(e.total)} 项`;
-function zz(e) {
+var _Ee = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Iz = (e) => Number(e || 0).toLocaleString(), vEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Lz = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Rz = (e) => e.vanish ? `${Iz(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", zz = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", yEe = (e) => `将永久删除文件已不在盘上的 ${Iz(Lz(e))} 条记录和 ${Iz(e.empty)} 个空文件夹,并清理 ${Iz(e.cache?.files)} 个闲置缓存。${zz(e)}${Rz(e)}`, bEe = (e) => `将永久删除文件已不在盘上的 ${Iz(Lz(e))} 条记录(含回收站里的)、${Iz(e.empty)} 个空文件夹,并清理 ${Iz(e.cache?.files)} 个闲置缓存。来源根目录保留。${zz(e)}${Rz(e)}`, xEe = (e) => e.online ? [
+ `找不到文件 · 共 ${Iz(e.total)} 项`,
+ e.vanish ? `${Iz(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${Iz(e.empty)} 个` : "",
+ e.unreadable ? `${Iz(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${Iz(e.total)} 项`;
+function Bz(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${Fz(t.length)} 条记录没有删除(${o})` : "",
- n ? `${Fz(n)} 个文件夹没有删除` : "",
- r.length ? `${Fz(r.length)} 个缓存没有清理` : ""
+ t.length ? `${Iz(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${Iz(n)} 个文件夹没有删除` : "",
+ r.length ? `${Iz(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
var SEe = (e, t) => {
- let { rest: n } = zz(e), r = `已永久删除 ${Fz(e.purged)} 条失效记录和 ${Fz(e.dirs_removed)} 个空文件夹,清理 ${Fz(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Fz(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Fz(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+ let { rest: n } = Bz(e), r = `已永久删除 ${Iz(e.purged)} 条失效记录和 ${Iz(e.dirs_removed)} 个空文件夹,清理 ${Iz(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Iz(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Iz(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, CEe = "/api/review?counts=1", Bz = ["review", "counts"], wEe = "/api/ads?limit=1", Vz = ["junk-summary"], Hz = "/api/items?state=trash&limit=1", Uz = ["trash-summary"], TEe = [
+}, CEe = "/api/review?counts=1", Vz = ["review", "counts"], wEe = "/api/ads?limit=1", Hz = ["junk-summary"], Uz = "/api/items?state=trash&limit=1", Wz = ["trash-summary"], TEe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], Wz = (e) => H(CEe, e), Gz = (e) => H(wEe, e), Kz = (e) => {
+], Gz = (e) => H(CEe, e), Kz = (e) => H(wEe, e), qz = (e) => {
let t = sessionStorage.getItem("peach.library");
- return H(t ? `${Hz}&library=${encodeURIComponent(t)}` : Hz, e);
-}, qz = (e) => Number(e || 0).toLocaleString();
+ return H(t ? `${Uz}&library=${encodeURIComponent(t)}` : Uz, e);
+}, Jz = (e) => Number(e || 0).toLocaleString();
function EEe(e) {
- let t = qR, 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);
+ let t = JR, 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(" · ")
@@ -54511,16 +54544,16 @@ function EEe(e) {
}
function DEe(e) {
if (!e) return "";
- let t = TEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${qz(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${qz(e.dismissed_total)}`), t.join(" · ");
+ let t = TEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Jz(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Jz(e.dismissed_total)}`), t.join(" · ");
}
var OEe = [
- [Bz, ({ signal: e }) => Wz(e)],
- [HR, ({ signal: e }) => UR(e)],
- [Uz, ({ signal: e }) => Kz(e)],
- [az, ({ signal: e }) => uz(e)],
+ [Vz, ({ signal: e }) => Gz(e)],
+ [UR, ({ signal: e }) => WR(e)],
+ [Wz, ({ signal: e }) => qz(e)],
[oz, ({ signal: e }) => dz(e)],
- [sz, ({ signal: e }) => fz(e)]
+ [sz, ({ signal: e }) => fz(e)],
+ [cz, ({ signal: e }) => pz(e)]
];
async function kEe(e) {
let t = location.hash === "#resource-sync", n = OEe.map(([n, r]) => {
@@ -54536,15 +54569,15 @@ async function kEe(e) {
await Promise.all([
...n,
W.fetchQuery({
- queryKey: Vz,
- queryFn: () => Gz(e)
+ queryKey: Hz,
+ queryFn: () => Kz(e)
}),
W.fetchQuery({
- queryKey: AR,
- queryFn: () => MR(e)
+ queryKey: jR,
+ queryFn: () => NR(e)
}),
- kR(e).then(() => gEe(e)),
- CI(e),
+ AR(e).then(() => gEe(e)),
+ wI(e),
STe(e),
sEe(e)
]);
@@ -54562,14 +54595,14 @@ var AEe = [
"bg-chart-7/10",
"bg-chart-8/10"
];
-function Jz(e = {}) {
+function Yz(e = {}) {
return `${_A({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var Yz = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", MEe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function Xz({ interactive: e = !1 } = {}) {
+var Xz = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", MEe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function Zz({ interactive: e = !1 } = {}) {
return _A({
padding: "none",
radius: "plain",
@@ -54578,7 +54611,7 @@ function Xz({ interactive: e = !1 } = {}) {
});
}
var NEe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function Zz({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+function Qz({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -54611,7 +54644,7 @@ function Zz({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function Qz({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function $z({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.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",
@@ -54639,48 +54672,48 @@ function Qz({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/management.ts
-var $z = "同步文件与影片资料,按设置生成本地视频预览。下拉菜单可选择只扫描文件、同步已入库影片、生成预览或补全资料。", eB = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", tB = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", nB = "type=\"button\" disabled data-skeleton-action", rB = "disabled data-skeleton-action", PEe = "aria-disabled=\"true\"", iB = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, aB = (e, t) => `<div data-geist-fieldset-content>
+var eB = "同步文件与影片资料,按设置生成本地视频预览。下拉菜单可选择只扫描文件、同步已入库影片、生成预览或补全资料。", tB = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", nB = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", rB = "type=\"button\" disabled data-skeleton-action", iB = "disabled data-skeleton-action", PEe = "aria-disabled=\"true\"", aB = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, oB = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
function FEe() {
- return iB(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${aB("扫描与采集", $z)}
+ return aB(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${oB("扫描与采集", eB)}
<footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${vo("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${xo({
glyph: "database",
label: "同步媒体库",
- attrs: rB
+ attrs: iB
})}${xo({
glyph: "chevron-down",
- attrs: `${rB} aria-label="更多同步方式"`
+ attrs: `${iB} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
function IEe() {
- return iB(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${aB("媒体修复", eB)}
- <footer data-geist-fieldset-footer>${Co(tB, {
+ return aB(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${oB("媒体修复", tB)}
+ <footer data-geist-fieldset-footer>${Co(nB, {
className: "w-48",
attrs: PEe
})}${xo({
label: "开始修复",
- attrs: rB
+ attrs: iB
})}</footer>
</section>`);
}
-function oB() {
+function sB() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${tB}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${tB}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${nB}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${nB}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${z(t)}</span>${e}</span>
- <strong>${tB}</strong><span class="cleanupmeta">${tB}</span></button>`).join("")}</div>
+ <strong>${nB}</strong><span class="cleanupmeta">${nB}</span></button>`).join("")}</div>
<div class="cleanupgrid">
<div class="cleanupscraping">${FEe()}</div>
<div class="cleanupmediarepair">${IEe()}</div>
@@ -54688,32 +54721,32 @@ function oB() {
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="ui-organizefields">
- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${tB}${z("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${nB}${z("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${tB}</p>
+ <p class="cleanupmeta">${nB}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${nB}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${rB}>预览</button></footer>
</section></div>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${tB}</b><small>${tB}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${nB}</b><small>${nB}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${tB}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${tB}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${nB}>${z("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${nB}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${nB}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${rB}>${z("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${nB}>${z("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${rB}>${z("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
@@ -54736,7 +54769,7 @@ var LEe = _A({
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), sB = "border-t border-border-button-default p-4 first:border-t-0";
+}), cB = "border-t border-border-button-default p-4 first:border-t-0";
function UEe({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: `${BEe} ${VEe[e]}`,
@@ -54746,14 +54779,14 @@ function UEe({ tone: e = "neutral", status: t, children: n }) {
}) : null, n]
});
}
-function cB({ id: e, gap: t = "none", children: n }) {
+function lB({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, C.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function lB({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function uB({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
id: r,
"aria-label": t,
@@ -54785,7 +54818,7 @@ function WEe({ className: e }) {
});
}
var GEe = "打开文件管理器失败,请重试";
-function uB({ path: e, prefix: t, className: n, onRevealed: r }) {
+function dB({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(""), c = (0, S.useRef)(!0);
(0, S.useEffect)(() => () => {
c.current = !1;
@@ -54825,7 +54858,7 @@ function uB({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function dB({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function fB({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : _A({
@@ -54845,11 +54878,11 @@ function dB({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function fB({ toast: e, mode: t, monitor: n }) {
+function pB({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = pt({
- queryKey: xI,
- queryFn: ({ signal: e }) => SI(e),
- refetchInterval: (e) => TI(e.state.data, r)
+ queryKey: SI,
+ queryFn: ({ signal: e }) => CI(e),
+ refetchInterval: (e) => EI(e.state.data, r)
}), [a, o] = (0, S.useState)(null), s = (0, S.useRef)(void 0), c = i.data;
return (0, S.useEffect)(() => {
if (!c) return;
@@ -54876,7 +54909,7 @@ var KEe = "这一项耗时较长,暂时没有新进展。任务结束后可以
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
}, JEe = (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} 部视频预览。` : "") + qEe(e);
function YEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = jSe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ASe(e.notes || {}), c = HP();
+ let a = jSe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ASe(e.notes || {}), c = UP();
return /* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -54927,7 +54960,7 @@ function YEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(uB, {
+ children: /* @__PURE__ */ (0, C.jsx)(dB, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -54947,7 +54980,7 @@ function YEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(uB, {
+ children: /* @__PURE__ */ (0, C.jsx)(dB, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -54959,22 +54992,22 @@ function YEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function pB(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = fB(e), o = mt({
- mutationFn: (e) => U(bI, e),
+function mB(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = pB(e), o = mt({
+ mutationFn: (e) => U(xI, e),
onSuccess: (e) => {
- a(), W.setQueryData(xI, e), W.invalidateQueries({ queryKey: xI });
+ a(), W.setQueryData(SI, e), W.invalidateQueries({ queryKey: SI });
}
});
(0, S.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? wI : V(r.error) : "", l = o.isPending || s.status === "running", u = DI(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? TI : V(r.error) : "", l = o.isPending || s.status === "running", u = OI(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsx)(lB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(uB, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -54990,7 +55023,7 @@ function pB(e) {
trailingIcon: Ak,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, C.jsx)(AI, {
+ /* @__PURE__ */ (0, C.jsx)(jI, {
scan: !0,
busy: l,
metadataOnly: s?.metadata_only,
@@ -55000,12 +55033,12 @@ function pB(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(cB, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, C.jsx)(lB, { children: "扫描与采集" }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: $z
+ children: eB
}),
- s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(dB, {
+ s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -55029,8 +55062,8 @@ function pB(e) {
}
//#endregion
//#region src/react/background-job.ts
-var mB = 2e3, XEe = (e) => e, ZEe = (e, t) => t;
-function hB(e) {
+var hB = 2e3, XEe = (e) => e, ZEe = (e, t) => t;
+function gB(e) {
let { queryKey: t, jobOf: n = XEe, withJob: r = ZEe, idlePollMs: i } = e, [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(e);
(0, S.useEffect)(() => {
l.current = e;
@@ -55040,7 +55073,7 @@ function hB(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? mB : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? hB : i ?? !1;
}
}), d = mt({
mutationFn: (e) => l.current.start(e),
@@ -55065,32 +55098,32 @@ function hB(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var QEe = (e) => uo[e] || e, gB = (e) => W.setQueryData(LR, e);
+var QEe = (e) => uo[e] || e, _B = (e) => W.setQueryData(RR, e);
function $Ee() {
let e = pt({
- queryKey: LR,
- queryFn: ({ signal: e }) => zR(e),
- refetchInterval: (e) => e.state.data?.status === "running" && mB
- }), t = pt({
queryKey: RR,
- queryFn: ({ signal: e }) => BR(e)
+ queryFn: ({ signal: e }) => BR(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && hB
+ }), t = pt({
+ queryKey: zR,
+ queryFn: ({ signal: e }) => VR(e)
}), [n, r] = (0, S.useState)(""), i = CA(), a = e.data ?? xTe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && Vs({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => gB(await U(IR, {
+ onConfirm: async () => _B(await U(LR, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => U(IR, { stop: !0 }, "POST", e), gB), d = CTe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => U(LR, { stop: !0 }, "POST", e), _B), d = CTe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsx)(lB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(uB, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(XP, {
+ footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -55098,7 +55131,7 @@ function $Ee() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, C.jsxs)(ZP, {
+ children: o.map((e) => /* @__PURE__ */ (0, C.jsxs)(QP, {
id: e.id,
textValue: e.name,
children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: QEe(e.icon) }), e.name]
@@ -55115,10 +55148,10 @@ function $Ee() {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(cB, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, C.jsx)(lB, { children: "媒体修复" }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: eB
+ children: tB
}),
s && a.total ? /* @__PURE__ */ (0, C.jsx)(SA, {
label: "修复进度",
@@ -55156,43 +55189,43 @@ function $Ee() {
}
//#endregion
//#region src/react/components/use-table-selection.ts
-var _B = /* @__PURE__ */ new Map();
-function vB(e) {
+var vB = /* @__PURE__ */ new Map();
+function yB(e) {
let t = (0, S.useId)(), n = (0, S.useRef)(e);
- return n.current = e, (0, S.useEffect)(() => (_B.set(t, () => n.current()), () => {
- _B.delete(t);
+ return n.current = e, (0, S.useEffect)(() => (vB.set(t, () => n.current()), () => {
+ vB.delete(t);
}), [t]), (0, S.useCallback)(() => {
- for (let [e, n] of _B) e !== t && n();
+ for (let [e, n] of vB) e !== t && n();
}, [t]);
}
//#endregion
//#region src/react/components/data-table.tsx
-var eDe = EL({
- rowSortingFeature: gR,
- rowSelectionFeature: rR,
- rowPaginationFeature: IL,
- sortedRowModel: vR(),
- paginatedRowModel: _R()
+var eDe = DL({
+ rowSortingFeature: _R,
+ rowSelectionFeature: iR,
+ rowPaginationFeature: LL,
+ sortedRowModel: yR(),
+ paginatedRowModel: vR()
});
-function yB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {
+function bB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {
let [m, h] = (0, S.useState)([]), [g, _] = (0, S.useState)({
pageIndex: 0,
pageSize: 20
- }), v = vB(() => o([])), y = Math.max(1, Math.ceil(t.length / g.pageSize)), b = Math.min(g.pageIndex, y - 1), x = Object.fromEntries(a.map((e) => [e, !0])), w = yR({
+ }), v = yB(() => o([])), y = Math.max(1, Math.ceil(t.length / g.pageSize)), b = Math.min(g.pageIndex, y - 1), x = Object.fromEntries(a.map((e) => [e, !0])), w = bR({
features: eDe,
data: t,
columns: (0, S.useMemo)(() => {
- let t = TL();
+ let t = EL();
return t.columns([t.display({
id: "select",
- header: ({ table: t }) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ header: ({ table: t }) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
"aria-label": `全选${e}`,
isSelected: t.getIsAllRowsSelected(),
isIndeterminate: t.getIsSomeRowsSelected(),
onChange: (e) => t.toggleAllRowsSelected(e)
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
"aria-label": `选择 ${i(e.original)}`,
isSelected: e.getIsSelected(),
@@ -55256,7 +55289,7 @@ function yB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${t.length.toLocaleString()} ${p}`
}),
- /* @__PURE__ */ (0, C.jsx)(CR, {
+ /* @__PURE__ */ (0, C.jsx)(wR, {
label: e,
options: n.filter((e) => e.value).map((e) => ({
id: e.id,
@@ -55287,10 +55320,10 @@ function yB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(xR, {
+ /* @__PURE__ */ (0, C.jsx)(SR, {
follow: !0,
onRowClick: (e) => w.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, C.jsxs)(bR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xR, {
"aria-label": e,
size: "sm",
sortDescriptor: m[0] ? {
@@ -55298,29 +55331,29 @@ function yB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
direction: m[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => w.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(UN, { children: w.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(WN, { children: w.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(GN, {
id: e.id,
isRowHeader: t === 1,
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [NI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [PI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(jP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(MP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(KN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(qN, {
renderEmptyState: () => "没有记录",
- children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(YN, {
+ children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(XN, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ZN, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(QN, { children: PI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
}),
- /* @__PURE__ */ (0, C.jsx)(wR, {
+ /* @__PURE__ */ (0, C.jsx)(TR, {
label: e,
total: t.length,
pagination: {
@@ -55339,8 +55372,8 @@ function yB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var tDe = _P("unlink"), bB = _P("rotate-cw"), nDe = "站点返回 404 或 410,确认这个地址不存在。", rDe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", iDe = "删除前会逐条重验一次;此操作不可撤销。", aDe = "暂时无法读取进度,正在重新连接…", xB = (e) => Number(e || 0).toLocaleString();
-function SB({ label: e, value: t, note: n }) {
+var tDe = vP("unlink"), xB = vP("rotate-cw"), nDe = "站点返回 404 或 410,确认这个地址不存在。", rDe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", iDe = "删除前会逐条重验一次;此操作不可撤销。", aDe = "暂时无法读取进度,正在重新连接…", SB = (e) => Number(e || 0).toLocaleString();
+function CB({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -55359,10 +55392,10 @@ function SB({ label: e, value: t, note: n }) {
]
});
}
-function CB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o }) {
+function wB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o }) {
return t.length ? /* @__PURE__ */ (0, C.jsx)("div", {
- className: sB,
- children: /* @__PURE__ */ (0, C.jsx)(yB, {
+ className: cB,
+ children: /* @__PURE__ */ (0, C.jsx)(bB, {
label: e,
items: t,
columns: [
@@ -55378,8 +55411,8 @@ function CB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
{
id: "kind",
label: "类型",
- value: (e) => cz[e.link_kind] || e.link_kind,
- render: (e) => cz[e.link_kind] || e.link_kind
+ value: (e) => lz[e.link_kind] || e.link_kind,
+ render: (e) => lz[e.link_kind] || e.link_kind
},
{
id: "label",
@@ -55437,24 +55470,24 @@ function CB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
}
function oDe() {
let e = pt({
- queryKey: az,
- queryFn: ({ signal: e }) => uz(e)
- }), [t, n] = (0, S.useState)([]), [r, i] = (0, S.useState)([]), a = hB({
- queryKey: sz,
- queryFn: ({ signal: e }) => fz(e),
+ queryKey: oz,
+ queryFn: ({ signal: e }) => dz(e)
+ }), [t, n] = (0, S.useState)([]), [r, i] = (0, S.useState)([]), a = gB({
+ queryKey: cz,
+ queryFn: ({ signal: e }) => pz(e),
start: XTe,
onFinish: () => {
W.invalidateQueries({
- queryKey: az,
+ queryKey: oz,
exact: !0
}), W.invalidateQueries({
- queryKey: oz,
+ queryKey: sz,
exact: !0
});
}
- }), o = hB({
- queryKey: oz,
- queryFn: ({ signal: e }) => dz(e),
+ }), o = gB({
+ queryKey: sz,
+ queryFn: ({ signal: e }) => fz(e),
start: YTe,
onStarted: () => {
a.dismiss(), n([]), i([]);
@@ -55463,7 +55496,7 @@ function oDe() {
(0, S.useEffect)(() => {
n([]), i([]);
}, [c]);
- let l = o.running || o.start.isPending, u = a.running || a.start.isPending, d = s?.status === "complete", f = s?.gone ?? [], p = s?.unclear ?? [], m = d ? p : [], h = f.filter((e) => r.includes(e.id)).map((e) => e.id), g = m.filter((e) => t.includes(e.id)).map((e) => e.id), _ = e.data, v = (_?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${xB(t)}`).join(" · "), y = (e) => {
+ let l = o.running || o.start.isPending, u = a.running || a.start.isPending, d = s?.status === "complete", f = s?.gone ?? [], p = s?.unclear ?? [], m = d ? p : [], h = f.filter((e) => r.includes(e.id)).map((e) => e.id), g = m.filter((e) => t.includes(e.id)).map((e) => e.id), _ = e.data, v = (_?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${SB(t)}`).join(" · "), y = (e) => {
l || e && !e.length || o.start.mutate(e ? {
retry: e,
checkId: c
@@ -55488,7 +55521,7 @@ function oDe() {
else if (x && !f.length && !p.length) E = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "success",
title: "完成",
- children: mz(x)
+ children: hz(x)
});
else if (w) E = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -55506,12 +55539,12 @@ function oDe() {
children: s.error || "检查失败"
});
else if (s && s.status !== "idle") {
- T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(dB, {
+ T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: ZTe(s),
value: Math.min(s.checked || 0, s.total || 0),
total: s.total
- }) : null, u ? /* @__PURE__ */ (0, C.jsx)(dB, {
+ }) : null, u ? /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: a.job?.message || "正在重验并删除失效链接…",
value: Math.min(a.job?.checked || 0, a.job?.total || 0),
@@ -55524,9 +55557,9 @@ function oDe() {
x?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "success",
title: "完成",
- children: mz(x)
+ children: hz(x)
}) : null,
- /* @__PURE__ */ (0, C.jsx)(CB, {
+ /* @__PURE__ */ (0, C.jsx)(wB, {
title: "地址已失效",
items: f,
hint: nDe,
@@ -55541,20 +55574,20 @@ function oDe() {
children: `删除所选(${h.length})`
})
}),
- /* @__PURE__ */ (0, C.jsx)(CB, {
+ /* @__PURE__ */ (0, C.jsx)(wB, {
title: "本次未访问成功",
items: p,
hint: rDe,
picked: t,
onPick: n,
footer: m.length ? /* @__PURE__ */ (0, C.jsx)(K, {
- leadingIcon: bB,
+ leadingIcon: xB,
...J(l),
onClick: () => y(m.map((e) => e.id)),
children: `全部重试(${m.length})`
}) : null,
children: m.length ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: /* @__PURE__ */ (0, C.jsx)(K, {
- leadingIcon: bB,
+ leadingIcon: xB,
disabled: !g.length,
...J(l),
onClick: () => y(g),
@@ -55572,7 +55605,7 @@ function oDe() {
})
}) : null,
d && !f.length && !p.length ? /* @__PURE__ */ (0, C.jsx)("p", {
- className: `${sB} text-body-regular text-notification-success-foreground`,
+ className: `${cB} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -55582,7 +55615,7 @@ function oDe() {
id: "link-manager",
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsxs)(lB, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(uB, {
layout: "stack",
labelledBy: "link-manager-title",
footer: /* @__PURE__ */ (0, C.jsx)(K, {
@@ -55592,7 +55625,7 @@ function oDe() {
children: l ? "检查中" : d ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, C.jsx)(cB, {
+ /* @__PURE__ */ (0, C.jsx)(lB, {
id: "link-manager-title",
gap: "small",
children: "链接管理"
@@ -55603,13 +55636,13 @@ function oDe() {
children: V(e.error)
}) : _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, C.jsx)(SB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(CB, {
label: "链接总数",
- value: xB(_.total),
- note: `分布在 ${xB(_.entities)} 个女优、厂牌与系列`
- }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(SB, {
- label: cz[e] || e,
- value: xB(t)
+ value: SB(_.total),
+ note: `分布在 ${SB(_.entities)} 个女优、厂牌与系列`
+ }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(CB, {
+ label: lz[e] || e,
+ value: SB(t)
}, e))]
}), v ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -55647,7 +55680,7 @@ function uDe({ plan: e }) {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: Tz(e.current_path)
+ children: Ez(e.current_path)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
@@ -55657,7 +55690,7 @@ function uDe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: Tz(e.target_path)
+ children: Ez(e.target_path)
})
]
}, e.current_path))
@@ -55668,8 +55701,8 @@ function uDe({ plan: e }) {
}
function dDe({ toast: e, failure: t }) {
let n = pt({
- queryKey: Cz,
- queryFn: ({ signal: e }) => wz(e)
+ queryKey: wz,
+ queryFn: ({ signal: e }) => Tz(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, S.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, S.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -55687,19 +55720,19 @@ function dDe({ toast: e, failure: t }) {
let t = fEe.test(V(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = hB({
- queryKey: Cz,
- queryFn: ({ signal: e }) => wz(e),
+ }), y = gB({
+ queryKey: wz,
+ queryFn: ({ signal: e }) => Tz(e),
start: lEe,
jobOf: (e) => e,
withJob: dEe,
onStarted: () => v.reset(),
onFinish: (n) => {
if (W.invalidateQueries({
- queryKey: Cz,
+ queryKey: wz,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = Dz(n);
+ let { text: r, failed: i } = Oz(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), b = y.running || y.start.isPending, x = v.data, w = Number(x?.counts?.change || 0), T = pn[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
@@ -55729,7 +55762,7 @@ function dDe({ toast: e, failure: t }) {
}), A = null, j = y.job, M = y.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, C.jsx)(dB, {
+ A = /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -55741,7 +55774,7 @@ function dDe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = Dz(M);
+ let { text: e, failed: t } = Oz(M);
A = /* @__PURE__ */ (0, C.jsx)(q, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -55751,7 +55784,7 @@ function dDe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: V(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, C.jsx)(dB, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, C.jsx)(q, {
@@ -55763,7 +55796,7 @@ function dDe({ toast: e, failure: t }) {
title: "预览结果",
children: pEe(x)
}), w ? /* @__PURE__ */ (0, C.jsx)(uDe, { plan: x }) : null] }));
- return /* @__PURE__ */ (0, C.jsxs)(lB, {
+ return /* @__PURE__ */ (0, C.jsxs)(uB, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -55787,7 +55820,7 @@ function dDe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, C.jsx)(cB, {
+ /* @__PURE__ */ (0, C.jsx)(lB, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -55807,20 +55840,20 @@ function dDe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, C.jsx)(XP, {
+ i.length ? /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), m(null), v.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, C.jsxs)(ZP, {
+ children: i.map((e) => /* @__PURE__ */ (0, C.jsxs)(QP, {
id: e.location,
textValue: pn[e.location] || e.location,
children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: uo[e.location] || "database" }), pn[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -55831,7 +55864,7 @@ function dDe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -55876,7 +55909,7 @@ function dDe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var fDe = "/api/orphan-records", pDe = "/api/orphan-records/attach", wB = ["orphan-records"], mDe = [
+var fDe = "/api/orphan-records", pDe = "/api/orphan-records/attach", TB = ["orphan-records"], mDe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
@@ -55886,33 +55919,33 @@ var fDe = "/api/orphan-records", pDe = "/api/orphan-records/attach", wB = ["orph
], hDe = (e) => H(fDe, e), gDe = (e, t) => U(pDe, {
id: e,
target: t
-}), TB = (e) => U(jR, {
+}), EB = (e) => U(MR, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
}), _De = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], EB = (e) => [...mDe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ..._De(e)].filter(Boolean).join(" · "), vDe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", DB = (e) => [e.name, vDe(e.duration)].filter(Boolean).join(" · "), yDe = _P("play"), OB = () => W.invalidateQueries({
- queryKey: wB,
+], DB = (e) => [...mDe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ..._De(e)].filter(Boolean).join(" · "), vDe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", OB = (e) => [e.name, vDe(e.duration)].filter(Boolean).join(" · "), yDe = vP("play"), kB = () => W.invalidateQueries({
+ queryKey: TB,
exact: !0
});
function bDe({ item: e, toast: t }) {
let [n, r] = (0, S.useState)(e.candidates[0]?.id ?? null), i = mt({
mutationFn: () => gDe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), OB();
+ t(`记录已接到新文件,批次 ${e.batch}`), kB();
},
onError: (e) => t(V(e))
}), a = mt({
- mutationFn: () => TB(e.id),
+ mutationFn: () => EB(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), OB();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), kB();
}
}), o = () => {
Vs({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${EB(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${DB(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
@@ -55921,17 +55954,17 @@ function bDe({ item: e, toast: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-48 flex-wrap items-center gap-2",
children: [
- e.candidates.length ? /* @__PURE__ */ (0, C.jsx)(XP, {
+ e.candidates.length ? /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e.id,
- textValue: DB(e),
- children: DB(e)
+ textValue: OB(e),
+ children: OB(e)
}, e.id))
}) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-text-secondary",
@@ -55984,12 +56017,12 @@ function xDe({ item: e }) {
}
function SDe({ toast: e }) {
let [t, n] = (0, S.useState)([]), r = pt({
- queryKey: wB,
+ queryKey: TB,
queryFn: ({ signal: e }) => hDe(e)
}), i = r.data?.items ?? [], a = mt({
- mutationFn: (e) => TB(e),
+ mutationFn: (e) => EB(e),
onSuccess: (t) => {
- e(`已彻底删除 ${t.purged} 条记录${t.blocked.length ? `,${t.blocked.length} 条文件已恢复,未删除` : ""}`), n([]), OB();
+ e(`已彻底删除 ${t.purged} 条记录${t.blocked.length ? `,${t.blocked.length} 条文件已恢复,未删除` : ""}`), n([]), kB();
}
}), o = (e) => void Vs({
title: "彻底删除所选记录",
@@ -56002,10 +56035,10 @@ function SDe({ toast: e }) {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: r.isError ? /* @__PURE__ */ (0, C.jsxs)(lB, {
+ children: r.isError ? /* @__PURE__ */ (0, C.jsxs)(uB, {
layout: "stack",
labelledBy: "orphan-records-title",
- children: [/* @__PURE__ */ (0, C.jsx)(cB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(lB, {
id: "orphan-records-title",
children: "孤儿记录"
}), /* @__PURE__ */ (0, C.jsx)(q, {
@@ -56013,7 +56046,7 @@ function SDe({ toast: e }) {
title: "孤儿记录读取失败",
children: V(r.error)
})]
- }) : /* @__PURE__ */ (0, C.jsx)(yB, {
+ }) : /* @__PURE__ */ (0, C.jsx)(bB, {
label: "文件已消失的作品",
items: i,
columns: [
@@ -56026,10 +56059,10 @@ function SDe({ toast: e }) {
{
id: "records",
label: "带的记录",
- value: (e) => EB(e.records),
+ value: (e) => DB(e.records),
render: (e) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "block min-w-28",
- children: EB(e.records) || "无个人记录"
+ children: DB(e.records) || "无个人记录"
})
},
{
@@ -56063,60 +56096,60 @@ function SDe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var CDe = _P("git-compare"), wDe = _P("rotate-cw"), TDe = "暂时无法读取进度,正在重新连接…", kB = "清理失效条目", AB = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", jB = (e) => Number(e || 0).toLocaleString();
+var CDe = vP("git-compare"), wDe = vP("rotate-cw"), TDe = "暂时无法读取进度,正在重新连接…", AB = "清理失效条目", jB = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", MB = (e) => Number(e || 0).toLocaleString();
function EDe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("div", {
- className: AB,
+ className: jB,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, C.jsx)("article", {
- className: Xz(),
- children: /* @__PURE__ */ (0, C.jsx)(Zz, {
+ className: Zz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Qz, {
label: Mt[e.location] || "媒体来源",
mark: /* @__PURE__ */ (0, C.jsx)(BA, { mark: uo[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, C.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${jB(e.missing)} 项` : "—",
+ figure: e.online ? `${MB(e.missing)} 项` : "—",
meta: xEe(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, C.jsxs)("div", {
- className: AB,
+ className: jB,
children: [
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Xz(),
- children: /* @__PURE__ */ (0, C.jsx)(Zz, {
+ className: Zz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Qz, {
label: "待永久删除",
- figure: `${jB(Iz(e))} 项`,
+ figure: `${MB(Lz(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Xz(),
- children: /* @__PURE__ */ (0, C.jsx)(Zz, {
+ className: Zz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Qz, {
label: "将标为已消失",
- figure: `${jB(e.vanish)} 项`,
+ figure: `${MB(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Xz(),
- children: /* @__PURE__ */ (0, C.jsx)(Zz, {
+ className: Zz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Qz, {
label: "空文件夹",
- figure: `${jB(e.empty)} 个`,
+ figure: `${MB(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Xz(),
- children: /* @__PURE__ */ (0, C.jsx)(Zz, {
+ className: Zz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Qz, {
label: "可清理的缓存",
- figure: `${jB(t.files)} 个`,
+ figure: `${MB(t.files)} 个`,
meta: t.files ? sn(t.bytes) : ""
})
})
@@ -56124,34 +56157,34 @@ function EDe({ scan: e }) {
})] });
}
function DDe({ toast: e }) {
- let t = hB({
- queryKey: jz,
- queryFn: ({ signal: e }) => Nz(e),
+ let t = gB({
+ queryKey: Mz,
+ queryFn: ({ signal: e }) => Pz(e),
start: hEe,
onFinish: (t) => {
if (W.invalidateQueries({
- queryKey: Uz,
+ queryKey: Wz,
exact: !0
}), W.invalidateQueries({
- queryKey: Az,
+ queryKey: jz,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = zz(t);
- r ? e(`已完成 ${jB(n)} 项,${jB(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = Bz(t);
+ r ? e(`已完成 ${MB(n)} 项,${MB(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = hB({
- queryKey: Az,
- queryFn: ({ signal: e }) => Mz(e),
+ }), n = gB({
+ queryKey: jz,
+ queryFn: ({ signal: e }) => Nz(e),
start: mEe,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Vs({
- title: kB,
+ title: AB,
body: bEe(e),
- confirmLabel: kB,
+ confirmLabel: AB,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = zz(e).left > 0;
+ let t = Bz(e).left > 0;
return /* @__PURE__ */ (0, C.jsx)(q, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
@@ -56164,7 +56197,7 @@ function DDe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, C.jsx)(dB, {
+ else if (t.running) d = /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -56180,7 +56213,7 @@ function DDe({ toast: e }) {
});
else if (r?.status === "running") {
let e = vEe(r);
- d = /* @__PURE__ */ (0, C.jsx)(dB, {
+ d = /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -56211,7 +56244,7 @@ function DDe({ toast: e }) {
variant: "danger",
...J(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : kB
+ children: a ? "正在复核并清理…" : AB
}) : /* @__PURE__ */ (0, C.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -56227,7 +56260,7 @@ function DDe({ toast: e }) {
id: "resource-sync",
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsxs)(lB, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(uB, {
layout: "split",
labelledBy: "resource-sync-title",
footer: /* @__PURE__ */ (0, C.jsx)(K, {
@@ -56240,7 +56273,7 @@ function DDe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, C.jsx)(cB, {
+ /* @__PURE__ */ (0, C.jsx)(lB, {
id: "resource-sync-title",
gap: "small",
children: "资源同步"
@@ -56264,16 +56297,16 @@ function DDe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function MB(e, t) {
+function NB(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function NB({ section: e, label: t, icon: n, value: r, open: i }) {
+function PB({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
- className: Xz({ interactive: !0 }),
+ className: Zz({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, C.jsx)(Zz, {
+ children: /* @__PURE__ */ (0, C.jsx)(Qz, {
label: t,
icon: n,
figure: r.figure,
@@ -56281,10 +56314,10 @@ function NB({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var ODe = _P("square-check-big"), kDe = _P("sparkles"), ADe = _P("file-stack"), jDe = _P("file-archive"), MDe = _P("trash"), NDe = [
- Bz,
- HR,
- AR
+var ODe = vP("square-check-big"), kDe = vP("sparkles"), ADe = vP("file-stack"), jDe = vP("file-archive"), MDe = vP("trash"), NDe = [
+ Vz,
+ UR,
+ jR
], PDe = () => {
for (let e of NDe) W.invalidateQueries({
queryKey: e,
@@ -56293,20 +56326,20 @@ var ODe = _P("square-check-big"), kDe = _P("sparkles"), ADe = _P("file-stack"),
};
function FDe({ toast: e, failure: t, open: n }) {
let r = pt({
- queryKey: Bz,
- queryFn: ({ signal: e }) => Wz(e)
+ queryKey: Vz,
+ queryFn: ({ signal: e }) => Gz(e)
}), i = pt({
- queryKey: HR,
- queryFn: ({ signal: e }) => UR(e)
+ queryKey: UR,
+ queryFn: ({ signal: e }) => WR(e)
}), a = pt({
- queryKey: AR,
- queryFn: ({ signal: e }) => MR(e)
+ queryKey: jR,
+ queryFn: ({ signal: e }) => NR(e)
}), o = pt({
- queryKey: Vz,
- queryFn: ({ signal: e }) => Gz(e)
- }), s = pt({
- queryKey: Uz,
+ queryKey: Hz,
queryFn: ({ signal: e }) => Kz(e)
+ }), s = pt({
+ queryKey: Wz,
+ queryFn: ({ signal: e }) => qz(e)
}), c = pt({
queryKey: kn,
queryFn: ({ signal: e }) => An(e)
@@ -56315,46 +56348,46 @@ function FDe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, C.jsxs)("div", {
className: NEe,
children: [
- /* @__PURE__ */ (0, C.jsx)(NB, {
+ /* @__PURE__ */ (0, C.jsx)(PB, {
section: "review",
label: "人工复核",
icon: ODe,
open: n,
- value: MB(r, EEe)
+ value: NB(r, EEe)
}),
- /* @__PURE__ */ (0, C.jsx)(NB, {
+ /* @__PURE__ */ (0, C.jsx)(PB, {
section: "quality",
label: "高清版",
icon: kDe,
open: n,
- value: MB(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: NB(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, C.jsx)(NB, {
+ /* @__PURE__ */ (0, C.jsx)(PB, {
section: "duplicates",
label: "重复文件",
icon: ADe,
open: n,
- value: MB(a, (e) => Number(e.total || 0) ? {
+ value: NB(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${sn(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, C.jsx)(NB, {
+ /* @__PURE__ */ (0, C.jsx)(PB, {
section: "ads",
label: "垃圾文件",
icon: jDe,
open: n,
- value: MB(o, (e) => ({
+ value: NB(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
meta: DEe(e)
}))
}),
- /* @__PURE__ */ (0, C.jsx)(NB, {
+ /* @__PURE__ */ (0, C.jsx)(PB, {
section: "trash",
label: "回收站",
icon: MDe,
open: n,
- value: MB(s, (e) => ({
+ value: NB(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${sn(e.bytes || 0)}` : ""
}))
@@ -56367,7 +56400,7 @@ function FDe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, C.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, C.jsx)(pB, {
+ children: /* @__PURE__ */ (0, C.jsx)(mB, {
toast: l,
monitor: !0,
onComplete: PDe
@@ -56385,12 +56418,12 @@ function FDe({ toast: e, failure: t, open: n }) {
}),
/* @__PURE__ */ (0, C.jsx)(oDe, {}),
/* @__PURE__ */ (0, C.jsx)(SDe, { toast: l }),
- Pz(c.data) ? /* @__PURE__ */ (0, C.jsx)(DDe, { toast: e }) : null
+ Fz(c.data) ? /* @__PURE__ */ (0, C.jsx)(DDe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var PB = (e) => ["feed-new", e ?? "home"], IDe = 8, LDe = 1500;
+var FB = (e) => ["feed-new", e ?? "home"], IDe = 8, LDe = 1500;
function RDe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
@@ -56412,12 +56445,12 @@ async function zDe(e, t, n) {
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var FB = (e, t, n = !1) => ({
- queryKey: PB(e),
+var IB = (e, t, n = !1) => ({
+ queryKey: FB(e),
queryFn: () => zDe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), IB = (e, t) => It("/api/feeds/discovery", {
+}), LB = (e, t) => It("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
@@ -56425,11 +56458,11 @@ var FB = (e, t, n = !1) => ({
})
}).then(() => void 0, () => void 0);
async function BDe(e) {
- W.removeQueries({ queryKey: PB(null) }), await W.fetchQuery(FB(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+ W.removeQueries({ queryKey: FB(null) }), await W.fetchQuery(IB(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var LB = [
+var RB = [
"loc",
"creator",
"tag",
@@ -56439,10 +56472,10 @@ var LB = [
"orient",
"sort",
"dir"
-], RB = {
+], zB = {
media: "videos",
set: 0
-}, zB = (e, t) => [
+}, BB = (e, t) => [
"entity",
e,
t
@@ -56452,35 +56485,35 @@ var LB = [
t,
n,
r
-], BB = (e, t, n, r) => [
+], VB = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], VB = (e) => String(e || "").split(",").filter(Boolean), HDe = (e, t) => VB(e).includes(t);
-function HB(e, t, n, r, i = 0) {
+], HB = (e) => String(e || "").split(",").filter(Boolean), HDe = (e, t) => HB(e).includes(t);
+function UB(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...VB(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of LB) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...HB(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
+ for (let t of RB) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function UB(e, t, n, r, i, a, o) {
- let s = HB(e, t, n, r, i);
+async function WB(e, t, n, r, i, a, o) {
+ let s = UB(e, t, n, r, i);
return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await It(`/api/items?${s}`, a ? { signal: a } : {});
}
-var WB = (e) => {
+var GB = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = HB(e.kind, e.name, e.filters, t).toString();
+ }, n = UB(e.kind, e.name, e.filters, t).toString();
return {
queryKey: VDe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => UB(e.kind, e.name, e.filters, t, 0, n),
+ queryFn: ({ signal: n }) => WB(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, GB = (e, t) => ({
- queryKey: zB(e, t),
+}, KB = (e, t) => ({
+ queryKey: BB(e, t),
queryFn: ({ signal: n }) => It(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
@@ -56493,8 +56526,8 @@ function UDe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var KB = (e, t, n, r) => ({
- queryKey: BB(e, t, n, r),
+var qB = (e, t, n, r) => ({
+ queryKey: VB(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
let a = await It(UDe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
@@ -56509,7 +56542,7 @@ var KB = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), qB = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+}), JB = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
async function WDe(e) {
let { kind: t, name: n } = e;
for (let e of [
@@ -56521,26 +56554,26 @@ async function WDe(e) {
t,
n
] });
- e.resolvedEntity?.id && W.setQueryData(zB(t, n), e.resolvedEntity), await Promise.all([
- W.fetchQuery(GB(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: PB(Number(t.id)) }), W.fetchQuery(FB(Number(t.id), e.helpers.feedRowHtml, !0)))),
- W.fetchQuery(WB(e)),
- W.fetchInfiniteQuery(KB(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(KB(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && W.setQueryData(BB(t, n), e.resolvedEntity), await Promise.all([
+ W.fetchQuery(KB(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: FB(Number(t.id)) }), W.fetchQuery(IB(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ W.fetchQuery(GB(e)),
+ W.fetchInfiniteQuery(qB(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(qB(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var JB = [
+var YB = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], YB = "mb-4 flex flex-wrap gap-2";
+], XB = "mb-4 flex flex-wrap gap-2";
function GDe(e) {
- let t = JB.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${YB}">${JB.map(([e, n]) => xo({
+ let t = YB.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${XB}">${YB.map(([e, n]) => xo({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -56574,7 +56607,7 @@ function ZDe(e, t, n, r) {
});
return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${qDe}?${i}`;
}
-var QDe = (e, t, n, r) => H(XDe(e, t, n), r), $De = (e, t, n, r, i) => H(ZDe(e, t, n, r), i), eOe = "/api/index", XB = {
+var QDe = (e, t, n, r) => H(XDe(e, t, n), r), $De = (e, t, n, r, i) => H(ZDe(e, t, n, r), i), eOe = "/api/index", ZB = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
@@ -56585,7 +56618,7 @@ var QDe = (e, t, n, r) => H(XDe(e, t, n), r), $De = (e, t, n, r, i) => H(ZDe(e,
creators: "creator",
studios: "studio",
agencies: "agency"
-}, ZB = [
+}, QB = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -56595,31 +56628,31 @@ var QDe = (e, t, n, r) => H(XDe(e, t, n), r), $De = (e, t, n, r, i) => H(ZDe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], QB = [
+], $B = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], $B = {
+], eV = {
people: 120,
tags: 180
-}, eV = (e) => e !== "tags", tV = (e) => e === "studios" || e === "agencies";
-function nV(e) {
- if (e.kind === "creators" && e.category === "animation") return nV({
+}, tV = (e) => e !== "tags", nV = (e) => e === "studios" || e === "agencies";
+function rV(e) {
+ if (e.kind === "creators" && e.category === "animation") return rV({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? QB : ZB : e.kind === "performers" && t === "local" ? JB : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? $B : QB : e.kind === "performers" && t === "local" ? YB : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function rV(e) {
+function iV(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -56639,13 +56672,13 @@ function rV(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var iV = (e, t, n = "all") => [
+var aV = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function aV(e, t, n, r, i) {
+function oV(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
@@ -56653,21 +56686,21 @@ function aV(e, t, n, r, i) {
});
return t && a.set("q", t), n !== "all" && a.set("category", n), `${eOe}?${a}`;
}
-function oV(e) {
- let t = e.what === "people" || e.what === "online-authors" ? $B.people : $B.tags, n = {
+function sV(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? eV.people : eV.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: iV(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => H(aV(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: aV(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => H(oV(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: iV("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => H(aV("tags", e.q, e.category, t, n), r)
+ queryKey: aV("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => H(oV("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
@@ -56682,7 +56715,7 @@ function oV(e) {
}
}
async function nOe(e, t) {
- let n = oV(rV(nV(e)));
+ let n = sV(iV(rV(e)));
W.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -56696,7 +56729,7 @@ async function nOe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var rOe = (e) => e ? e.pages.flatMap((e) => e.items) : [], iOe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, sV = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", aOe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, oOe = {
+var rOe = (e) => e ? e.pages.flatMap((e) => e.items) : [], iOe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, cV = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", aOe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, oOe = {
numeric: !0,
sensitivity: "base"
};
@@ -56710,7 +56743,7 @@ function sOe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function cV({ html: e, face: t, company: n, big: r }) {
+function lV({ html: e, face: t, company: n, big: r }) {
let i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -56722,8 +56755,8 @@ function cV({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var cOe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", lOe = _P("rss");
-function lV({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var cOe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", lOe = vP("rss");
+function uV({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
...o,
@@ -56761,8 +56794,8 @@ function lV({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function uV({ kind: e, items: t, layout: n, props: r }) {
- let i = tV(e), a = n === "big";
+function dV({ kind: e, items: t, layout: n, props: r }) {
+ let i = nV(e), a = n === "big";
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -56770,7 +56803,7 @@ function uV({ kind: e, items: t, layout: n, props: r }) {
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = t.entity_kind || tOe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, C.jsx)(lV, {
+ return /* @__PURE__ */ (0, C.jsx)(uV, {
"data-k": t.k,
"data-kind": n,
name: t.k,
@@ -56778,7 +56811,7 @@ function uV({ kind: e, items: t, layout: n, props: r }) {
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, C.jsx)(cV, {
+ children: /* @__PURE__ */ (0, C.jsx)(lV, {
html: o.html,
face: o.face,
company: i,
@@ -56795,7 +56828,7 @@ function uOe({ items: e, layout: t, props: n }) {
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(lV, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(uV, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -56804,7 +56837,7 @@ function uOe({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, C.jsx)(cV, {
+ children: /* @__PURE__ */ (0, C.jsx)(lV, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -56814,8 +56847,8 @@ function uOe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-tooltip.ts
-var dV = (e) => e.replace(/\s+/g, " ").trim();
-function fV(e) {
+var fV = (e) => e.replace(/\s+/g, " ").trim();
+function pV(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -56823,12 +56856,12 @@ function fV(e) {
let t = document.createRange();
t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);
}
- return dV(n);
+ return fV(n);
}
-function pV(e) {
+function mV(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && fV(e) && !mV(e)) {
+ if (e.matches("a") && pV(e) && !hV(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -56841,7 +56874,7 @@ function pV(e) {
let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));
return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);
}
-function mV(e) {
+function hV(e) {
if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;
let t = document.createRange();
t.selectNodeContents(e);
@@ -56856,15 +56889,15 @@ function dOe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a = (t) => {
- let n = pV(t), r = e.getBoundingClientRect();
+ let n = mV(t), r = e.getBoundingClientRect();
n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);
}, o = () => {
clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;
}, s = (s, c) => {
if (!(s instanceof Element)) return;
let l = s.closest("[title]");
- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (fV(l) !== dV(n) || mV(l)) && (i = setTimeout(() => {
- t === l && l.isConnected && pV(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (pV(l) !== fV(n) || hV(l)) && (i = setTimeout(() => {
+ t === l && l.isConnected && mV(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
}, c)));
};
document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {
@@ -56873,30 +56906,30 @@ function dOe() {
e.key === "Escape" && o();
}), document.addEventListener("scroll", (n) => {
if (!t || !io(n, t)) return;
- let r = pV(t);
+ let r = mV(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();
}, !0), window.addEventListener("resize", o);
}
//#endregion
//#region src/board-controls.ts
-function hV(e) {
+function gV(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var gV = /* @__PURE__ */ new WeakSet();
+var _V = /* @__PURE__ */ new WeakSet();
function fOe() {
- if (gV.has(document)) return;
- gV.add(document);
+ if (_V.has(document)) return;
+ _V.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(hV), mOe(e), pOe(e);
+ e.querySelectorAll("input[type=range]").forEach(gV), mOe(e), pOe(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]") && hV(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && gV(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && hV(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && gV(e.target);
}), dOe();
}
function pOe(e) {
@@ -56923,7 +56956,7 @@ function pOe(e) {
r.observe(e);
});
}
-var _V = /* @__PURE__ */ new Map();
+var vV = /* @__PURE__ */ new Map();
function mOe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
@@ -56931,7 +56964,7 @@ function mOe(e) {
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = _V.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = vV.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -56940,7 +56973,7 @@ function mOe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- ws(t, r, a, "x"), r = a, _V.set(n, a);
+ ws(t, r, a, "x"), r = a, vV.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -56957,8 +56990,8 @@ function mOe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var vV = "/vendor/swiper/14.3.0/", yV = null, hOe = () => yV ??= Promise.all([new Promise((e, t) => {
- let n = `${vV}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var yV = "/vendor/swiper/14.3.0/", bV = null, hOe = () => bV ??= Promise.all([new Promise((e, t) => {
+ let n = `${yV}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -56972,9 +57005,9 @@ var vV = "/vendor/swiper/14.3.0/", yV = null, hOe = () => yV ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${vV}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${yV}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw yV = null, e;
+ throw bV = null, e;
});
function gOe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
@@ -56997,27 +57030,27 @@ function gOe(e, t, n) {
}
};
}
-var bV = (e) => {
+var xV = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : sn(t)).replace(" ", "\xA0") : "大小未知";
}, _Oe = (e) => e.asset?.name || e.name || "未命名图片";
function vOe(e, t) {
let n = e.asset;
- if (n) return [pn[n.location ?? ""] || n.location || "来源未知", bV(n.size)].join(" · ");
+ if (n) return [pn[n.location ?? ""] || n.location || "来源未知", xV(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? bV(e.size) : ""
+ e.size ? xV(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var xV = null, SV = null, yOe = 0;
+var SV = null, CV = null, yOe = 0;
function bOe() {
- return (!SV || !xV?.isConnected) && (SV?.unmount(), xV = document.createElement("div"), xV.className = "peach-react", xV.dataset.photoLightboxHost = "", document.body.append(xV), SV = (0, _t.createRoot)(xV)), SV;
+ return (!CV || !SV?.isConnected) && (CV?.unmount(), SV = document.createElement("div"), SV.className = "peach-react", SV.dataset.photoLightboxHost = "", document.body.append(SV), CV = (0, _t.createRoot)(SV)), CV;
}
-async function CV(e, t, n) {
+async function wV(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
@@ -57034,8 +57067,8 @@ async function CV(e, t, n) {
host: n ?? null
}, ++yOe)));
}
-function wV() {
- SV && (0, gt.flushSync)(() => SV.render(null));
+function TV() {
+ CV && (0, gt.flushSync)(() => CV.render(null));
}
function xOe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, S.useId)(), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), [_, v] = (0, S.useState)(t), [y, b] = (0, S.useState)(100), [x, w] = (0, S.useState)({}), [T, E] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, S.useState)(!1), [j, M] = (0, S.useState)({
@@ -57097,13 +57130,13 @@ function xOe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : wV());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : TV());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, S.useLayoutEffect)(() => {
- m.current && hV(m.current);
+ m.current && gV(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, F = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -57134,18 +57167,18 @@ function xOe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), wV();
+ e.preventDefault(), TV();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && wV();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && TV();
},
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: wV,
+ onClick: TV,
dangerouslySetInnerHTML: { __html: z("x") }
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -57332,31 +57365,31 @@ function SOe(e) {
props: e
}, e.photos.revision) : null;
}
-var TV = $B.people;
+var EV = eV.people;
function COe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, S.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, S.useState)(TV), s = (0, S.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, S.useCallback)(async () => {
- o((e) => e + TV);
+ }), [n, r]), [a, o] = (0, S.useState)(EV), s = (0, S.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, S.useCallback)(async () => {
+ o((e) => e + EV);
}, []);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(uV, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(dV, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, C.jsx)(DR, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, C.jsx)(OR, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
function wOe(e) {
- let t = FF(!e.items, e.skeletonHtml);
+ let t = IF(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, C.jsx)(ER, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, C.jsx)(DR, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -57383,15 +57416,15 @@ var TOe = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), EV = (e) => e.sample === !0, DV = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OV = (e) => EV(e) ? `/sample-thumb?${DV(e)}` : `/photo-thumb?id=${e.id}`, EOe = (e) => EV(e) ? {
- src: `/sample-image?${DV(e)}`,
- thumb: OV(e),
+})), DV = (e) => e.sample === !0, OV = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, kV = (e) => DV(e) ? `/sample-thumb?${OV(e)}` : `/photo-thumb?id=${e.id}`, EOe = (e) => DV(e) ? {
+ src: `/sample-image?${OV(e)}`,
+ thumb: kV(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: OV(e),
+ thumb: kV(e),
name: e.name || "",
asset: e
};
@@ -57401,7 +57434,7 @@ function DOe({ photos: e, props: t }) {
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, S.useCallback)((e) => {
- CV(e, o.map(EOe), { revealSource: i.revealSource });
+ wV(e, o.map(EOe), { revealSource: i.revealSource });
}, [i, o]), d = (e, t) => /* @__PURE__ */ (0, C.jsx)(OOe, {
item: e,
index: t,
@@ -57420,7 +57453,7 @@ function DOe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kV, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(AV, {
label: e.code,
title: e.name,
meta: [
@@ -57432,7 +57465,7 @@ function DOe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, C.jsx)(kV, {
+ m.length && e.total ? /* @__PURE__ */ (0, C.jsx)(AV, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -57441,14 +57474,14 @@ function DOe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, C.jsx)(DR, {
+ e.hasMore ? /* @__PURE__ */ (0, C.jsx)(OR, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function kV({ label: e, title: t, meta: n }) {
+function AV({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -57474,7 +57507,7 @@ function OOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, C.jsx)("img", {
- src: OV(e),
+ src: kV(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -57486,7 +57519,7 @@ function OOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
//#endregion
//#region src/react/follow-feed/follow-card.tsx
var kOe = (e) => Number(e) > 0;
-function AV({ name: e, actions: t, children: n, ...r }) {
+function jV({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, C.jsx)("a", {
...r,
href: Wt("creator", e),
@@ -57496,15 +57529,15 @@ function AV({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var jV = ({ provider: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var MV = ({ provider: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: fF(e) }
+ dangerouslySetInnerHTML: { __html: pF(e) }
});
function AOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(null);
return (0, S.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, C.jsx)(jV, { provider: i }) : /* @__PURE__ */ (0, C.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, C.jsx)(MV, { provider: i }) : /* @__PURE__ */ (0, C.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -57532,7 +57565,7 @@ function jOe(e) {
limit: 9
}), w = (0, S.useRef)(x.faces);
w.current = x.faces;
- let T = qF({
+ let T = JF({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -57540,7 +57573,7 @@ function jOe(e) {
E.current = T.onPointerLeave;
let D = (0, S.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = _F(u, n, i), k = pF(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = bF(u, i), N = yF(t, u), P = u.status === "saved", F = (e) => {
+ }, []), O = vF(u, n, i), k = mF(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = xF(u, i), N = bF(t, u), P = u.status === "saved", F = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, I = (e, t) => {
e.stopPropagation(), t();
@@ -57555,7 +57588,7 @@ function jOe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: F,
- onMouseDown: zF,
+ onMouseDown: BF,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -57577,7 +57610,7 @@ function jOe(e) {
provider: A,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, C.jsx)(jV, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, C.jsx)(MV, { provider: A }),
x.faces.length > 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -57597,7 +57630,7 @@ function jOe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: fF(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: pF(u.provider, u.provider_label) }
}), N ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: N }
@@ -57682,7 +57715,7 @@ function jOe(e) {
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, C.jsx)(AV, {
+ O.entityName ? /* @__PURE__ */ (0, C.jsx)(jV, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -57701,12 +57734,12 @@ function jOe(e) {
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: vF(t, u) + B(k) }
+ dangerouslySetInnerHTML: { __html: yF(t, u) + B(k) }
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, C.jsx)(AV, {
+ O.entityName ? /* @__PURE__ */ (0, C.jsx)(jV, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -57719,7 +57752,7 @@ function jOe(e) {
}),
/* @__PURE__ */ (0, C.jsx)("time", {
dateTime: u.published_at || "",
- title: SF(u),
+ title: CF(u),
children: xxe(u)
}),
O.credited ? /* @__PURE__ */ (0, C.jsx)("span", {
@@ -57755,7 +57788,7 @@ function jOe(e) {
]
});
}
-var MV = (0, S.memo)(jOe);
+var NV = (0, S.memo)(jOe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
function MOe(e, t) {
@@ -57794,10 +57827,10 @@ function MOe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var NV = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var PV = () => /* @__PURE__ */ (0, C.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), NOe = _P("settings"), PV = _P("chevron-down"), POe = _P("history"), FOe = [[
+}), NOe = vP("settings"), FV = vP("chevron-down"), POe = vP("history"), FOe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -57891,7 +57924,7 @@ function LOe(e) {
let h = zOe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, C.jsx)(FV, { onManage: i.openManage }), /* @__PURE__ */ (0, C.jsx)(IF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(IV, { onManage: i.openManage }), /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(o.error),
onRetry: () => void o.refetch()
})]
@@ -57904,7 +57937,7 @@ function LOe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, mF(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, hF(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -57922,7 +57955,7 @@ function LOe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, C.jsx)(FV, {
+ /* @__PURE__ */ (0, C.jsx)(IV, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, C.jsx)(K, {
variant: "primary",
@@ -57985,13 +58018,13 @@ function LOe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, C.jsxs)(DR, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, C.jsxs)(OR, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, C.jsx)(PV, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, C.jsx)(FV, { className: "size-3.5" }), "加载更多"]
}, o.data?.pages.length) : /* @__PURE__ */ (0, C.jsx)(ROe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Ft(o.error) : "",
@@ -58021,7 +58054,7 @@ function LOe(e) {
})
] });
}
-function FV({ onManage: e, children: t }) {
+function IV({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
@@ -58046,8 +58079,8 @@ function ROe({ busy: e, error: t, load: n }) {
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, C.jsx)(PV, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(FV, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: t,
onRetry: n
}) : null] });
@@ -58119,7 +58152,7 @@ function BOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
(0, S.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => mF(e.authorSources.get(t) || [], n);
+ let o = (t) => hF(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, C.jsx)("div", {
@@ -58127,14 +58160,14 @@ function BOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = hF(a), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = gF(a), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: gF(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: _F(a, o(n)) }
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, C.jsx)(AV, {
+ return s ? /* @__PURE__ */ (0, C.jsx)(jV, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -58173,12 +58206,12 @@ function VOe({ rows: e, pressed: t, props: n, onPick: r }) {
}) : null;
}
function HOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = yj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = yj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+ let { helpers: o, actions: s } = i, c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = bj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = bj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, S.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, C.jsx)(mj, {
+ return /* @__PURE__ */ (0, C.jsx)(hj, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -58230,7 +58263,7 @@ function HOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: z(i) }
}, e);
})
- }), /* @__PURE__ */ (0, C.jsx)(NV, {})] }) : null, /* @__PURE__ */ (0, C.jsxs)("div", {
+ }), /* @__PURE__ */ (0, C.jsx)(PV, {})] }) : null, /* @__PURE__ */ (0, C.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -58250,7 +58283,7 @@ function HOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, C.jsx)(NV, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, C.jsx)(PV, {}) : null]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -58263,10 +58296,10 @@ function HOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: fF(t, n) }
+ dangerouslySetInnerHTML: { __html: pF(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, C.jsx)(NV, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, C.jsxs)(hj, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, C.jsx)(PV, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, C.jsxs)(gj, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${ji(e.groups, n)}`,
@@ -58286,15 +58319,15 @@ function HOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-readout": "",
children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`
}),
- /* @__PURE__ */ (0, C.jsx)(AP, {
+ /* @__PURE__ */ (0, C.jsx)(jP, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(AF, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kF, {
+ /* @__PURE__ */ (0, C.jsx)(jF, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(AF, {
label: "图片布局",
value: i.photoLayout,
options: FOe,
@@ -58315,7 +58348,7 @@ function HOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
ni.map(([e, n]) => {
- let r = t.sort === e, i = _P(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = vP(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -58370,7 +58403,7 @@ function WOe({ count: e, onManage: t }) {
});
}
function GOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
- let { view: o, helpers: s } = i, c = o.media === "images", l = FF(e, () => s.listSkeletonHtml(o.media));
+ let { view: o, helpers: s } = i, c = o.media === "images", l = IF(e, () => s.listSkeletonHtml(o.media));
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": l.fading ? "" : void 0,
@@ -58385,23 +58418,23 @@ function GOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
});
}
function KOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
- let { view: o, actions: s } = r, c = LV(r), l = i ? {
+ let { view: o, actions: s } = r, c = RV(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, u = MOe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
return d = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, C.jsx)(MV, {
+ return /* @__PURE__ */ (0, C.jsx)(NV, {
group: t,
authorSources: l,
media: o.media,
retryKey: a,
context: n,
- selected: r.selected.has(IV(t, o)),
+ selected: r.selected.has(LV(t, o)),
selectMode: r.selectMode,
- busy: c.busy.get(IV(t, o)) || "",
- failure: c.failures.get(IV(t, o)) || "",
+ busy: c.busy.get(LV(t, o)) || "",
+ failure: c.failures.get(LV(t, o)) || "",
actions: s,
onStatus: c.status,
onSave: c.save
@@ -58417,7 +58450,7 @@ function KOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
children: d
});
}
-function IV(e, t) {
+function LV(e, t) {
return bi(e, t.media).id;
}
function qOe({ data: e, filtered: t }) {
@@ -58433,7 +58466,7 @@ var JOe = {
seen: "已标记已看",
ignored: "已忽略"
};
-function LV(e) {
+function RV(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, S.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, S.useState)(() => /* @__PURE__ */ new Map()), c = si(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -58503,8 +58536,8 @@ function LV(e) {
//#endregion
//#region src/react/entity-body/entity-online.tsx
function YOe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = FF(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = IF(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(t.error),
onRetry: () => {
t.refetch();
@@ -58519,7 +58552,7 @@ function YOe(e) {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, C.jsx)(DR, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, C.jsx)(OR, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -58530,7 +58563,7 @@ function YOe(e) {
});
}
function XOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = LV({
+ let l = RV({
view: e,
revision: 0,
actions: c
@@ -58548,7 +58581,7 @@ function XOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, p = r.length ? r.map((e) => {
let n = bi(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, C.jsx)(MV, {
+ return /* @__PURE__ */ (0, C.jsx)(NV, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -58577,7 +58610,7 @@ function ZOe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function RV(e) {
+function zV(e) {
return {
x0: 0,
y0: 0,
@@ -58585,7 +58618,7 @@ function RV(e) {
y1: e.height
};
}
-function zV(e) {
+function BV(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -58593,21 +58626,21 @@ function zV(e) {
y1: Math.round(e.y1)
};
}
-function BV(e) {
+function VV(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function VV(e, t) {
- if (!BV(e)) return {
+function HV(e, t) {
+ if (!VV(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return RV(e);
+ if (t == null || !(t > 0)) return zV(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return zV({
+ return BV({
x0: i,
y0: a,
x1: i + n,
@@ -58615,9 +58648,9 @@ function VV(e, t) {
});
}
function QOe(e, t) {
- if (!BV(e) || !(t > 0)) return RV(e);
+ if (!VV(e) || !(t > 0)) return zV(e);
let n = Math.min(e.width, e.height * t);
- return zV({
+ return BV({
x0: e.width - n,
y0: 0,
x1: e.width,
@@ -58625,8 +58658,8 @@ function QOe(e, t) {
});
}
function $Oe(e, t, n) {
- if (!BV(t) || !(n > 0)) return RV(t);
- let r = HV(e, t), i = VV({
+ if (!VV(t) || !(n > 0)) return zV(t);
+ let r = UV(e, t), i = HV({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -58637,8 +58670,8 @@ function $Oe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function HV(e, t, n = null, r = "width") {
- if (!BV(t)) return {
+function UV(e, t, n = null, r = "width") {
+ if (!VV(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -58647,26 +58680,26 @@ function HV(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return zV({
+ return BV({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function UV(e, t, n, r) {
+function WV(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return zV({
+ return BV({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function WV(e, t, n, r = null) {
- if (!BV(n) || !(t > 0)) return e;
+function GV(e, t, n, r = null) {
+ if (!VV(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return HV({
+ return UV({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
@@ -58680,10 +58713,10 @@ function eke(e, t, n, r, i = null) {
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return HV(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return UV(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
function tke(e, t) {
- return BV(t) ? {
+ return VV(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -58696,7 +58729,7 @@ function tke(e, t) {
};
}
function nke(e, t) {
- if (!BV(t)) return {
+ if (!VV(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -58715,7 +58748,7 @@ function rke(e, t) {
height: `${t.height / r * 100}%`
};
}
-function GV(e, t, n) {
+function KV(e, t, n) {
return t > 0 ? e * n / t : 0;
}
function ike(e, t) {
@@ -58723,8 +58756,8 @@ function ike(e, t) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var ake = .02, KV = 1.08;
-function qV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var ake = .02, qV = 1.08;
+function JV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, S.useRef)(null), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(null);
(0, S.useEffect)(() => {
u(!1);
@@ -58743,8 +58776,8 @@ function qV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: GV(e, n.clientWidth, r.width),
- dy: GV(t, n.clientHeight, r.height)
+ dx: KV(e, n.clientWidth, r.width),
+ dy: KV(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -58761,7 +58794,7 @@ function qV({ 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(UV(n.box, o.dx, o.dy, r)) : i(eke(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(WV(n.box, o.dx, o.dy, r)) : i(eke(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));
@@ -58774,9 +58807,9 @@ function qV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(UV(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(WV(n, e.key === "-" ? 1 / KV : KV, r, t)));
+ o[e.key] ? (e.preventDefault(), i(WV(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(GV(n, e.key === "-" ? 1 / qV : qV, r, t)));
}
- let v = n && r ? tke(HV(n, r, t), r) : null, y = v ? ike(v, d) : !1, b = v ? {
+ let v = n && r ? tke(UV(n, r, t), r) : null, y = v ? ike(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -58795,7 +58828,7 @@ function qV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- BV({
+ VV({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -58834,7 +58867,7 @@ function qV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(WV(n, e.deltaY > 0 ? KV : 1 / KV, r, t));
+ n && r && i(GV(n, e.deltaY > 0 ? qV : 1 / qV, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, C.jsx)("span", {
@@ -58857,13 +58890,13 @@ function qV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var oke = "/api/avatar-choices", JV = "/api/avatar-pick", ske = "/api/avatar-code-cover", YV = "/api/avatar-frame", cke = "/avatar-choice", XV = (e, t) => [
+var oke = "/api/avatar-choices", YV = "/api/avatar-pick", ske = "/api/avatar-code-cover", XV = "/api/avatar-frame", cke = "/avatar-choice", ZV = (e, t) => [
"avatar-choices",
e,
t
-], ZV = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, QV = (e, t, n, r = "") => `${cke}${ZV(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), $V = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", lke = (e, t, n) => H(oke + ZV(e, t), n), uke = (e) => U(ske, { code: e });
+], QV = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, $V = (e, t, n, r = "") => `${cke}${QV(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), eH = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", lke = (e, t, n) => H(oke + QV(e, t), n), uke = (e) => U(ske, { code: e });
async function dke(e, t, n) {
- let r = await U(YV, {
+ let r = await U(XV, {
kind: e,
id: t,
ref: n.ref
@@ -58876,12 +58909,12 @@ async function dke(e, t, n) {
bases: r.bases
};
}
-var fke = (e, t, n) => U(YV, {
+var fke = (e, t, n) => U(XV, {
kind: e,
id: t,
url: n
-}), pke = (e, t, n) => eH(`${YV}${ZV(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function eH(e, t) {
+}), pke = (e, t, n) => tH(`${XV}${QV(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function tH(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -58890,17 +58923,17 @@ async function eH(e, t) {
if (n.ok) return r;
throw new vn(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function tH(e, t, n) {
+function nH(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? $Oe(e.focus, t, n) : VV(t, n);
+ return e.focus && r ? $Oe(e.focus, t, n) : HV(t, n);
}
-var mke = (e) => e.crop && BV({
+var mke = (e) => e.crop && VV({
width: e.width,
height: e.height
});
async function hke(e, t, n) {
if (!("file" in n)) {
- await U(JV, {
+ await U(YV, {
kind: e,
id: t,
...n
@@ -58913,19 +58946,19 @@ async function hke(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await eH(`${JV}${ZV(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await tH(`${YV}${QV(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var nH = 2;
+var rH = 2;
function gke(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, nH).join("」「")}」`}${n.length > nH ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, rH).join("」「")}」`}${n.length > rH ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
var _ke = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
function vke(e) {
return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${_ke(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var rH = (e) => e.cast > 1, yke = (e) => rH(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, bke = {
+var iH = (e) => e.cast > 1, yke = (e) => iH(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, bke = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -58946,7 +58979,7 @@ function xke(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Ske = (e) => `${bke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (rH(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), Cke = 8, wke = 3 / 4;
+var Ske = (e) => `${bke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (iH(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), Cke = 8, wke = 3 / 4;
async function Tke(e, t, n) {
switch (n.via) {
case "choice": return { choice: await dke(e, t, n.choice) };
@@ -58973,7 +59006,7 @@ function Eke({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, C.jsx)(mP, {
+ }), /* @__PURE__ */ (0, C.jsx)(hP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
@@ -58988,13 +59021,13 @@ function Eke({ kind: e, entityId: t, name: n, onPicked: r }) {
})] });
}
function Dke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, S.useRef)(null), o = HP(), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(null), p = XV(e, t), m = (0, S.useRef)(!1), h = pt({
+ let a = (0, S.useRef)(null), o = UP(), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(null), p = ZV(e, t), m = (0, S.useRef)(!1), h = pt({
queryKey: p,
queryFn: ({ signal: n }) => lke(e, t, n),
retryOnMount: !0
});
(0, S.useEffect)(() => () => {
- m.current && W.removeQueries({ queryKey: XV(e, t) });
+ m.current && W.removeQueries({ queryKey: ZV(e, t) });
}, [e, t]);
let g = mt({
mutationFn: (n) => hke(e, t, n),
@@ -59024,13 +59057,13 @@ function Dke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, C.jsx)(hP, { children: /* @__PURE__ */ (0, C.jsx)(Tge, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, C.jsx)(gP, { children: /* @__PURE__ */ (0, C.jsx)(Tge, { className: "size-6" }) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Vj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
@@ -59112,7 +59145,7 @@ function Dke({ 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, C.jsx)(Oke, {
- src: QV(e, t, n.ref, $V(n, n.ref)),
+ src: $V(e, t, n.ref, eH(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -59127,7 +59160,7 @@ function Dke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- rH(n) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ iH(n) ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, C.jsxs)(mA, {
variant: "caption",
@@ -59151,7 +59184,7 @@ function Dke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -59186,7 +59219,7 @@ function Dke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -59217,7 +59250,7 @@ function Oke({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = mke(t) ? rke(tH(t, s, wke), s) : null, l = r || a ? !0 : void 0;
+ }, c = mke(t) ? rke(nH(t, s, wke), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -59252,7 +59285,7 @@ function kke(e) {
}, [e]), t;
}
function Ake({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, S.useState)(s[0]), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = $V(n, c), h = kke(r), g = r ? h : QV(e, t, c, m), _ = HP();
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, S.useState)(s[0]), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = eH(n, c), h = kke(r), g = r ? h : $V(e, t, c, m), _ = UP();
function v(e) {
l(e), d(null), p(null);
}
@@ -59260,14 +59293,14 @@ function Ake({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
ref: _,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [g ? /* @__PURE__ */ (0, C.jsx)(qV, {
+ children: [g ? /* @__PURE__ */ (0, C.jsx)(JV, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), BV(e) && p(c === n.ref ? tH(n, e, 1) : VV(e, 1));
+ d(e), VV(e) && p(c === n.ref ? nH(n, e, 1) : HV(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -59330,7 +59363,7 @@ function Ake({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function iH({ code: e, person: t, detail: n = !1 }) {
+function aH({ code: e, person: t, detail: n = !1 }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(n || typeof IntersectionObserver > "u");
(0, S.useEffect)(() => {
if (!r.current || i) return;
@@ -59364,8 +59397,8 @@ function iH({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function aH({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, S.useContext)(JP), o = (0, S.useRef)(null), [s, c] = (0, S.useState)([]), l = e?.items.length ? e.html : "";
+function oH({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, S.useContext)(YP), o = (0, S.useRef)(null), [s, c] = (0, S.useState)([]), l = e?.items.length ? e.html : "";
(0, S.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -59397,7 +59430,7 @@ function aH({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(iH, {
+ }), s.map((e, t) => (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(aH, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -59411,7 +59444,7 @@ var jke = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function oH({ name: e }) {
+function sH({ name: e }) {
let t = jke[e];
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
@@ -59422,20 +59455,20 @@ function oH({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function sH(e, t) {
+function cH(e, t) {
t.style.removeProperty("max-height");
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var cH = (e) => !!e?.isConnected && e.matches(":popover-open");
-function lH(e, t, n, r) {
+var lH = (e) => !!e?.isConnected && e.matches(":popover-open");
+function uH(e, t, n, r) {
let i = (0, S.useRef)(r);
i.current = r, (0, S.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && cH(n.current) ? sH(t.current, n.current) : i.current();
+ t.current && lH(n.current) ? cH(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -59449,17 +59482,17 @@ function lH(e, t, n, r) {
n
]);
}
-function uH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function dH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(!1), u = (0, S.useRef)(!1), d = (0, S.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, cH(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, lH(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !cH(s.current) && (s.current.showPopover(), sH(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !lH(s.current) && (s.current.showPopover(), cH(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return lH(c, o, s, f), (0, S.useEffect)(() => {
+ return uH(c, o, s, f), (0, S.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -59485,7 +59518,7 @@ function uH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && cH(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && lH(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -59505,14 +59538,14 @@ function uH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}
function Mke({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), [s, c] = (0, S.useState)(!1), l = (0, S.useRef)(!1), u = () => {
- cH(o.current) && o.current.hidePopover(), c(!1);
+ lH(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !cH(o.current) && (o.current.showPopover(), sH(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !lH(o.current) && (o.current.showPopover(), cH(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return lH(s, i, o, () => c(!1)), (0, S.useEffect)(() => {
- i.current && cH(o.current) && sH(i.current, o.current);
+ return uH(s, i, o, () => c(!1)), (0, S.useEffect)(() => {
+ i.current && lH(o.current) && cH(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, C.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -59521,7 +59554,7 @@ function Mke({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, C.jsx)(oH, { name: "rss" }),
+ /* @__PURE__ */ (0, C.jsx)(sH, { name: "rss" }),
/* @__PURE__ */ (0, C.jsx)("input", {
ref: a,
type: "checkbox",
@@ -59563,22 +59596,22 @@ function Nke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
}, []), /* @__PURE__ */ (0, C.jsxs)(sye, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, C.jsx)(Rj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(zj, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, C.jsx)(oH, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ children: /* @__PURE__ */ (0, C.jsx)(sH, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: PP,
+ className: FP,
"data-namepick-menu": "",
children: /* @__PURE__ */ (0, C.jsxs)(lye, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(pN, {
+ /* @__PURE__ */ (0, C.jsx)(mN, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -59586,31 +59619,31 @@ function Nke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, C.jsxs)(hN, {
+ children: t.map((e) => /* @__PURE__ */ (0, C.jsxs)(gN, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "check" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "check" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, C.jsx)(Wve, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, C.jsx)(pN, { children: /* @__PURE__ */ (0, C.jsxs)(hN, {
+ /* @__PURE__ */ (0, C.jsx)(mN, { children: /* @__PURE__ */ (0, C.jsxs)(gN, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "plus" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "plus" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Pke = (e) => e === "studio" || e === "agency", dH = (e) => e === "performer" || e === "creator", Fke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+var Pke = (e) => e === "studio" || e === "agency", fH = (e) => e === "performer" || e === "creator", Fke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
function Ike(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function fH(e) {
+function pH(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -59622,13 +59655,13 @@ function fH(e) {
linked: !1
} : null;
}
-function pH(e, t) {
+function mH(e, t) {
let n = nn(e, "performer"), r = $t(t);
return r && [e.label, n].map($t).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var mH = (e) => ({ site: Yt(e) });
+var hH = (e) => ({ site: Yt(e) });
function Lke(e, t) {
- let n = fH(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+ let n = pH(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -59638,7 +59671,7 @@ function Lke(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${pH(e, n)} · ${t}`
+ title: `${mH(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -59646,11 +59679,11 @@ function Lke(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (dH(t) && e.link_kind !== "social") return {
+ if (fH(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: pH(e, n),
- mark: mH(e)
+ title: mH(e, n),
+ mark: hH(e)
};
if (e.link_kind === "social") {
let t = Qt(r);
@@ -59658,7 +59691,7 @@ function Lke(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : mH(e)
+ mark: t ? { brand: t } : hH(e)
};
}
return {
@@ -59666,7 +59699,7 @@ function Lke(e, t) {
url: r,
title: e.label || "",
text: nn(e, t, i),
- mark: mH(e)
+ mark: hH(e)
};
});
return [...r, ...Rke(a)];
@@ -59679,7 +59712,7 @@ function Rke(e) {
sources: t.map((e) => e.label)
}];
}
-var hH = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+var gH = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
function zke(e) {
return [
[
@@ -59793,7 +59826,7 @@ function Bke(e) {
tags: e.tags
}), t;
}
-function gH(e, t = 4) {
+function _H(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
@@ -59823,7 +59856,7 @@ function Hke(e) {
});
}
function Uke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = dH(e), c = Pke(e), l = s ? Bke(n.profile) : c ? zke(n.company_profile) : [], u = Lke(n, e), d = hH(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, S.useRef)(null), m = (0, S.useRef)(null);
+ let s = fH(e), c = Pke(e), l = s ? Bke(n.profile) : c ? zke(n.company_profile) : [], u = Lke(n, e), d = gH(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, S.useRef)(null), m = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, S.useEffect)(() => {
@@ -59865,7 +59898,7 @@ function Uke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, C.jsx)(kP, { item: {
+ n.id ? /* @__PURE__ */ (0, C.jsx)(AP, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -59941,7 +59974,7 @@ function Uke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(aH, {
+ }), i ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(oH, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
@@ -59958,7 +59991,7 @@ function Wke({ kind: e, name: t, helpers: n, people: r, company: i }) {
});
}
function Gke({ kind: e, entity: t, actions: n }) {
- let r = fH(t), i = (e, t) => (r) => {
+ let r = pH(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, C.jsx)("a", {
href: Wt("agency", r.name, r.id),
@@ -59971,11 +60004,11 @@ function Gke({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, C.jsx)(_H, { entity: t }),
+ /* @__PURE__ */ (0, C.jsx)(vH, { entity: t }),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "film" }), /* @__PURE__ */ (0, C.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "film" }), /* @__PURE__ */ (0, C.jsx)("span", { children: o })]
}),
t.follow?.key ? /* @__PURE__ */ (0, C.jsx)(qke, {
follow: t.follow,
@@ -59984,24 +60017,24 @@ function Gke({ kind: e, entity: t, actions: n }) {
a ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, C.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, C.jsx)(oH, { name: "id-card" }),
+ /* @__PURE__ */ (0, C.jsx)(sH, { name: "id-card" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, C.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, C.jsx)(uH, {
+ e.rest > 0 ? /* @__PURE__ */ (0, C.jsx)(dH, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, C.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, C.jsx)(vH, {
+ children: /* @__PURE__ */ (0, C.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, C.jsx)(yH, {
label: e.label,
names: e.names
}, t)) })
@@ -60023,21 +60056,21 @@ function Gke({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, C.jsx)(_H, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, C.jsx)(vH, { entity: t }) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "film" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "film" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "clapperboard" }), /* @__PURE__ */ (0, C.jsx)("a", {
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "clapperboard" }), /* @__PURE__ */ (0, C.jsx)("a", {
href: Wt("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
@@ -60049,24 +60082,24 @@ function Gke({ kind: e, entity: t, actions: n }) {
});
}
function Kke({ aliases: e }) {
- let { shown: t, rest: n } = gH(e, 3);
+ let { shown: t, rest: n } = _H(e, 3);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(oH, { name: "id-card" }),
+ /* @__PURE__ */ (0, C.jsx)(sH, { name: "id-card" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, C.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, C.jsx)(uH, {
+ n ? /* @__PURE__ */ (0, C.jsx)(dH, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, C.jsx)("dl", { children: /* @__PURE__ */ (0, C.jsx)(vH, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, C.jsx)("dl", { children: /* @__PURE__ */ (0, C.jsx)(yH, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
@@ -60077,7 +60110,7 @@ function qke({ follow: e, actions: t }) {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "rss" }), /* @__PURE__ */ (0, C.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "rss" }), /* @__PURE__ */ (0, C.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -60120,14 +60153,14 @@ function Jke({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function _H({ entity: e }) {
+function vH({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function vH({ label: e, names: t }) {
+function yH({ label: e, names: t }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, C.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -60137,19 +60170,19 @@ function vH({ label: e, names: t }) {
})] });
}
function Yke({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("dt", { children: [/* @__PURE__ */ (0, C.jsx)(oH, { name: e }), t] }), /* @__PURE__ */ (0, C.jsx)("dd", {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("dt", { children: [/* @__PURE__ */ (0, C.jsx)(sH, { name: e }), t] }), /* @__PURE__ */ (0, C.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
function Xke({ tags: e }) {
- let { shown: t, rest: n } = gH(e);
+ let { shown: t, rest: n } = _H(e);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, C.jsx)(uH, {
+ }, e)), n ? /* @__PURE__ */ (0, C.jsx)(dH, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -60165,10 +60198,10 @@ function Xke({ tags: e }) {
})
}) : null] });
}
-function yH({ mark: e }) {
+function bH({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, C.jsx)(oH, { name: e.brand })
+ children: /* @__PURE__ */ (0, C.jsx)(sH, { name: e.brand })
});
let t = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, C.jsx)("span", {
@@ -60185,19 +60218,19 @@ function Zke({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, C.jsx)(yH, { mark: e.mark })
+ children: /* @__PURE__ */ (0, C.jsx)(bH, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, C.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, C.jsx)(yH, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, C.jsx)(bH, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, C.jsx)(yH, { mark: { globe: !0 } }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(bH, { mark: { globe: !0 } }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -60208,7 +60241,7 @@ function Zke({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, C.jsx)(yH, { mark: e.mark }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(bH, { mark: e.mark }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-label": "",
children: e.text
})]
@@ -60233,14 +60266,14 @@ function Qke({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entry-marks": "",
- children: [hH(e).map((e, t) => /* @__PURE__ */ (0, C.jsxs)("a", {
+ children: [gH(e).map((e, t) => /* @__PURE__ */ (0, C.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(oH, { name: e.mark }) : /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(sH, { name: e.mark }) : /* @__PURE__ */ (0, C.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, C.jsx)("span", {
@@ -60358,7 +60391,7 @@ function eAe(e, t, n) {
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
function tAe(e) {
- let { kind: t, name: n } = e, r = pt(GB(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+ let { kind: t, name: n } = e, r = pt(KB(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -60376,7 +60409,7 @@ function tAe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ ]), r.isError ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: V(r.error),
onRetry: () => {
r.refetch();
@@ -60386,7 +60419,7 @@ function tAe(e) {
entity: r.data
});
}
-function bH(e) {
+function xH(e) {
let [t, n] = (0, S.useState)({
key: e,
n: 1
@@ -60403,17 +60436,17 @@ function rAe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
function iAe(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 = ht(KB(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 || qB(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+ 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 = ht(qB(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 || JB(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
- } : RB, [y, b] = (0, S.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, S.useState)(x);
+ } : zB, [y, b] = (0, S.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, S.useState)(x);
w !== x && (T(x), b("videos"));
let E = l && y === "people" && u.length ? "people" : v.media, D = eAe(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, S.useState)(0), j = WB(e), M = pt(j), N = bH(JSON.stringify([j.queryKey, k])), [P] = (0, S.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, S.useState)(0), j = GB(e), M = pt(j), N = xH(JSON.stringify([j.queryKey, k])), [P] = (0, S.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, S.useLayoutEffect)(() => {
s.javContext(P);
}, [s, P]);
@@ -60423,26 +60456,26 @@ function iAe(e) {
}, [e.layout, P]), I = {
jav: e.jav,
seed: e.seed
- }, ee = (0, S.useCallback)((e, r, a) => UB(t, n, i, I, e, r, a), [N]), [L, te] = (0, S.useState)({}), ne = v.set, re = L[ne] || "", ie = ht({
- ...KB(t, n, ne, re),
+ }, ee = (0, S.useCallback)((e, r, a) => WB(t, n, i, I, e, r, a), [N]), [L, te] = (0, S.useState)({}), ne = v.set, re = L[ne] || "", ie = ht({
+ ...qB(t, n, ne, re),
enabled: E === "photos"
- }), ae = ie.data?.pages[0], oe = bH(JSON.stringify(BB(t, n, ne, re))), se = (0, S.useMemo)(() => {
+ }), ae = ie.data?.pages[0], oe = xH(JSON.stringify(VB(t, n, ne, re))), se = (0, S.useMemo)(() => {
let e = ie.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: oe,
- codeSets: t.id ? [] : qB(t),
+ codeSets: t.id ? [] : JB(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ie.data, oe]), ce = ie.refetch, le = ie.fetchNextPage, ue = pt({
- ...FB(d, o.feedRowHtml),
+ ...IB(d, o.feedRowHtml),
enabled: !!d
}), de = (0, S.useRef)(e.feedRevision);
(0, S.useEffect)(() => {
- de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: PB(d) }));
+ de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: FB(d) }));
}, [d, e.feedRevision]);
let fe = !!M.data;
(0, S.useEffect)(() => {
@@ -60461,7 +60494,7 @@ function iAe(e) {
pe.current = !1;
}, []);
let me = (0, S.useCallback)(async () => {
- await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: zB(t, n) }), await W.invalidateQueries({ queryKey: [
+ await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: BB(t, n) }), await W.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -60495,7 +60528,7 @@ function iAe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => W.setQueryData(zB(t, n), (e) => e && {
+ onSuccess: (e, r) => W.setQueryData(BB(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -60549,10 +60582,10 @@ function iAe(e) {
let e = await It("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- pe.current && await W.invalidateQueries({ queryKey: PB(d) });
+ pe.current && await W.invalidateQueries({ queryKey: FB(d) });
})();
},
- feedAction: IB,
+ feedAction: LB,
avatarPicked: () => {
s.avatarChanged(), me().then(() => {
pe.current && A((e) => e + 1);
@@ -60600,19 +60633,19 @@ function iAe(e) {
(e !== E || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : RB));
+ } : zB));
},
setState: (e) => s.route({
...i,
state: e
- }, RB),
+ }, zB),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = WB({
+ let r = s.reshuffleVideos(), a = GB({
kind: t,
name: n,
filters: {
@@ -60626,7 +60659,7 @@ function iAe(e) {
await W.fetchQuery(a).catch(() => null);
return;
}
- let r = nAe(), a = await W.fetchInfiniteQuery(KB(t, n, ne, r)).catch(() => null);
+ let r = nAe(), a = await W.fetchInfiniteQuery(qB(t, n, ne, r)).catch(() => null);
pe.current && a?.pages[0] && !a.pages[0].error && te((e) => ({
...e,
[ne]: r
@@ -60696,14 +60729,14 @@ function iAe(e) {
creator: "",
studio: "",
owner: ""
- }, RB), Me = "", Ne = !1;
+ }, zB), Me = "", Ne = !1;
if (E === "people") Me = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Ne = D.busy, Me = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Ne = !M.data;
- let e = VB(i.tag).length;
+ let e = HB(i.tag).length;
Me = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : rAe(ae, qB(ae).length) : Ne = ie.isPending;
+ } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : rAe(ae, JB(ae).length) : Ne = ie.isPending;
let Pe = (0, S.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -60760,7 +60793,7 @@ function iAe(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: V(M.error),
onRetry: () => {
M.refetch();
@@ -60801,7 +60834,7 @@ function iAe(e) {
}
function aAe({ filtered: e, onShowAll: t }) {
return e ? /* @__PURE__ */ (0, C.jsx)(vA, {
- icon: _P("search"),
+ icon: vP("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
@@ -60810,14 +60843,14 @@ function aAe({ filtered: e, onShowAll: t }) {
}),
children: "清除筛选后查看名下全部视频。"
}) : /* @__PURE__ */ (0, C.jsx)(vA, {
- icon: _P("film"),
+ icon: vP("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function xH({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function SH({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, C.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
@@ -60844,25 +60877,25 @@ function xH({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var oAe = _P("play"), sAe = _P("file-stack"), cAe = _A({
+var oAe = vP("play"), sAe = vP("file-stack"), cAe = _A({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), SH = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", CH = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", wH = "font-mono text-caption-1-regular leading-5 text-text-secondary", TH = () => {
+}), CH = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", wH = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", TH = "font-mono text-caption-1-regular leading-5 text-text-secondary", EH = () => {
W.invalidateQueries({
- queryKey: AR,
+ queryKey: jR,
exact: !0
}), W.invalidateQueries({
- queryKey: Uz,
+ queryKey: Wz,
exact: !0
});
};
function lAe(e) {
return e.identical ? /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${CH} text-(--keep)`,
+ className: `${wH} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${CH} text-text-secondary`,
+ className: `${wH} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
@@ -60900,16 +60933,16 @@ function uAe({ file: e, prefix: t, openItem: n }) {
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, C.jsx)("i", {
- className: `${SH} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${CH} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, C.jsx)("i", {
- className: `${SH} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${CH} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
- className: `${wH} flex min-w-0 items-center gap-1.5`,
+ className: `${TH} flex min-w-0 items-center gap-1.5`,
children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: uo[e.location] || "database" }), /* @__PURE__ */ (0, C.jsx)("span", {
title: i,
className: "min-w-0 truncate",
@@ -60917,15 +60950,15 @@ function uAe({ file: e, prefix: t, openItem: n }) {
})]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: wH,
+ className: TH,
children: sn(e.size || 0)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: wH,
+ className: TH,
children: an(e.duration)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: `${wH} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${TH} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
@@ -60933,21 +60966,21 @@ function uAe({ file: e, prefix: t, openItem: n }) {
}
function dAe({ openItem: e, toast: t, failure: n }) {
let r = pt({
- queryKey: AR,
- queryFn: ({ signal: e }) => MR(e)
+ queryKey: jR,
+ queryFn: ({ signal: e }) => NR(e)
}), i = pt({
queryKey: kn,
queryFn: ({ signal: e }) => An(e)
}), [a, o] = (0, S.useState)(""), s = mt({
- mutationFn: (e) => FR(e, "dispose"),
+ mutationFn: (e) => IR(e, "dispose"),
onSuccess: (e, r) => {
- TH(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ EH(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await FR(r, "restore");
+ await IR(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- TH();
+ EH();
}
} });
},
@@ -60966,7 +60999,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
let r = yTe(e, t);
r.length && Vs({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${NR[t] ?? NR.largest}。文件共 ${sn(bTe(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${PR[t] ?? PR.largest}。文件共 ${sn(bTe(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -60974,7 +61007,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(xH, {
+ /* @__PURE__ */ (0, C.jsx)(SH, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${sn(c.reclaimable)}`
@@ -60982,7 +61015,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
l.length ? /* @__PURE__ */ (0, C.jsxs)(Tve, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, C.jsx)(gj, {
+ /* @__PURE__ */ (0, C.jsx)(_j, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -60991,7 +61024,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, C.jsx)(gj, {
+ /* @__PURE__ */ (0, C.jsx)(_j, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -61000,7 +61033,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- vTe(l, u).map((e) => /* @__PURE__ */ (0, C.jsx)(gj, {
+ vTe(l, u).map((e) => /* @__PURE__ */ (0, C.jsx)(_j, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
@@ -61040,7 +61073,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
}),
lAe(t),
t.cross_drive ? /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${CH} text-text-secondary`,
+ className: `${wH} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -61068,7 +61101,7 @@ function dAe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- PR(t.files, u).map((e) => /* @__PURE__ */ (0, C.jsx)(K, {
+ FR(t.files, u).map((e) => /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -61116,17 +61149,17 @@ function dAe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var EH = ["diagnostics"], DH = (e) => H("/api/diagnostics", e);
+var DH = ["diagnostics"], OH = (e) => H("/api/diagnostics", e);
async function fAe(e) {
await W.fetchQuery({
- queryKey: EH,
- queryFn: () => DH(e),
+ queryKey: DH,
+ queryFn: () => OH(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var OH = {
+var kH = {
ok: "正常",
warning: "需检查",
failed: "需处理",
@@ -61147,8 +61180,8 @@ var OH = {
"version"
]],
["后台任务", ["tasks"]]
-], kH = (e) => new Date(e).toLocaleString();
-function AH() {
+], AH = (e) => new Date(e).toLocaleString();
+function jH() {
let e = CA();
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col items-end gap-2",
@@ -61173,7 +61206,7 @@ function AH() {
}) : null]
});
}
-function jH({ name: e, check: t, navigate: n, configure: r }) {
+function MH({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -61185,7 +61218,7 @@ function jH({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: OH[t.status] ?? "未取得"
+ children: kH[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, C.jsx)("p", {
@@ -61206,7 +61239,7 @@ function jH({ name: e, check: t, navigate: n, configure: r }) {
});
}
function hAe({ group: e, openItem: t, receipt: n }) {
- let r = CA(), i = HP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ let r = CA(), i = UP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
return /* @__PURE__ */ (0, C.jsx)(zA, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, C.jsx)(q, {
@@ -61257,8 +61290,8 @@ function hAe({ group: e, openItem: t, receipt: n }) {
}
function gAe(e) {
let t = pt({
- queryKey: EH,
- queryFn: ({ signal: e }) => DH(e),
+ queryKey: DH,
+ queryFn: ({ signal: e }) => OH(e),
staleTime: 1e4
}), n = CA(), [r, i] = (0, S.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
@@ -61267,7 +61300,7 @@ function gAe(e) {
}, () => i(""), (e) => i(V(e))), o = t.data;
if (!o) return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "ui-configpage",
- children: [/* @__PURE__ */ (0, C.jsx)(AH, {}), /* @__PURE__ */ (0, C.jsx)(q, {
+ children: [/* @__PURE__ */ (0, C.jsx)(jH, {}), /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "诊断读取失败",
action: /* @__PURE__ */ (0, C.jsx)(K, {
@@ -61293,7 +61326,7 @@ function gAe(e) {
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap justify-end gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(AH, {}), /* @__PURE__ */ (0, C.jsx)(K, {
+ children: [/* @__PURE__ */ (0, C.jsx)(jH, {}), /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
onClick: a,
...J(n.busy === "refresh"),
@@ -61306,7 +61339,7 @@ function gAe(e) {
}) : null,
s.length ? /* @__PURE__ */ (0, C.jsx)(kA, {
title: `需要关注 · ${s.length} 项`,
- children: s.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(jH, {
+ children: s.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(MH, {
name: t,
check: n,
...e
@@ -61316,7 +61349,7 @@ function gAe(e) {
title: "库健康",
children: /* @__PURE__ */ (0, C.jsxs)(jA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, C.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", kH(o.library.issue_at)]
+ children: ["处理记录 · ", AH(o.library.issue_at)]
}) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(hAe, {
group: n,
...e
@@ -61331,7 +61364,7 @@ function gAe(e) {
return r.length ? /* @__PURE__ */ (0, C.jsxs)("div", { children: [/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-medium text-text-secondary",
children: t
- }), r.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(jH, {
+ }), r.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(MH, {
name: t,
check: n,
...e
@@ -61349,7 +61382,7 @@ function gAe(e) {
children: [
e.label,
" · ",
- OH[e.status] ?? "未取得"
+ kH[e.status] ?? "未取得"
]
}),
/* @__PURE__ */ (0, C.jsx)(ij, {
@@ -61359,15 +61392,15 @@ function gAe(e) {
/* @__PURE__ */ (0, C.jsxs)(LA, { children: [
/* @__PURE__ */ (0, C.jsx)(RA, {
term: "上次解析成功",
- children: e.last_success_at ? kH(e.last_success_at) : "未取得"
+ children: e.last_success_at ? AH(e.last_success_at) : "未取得"
}),
e.last_check_at ? /* @__PURE__ */ (0, C.jsxs)(RA, {
term: "上次检查",
- children: [kH(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ children: [AH(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
/* @__PURE__ */ (0, C.jsx)(RA, {
term: "冷却截止",
- children: e.cooldown_until ? kH(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? AH(e.cooldown_until) : "未在冷却"
})
] })
]
@@ -61384,20 +61417,20 @@ function gAe(e) {
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
function _Ae({ host: e, revision: t, helpers: n, actions: r }) {
- let i = pt(FB(null, n.feedRowHtml)), a = (0, S.useRef)(t);
+ let i = pt(IB(null, n.feedRowHtml)), a = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
- a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: PB(null) }));
- }, [t]), (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(aH, {
+ a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: FB(null) }));
+ }, [t]), (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(oH, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: IB,
+ act: LB,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function MH({ provider: e, label: t }) {
+function NH({ provider: e, label: t }) {
let n = Qr(e), [r, i] = (0, S.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: t }) : null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("img", {
src: n,
@@ -61407,9 +61440,9 @@ function MH({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, C.jsx)(yx, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, C.jsx)(vx, { children: t }) : null] });
}
-function NH({ group: e, name: t }) {
+function PH({ group: e, name: t }) {
let { src: n, fallback: r } = mr(e), [i, a] = (0, S.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, C.jsx)("img", {
src: o,
@@ -61426,7 +61459,7 @@ function NH({ group: e, name: t }) {
children: pr(t)
});
}
-function PH({ source: e }) {
+function FH({ source: e }) {
let t = ar(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, C.jsx)(mA, {
variant: "caption",
@@ -61434,7 +61467,7 @@ function PH({ source: e }) {
children: ir(e)
});
}
-function FH({ source: e }) {
+function IH({ source: e }) {
return /* @__PURE__ */ (0, C.jsx)("a", {
href: e.url,
target: "_blank",
@@ -61444,7 +61477,7 @@ function FH({ source: e }) {
children: e.label
});
}
-function IH({ text: e, prefix: t = "", tone: n = "error" }) {
+function LH({ text: e, prefix: t = "", tone: n = "error" }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = sr(e);
(0, S.useLayoutEffect)(() => {
let e = r.current;
@@ -61475,11 +61508,11 @@ function IH({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var LH = dA(FP, IP, "text-body-2-medium"), vAe = "粘贴来源链接,或输入创作者名、id…", yAe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", bAe = "识别中…", xAe = "站内没有查到来源", RH = (e, t) => `${e}:${t.url}`;
+var RH = dA(IP, LP, "text-body-2-medium"), vAe = "粘贴来源链接,或输入创作者名、id…", yAe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", bAe = "识别中…", xAe = "站内没有查到来源", zH = (e, t) => `${e}:${t.url}`;
function SAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, S.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, C.jsxs)(aN, {
+ }, [t, r]), /* @__PURE__ */ (0, C.jsxs)(oN, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -61491,7 +61524,7 @@ function SAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: dA(PP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: dA(FP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, C.jsx)(yA, { label: "正在查找建议" })
@@ -61501,7 +61534,7 @@ function SAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? dA(LH, "bg-background-secondary-default") : LH,
+ className: t === r ? dA(RH, "bg-background-secondary-default") : RH,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -61535,14 +61568,14 @@ function CAe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: PP,
- children: /* @__PURE__ */ (0, C.jsxs)(vN, {
+ className: FP,
+ children: /* @__PURE__ */ (0, C.jsxs)(yN, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -61562,12 +61595,12 @@ function CAe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(VP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(MH, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, C.jsx)(NH, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, C.jsx)(K, {
variant: "ghost",
@@ -61602,15 +61635,15 @@ function wAe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = RH(t, e);
- return /* @__PURE__ */ (0, C.jsx)(VP, {
+ let n = zH(t, e);
+ return /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(MH, { provider: e.provider }),
+ /* @__PURE__ */ (0, C.jsx)(NH, { provider: e.provider }),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -61661,7 +61694,7 @@ function TAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = hB({
+ }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = gB({
queryKey: qn,
queryFn: ({ signal: e }) => Tr(e),
start: (e) => Or([e]),
@@ -61693,7 +61726,7 @@ function TAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ae = F?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !x.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: RH(t, e)
+ key: zH(t, e)
})).filter((e) => !T.has(e.key))), se = mt({
mutationFn: async (e) => {
let t = [], n = [];
@@ -61743,7 +61776,7 @@ function TAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !b.current?.contains(t) && m(!1);
},
- children: [/* @__PURE__ */ (0, C.jsx)(pP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "来源链接、名字或 id",
placeholder: vAe,
value: a,
@@ -61786,7 +61819,7 @@ function TAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [P || I.isPending ? /* @__PURE__ */ (0, C.jsx)(dB, {
+ children: [P || I.isPending ? /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? yAe : bAe),
value: N?.checked,
@@ -61856,21 +61889,21 @@ function TAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var EAe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, zH = EL({
- rowSelectionFeature: rR,
- rowSortingFeature: gR,
- rowPaginationFeature: IL,
- sortedRowModel: vR(),
- paginatedRowModel: _R()
-}), DAe = zH, OAe = (e) => e.alias;
+var EAe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, BH = DL({
+ rowSelectionFeature: iR,
+ rowSortingFeature: _R,
+ rowPaginationFeature: LL,
+ sortedRowModel: yR(),
+ paginatedRowModel: vR()
+}), DAe = BH, OAe = (e) => e.alias;
function kAe(e, t, n) {
let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function BH({ sources: e, name: t, canonicalKey: n }) {
+function VH({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(NH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(PH, {
group: kAe(e, t, n),
name: t
}), /* @__PURE__ */ (0, C.jsx)("b", {
@@ -61880,7 +61913,7 @@ function BH({ sources: e, name: t, canonicalKey: n }) {
});
}
function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, S.useState)({}), [s, c] = (0, S.useState)({}), l = vB(() => o({})), u = vB(() => c({})), [d, f] = (0, S.useState)([]), [p, m] = (0, S.useState)([]), [h, g] = (0, S.useState)({
+ let [a, o] = (0, S.useState)({}), [s, c] = (0, S.useState)({}), l = yB(() => o({})), u = yB(() => c({})), [d, f] = (0, S.useState)([]), [p, m] = (0, S.useState)([]), [h, g] = (0, S.useState)({
pageIndex: 0,
pageSize: 20
}), [_, v] = (0, S.useState)({
@@ -61962,18 +61995,18 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
remove: N
};
let F = (0, S.useMemo)(() => {
- let e = TL();
+ let e = EL();
return e.columns([
e.display({
id: "select",
- header: (e) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ header: (e) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
isSelected: e.table.getIsAllRowsSelected(),
isIndeterminate: e.table.getSelectedRowModel().rows.length > 0 && !e.table.getIsAllRowsSelected(),
"aria-label": "全选待合并别名",
onChange: (t) => e.table.toggleAllRowsSelected(t)
}),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
isSelected: e.row.getIsSelected(),
"aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,
@@ -61982,7 +62015,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
e.accessor("canonical", {
header: "规范创作者",
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(BH, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(VH, {
sources: P.current.sources,
name: e.getValue()
})
@@ -62012,18 +62045,18 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
})
]);
}, []), I = (0, S.useMemo)(() => {
- let e = TL();
+ let e = EL();
return e.columns([
e.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
"aria-label": "全选已保存别名",
isSelected: e.getIsAllRowsSelected(),
isIndeterminate: e.getIsSomeRowsSelected(),
onChange: (t) => e.toggleAllRowsSelected(t)
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
"aria-label": `选择已保存别名 ${e.original.canonical_name}`,
isSelected: e.getIsSelected(),
@@ -62033,7 +62066,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e.accessor("canonical_name", {
id: "canonical",
header: "规范创作者",
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(BH, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(VH, {
sources: P.current.sources,
name: e.getValue(),
canonicalKey: e.row.original.canonical_key
@@ -62060,8 +62093,8 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
})
})
]);
- }, []), ee = yR({
- features: zH,
+ }, []), ee = bR({
+ features: BH,
data: t,
columns: F,
getRowId: OAe,
@@ -62081,7 +62114,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
},
onPaginationChange: g,
enableRowSelection: !0
- }), L = yR({
+ }), L = bR({
features: DAe,
data: e,
columns: I,
@@ -62118,7 +62151,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "手动添加别名" }), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: T,
@@ -62126,7 +62159,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: D,
@@ -62167,7 +62200,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onClick: () => M(t, !0),
children: `全部合并(${t.length})`
}),
- /* @__PURE__ */ (0, C.jsx)(CR, {
+ /* @__PURE__ */ (0, C.jsx)(wR, {
label: "待合并创作者别名",
sorting: d,
options: [
@@ -62211,9 +62244,9 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(xR, {
+ /* @__PURE__ */ (0, C.jsx)(SR, {
follow: !0,
- children: /* @__PURE__ */ (0, C.jsxs)(bR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xR, {
"aria-label": "待合并创作者别名",
size: "sm",
sortDescriptor: d[0] ? {
@@ -62221,26 +62254,26 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
direction: d[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => ee.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(UN, { children: ee.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(WN, { children: ee.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(GN, {
id: e.id,
isRowHeader: e.column.id === "alias",
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [NI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [PI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(jP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(MP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(KN, { children: ee.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(YN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(qN, { children: ee.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(XN, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ZN, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(QN, { children: PI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}),
- /* @__PURE__ */ (0, C.jsx)(wR, {
+ /* @__PURE__ */ (0, C.jsx)(TR, {
label: "待合并创作者别名",
unit: "组",
total: t.length,
@@ -62260,7 +62293,7 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${e.length} 组`
}),
- /* @__PURE__ */ (0, C.jsx)(CR, {
+ /* @__PURE__ */ (0, C.jsx)(wR, {
label: "已保存创作者别名",
sorting: p,
options: [{
@@ -62302,9 +62335,9 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "取消选择"
})]
}),
- e.length ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(xR, {
+ e.length ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(SR, {
follow: !0,
- children: /* @__PURE__ */ (0, C.jsxs)(bR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xR, {
"aria-label": "已保存创作者别名",
size: "sm",
sortDescriptor: p[0] ? {
@@ -62312,25 +62345,25 @@ function AAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
direction: p[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => L.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(UN, { children: L.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(WN, { children: L.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(GN, {
id: e.id,
isRowHeader: e.column.id === "canonical",
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [NI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [PI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(jP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(MP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(KN, { children: L.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(YN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(qN, { children: L.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(XN, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ZN, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(QN, { children: PI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }), /* @__PURE__ */ (0, C.jsx)(wR, {
+ }), /* @__PURE__ */ (0, C.jsx)(TR, {
label: "已保存创作者别名",
unit: "组",
total: e.length,
@@ -62422,7 +62455,7 @@ function MAe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function VH({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function HH({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, C.jsx)(Mye, {
ref: i,
...a,
@@ -62439,7 +62472,7 @@ function VH({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var HH = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", NAe = "输入女优名,到 JavDB 找她的演员页";
+var UH = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", NAe = "输入女优名,到 JavDB 找她的演员页";
function PAe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
@@ -62462,7 +62495,7 @@ function PAe(e, t) {
function FAe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(VP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -62518,7 +62551,7 @@ function IAe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "女优名",
placeholder: NAe,
value: r,
@@ -62580,13 +62613,13 @@ function IAe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var LAe = EL({
- rowPaginationFeature: IL,
- rowSelectionFeature: rR,
- rowSortingFeature: gR,
- sortedRowModel: vR(),
- paginatedRowModel: _R()
-}), UH = {
+var LAe = DL({
+ rowPaginationFeature: LL,
+ rowSelectionFeature: iR,
+ rowSortingFeature: _R,
+ sortedRowModel: yR(),
+ paginatedRowModel: vR()
+}), WH = {
select: "选择",
name: "名称",
kind: "类型",
@@ -62596,10 +62629,10 @@ var LAe = EL({
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, RAe = /* @__PURE__ */ new Set(["select", "actions"]), WH = () => W.invalidateQueries({
+}, RAe = /* @__PURE__ */ new Set(["select", "actions"]), GH = () => W.invalidateQueries({
queryKey: Jn,
exact: !0
-}), GH = (e) => e.name || e.url;
+}), KH = (e) => e.name || e.url;
function zAe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
@@ -62631,8 +62664,8 @@ function VAe({ source: e }) {
} : null;
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${HH}`,
- dangerouslySetInnerHTML: { __html: va(GH(e), t, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${UH}`,
+ dangerouslySetInnerHTML: { __html: va(KH(e), t, null, "performer") }
});
}
var HAe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
@@ -62641,11 +62674,11 @@ function UAe(e) {
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function KH(e, t) {
+function qH(e, t) {
let n = e.length === 1 ? e[0] : null;
return Vs({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${GH(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${KH(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
@@ -62676,7 +62709,7 @@ function WAe({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), WH(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), GH(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : V(e.error)}`);
}
@@ -62694,26 +62727,26 @@ function WAe({ readOnly: e, toast: t }) {
readOnly: e,
shared: g,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Lr(e.id, t, n), () => void WH()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => zr(t, [e.id]), () => void WH()),
- remove: (e) => void KH([e], async () => {
- await Rr(e.id), t(`已移除订阅源「${GH(e)}」`), WH();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Lr(e.id, t, n), () => void GH()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => zr(t, [e.id]), () => void GH()),
+ remove: (e) => void qH([e], async () => {
+ await Rr(e.id), t(`已移除订阅源「${KH(e)}」`), GH();
})
};
let v = (0, S.useMemo)(() => {
- let e = TL(), t = (e) => () => UH[e] || e;
+ let e = EL(), t = (e) => () => WH[e] || e;
return e.columns([
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${GH(e.row.original)}`
+ "aria-label": `选择 ${KH(e.row.original)}`
})
}),
- e.accessor(GH, {
+ e.accessor(KH, {
id: "name",
header: t("name"),
cell: (e) => {
@@ -62787,8 +62820,8 @@ function WAe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(VH, {
- "aria-label": `启用 ${GH(e.row.original)}`,
+ /* @__PURE__ */ (0, C.jsx)(HH, {
+ "aria-label": `启用 ${KH(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: _.current.readOnly,
onChange: (t) => _.current.toggle(e.row.original, t)
@@ -62798,7 +62831,7 @@ function WAe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: Vk,
- "aria-label": `拉取 ${GH(e.row.original)}`,
+ "aria-label": `拉取 ${KH(e.row.original)}`,
disabled: _.current.readOnly,
...J(_.current.busy === `check-${e.row.original.id}`),
onClick: () => _.current.fetch(e.row.original)
@@ -62808,7 +62841,7 @@ function WAe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: Fk,
- "aria-label": `移除 ${GH(e.row.original)}`,
+ "aria-label": `移除 ${KH(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
})
@@ -62816,7 +62849,7 @@ function WAe({ readOnly: e, toast: t }) {
})
})
]);
- }, []), y = (0, S.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), b = yR({
+ }, []), y = (0, S.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), b = bR({
features: LAe,
data: a,
columns: v,
@@ -62843,7 +62876,7 @@ function WAe({ readOnly: e, toast: t }) {
title: "打不开订阅源",
children: V(n.error)
}) : /* @__PURE__ */ (0, C.jsx)(NA, { children: "正在读订阅源。" });
- let x = () => void r.run("check", (e) => zr(e), () => void WH()), w = (e) => s((t) => {
+ let x = () => void r.run("check", (e) => zr(e), () => void GH()), w = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), T = a.filter((e) => o.has(e.id)), E = a.filter((e) => e.last_error);
@@ -62852,7 +62885,7 @@ function WAe({ readOnly: e, toast: t }) {
children: [/* @__PURE__ */ (0, C.jsx)(IAe, {
readOnly: e,
toast: t,
- onAdded: () => void WH()
+ onAdded: () => void GH()
}), /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: _A({
@@ -62877,7 +62910,7 @@ function WAe({ readOnly: e, toast: t }) {
...J(r.busy === "check"),
children: "立即拉取"
}),
- /* @__PURE__ */ (0, C.jsx)(CR, {
+ /* @__PURE__ */ (0, C.jsx)(wR, {
label: "JAV 订阅源",
sorting: f,
onChange: (e) => {
@@ -62893,7 +62926,7 @@ function WAe({ readOnly: e, toast: t }) {
"fresh"
].map((e) => ({
id: e,
- label: UH[e]
+ label: WH[e]
}))
})
]
@@ -62908,7 +62941,7 @@ function WAe({ readOnly: e, toast: t }) {
children: E.map((e) => /* @__PURE__ */ (0, C.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${GH(e)}:${sr(e.last_error || "") || "未说明原因"}`
+ children: `${KH(e)}:${sr(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
@@ -62946,7 +62979,7 @@ function WAe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...J(h.isPending),
- onClick: () => void KH(T, () => h.mutateAsync({
+ onClick: () => void qH(T, () => h.mutateAsync({
ids: T.map((e) => e.id),
action: "remove"
})),
@@ -62960,10 +62993,10 @@ function WAe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, C.jsx)(xR, {
+ a.length ? /* @__PURE__ */ (0, C.jsx)(SR, {
follow: !0,
onRowClick: (e) => w(Number(e)),
- children: /* @__PURE__ */ (0, C.jsxs)(bR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xR, {
"aria-label": "JAV 订阅源",
size: "sm",
sortDescriptor: f[0] ? {
@@ -62971,25 +63004,25 @@ function WAe({ readOnly: e, toast: t }) {
direction: f[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => b.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(UN, { children: b.getHeaderGroups()[0].headers.map((e) => {
- let t = NI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, C.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(WN, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ let t = PI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, C.jsx)(GN, {
id: e.id,
isRowHeader: e.column.id === "name",
allowsSorting: e.column.getCanSort(),
- children: ({ sortDirection: n }) => RAe.has(e.column.id) ? /* @__PURE__ */ (0, C.jsx)(yx, { children: t }) : /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: ({ sortDirection: n }) => RAe.has(e.column.id) ? /* @__PURE__ */ (0, C.jsx)(vx, { children: t }) : /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(jP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(MP, {})
}) : null]
})
}, e.id);
- }) }), /* @__PURE__ */ (0, C.jsx)(KN, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(YN, {
+ }) }), /* @__PURE__ */ (0, C.jsx)(qN, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(XN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ZN, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(QN, { children: PI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, C.jsx)(vA, {
@@ -62998,7 +63031,7 @@ function WAe({ readOnly: e, toast: t }) {
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
}),
- a.length ? /* @__PURE__ */ (0, C.jsx)(wR, {
+ a.length ? /* @__PURE__ */ (0, C.jsx)(TR, {
label: "JAV 订阅",
total: m.total,
unit: "个订阅源",
@@ -63024,20 +63057,20 @@ function WAe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var GAe = EL({
- rowPaginationFeature: IL,
- rowSelectionFeature: rR,
- rowSortingFeature: gR,
- paginatedRowModel: _R()
-}), qH = (e) => (Number(e) || 0).toLocaleString(), KAe = Object.fromEntries(Object.entries($n).map(([e, t]) => [t, e])), JH = 740;
+var GAe = DL({
+ rowPaginationFeature: LL,
+ rowSelectionFeature: iR,
+ rowSortingFeature: _R,
+ paginatedRowModel: vR()
+}), JH = (e) => (Number(e) || 0).toLocaleString(), KAe = Object.fromEntries(Object.entries($n).map(([e, t]) => [t, e])), YH = 740;
function qAe() {
let [e, t] = (0, S.useState)(!1), n = (0, S.useRef)(null), r = (0, S.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < JH));
- r.observe(e), n.current = r, t(e.clientWidth < JH);
+ let r = new ResizeObserver(() => t(e.clientWidth < YH));
+ r.observe(e), n.current = r, t(e.clientWidth < YH);
}, []);
return (0, S.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
@@ -63056,27 +63089,27 @@ function YAe({ source: e, selected: t, onToggle: n, handlers: r }) {
"data-follow-source-row": "",
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",
onClick: (e) => {
- RF(e, e.currentTarget) && n(!t);
+ zF(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 grow basis-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, C.jsx)(FH, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)(IH, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, C.jsx)(IH, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)(LH, { text: e.last_error }) : null]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, C.jsx)(PH, { source: e }),
+ /* @__PURE__ */ (0, C.jsx)(FH, { source: e }),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-follow-source-controls": "",
className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",
@@ -63085,7 +63118,7 @@ function YAe({ source: e, selected: t, onToggle: n, handlers: r }) {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
children: Xr(e)
}),
- /* @__PURE__ */ (0, C.jsx)(VH, {
+ /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -63131,7 +63164,7 @@ function XAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(NH, {
+ /* @__PURE__ */ (0, C.jsx)(PH, {
group: e,
name: t
}),
@@ -63156,7 +63189,7 @@ function XAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(MH, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)(yx, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(NH, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)(vx, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -63208,7 +63241,7 @@ function ZAe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = hB({
+ ]), { job: k, running: A, outcome: j, start: M } = gB({
queryKey: Kn,
queryFn: ({ signal: e }) => wr(e),
start: (e) => Dr(e),
@@ -63295,12 +63328,12 @@ function ZAe(e) {
readOnly: c
};
let ae = ie.current, oe = (0, S.useMemo)(() => {
- let e = TL(), t = (e) => () => JAe[e] || e;
+ let e = EL(), t = (e) => () => JAe[e] || e;
return e.columns([
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(HP, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -63312,7 +63345,7 @@ function ZAe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(NH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(PH, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, C.jsx)("span", {
@@ -63326,7 +63359,7 @@ function ZAe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, C.jsx)(FH, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)(IH, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, C.jsx)(IH, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)(LH, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -63334,13 +63367,13 @@ function ZAe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(MH, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, C.jsx)(NH, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(PH, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(FH, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -63353,7 +63386,7 @@ function ZAe(e) {
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(VH, {
+ /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ae.readOnly,
@@ -63388,7 +63421,7 @@ function ZAe(e) {
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, S.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = vr(le ? O.length : D.length, o, i), de = yR({
+ }, [n, r]), ce = (0, S.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = vr(le ? O.length : D.length, o, i), de = bR({
features: GAe,
data: O,
columns: oe,
@@ -63439,7 +63472,7 @@ function ZAe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${qH(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${JH(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, C.jsx)(K, {
@@ -63483,7 +63516,7 @@ function ZAe(e) {
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, C.jsx)(XP, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -63491,7 +63524,7 @@ function ZAe(e) {
let t = String(e);
l(t, Sn[t]);
},
- children: bn.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: bn.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
@@ -63519,7 +63552,7 @@ function ZAe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, C.jsx)(dB, {
+ A ? /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -63610,10 +63643,10 @@ function ZAe(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, C.jsx)(xR, {
+ le ? /* @__PURE__ */ (0, C.jsx)(SR, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, C.jsxs)(bR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xR, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -63624,9 +63657,9 @@ function ZAe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, C.jsx)(UN, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in $n, n = NI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, C.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(WN, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in $n, n = PI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, C.jsx)(GN, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -63635,20 +63668,20 @@ function ZAe(e) {
children: [n, /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(jP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(MP, {})
})]
- }) : /* @__PURE__ */ (0, C.jsx)(yx, { children: n })
+ }) : /* @__PURE__ */ (0, C.jsx)(vx, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, C.jsx)(KN, {
+ }) }), /* @__PURE__ */ (0, C.jsx)(qN, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, C.jsx)(YN, {
+ children: fe.map((e) => /* @__PURE__ */ (0, C.jsx)(XN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ZN, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(QN, { children: PI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(VP, {
+ }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => F(pe, e),
@@ -63673,7 +63706,7 @@ function ZAe(e) {
}, t);
})
})] }),
- /* @__PURE__ */ (0, C.jsx)(wR, {
+ /* @__PURE__ */ (0, C.jsx)(TR, {
label: "关注列表",
total: ue.total,
pagination: {
@@ -63691,7 +63724,7 @@ function ZAe(e) {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${qH(v.new)} · 已看 ${qH(v.seen)} · 已保存 ${qH(v.saved)} · 已忽略 ${qH(v.ignored)}`
+ children: `未看 ${JH(v.new)} · 已看 ${JH(v.seen)} · 已保存 ${JH(v.saved)} · 已忽略 ${JH(v.ignored)}`
}),
/* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
@@ -63743,12 +63776,12 @@ function ZAe(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var YH = [
+var XH = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], XH = (e) => YH.some(([t]) => t === e);
-function ZH({ term: e, figure: t, unit: n }) {
+], ZH = (e) => XH.some(([t]) => t === e);
+function QH({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: _A({
padding: "none",
@@ -63771,173 +63804,174 @@ function ZH({ term: e, figure: t, unit: n }) {
});
}
function QAe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, S.useState)(XH(e.tab) ? e.tab : "list"), [d, f] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, S.useState)(() => wn(e.sort, e.dir).sort), [h, g] = (0, S.useState)(() => wn(e.sort, e.dir).dir), [_, v] = (0, S.useState)(er(e.layout) ? e.layout : "default"), [y, b] = (0, S.useState)(see(e.pageSize)), [x, w] = (0, S.useState)(/* @__PURE__ */ new Set()), T = pt({
+ let t = pj(), { route: n, savePreference: r, toast: i, openFollow: a, openServiceConfiguration: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, S.useState)(ZH(e.tab) ? e.tab : "list"), [f, p] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [m, h] = (0, S.useState)(() => wn(e.sort, e.dir).sort), [g, _] = (0, S.useState)(() => wn(e.sort, e.dir).dir), [v, y] = (0, S.useState)(er(e.layout) ? e.layout : "default"), [b, x] = (0, S.useState)(see(e.pageSize)), [w, T] = (0, S.useState)(/* @__PURE__ */ new Set()), E = pt({
queryKey: Wn,
queryFn: ({ signal: e }) => Sr(e)
- }), E = pt({
+ }), D = pt({
queryKey: Gn,
queryFn: ({ signal: e }) => Cr(e)
- }), D = pt({
+ }), O = pt({
queryKey: Jn,
queryFn: ({ signal: e }) => Ir(e)
- }), O = T.data || { sources: [] }, k = E.data || {
+ }), k = E.data || { sources: [] }, A = D.data || {
root: "",
providers: []
- }, A = O.sources;
+ }, j = k.sources;
(0, S.useEffect)(() => {
- w((e) => {
- let t = yr(e, A);
+ T((e) => {
+ let t = yr(e, j);
return t.size === e.size ? e : t;
});
- }, [A]);
- let j = (e) => {
- let n = e.sort ?? p, r = e.dir ?? h;
- t({
- tab: e.tab ?? l,
- page: e.page ?? d,
- sort: n === "checked" ? "" : n,
- dir: r === Sn[n] ? "" : r
+ }, [j]);
+ let M = (e) => {
+ let t = e.sort ?? m, r = e.dir ?? g;
+ n({
+ tab: e.tab ?? u,
+ page: e.page ?? f,
+ sort: t === "checked" ? "" : t,
+ dir: r === Sn[t] ? "" : r
});
- }, M = hr(A), N = A.filter(ar).length, P = A.filter((e) => e.enabled).length, F = (k.providers || []).filter((e) => e.requirement === "required" && !ei(e)).length, I = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ }, N = hr(j), P = j.filter(ar).length, F = j.filter((e) => e.enabled).length, I = (A.providers || []).filter((e) => e.requirement === "required" && !ei(e)).length, ee = new Set((O.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
return /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- o ? /* @__PURE__ */ (0, C.jsx)(q, {
+ s ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "warning",
title: "本机只能浏览",
- extra: c ? /* @__PURE__ */ (0, C.jsx)("p", {
+ extra: l ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular",
children: /* @__PURE__ */ (0, C.jsx)("a", {
- href: c,
+ href: l,
className: "text-text-primary underline underline-offset-2",
children: "前往写入端管理关注"
})
}) : void 0,
- children: s
+ children: c
}) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
className: MEe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, C.jsx)(ZH, {
+ /* @__PURE__ */ (0, C.jsx)(QH, {
term: "关注创作者",
- figure: M.length,
+ figure: N.length,
unit: "位"
}),
- /* @__PURE__ */ (0, C.jsx)(ZH, {
+ /* @__PURE__ */ (0, C.jsx)(QH, {
term: "启用来源",
- figure: P,
- unit: `/ ${A.length}`
+ figure: F,
+ unit: `/ ${j.length}`
}),
- /* @__PURE__ */ (0, C.jsx)(ZH, {
+ /* @__PURE__ */ (0, C.jsx)(QH, {
term: "检查失败",
- figure: N,
+ figure: P,
unit: "个来源"
}),
- /* @__PURE__ */ (0, C.jsx)(ZH, {
+ /* @__PURE__ */ (0, C.jsx)(QH, {
term: "未看更新",
- figure: O.counts?.new || 0,
+ figure: k.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, C.jsx)(ZH, {
+ /* @__PURE__ */ (0, C.jsx)(QH, {
term: "JAV 订阅",
- figure: I,
+ figure: ee,
unit: "位"
}),
- /* @__PURE__ */ (0, C.jsx)(ZH, {
+ /* @__PURE__ */ (0, C.jsx)(QH, {
term: "未看新作",
- figure: D.data?.unread || 0,
+ figure: O.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(tP, {
- selectedKey: l,
+ /* @__PURE__ */ (0, C.jsxs)(nP, {
+ selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- XH(t) && (u(t), j({ tab: t }));
+ ZH(t) && (d(t), M({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, C.jsx)(nP, {
+ /* @__PURE__ */ (0, C.jsx)(rP, {
+ ref: t,
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: YH.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(rP, {
+ children: XH.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(iP, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "list",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, C.jsx)(ZAe, {
- data: O,
- sort: p,
- dir: h,
- page: d,
- layout: _,
- pageSize: y,
- selected: x,
- readOnly: o,
- toast: r,
- openFollow: i,
+ data: k,
+ sort: m,
+ dir: g,
+ page: f,
+ layout: v,
+ pageSize: b,
+ selected: w,
+ readOnly: s,
+ toast: i,
+ openFollow: a,
onSort: (e, t) => {
- m(e), g(t), f(1), j({
+ h(e), _(t), p(1), M({
sort: e,
dir: t,
page: 1
});
},
onPage: (e) => {
- f(e), j({ page: e });
+ p(e), M({ page: e });
},
- onSelected: w,
+ onSelected: T,
onLayout: (e) => {
- v(e), f(1), n({ layout: e }), j({ page: 1 });
+ y(e), p(1), r({ layout: e }), M({ page: 1 });
},
onPageSize: (e) => {
- b(e), f(1), n({ pageSize: e }), j({ page: 1 });
+ x(e), p(1), r({ pageSize: e }), M({ page: 1 });
}
})
}),
- /* @__PURE__ */ (0, C.jsxs)(iP, {
+ /* @__PURE__ */ (0, C.jsxs)(aP, {
id: "add",
className: "flex flex-col gap-8",
children: [/* @__PURE__ */ (0, C.jsx)(TAe, {
- data: O,
- credentials: k,
- readOnly: o,
- toast: r,
- openCredentials: a
+ data: k,
+ credentials: A,
+ readOnly: s,
+ toast: i,
+ openCredentials: o
}), /* @__PURE__ */ (0, C.jsx)(AAe, {
- groups: O.author_aliases || [],
- readOnly: o,
- toast: r,
- suggestions: O.alias_suggestions || [],
- sources: O.sources
+ groups: k.author_aliases || [],
+ readOnly: s,
+ toast: i,
+ suggestions: k.alias_suggestions || [],
+ sources: k.sources
})]
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "feeds",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, C.jsx)(WAe, {
- readOnly: o,
- toast: r
+ readOnly: s,
+ toast: i
})
})
]
}),
/* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsxs)(K, {
variant: "secondary",
- onClick: a,
- children: ["来源与订阅设置", F ? `(${F})` : ""]
+ onClick: o,
+ children: ["来源与订阅设置", I ? `(${I})` : ""]
}) })
] });
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function QH({ value: e }) {
+function $H({ value: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
@@ -63945,8 +63979,8 @@ function QH({ value: e }) {
});
}
var $Ae = "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 $H({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, S.useRef)(null);
+function eU({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, S.useRef)(null), o = pj(a);
return (0, S.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -63956,7 +63990,7 @@ function $H({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);
})();
}, [t]), /* @__PURE__ */ (0, C.jsx)("div", {
- ref: a,
+ ref: o,
role: "tablist",
"aria-label": n,
"data-board-tab-list": "",
@@ -63969,7 +64003,7 @@ function $H({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? _P(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? vP(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
@@ -63987,7 +64021,7 @@ function $H({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var eU = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var tU = () => /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
@@ -64000,13 +64034,13 @@ function eje({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": sV(t.online, e.cat),
+ "data-tag-cat": cV(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, C.jsx)(eU, {}),
+ /* @__PURE__ */ (0, C.jsx)(tU, {}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -64016,7 +64050,7 @@ function eje({ tag: e, actions: t }) {
children: e.n.toLocaleString()
})
]
- }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(kP, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(AP, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -64037,7 +64071,7 @@ function tje({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, C.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, C.jsx)(QH, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, C.jsx)($H, { value: n.length })]
}), /* @__PURE__ */ (0, C.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
children: n.map((e) => /* @__PURE__ */ (0, C.jsx)(eje, {
@@ -64059,7 +64093,7 @@ function rje({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": sV(t.online, e.cat),
+ "data-tag-cat": cV(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -64068,7 +64102,7 @@ function rje({ tags: e, actions: t }) {
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
})]
- }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(kP, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(AP, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -64087,15 +64121,16 @@ var ije = [[
"text-aa"
]];
function aje({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, C.jsx)(mj, {
+ let l = pj();
+ return /* @__PURE__ */ (0, C.jsx)(hj, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, C.jsxs)(hj, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, C.jsxs)(gj, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : sV(n, e),
+ "data-tag-cat": e === "all" ? "all" : cV(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, C.jsx)(eU, {}), r]
+ children: [/* @__PURE__ */ (0, C.jsx)(tU, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -64104,6 +64139,7 @@ function aje({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: r
}),
i.length > 1 ? /* @__PURE__ */ (0, C.jsx)("nav", {
+ ref: l,
"aria-label": "按首字跳转",
"data-alpha-jump": "",
className: "flex min-w-0 gap-0.5 overflow-x-auto overscroll-x-contain",
@@ -64114,19 +64150,19 @@ function aje({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(TN, {
+ /* @__PURE__ */ (0, C.jsx)(EN, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${oF}`,
+ className: `ml-auto ${sF}`,
children: ije.map(([e, t, n]) => {
- let r = _P(n);
- return /* @__PURE__ */ (0, C.jsx)(EN, {
+ let r = vP(n);
+ return /* @__PURE__ */ (0, C.jsx)(DN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: sF,
+ className: cF,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -64144,7 +64180,7 @@ function oje({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -64229,16 +64265,16 @@ var sje = [{
]]
};
function dje({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, C.jsx)(rF, {
- "aria-label": `${XB[e]}索引版式`,
+ return /* @__PURE__ */ (0, C.jsx)(iF, {
+ "aria-label": `${ZB[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${iF}`,
- children: uje[tV(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = _P(n);
- return /* @__PURE__ */ (0, C.jsx)(EN, {
+ className: `flex-none max-board-narrow:order-3 ${aF}`,
+ children: uje[nV(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = vP(n);
+ return /* @__PURE__ */ (0, C.jsx)(DN, {
value: e,
"aria-label": t,
className: vxe,
@@ -64251,7 +64287,7 @@ function dje({ kind: e, layout: t, onChange: n }) {
})
});
}
-var fje = _P("search");
+var fje = vP("search");
function pje({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, S.useState)(t), a = (0, S.useRef)(!1), o = (0, S.useRef)(void 0);
(0, S.useEffect)(() => () => clearTimeout(o.current), []);
@@ -64267,13 +64303,13 @@ function pje({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, C.jsx)(uP, {
+ children: /* @__PURE__ */ (0, C.jsx)(dP, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, C.jsx)(fP, {
+ children: /* @__PURE__ */ (0, C.jsx)(pP, {
type: "search",
leadingIcon: fje,
spellCheck: !1,
@@ -64287,13 +64323,13 @@ function pje({ label: e, value: t, onQuery: n }) {
});
}
function mje(e) {
- let [t, n] = (0, S.useState)(() => nV({
+ let [t, n] = (0, S.useState)(() => rV({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, S.useState)(e.layout), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)("any"), l = (0, S.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = XB[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, S.useState)(e.layout), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)("any"), l = (0, S.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = ZB[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, S.useEffect)(() => {
if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;
let n = !0;
@@ -64311,7 +64347,7 @@ function mje(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, x = oV(rV(t)), w = ht({
+ }, x = sV(iV(t)), w = ht({
queryKey: x.queryKey,
queryFn: ({ pageParam: e, signal: t }) => x.queryFn({
pageParam: e,
@@ -64338,7 +64374,7 @@ function mje(e) {
u
]), I = (t) => {
i(t), e.savePreference({ layout: t });
- }, ee = u === "tags" ? /* @__PURE__ */ (0, C.jsx)($H, {
+ }, ee = u === "tags" ? /* @__PURE__ */ (0, C.jsx)(eU, {
tabs: cje,
value: f,
label: "词表",
@@ -64349,7 +64385,7 @@ function mje(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : tV(u) ? /* @__PURE__ */ (0, C.jsx)($H, {
+ }) : nV(u) ? /* @__PURE__ */ (0, C.jsx)(eU, {
tabs: sje,
value: u,
label: "公司类型",
@@ -64359,7 +64395,7 @@ function mje(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, te = (g ? QB : ZB).filter(N);
+ }, te = (g ? $B : QB).filter(N);
return /* @__PURE__ */ (0, C.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -64374,17 +64410,17 @@ function mje(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- eV(u) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ tV(u) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- eV(u) ? /* @__PURE__ */ (0, C.jsx)(dje, {
+ tV(u) ? /* @__PURE__ */ (0, C.jsx)(dje, {
kind: u,
layout: r,
onChange: I
}) : null,
- /* @__PURE__ */ (0, C.jsx)(AP, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, C.jsx)(jP, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
@@ -64398,7 +64434,7 @@ function mje(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, C.jsx)($H, {
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, C.jsx)(eU, {
tabs: lje,
value: _ ? "online" : u,
label: "人物名册",
@@ -64413,8 +64449,8 @@ function mje(e) {
ee,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, C.jsx)("div", {
"aria-label": "身份分类",
- className: YB,
- children: JB.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(K, {
+ className: XB,
+ children: YB.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(K, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -64448,7 +64484,7 @@ function mje(e) {
}) }
});
if (w.isError) return /* @__PURE__ */ (0, C.jsx)(vA, {
- icon: _P("alert"),
+ icon: vP("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
@@ -64468,7 +64504,7 @@ function mje(e) {
layout: r,
props: e
});
- if (eV(u)) return /* @__PURE__ */ (0, C.jsx)(uV, {
+ if (tV(u)) return /* @__PURE__ */ (0, C.jsx)(dV, {
kind: u,
items: T,
layout: r,
@@ -64525,7 +64561,7 @@ var hje = {
};
function gje({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, C.jsx)(vA, {
- icon: _P("search"),
+ icon: vP("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, C.jsx)(gA, {
variant: "primary",
@@ -64540,7 +64576,7 @@ function gje({ kind: e, filtered: t, online: n, configurable: r }) {
children: "添加关注"
});
return /* @__PURE__ */ (0, C.jsx)(vA, {
- icon: _P(e === "tags" ? "tags" : "user-round"),
+ icon: vP(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r ? /* @__PURE__ */ (0, C.jsx)(K, {
variant: "primary",
@@ -64550,14 +64586,14 @@ function gje({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var tU = {
+var nU = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, _je = (e) => tU[e.junk_kind || "other"] || tU.other;
+}, _je = (e) => nU[e.junk_kind || "other"] || nU.other;
function vje(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
@@ -64569,7 +64605,7 @@ function vje(e) {
glyph: "check"
};
}
-var nU = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), yje = (e, t) => [
+var rU = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), yje = (e, t) => [
"junk-queue",
e.view,
e.kind,
@@ -64591,19 +64627,19 @@ async function xje(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function rU({ name: e }) {
+function iU({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-var iU = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+var aU = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
let o = (0, S.useRef)(null), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = e.junk_kind || "other", [f, p] = _je(e), m = String(e.name || ""), h = vje(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]") || iU(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+ t.target.closest("[data-junk-actions]") || aU(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), iU(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), aU(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) => {
@@ -64634,7 +64670,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: zF,
+ onMouseDown: BF,
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
@@ -64642,7 +64678,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, C.jsx)(rU, { name: p }), /* @__PURE__ */ (0, C.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: p }), /* @__PURE__ */ (0, C.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-art": "thumb",
@@ -64654,7 +64690,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(rU, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(iU, { name: "check" })
})
]
}),
@@ -64691,7 +64727,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: No("正在定位") }
- }) : /* @__PURE__ */ (0, C.jsx)(rU, { name: "folder-open" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ }) : /* @__PURE__ */ (0, C.jsx)(iU, { name: "folder-open" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -64703,7 +64739,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...w(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, C.jsx)(rU, { name: h.glyph }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: h.glyph }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -64715,7 +64751,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, C.jsx)(rU, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -64730,7 +64766,7 @@ function Sje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var Cje = (0, S.memo)(Sje), aU = [
+var Cje = (0, S.memo)(Sje), oU = [
[
"",
"全部",
@@ -64766,65 +64802,65 @@ var Cje = (0, S.memo)(Sje), aU = [
"其它",
"hard-drive"
]
-], wje = (e) => aU.find(([t]) => t === e)?.[0] ?? "";
-function oU(e) {
+], wje = (e) => oU.find(([t]) => t === e)?.[0] ?? "";
+function sU(e) {
let t = new URLSearchParams(e);
return {
kind: wje(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function sU(e = "", t = "pending") {
+function cU(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 cU(e) {
+function lU(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: sU("", "pending")
+ href: cU("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: sU("", "dismissed")
+ href: cU("", "dismissed")
};
}
-var lU = (e) => e === "dismissed" ? "已排除" : "待判断", uU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+var uU = (e) => e === "dismissed" ? "已排除" : "待判断", dU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
function Tje({ kind: e, view: t }) {
- let n = aU.map(([n, r, i]) => `<a href="${sU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${uU(i)}${B(r)}</a>`).join(""), r = cU(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${ko(lU(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\"" : ""}>${uU(r.glyph)}${r.label}</a></nav></div></div></div>`;
+ let n = oU.map(([n, r, i]) => `<a href="${cU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${dU(i)}${B(r)}</a>`).join(""), r = lU(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${ko(uU(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\"" : ""}>${dU(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function dU({ name: e }) {
+function fU({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-function fU({ scope: e, count: t }) {
+function pU({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [" ", /* @__PURE__ */ (0, C.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
function Eje({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = HP(), a = (0, S.useRef)(null), { kind: o, view: s } = e, c = yj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? aU.map(([e]) => nU(t, e)).join(",") : ""}`), l = cU(s), u = (e) => {
+ let i = UP(), a = (0, S.useRef)(null), { kind: o, view: s } = e, c = bj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? oU.map(([e]) => rU(t, e)).join(",") : ""}`), l = lU(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") || sU()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || cU()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, C.jsx)(xH, {
- label: lU(s),
+ children: /* @__PURE__ */ (0, C.jsx)(SH, {
+ label: uU(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -64844,17 +64880,17 @@ function Eje({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- aU.map(([e, n, r]) => /* @__PURE__ */ (0, C.jsxs)("a", {
- href: sU(e, s),
+ oU.map(([e, n, r]) => /* @__PURE__ */ (0, C.jsxs)("a", {
+ href: cU(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, C.jsx)(dU, { name: r }),
+ /* @__PURE__ */ (0, C.jsx)(fU, { name: r }),
n,
- /* @__PURE__ */ (0, C.jsx)(fU, {
+ /* @__PURE__ */ (0, C.jsx)(pU, {
scope: e,
- count: t ? nU(t, e) : 0
+ count: t ? rU(t, e) : 0
})
]
}, e || "all")),
@@ -64868,9 +64904,9 @@ function Eje({ 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, C.jsx)(dU, { name: l.glyph }),
+ /* @__PURE__ */ (0, C.jsx)(fU, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, C.jsx)(fU, {
+ /* @__PURE__ */ (0, C.jsx)(pU, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -64883,7 +64919,7 @@ function Eje({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var Dje = _P("check"), Oje = (e, t) => e[1] === t.view && e[2] === t.kind;
+var Dje = vP("check"), Oje = (e, t) => e[1] === t.view && e[2] === t.kind;
function kje(e) {
let t = {
kind: e.kind,
@@ -64928,7 +64964,7 @@ function Aje(e) {
}, [e]), t;
}
function jje({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = FF(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, S.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, S.useCallback)(() => {
+ let a = IF(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, S.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, S.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -64936,7 +64972,7 @@ function jje({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, C.jsx)(IF, {
+ if (!t) return /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(r),
onRetry: i
});
@@ -64992,7 +65028,7 @@ function Mje({ onMore: e }) {
//#region src/react/jav/discovery-faces.tsx
function Nje({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, C.jsx)(iH, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, C.jsx)(aH, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: va(t.name, t, null) } };
@@ -65014,18 +65050,18 @@ function Nje({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var pU = [
+var mU = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], mU = (e) => pU.some(([t]) => t === e) ? e : "library", Pje = (e) => mU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+], hU = (e) => mU.some(([t]) => t === e) ? e : "library", Pje = (e) => hU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
function Fje(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var hU = [
+var gU = [
[
"taste",
"口味",
@@ -65052,7 +65088,7 @@ var hU = [
"按番号排序"
]
];
-function gU(e) {
+function _U(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
function Ije(e) {
@@ -65081,8 +65117,8 @@ function Ije(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var _U = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, Lje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, vU = "w-full min-w-0";
-function yU() {
+var vU = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, Lje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, yU = "w-full min-w-0";
+function bU() {
return [
"w-20",
"w-16",
@@ -65092,8 +65128,8 @@ function yU() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function bU(e, t = OE()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${_U("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${Lje("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">${_U("80%")}${_U("60%")}${_U("40%")}</div></div>`).join("")}</div>`;
+function xU(e, t = OE()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${vU("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${Lje("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">${vU("80%")}${vU("60%")}${vU("40%")}</div></div>`).join("")}</div>`;
let n = NE({
...ME({
active: !0,
@@ -65102,10 +65138,10 @@ function bU(e, t = OE()) {
}),
size: t
});
- return `<div data-media-grid class="${vU}" 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="${yU}" 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>${_U("85%")}${_U("65%")}</div><div data-media-byline>${_U("55%")}</div>
+ <div data-media-title>${vU("85%")}${vU("65%")}</div><div data-media-byline>${vU("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>
@@ -65119,28 +65155,28 @@ function Rje(e) {
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${pU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${mU.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}">${bo("筛选番号、女优或标题", "", 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>${_U("100%")}</div>${bU(e)}` : `<section class="flex min-w-0 flex-col gap-4">${zje()}${bU(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>${vU("100%")}</div>${xU(e)}` : `<section class="flex min-w-0 flex-col gap-4">${zje()}${xU(e)}</section>`}</div></div>`;
}
function zje() {
let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${OE() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${vo(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${yU()}</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>${bU()}</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>
${yo()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${vo("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>
- ${hU.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? vo("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${gU.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? vo("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var xU = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), SU = (e, t) => !!xU(e) && xU(e) === xU(t);
+var SU = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), CU = (e, t) => !!SU(e) && SU(e) === SU(t);
//#endregion
//#region src/react/activity/resource-search.tsx
function Bje({ className: e }) {
@@ -65170,7 +65206,7 @@ function Hje({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, H(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => SU(e.code, t));
+ let r = (n.items || []).find((e) => CU(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -65196,7 +65232,7 @@ function Hje({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "按番号查找资源",
value: a,
maxLength: 80,
@@ -65212,7 +65248,7 @@ function Hje({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "优先寻找" }), /* @__PURE__ */ (0, C.jsxs)(XP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "优先寻找" }), /* @__PURE__ */ (0, C.jsxs)(ZP, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -65220,15 +65256,15 @@ function Hje({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, C.jsx)(ZP, {
+ /* @__PURE__ */ (0, C.jsx)(QP, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, C.jsx)(ZP, {
+ /* @__PURE__ */ (0, C.jsx)(QP, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, C.jsx)(ZP, {
+ /* @__PURE__ */ (0, C.jsx)(QP, {
id: "uncensored",
children: "无码"
})
@@ -65237,12 +65273,12 @@ function Hje({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, C.jsx)(pP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mP, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, C.jsx)(pP, {
+ }), /* @__PURE__ */ (0, C.jsx)(mP, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
@@ -65302,8 +65338,8 @@ var Uje = {
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function CU({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, C.jsx)(mP, {
+function wU({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, C.jsx)(hP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -65324,7 +65360,7 @@ function Wje({ prefill: e, close: t, receipt: n, provider: r }) {
refetchInterval: (e) => nj(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, C.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Vj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
@@ -65425,18 +65461,18 @@ function Gje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- SU(e, _?.code) || (v(SU(e, n.code) ? n : null), f("")), m(e);
+ CU(e, _?.code) || (v(CU(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? SU(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? CU(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : SU(t?.code, n.code) ? t : null),
+ } : e : CU(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -65449,14 +65485,14 @@ function Gje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
className: "flex flex-col gap-1",
children: [
/* @__PURE__ */ (0, C.jsx)(FA, { children: "下载到" }),
- /* @__PURE__ */ (0, C.jsx)(XP, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: s.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e.key,
textValue: e.label,
children: /* @__PURE__ */ (0, C.jsx)($A, {
@@ -65479,7 +65515,7 @@ function Gje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -65487,14 +65523,14 @@ function Gje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, C.jsx)(pP, {
+ n.code ? null : /* @__PURE__ */ (0, C.jsx)(mP, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), SU(e, _?.code) || v(null);
+ m(e), CU(e, _?.code) || v(null);
}
}),
y || w.error ? /* @__PURE__ */ (0, C.jsx)(PA, { children: y || w.error }) : null
@@ -65518,7 +65554,7 @@ function Gje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var wU = "/api/wants", TU = ["wants"], Kje = (e) => [
+var TU = "/api/wants", EU = ["wants"], Kje = (e) => [
"wants",
"follow",
e
@@ -65527,9 +65563,9 @@ var wU = "/api/wants", TU = ["wants"], Kje = (e) => [
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], EU = (e) => H(wU, e);
+], DU = (e) => H(TU, e);
function Jje(e, t) {
- W.setQueryData(TU, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+ W.setQueryData(EU, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -65537,26 +65573,26 @@ function Jje(e, t) {
} : n)
} : n);
}
-var Yje = (e, t) => H(`${wU}?follow=${encodeURIComponent(e)}`, t), DU = (e, t) => U(wU, {
+var Yje = (e, t) => H(`${TU}?follow=${encodeURIComponent(e)}`, t), OU = (e, t) => U(TU, {
action: "add",
...e
-}, "POST", t), OU = (e, t) => U(wU, {
+}, "POST", t), kU = (e, t) => U(TU, {
action: "remove",
ids: e
-}, "POST", t), Xje = (e, t) => U(wU, {
+}, "POST", t), Xje = (e, t) => U(TU, {
action: "reset",
ids: e
-}, "POST", t), kU = () => W.invalidateQueries({ queryKey: TU }), AU = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+}, "POST", t), AU = () => W.invalidateQueries({ queryKey: EU }), jU = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
function Zje(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/publication-cache.ts
-var jU = 864e5, MU = (e) => {
+var MU = 864e5, NU = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function NU(e) {
+function PU(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));
@@ -65565,25 +65601,25 @@ function NU(e) {
return Date.UTC(n, r + 1, Math.min(i, o));
}
function Qje(e, t = Date.now()) {
- let n = NU(e);
- return n !== void 0 && MU(t) > n ? Infinity : jU;
+ let n = PU(e);
+ return n !== void 0 && NU(t) > n ? Infinity : MU;
}
-function PU(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : Qje(t, n) === Infinity ? MU(e) > NU(t) : n - e < jU;
+function FU(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : Qje(t, n) === Infinity ? NU(e) > PU(t) : n - e < MU;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var FU = "peach.want-resources.v1";
-function IU(e) {
+var IU = "peach.want-resources.v1";
+function LU(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function LU(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !IU(e) ? Date.now() - t < 6e4 : PU(t, n));
+function RU(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !LU(e) ? Date.now() - t < 6e4 : FU(t, n));
}
-function RU() {
+function zU() {
try {
- let e = JSON.parse(localStorage.getItem(FU) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && IU(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(IU) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && LU(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -65593,22 +65629,22 @@ function RU() {
}
}
function $je(e, t) {
- let n = RU().find((t) => t.code === e);
- return n && PU(n.saved, t) ? n : void 0;
+ let n = zU().find((t) => t.code === e);
+ return n && FU(n.saved, t) ? n : void 0;
}
function eMe(e) {
- let t = new Map(RU().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+ let t = new Map(zU().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 && PU(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && FU(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
function tMe(e, t) {
- if (t.state === "ready" && IU(t)) try {
- let n = RU().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(FU, JSON.stringify([{
+ if (t.state === "ready" && LU(t)) try {
+ let n = zU().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(IU, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -65626,7 +65662,7 @@ function rMe(e) {
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function zU({ icon: e, children: t, title: n }) {
+function BU({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -65636,7 +65672,7 @@ function zU({ icon: e, children: t, title: n }) {
}), t]
});
}
-function BU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+function VU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
let s = (0, S.useRef)(null), [c, l] = (0, S.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, S.useState)([]), f = CA(), p = T(), m = (0, S.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, S.useMemo)(() => $je(h, e.release_date), [h, e.release_date]);
(0, S.useEffect)(() => {
if (!s.current || c) return;
@@ -65663,9 +65699,9 @@ function BU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => LU(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => RU(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !LU(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !RU(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
});
@@ -65770,25 +65806,25 @@ function BU({ 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, C.jsx)(zU, {
+ /* @__PURE__ */ (0, C.jsx)(BU, {
icon: hge,
children: e.source
}),
- /* @__PURE__ */ (0, C.jsx)(zU, {
+ /* @__PURE__ */ (0, C.jsx)(BU, {
icon: Rk,
title: `来源大小:${e.size}`,
children: nMe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, C.jsx)(zU, {
+ e.files ? /* @__PURE__ */ (0, C.jsx)(BU, {
icon: ige,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, C.jsx)(zU, {
+ /* @__PURE__ */ (0, C.jsx)(BU, {
icon: Yhe,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, C.jsx)(zU, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, C.jsx)(BU, {
icon: Bk,
children: e
}, e))
@@ -65854,7 +65890,7 @@ var iMe = {
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], VU = (e) => [
+], HU = (e) => [
e.release_date,
e.studio,
e.performers,
@@ -65893,22 +65929,22 @@ function sMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, C.jsx)("b", {
className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",
- children: AU(e)
+ children: jU(e)
}), e.code && e.title ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- VU(e) ? /* @__PURE__ */ (0, C.jsx)("p", {
+ HU(e) ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: VU(e)
+ children: HU(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
children: Zje(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, C.jsx)(IH, {
+ e.scrape_error ? /* @__PURE__ */ (0, C.jsx)(LH, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -65953,7 +65989,7 @@ function sMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, C.jsx)(BU, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, C.jsx)(VU, {
want: e,
readOnly: t,
downloads: o,
@@ -65978,19 +66014,19 @@ function cMe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, C.jsx)(rF, {
+ }), e === "searching" ? /* @__PURE__ */ (0, C.jsx)(iF, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: iF,
+ className: aF,
onChange: (e) => {
s(e), a(1);
},
- children: aMe.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(EN, {
+ children: aMe.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(DN, {
value: e,
"aria-label": t,
- className: aF,
+ className: oF,
children: [t, /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -66014,7 +66050,7 @@ function cMe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, C.jsx)(SR, {
+ }), /* @__PURE__ */ (0, C.jsx)(CR, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -66026,24 +66062,24 @@ function cMe({ phase: e, label: t, rows: n, row: r }) {
}
function lMe({ readOnly: e, toast: t, query: n = "" }) {
let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), s = CA(), c = pt({
- queryKey: TU,
- queryFn: ({ signal: e }) => EU(e),
+ queryKey: EU,
+ queryFn: ({ signal: e }) => DU(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => DU({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${AU(e.want)}` : `${AU(e.want)} 已经在想要里`), i(""), kU();
+ n && !e && s.run("add", (e) => OU({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${jU(e.want)}` : `${jU(e.want)} 已经在想要里`), i(""), AU();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => OU([e.id], t), () => {
- t(`已移除:${AU(e)}`), kU();
+ s.run(`remove:${e.id}`, (t) => kU([e.id], t), () => {
+ t(`已移除:${jU(e)}`), AU();
});
}, f = (e) => {
s.run(`reset:${e.id}`, (t) => Xje([e.id], t), () => {
- t(`${AU(e)} 回到待找`), kU();
+ t(`${jU(e)} 回到待找`), AU();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
@@ -66072,7 +66108,7 @@ function lMe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -66103,7 +66139,7 @@ function lMe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: bU("wants") }
+ dangerouslySetInnerHTML: { __html: xU("wants") }
}) : null,
p?.scraping ? /* @__PURE__ */ (0, C.jsx)(NA, {
role: "status",
@@ -66158,7 +66194,7 @@ function lMe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, C.jsx)(CU, {
+ /* @__PURE__ */ (0, C.jsx)(wU, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -66169,13 +66205,13 @@ function lMe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var HU = (e, t = "taste", n = "desc") => [
+var UU = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function UU(e, t, n = {}) {
+function WU(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -66184,7 +66220,7 @@ function UU(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), H(`/api/jav/discoveries?${r}`, t);
}
-function WU(e, t, n) {
+function GU(e, t, n) {
let r = Ta({
...e,
is_jav: !0
@@ -66193,20 +66229,20 @@ function WU(e, t, n) {
}
async function uMe(e, t) {
e === "wants" ? await W.ensureQueryData({
- queryKey: TU,
- queryFn: () => EU(t),
+ queryKey: EU,
+ queryFn: () => DU(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await W.ensureQueryData({
- queryKey: HU("external"),
- queryFn: () => UU("external", t),
+ queryKey: UU("external"),
+ queryFn: () => WU("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function GU({ tab: e, navigate: t, find: n }) {
+function KU({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -66220,8 +66256,8 @@ function GU({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, C.jsx)($H, {
- tabs: pU.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, C.jsx)(eU, {
+ tabs: mU.map(([e, t]) => ({
value: e,
label: t
})),
@@ -66234,11 +66270,11 @@ function GU({ tab: e, navigate: t, find: n }) {
}
function dMe({ navigate: e, receipt: t }) {
let [n, r] = (0, S.useState)(null);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(GU, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(KU, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, C.jsx)(CU, {
+ }), /* @__PURE__ */ (0, C.jsx)(wU, {
prefill: n,
close: () => r(null),
receipt: t
@@ -66246,8 +66282,8 @@ function dMe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var fMe = _P("search"), pMe = _P("x"), mMe = _P("refresh-cw");
-function KU(e) {
+var fMe = vP("search"), pMe = vP("x"), mMe = vP("refresh-cw");
+function qU(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
wk(location.pathname + (t.size ? `?${t}` : ""), {
@@ -66257,12 +66293,12 @@ function KU(e) {
}
function hMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, S.useState)(null), [o, s] = (0, S.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
- s(e), KU({ q: e });
+ s(e), qU({ q: e });
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, C.jsx)(GU, {
+ /* @__PURE__ */ (0, C.jsx)(KU, {
tab: e,
navigate: n,
find: () => a({})
@@ -66272,7 +66308,7 @@ function hMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
@@ -66294,7 +66330,7 @@ function hMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, C.jsx)(CU, {
+ /* @__PURE__ */ (0, C.jsx)(wU, {
prefill: i,
close: () => a(null),
receipt: r
@@ -66303,14 +66339,14 @@ function hMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
});
}
function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
- let o = new URLSearchParams(location.search), [s, c] = (0, S.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, S.useState)(() => o.get("tag") || ""), [d, f] = (0, S.useState)(() => hU.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, S.useState)(() => o.get("dir") === "asc"), h = (e) => {
- c(e), KU({ scope: e === "external" ? "" : e });
+ let o = new URLSearchParams(location.search), [s, c] = (0, S.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, S.useState)(() => o.get("tag") || ""), [d, f] = (0, S.useState)(() => gU.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, S.useState)(() => o.get("dir") === "asc"), h = (e) => {
+ c(e), qU({ scope: e === "external" ? "" : e });
}, g = (e) => {
- u(e), KU({ tag: e });
+ u(e), qU({ tag: e });
}, _ = (e) => {
- f(e), KU({ sort: e === "taste" ? "" : e });
+ f(e), qU({ sort: e === "taste" ? "" : e });
}, v = (e) => {
- m(e), KU({ dir: e ? "asc" : "" });
+ m(e), qU({ dir: e ? "asc" : "" });
}, y = (0, S.useRef)(null);
(0, S.useEffect)(() => {
let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => ps(e, { drag: !0 }));
@@ -66323,12 +66359,12 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
home: !1,
portrait: !1
})), T = (0, S.useRef)({}), E = (0, S.useRef)(!1), D = (0, S.useRef)(!1), O = p ? "asc" : "desc", k = pt({
- queryKey: HU(s, d, O),
+ queryKey: UU(s, d, O),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = E.current, n = D.current;
- return E.current = !1, D.current = !1, UU(s, e, {
+ return E.current = !1, D.current = !1, WU(s, e, {
sort: d,
direction: O,
jobId: t ? void 0 : T.current[s],
@@ -66360,7 +66396,7 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": ee,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, C.jsx)(mj, {
+ /* @__PURE__ */ (0, C.jsx)(hj, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -66375,7 +66411,7 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(hj, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(gj, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: s === e,
@@ -66389,8 +66425,8 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: ee ? { __html: yU() } : void 0,
- children: ee ? null : F.map((e) => /* @__PURE__ */ (0, C.jsxs)(hj, {
+ dangerouslySetInnerHTML: ee ? { __html: bU() } : void 0,
+ children: ee ? null : F.map((e) => /* @__PURE__ */ (0, C.jsxs)(gj, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: l === e,
@@ -66411,8 +66447,8 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
}) : `${I.length} 部`
}),
- /* @__PURE__ */ (0, C.jsx)(AP, { currentHref: () => location.pathname + location.search }),
- r || l ? /* @__PURE__ */ (0, C.jsx)(gj, {
+ /* @__PURE__ */ (0, C.jsx)(jP, { currentHref: () => location.pathname + location.search }),
+ r || l ? /* @__PURE__ */ (0, C.jsx)(_j, {
onPress: () => {
g(""), a();
},
@@ -66421,7 +66457,7 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- s === "external" ? /* @__PURE__ */ (0, C.jsx)(pj, {
+ s === "external" ? /* @__PURE__ */ (0, C.jsx)(mj, {
"data-entity-batch": "",
"data-jav-metadata-update": "",
label: A?.status === "running" ? "停止读取" : "更新资料",
@@ -66431,14 +66467,14 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
icon: A?.status === "running" ? pMe : mMe,
onPress: () => N(A?.status === "running" ? "stop" : "update")
}) : null,
- /* @__PURE__ */ (0, C.jsx)(kF, {
+ /* @__PURE__ */ (0, C.jsx)(AF, {
label: "JAV 卡片版式",
value: x,
options: TE,
onChange: eue
}),
- /* @__PURE__ */ (0, C.jsx)(jF, {
- sorts: hU.map(([e, t, n]) => ({
+ /* @__PURE__ */ (0, C.jsx)(MF, {
+ sorts: gU.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -66456,7 +66492,7 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
ee ? /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: bU("discover", x) }
+ dangerouslySetInnerHTML: { __html: xU("discover", x) }
}) : null,
k.error ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -66466,7 +66502,7 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
s === "external" && A?.status === "running" ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)(dB, {
+ children: /* @__PURE__ */ (0, C.jsx)(fB, {
embedded: !0,
label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,
value: A.completed,
@@ -66504,13 +66540,13 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
"data-media-grid": "",
- className: vU,
+ className: yU,
style: { "--card-ratio": w },
children: I.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = WU(r, x, b.value.javImage), s = Ije(r.taste_score ?? r.score), c = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = GU(r, x, b.value.javImage), s = Ije(r.taste_score ?? r.score), c = [
s.label,
- `口味 ${gU(r.taste_score ?? r.score)}`,
- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${gU(r.ranking_score)}` : "",
+ `口味 ${_U(r.taste_score ?? r.score)}`,
+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${_U(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -66530,12 +66566,12 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: o ? /* @__PURE__ */ (0, C.jsx)(LF, {
+ children: o ? /* @__PURE__ */ (0, C.jsx)(RF, {
artwork: {
kind: "cover",
html: o
},
- identity: WU(r, "small", b.value.javImage),
+ identity: GU(r, "small", b.value.javImage),
relayout: (e) => vc(e, x)
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-nopic": "",
@@ -66639,8 +66675,8 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...J(j.busy === String(r.id)),
onClick: () => {
- j.run(String(r.id), (e) => DU({ code: r.code }, e), () => {
- t("已加入想要"), kU(), k.refetch();
+ j.run(String(r.id), (e) => OU({ code: r.code }, e), () => {
+ t("已加入想要"), AU(), k.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
@@ -66665,10 +66701,10 @@ function gMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var qU = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", _Me = {
- gray: `${qU} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${qU} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${qU} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var JU = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", _Me = {
+ gray: `${JU} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${JU} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${JU} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
function vMe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
@@ -66699,9 +66735,9 @@ function vMe({ value: e, max: t }) {
});
}
function yMe(e) {
- let { job: t } = fB(e), n = t.data, r = t.isError ? n ? wI : V(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+ let { job: t } = pB(e), n = t.data, r = t.isError ? n ? TI : V(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : DI(n) + (c ? ` · ${JA(l, c)}` : "")), d = s === "gray" ? fge : ege;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : OI(n) + (c ? ` · ${JA(l, c)}` : "")), d = s === "gray" ? fge : ege;
return /* @__PURE__ */ (0, C.jsxs)("aside", {
role: a ? "alert" : "status",
className: _Me[s],
@@ -66727,32 +66763,32 @@ function yMe(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var bMe = "/api/playlists", JU = "/api/playlist", YU = ["playlists"], XU = (e) => H(bMe, e);
+var bMe = "/api/playlists", YU = "/api/playlist", XU = ["playlists"], ZU = (e) => H(bMe, e);
async function xMe(e) {
await W.fetchQuery({
- queryKey: YU,
- queryFn: () => XU(e),
+ queryKey: XU,
+ queryFn: () => ZU(e),
staleTime: 0
});
}
-var ZU = () => W.invalidateQueries({
- queryKey: YU,
+var QU = () => W.invalidateQueries({
+ queryKey: XU,
exact: !0
-}), SMe = (e) => e.current_asset_id || e.preview_asset_id || null, QU = (e) => `/poster?id=${e}&c=4`, CMe = (e) => U(JU, {
+}), SMe = (e) => e.current_asset_id || e.preview_asset_id || null, $U = (e) => `/poster?id=${e}&c=4`, CMe = (e) => U(YU, {
action: "create",
name: e,
asset_ids: []
-}), $U = (e, t) => U(JU, {
+}), eW = (e, t) => U(YU, {
action: "rename",
id: e,
name: t
-}), eW = (e) => U(JU, {
+}), tW = (e) => U(YU, {
action: "delete",
id: e
-}), wMe = (e) => H(`${JU}?id=${e}`).catch(() => null);
+}), wMe = (e) => H(`${YU}?id=${e}`).catch(() => null);
function TMe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return U(JU, {
+ return U(YU, {
action: "create",
name: e.name,
asset_ids: t,
@@ -66762,18 +66798,18 @@ function TMe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var EMe = _P("ellipsis"), DMe = _P("pencil"), OMe = _P("trash"), kMe = _P("playlist"), tW = dA(FP, IP, "text-body-2-medium"), nW = "播放列表名称不能为空", rW = (e) => async () => {
+var EMe = vP("ellipsis"), DMe = vP("pencil"), OMe = vP("trash"), kMe = vP("playlist"), nW = dA(IP, LP, "text-body-2-medium"), rW = "播放列表名称不能为空", iW = (e) => async () => {
try {
await e();
} finally {
- ZU();
+ QU();
}
};
function AMe({ toast: e }) {
let [t, n] = (0, S.useState)(""), [r, i] = (0, S.useState)(""), a = mt({
mutationFn: (e) => CMe(e),
onSuccess: (t) => {
- n(""), i(""), ZU(), e("已新建播放列表", { undo: rW(() => eW(t.playlist.id)) });
+ n(""), i(""), QU(), e("已新建播放列表", { undo: iW(() => tW(t.playlist.id)) });
},
onError: (e) => i(V(e) || "新建失败")
});
@@ -66781,12 +66817,12 @@ function AMe({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(nW));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(rW));
},
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -66816,13 +66852,13 @@ function jMe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = mt({
- mutationFn: ({ row: e, value: t }) => $U(e.id, t),
+ mutationFn: ({ row: e, value: t }) => eW(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), ZU(), n("已重命名播放列表", { undo: rW(() => $U(r.id, r.name)) });
+ t(), QU(), n("已重命名播放列表", { undo: iW(() => eW(r.id, r.name)) });
},
onError: (e) => o(V(e))
});
- return /* @__PURE__ */ (0, C.jsx)(mP, {
+ return /* @__PURE__ */ (0, C.jsx)(hP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -66836,16 +66872,16 @@ function jMe({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(nW);
+ }) : o(rW);
},
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, C.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Vj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, C.jsx)(pP, {
+ }), /* @__PURE__ */ (0, C.jsx)(mP, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -66891,19 +66927,19 @@ function MMe({ name: e, onRename: t, onDelete: n }) {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: PP,
- children: /* @__PURE__ */ (0, C.jsxs)(kI, {
+ className: FP,
+ children: /* @__PURE__ */ (0, C.jsxs)(AI, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: tW,
+ className: nW,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, C.jsx)(DMe, {
"aria-hidden": !0,
@@ -66911,7 +66947,7 @@ function MMe({ name: e, onRename: t, onDelete: n }) {
}), "编辑名称"]
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: tW,
+ className: nW,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, C.jsx)(OMe, {
"aria-hidden": !0,
@@ -66923,11 +66959,11 @@ function MMe({ name: e, onRename: t, onDelete: n }) {
}
function NMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = pt({
- queryKey: YU,
- queryFn: ({ signal: e }) => XU(e)
+ queryKey: XU,
+ queryFn: ({ signal: e }) => ZU(e)
}), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(i);
(0, S.useEffect)(() => {
- c.current !== i && (c.current = i, ZU());
+ c.current !== i && (c.current = i, QU());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
Vs({
@@ -66937,7 +66973,7 @@ function NMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
danger: !0,
onConfirm: async () => {
let t = await wMe(e.id);
- await eW(e.id), ZU(), r("已删除播放列表", t ? { undo: rW(() => TMe(t)) } : void 0);
+ await tW(e.id), QU(), r("已删除播放列表", t ? { undo: iW(() => TMe(t)) } : void 0);
}
});
};
@@ -66961,13 +66997,13 @@ function NMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
let i = SMe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, C.jsx)(XF, {
+ return /* @__PURE__ */ (0, C.jsx)(ZF, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? QU(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(QU),
+ poster: r.preview_asset_id ? $U(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map($U),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
@@ -66984,7 +67020,7 @@ function NMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
icon: kMe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ }) : a.isError ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: V(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
@@ -67019,7 +67055,7 @@ function PMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, C.jsx)("img", {
- src: WR(e),
+ src: GR(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -67067,7 +67103,7 @@ function PMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: WR(e)
+ cover: GR(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, C.jsx)(K, {
@@ -67081,8 +67117,8 @@ function PMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
}
function FMe({ toast: e, ...t }) {
let [n, r] = (0, S.useState)(null), i = pt({
- queryKey: HR,
- queryFn: ({ signal: e }) => UR(e)
+ queryKey: UR,
+ queryFn: ({ signal: e }) => WR(e)
}), a = i.data;
if (!a) return /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -67091,7 +67127,7 @@ function FMe({ toast: e, ...t }) {
}) });
let o = a.items || [];
return o.length ? /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- /* @__PURE__ */ (0, C.jsx)(xH, {
+ /* @__PURE__ */ (0, C.jsx)(SH, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
flush: !0
@@ -67108,7 +67144,7 @@ function FMe({ toast: e, ...t }) {
className: "mt-6 text-center text-caption-1-regular text-text-secondary",
children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`
}) : null,
- /* @__PURE__ */ (0, C.jsx)(CU, {
+ /* @__PURE__ */ (0, C.jsx)(wU, {
prefill: n,
close: () => r(null),
receipt: e
@@ -67131,29 +67167,29 @@ function IMe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(XP, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, C.jsxs)(XP, {
+ i.length > 1 ? /* @__PURE__ */ (0, C.jsxs)(ZP, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(QP, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -67177,7 +67213,7 @@ function IMe(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, C.jsxs)(XP, {
+ b ? /* @__PURE__ */ (0, C.jsxs)(ZP, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -67185,10 +67221,10 @@ function IMe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(QP, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ }), y.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: e
}, e))]
@@ -67234,14 +67270,14 @@ var LMe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, iW = "reviewgenretags";
+}, aW = "reviewgenretags";
function RMe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("datalist", {
- id: iW,
+ id: aW,
children: e.map((e) => /* @__PURE__ */ (0, C.jsx)("option", { value: e }, e))
}) : null;
}
-function aW({ candidate: e, selectable: t = !1 }) {
+function oW({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -67297,17 +67333,17 @@ function zMe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, C.jsx)(aW, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, C.jsx)(TN, {
+ children: /* @__PURE__ */ (0, C.jsx)(oW, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, C.jsx)(EN, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(EN, {
+ children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(DN, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, C.jsx)(aW, {
+ children: /* @__PURE__ */ (0, C.jsx)(oW, {
candidate: e,
selectable: !0
})
@@ -67333,16 +67369,16 @@ function BMe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, C.jsx)(uP, {
+ /* @__PURE__ */ (0, C.jsx)(dP, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(fP, {
+ children: /* @__PURE__ */ (0, C.jsx)(pP, {
size: "small",
- list: t.length ? iW : void 0,
+ list: t.length ? aW : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -67393,8 +67429,8 @@ function VMe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var oW = (e = "") => /^https?:\/\//i.test(e) ? e : "", HMe = (e = "") => oW(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function sW({ url: e }) {
+var sW = (e = "") => /^https?:\/\//i.test(e) ? e : "", HMe = (e = "") => sW(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function cW({ url: e }) {
let t = HMe(e || "");
return /* @__PURE__ */ (0, C.jsx)(UMe, { source: t }, t);
}
@@ -67435,7 +67471,7 @@ function UMe({ source: e }) {
})]
});
}
-function cW({ asset: e, openItem: t }) {
+function lW({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -67451,7 +67487,7 @@ function cW({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, C.jsx)(yx, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, C.jsx)(vx, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, C.jsx)("b", {
@@ -67475,7 +67511,7 @@ function WMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${HH}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${UH}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -67492,7 +67528,7 @@ function WMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
});
}
function GMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = oW(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+ let o = sW(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, C.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -67517,7 +67553,7 @@ function GMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, C.jsx)(sW, { url: e.preview_url }),
+ /* @__PURE__ */ (0, C.jsx)(cW, { url: e.preview_url }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -67616,7 +67652,7 @@ function KMe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, C.jsx)(BP, {
+ children: /* @__PURE__ */ (0, C.jsx)(VP, {
size: "sm",
state: {
isSelected: n,
@@ -67627,7 +67663,7 @@ function KMe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, C.jsx)(yx, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, C.jsx)(vx, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -67640,16 +67676,16 @@ var qMe = _A({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), lW = "flex min-h-6 min-w-0 items-center", uW = 2, JMe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+}), uW = "flex min-h-6 min-w-0 items-center", dW = 2, JMe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
function YMe(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, S.useRef)(!1), m = HP(), h = HP(), g = t === "metadata_fields", _ = MTe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = RTe(t, n), x = QR(t, n), w = ZR(t, n), T = zTe(n), E = BTe(n), D = XR(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, C.jsxs)("div", {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, S.useRef)(!1), m = UP(), h = UP(), g = t === "metadata_fields", _ = MTe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = RTe(t, n), x = $R(t, n), w = QR(t, n), T = zTe(n), E = BTe(n), D = ZR(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [O.slice(0, uW).map((e) => /* @__PURE__ */ (0, C.jsx)(cW, {
+ children: [O.slice(0, dW).map((e) => /* @__PURE__ */ (0, C.jsx)(lW, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > uW ? /* @__PURE__ */ (0, C.jsx)("p", {
+ }, e.id)), O.length > dW ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - uW).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - dW).toLocaleString()} 部对照作品`
}) : null]
}) : y ? /* @__PURE__ */ (0, C.jsx)(WMe, {
kind: _,
@@ -67662,7 +67698,7 @@ function YMe(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, C.jsx)(cW, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, C.jsx)(lW, {
openItem: f.openItem,
asset: {
id: n.asset_id,
@@ -67698,8 +67734,8 @@ function YMe(e) {
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, C.jsx)(sW, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, C.jsxs)("h4", {
- className: `${lW} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, C.jsx)(cW, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, C.jsxs)("h4", {
+ className: `${uW} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
title: x,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
@@ -67714,7 +67750,7 @@ function YMe(e) {
children: w
})]
}) : /* @__PURE__ */ (0, C.jsx)("h4", {
- className: lW,
+ className: uW,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -67730,14 +67766,14 @@ function YMe(e) {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${lW} shrink-0`,
+ className: `${uW} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, C.jsx)(VP, {
+ children: /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -67883,43 +67919,43 @@ function ZMe({ page: e, pages: t, onPage: n }) {
});
}
function QMe(e) {
- let [t, n] = (0, S.useState)(() => matchMedia("(max-width:900px)").matches);
+ let [t, n] = (0, S.useState)(() => matchMedia("(max-width:900px)").matches), r = pj(void 0, t);
(0, S.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, S.useState)(JR(e.category) ? e.category : jTe), [p, m] = (0, S.useState)("candidates"), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(1), [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = (0, S.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, S.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, S.useState)(""), k = (0, S.useRef)(null), [A, j] = (0, S.useState)(0), [M, N] = (0, S.useState)(""), P = (0, S.useRef)(!0);
+ let { route: i, openItem: a, openEntity: o, revealSource: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, S.useState)(YR(e.category) ? e.category : jTe), [m, h] = (0, S.useState)("candidates"), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(1), [b, x] = (0, S.useState)(/* @__PURE__ */ new Set()), [w, T] = (0, S.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, S.useState)(/* @__PURE__ */ new Map()), [O, k] = (0, S.useState)(""), A = (0, S.useRef)(null), [j, M] = (0, S.useState)(0), [N, P] = (0, S.useState)(""), F = (0, S.useRef)(!0);
(0, S.useEffect)(() => () => {
- P.current = !1;
+ F.current = !1;
}, []);
- let F = pt({
- queryKey: KR,
- queryFn: ({ signal: e }) => ez(e)
- }), I = F.data || {
+ let I = pt({
+ queryKey: qR,
+ queryFn: ({ signal: e }) => tz(e)
+ }), ee = I.data || {
sections: {},
counts: {}
- }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = NTe(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = YR(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = FTe(PTe(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, L = ee.sections[f] || [], te = f === "metadata_fields", ne = l, re = NTe(L, te), ie = re.some(([e]) => e === m) ? m : "candidates", ae = XR(L, ie), oe = ae.some((e) => e.key === g) ? g : "", se = FTe(PTe(L, ie, oe), v), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
...e,
- rows: e.rows.filter((e) => ce.has(e.item_key))
- })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || HTe(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {
+ rows: e.rows.filter((e) => le.has(e.item_key))
+ })).filter((e) => e.rows.length), de = (e) => w.get(e.item_key) || HTe(e), fe = L.filter((e) => b.has(e.item_key)), pe = (e) => {
let t = new Set(e);
- b((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
- }, pe = (e, t) => E((n) => new Map(n).set(e, t)), me = (e) => {
- f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });
- }, he = mt({
- mutationFn: ({ row: e, status: t }) => tz($R(d, e, t, ue(e))),
+ x((e) => new Set([...e].filter((e) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e)))), D((e) => new Map([...e].filter(([e]) => !t.has(e))));
+ }, me = (e, t) => D((n) => new Map(n).set(e, t)), he = (e) => {
+ p(e), h("candidates"), _(""), y(1), x(/* @__PURE__ */ new Set()), T(/* @__PURE__ */ new Map()), D(/* @__PURE__ */ new Map()), k(""), A.current = null, i({ category: e === "metadata_fields" ? "" : e });
+ }, ge = mt({
+ mutationFn: ({ row: e, status: t }) => nz(ez(f, e, t, de(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (nz(d, [t.item_key]), fe([t.item_key]), s(UTe(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (rz(f, [t.item_key]), pe([t.item_key]), c(UTe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
},
- onError: (e, { row: t }) => pe(t.item_key, V(e))
- }), ge = mt({
+ onError: (e, { row: t }) => me(t.item_key, V(e))
+ }), _e = mt({
mutationFn: async (e) => {
- let t = de, n = [], r = [];
+ let t = fe, n = [], r = [];
for (let [i, a] of t.entries()) {
- if (!P.current) break;
- O(`正在处理 ${i} / ${t.length}`);
+ if (!F.current) break;
+ k(`正在处理 ${i} / ${t.length}`);
try {
- let t = await tz($R(d, a, e, ue(a)));
+ let t = await nz(ez(f, a, e, de(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -67933,61 +67969,61 @@ function QMe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- nz(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ rz(f, t), pe(t), n.forEach(([e, t]) => me(e, t)), k(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
- O(V(e));
+ k(V(e));
}
- }), _e = (e) => {
- !ge.isPending && de.length && (e === "approved" && L && de.some((e) => !ue(e).candidateKey) ? O("先为所选的多来源候选选择来源。") : (O(""), ge.mutate(e)));
- }, ve = (e) => {
- w((t) => {
+ }), ve = (e) => {
+ !_e.isPending && fe.length && (e === "approved" && te && fe.some((e) => !de(e).candidateKey) ? k("先为所选的多来源候选选择来源。") : (k(""), _e.mutate(e)));
+ }, ye = (e) => {
+ T((t) => {
let n = new Map(t);
- for (let t of de) {
+ for (let t of fe) {
let r = t.candidates?.find((t) => t.source === e);
r && n.set(t.item_key, {
- ...ue(t),
+ ...de(t),
candidateKey: r.candidate_key
});
}
return n;
- }), O(`已选择 ${e},点击通过所选采用。`);
- }, ye = async (e) => {
- if (A) return;
- j(e), N("");
- let t = await o(e);
- P.current && (j(0), N(t));
- }, be = qTe(I.mirror, l), xe = I.genre_tags || [], Se = {
- openItem: i,
- openEntity: a,
- onReveal: ye,
- revealing: A,
- revealNote: M,
- toast: s
+ }), k(`已选择 ${e},点击通过所选采用。`);
+ }, be = async (e) => {
+ if (j) return;
+ M(e), P("");
+ let t = await s(e);
+ F.current && (M(0), P(t));
+ }, xe = qTe(ee.mirror, u), Se = ee.genre_tags || [], Ce = {
+ openItem: a,
+ openEntity: o,
+ onReveal: be,
+ revealing: j,
+ revealNote: N,
+ toast: c
};
return /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
- te ? /* @__PURE__ */ (0, C.jsx)(q, {
+ ne ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "warning",
title: "本机只能浏览",
- extra: u ? /* @__PURE__ */ (0, C.jsx)("p", {
+ extra: d ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular",
children: /* @__PURE__ */ (0, C.jsx)("a", {
- href: u,
+ href: d,
className: "text-text-primary underline underline-offset-2",
children: "前往写入端复核"
})
}) : void 0,
- children: be
+ children: xe
}) : null,
- /* @__PURE__ */ (0, C.jsx)(RMe, { tags: xe }),
- /* @__PURE__ */ (0, C.jsxs)(tP, {
+ /* @__PURE__ */ (0, C.jsx)(RMe, { tags: Se }),
+ /* @__PURE__ */ (0, C.jsxs)(nP, {
orientation: t ? "horizontal" : "vertical",
- selectedKey: d,
+ selectedKey: f,
onSelectionChange: (e) => {
let t = String(e);
- JR(t) && me(t);
+ YR(t) && he(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -67996,110 +68032,111 @@ function QMe(e) {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, C.jsx)(nP, {
+ }), /* @__PURE__ */ (0, C.jsx)(rP, {
+ ref: r,
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
children: ATe.map((e) => {
- let t = Number(I.counts[e] || 0);
- return /* @__PURE__ */ (0, C.jsxs)(rP, {
+ let t = Number(ee.counts[e] || 0);
+ return /* @__PURE__ */ (0, C.jsxs)(iP, {
id: e,
className: XMe,
- children: [qR[e], t ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [JR[e], t ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, C.jsxs)(iP, {
- id: d,
+ }), /* @__PURE__ */ (0, C.jsxs)(aP, {
+ id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !te ? /* @__PURE__ */ (0, C.jsx)(IMe, {
- groupOptions: ne,
- groupBy: re,
+ L.length && !ne ? /* @__PURE__ */ (0, C.jsx)(IMe, {
+ groupOptions: re,
+ groupBy: ie,
onGroupBy: (e) => {
- m(e), g(""), v(1);
+ h(e), _(""), y(1);
},
- groups: ie,
- filter: ae,
+ groups: ae,
+ filter: oe,
onFilter: (e) => {
- g(e), v(1);
+ _(e), y(1);
},
- pageKeys: se,
- selected: y,
- onSelected: b,
- selectedRows: de,
- metadata: L,
- approvable: de.every((e) => XR(d, e)),
- busy: ge.isPending,
- feedback: D,
- onUnifySource: ve,
- onRun: _e
+ pageKeys: ce,
+ selected: b,
+ onSelected: x,
+ selectedRows: fe,
+ metadata: te,
+ approvable: fe.every((e) => ZR(f, e)),
+ busy: _e.isPending,
+ feedback: O,
+ onUnifySource: ye,
+ onRun: ve
}) : null,
- oe.rows.length ? le.map((e) => /* @__PURE__ */ (0, C.jsxs)("section", {
+ se.rows.length ? ue.map((e) => /* @__PURE__ */ (0, C.jsxs)("section", {
className: "flex flex-col gap-3",
- children: [le.length > 1 || re !== "candidates" ? /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: [ue.length > 1 || ie !== "candidates" ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("h3", {
className: "text-body-medium text-text-primary",
children: `${e.title} · ${e.rows.length}`
- }), te ? null : /* @__PURE__ */ (0, C.jsx)(K, {
+ }), ne ? null : /* @__PURE__ */ (0, C.jsx)(K, {
variant: "ghost",
size: "small",
onClick: () => {
- let t = e.rows.map((e) => e.item_key), n = t.every((e) => y.has(e)), r = new Set(y);
+ let t = e.rows.map((e) => e.item_key), n = t.every((e) => b.has(e)), r = new Set(b);
for (let e of t) n ? r.delete(e) : r.add(e);
- b(r);
+ x(r);
},
- children: e.rows.every((e) => y.has(e.item_key)) ? "清空本组" : "全选本组"
+ children: e.rows.every((e) => b.has(e.item_key)) ? "清空本组" : "全选本组"
})]
}) : null, /* @__PURE__ */ (0, C.jsx)("div", {
className: "review-grid gap-5",
children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(YMe, {
- category: d,
+ category: f,
row: e,
- choice: ue(e),
- onChoice: (t) => w((n) => new Map(n).set(e.item_key, t)),
- selected: y.has(e.item_key),
- onSelect: (t, n) => b((r) => {
+ choice: de(e),
+ onChoice: (t) => T((n) => new Map(n).set(e.item_key, t)),
+ selected: b.has(e.item_key),
+ onSelect: (t, n) => x((r) => {
let i = new Set(r);
- return k.current = LTe(i, se, k.current, e.item_key, t, n), i;
+ return A.current = LTe(i, ce, A.current, e.item_key, t, n), i;
}),
- locked: te,
- busy: he.isPending && he.variables?.row.item_key === e.item_key,
- problem: T.get(e.item_key) || "",
- genreTags: xe,
+ locked: ne,
+ busy: ge.isPending && ge.variables?.row.item_key === e.item_key,
+ problem: E.get(e.item_key) || "",
+ genreTags: Se,
onDecide: (t) => {
- he.isPending || ge.isPending || (E((t) => new Map([...t].filter(([t]) => t !== e.item_key))), he.mutate({
+ ge.isPending || _e.isPending || (D((t) => new Map([...t].filter(([t]) => t !== e.item_key))), ge.mutate({
row: e,
status: t
}));
},
- handlers: Se
+ handlers: Ce
}, e.item_key))
})]
- }, e.key)) : F.isError && !F.data ? /* @__PURE__ */ (0, C.jsx)(q, {
+ }, e.key)) : I.isError && !I.data ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "复核队列读取失败",
action: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
size: "small",
- disabled: F.isFetching,
- onClick: () => void F.refetch(),
+ disabled: I.isFetching,
+ onClick: () => void I.refetch(),
children: "重试"
}),
- children: V(F.error)
+ children: V(I.error)
}) : /* @__PURE__ */ (0, C.jsx)(vA, {
icon: Qhe,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
/* @__PURE__ */ (0, C.jsx)(ZMe, {
- page: oe.page,
- pages: oe.pages,
- onPage: v
+ page: se.page,
+ pages: se.pages,
+ onPage: y
})
]
})]
@@ -68109,13 +68146,9 @@ function QMe(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var dW = "/api/custom-metadata", fW = ["custom-metadata"], pW = (e) => H(dW, e), $Me = "/api/scraping", eNe = "/api/scraping/settings", tNe = "/api/scraping/check", mW = "/api/scraping/cover", nNe = "/api/scraping/amane-bridge", rNe = "/api/scraping/amane-bridge/check", iNe = "/api/scraping/amane-bridge/rebuild", hW = ["scraping"], gW = ["scraping", "cover"], _W = ["scraping", "amane-bridge"], vW = (e) => H($Me, e), yW = (e) => H(mW, e), bW = (e) => H(nNe, e);
+var fW = "/api/custom-metadata", pW = ["custom-metadata"], mW = (e) => H(fW, e), $Me = "/api/scraping", eNe = "/api/scraping/settings", tNe = "/api/scraping/check", hW = "/api/scraping/cover", nNe = "/api/scraping/amane-bridge", rNe = "/api/scraping/amane-bridge/check", iNe = "/api/scraping/amane-bridge/rebuild", gW = ["scraping"], _W = ["scraping", "cover"], vW = ["scraping", "amane-bridge"], yW = (e) => H($Me, e), bW = (e) => H(hW, e), xW = (e) => H(nNe, e);
async function aNe(e) {
await Promise.all([
- W.fetchQuery({
- queryKey: hW,
- queryFn: () => vW(e)
- }),
W.fetchQuery({
queryKey: gW,
queryFn: () => yW(e)
@@ -68125,8 +68158,12 @@ async function aNe(e) {
queryFn: () => bW(e)
}),
W.fetchQuery({
- queryKey: fW,
- queryFn: () => pW(e)
+ queryKey: vW,
+ queryFn: () => xW(e)
+ }),
+ W.fetchQuery({
+ queryKey: pW,
+ queryFn: () => mW(e)
})
]);
}
@@ -68135,16 +68172,16 @@ function oNe(e, t) {
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var xW = (e) => e.map(([e, t, n]) => n ? [
+var SW = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function SW({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function CW({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(l);
return f.current = l, (0, S.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = js(t, n, xW(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = js(t, n, SW(r), i, {
attr: a,
className: o,
text: s
@@ -68162,13 +68199,13 @@ function SW({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function CW({ 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 wW({ 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, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(-1), m = (0, S.useRef)(l);
return m.current = l, (0, S.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = so(xW(n), r, { label: t });
+ e.innerHTML = so(SW(n), r, { label: t });
let i = co(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -68245,9 +68282,9 @@ var cNe = [
});
function dNe({ receipt: e }) {
let [t, n] = (0, S.useState)(null), r = pt({
- queryKey: fW,
- queryFn: ({ signal: e }) => pW(e)
- }), i = CA(), a = (e) => W.setQueryData(fW, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, C.jsx)(K, {
+ queryKey: pW,
+ queryFn: ({ signal: e }) => mW(e)
+ }), i = CA(), a = (e) => W.setQueryData(pW, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
onClick: () => n(uNe()),
children: "添加来源"
@@ -68281,7 +68318,7 @@ function dNe({ receipt: e }) {
/* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
...J(i.busy === t.id),
- onClick: () => void i.run(t.id, (e) => U(dW, {
+ onClick: () => void i.run(t.id, (e) => U(fW, {
...t,
enabled: !t.enabled
}, "POST", e), (n) => {
@@ -68296,7 +68333,7 @@ function dNe({ receipt: e }) {
body: `删除「${B(t.name)}」后,采集将不再查询这个来源。`,
confirmLabel: "删除来源",
onConfirm: async () => {
- a(await U(dW, {
+ a(await U(fW, {
action: "delete",
id: t.id
})), n(null), e("已删除来源");
@@ -68333,16 +68370,16 @@ function fNe({ initial: e, cancel: t, saved: n }) {
"aria-label": "元数据来源配置",
"aria-busy": u.busy === "preview",
onSubmit: (e) => {
- e.preventDefault(), u.run("save", (e) => U(dW, r, "POST", e), n);
+ e.preventDefault(), u.run("save", (e) => U(fW, r, "POST", e), n);
},
children: [/* @__PURE__ */ (0, C.jsxs)(jA, { children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -68351,7 +68388,7 @@ function fNe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "来源连接方式" }), /* @__PURE__ */ (0, C.jsx)(CW, {
+ children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "来源连接方式" }), /* @__PURE__ */ (0, C.jsx)(wW, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -68362,7 +68399,7 @@ function fNe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "接口番号格式" }), /* @__PURE__ */ (0, C.jsx)(CW, {
+ children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: "接口番号格式" }), /* @__PURE__ */ (0, C.jsx)(wW, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -68377,7 +68414,7 @@ function fNe({ initial: e, cancel: t, saved: n }) {
})]
}),
/* @__PURE__ */ (0, C.jsx)(NA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- cNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(pP, {
+ cNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(mP, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -68389,18 +68426,18 @@ function fNe({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: lNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(VP, {
+ children: lNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: r.enabled,
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -68410,7 +68447,7 @@ function fNe({ initial: e, cancel: t, saved: n }) {
if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
e.preventDefault();
let t = l.current;
- u.run("preview", (e) => U(dW, {
+ u.run("preview", (e) => U(fW, {
...r,
code: a,
action: "preview"
@@ -68444,9 +68481,9 @@ function fNe({ initial: e, cancel: t, saved: n }) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var wW = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+var TW = [["peach", "Peach 代理"], ["direct", "直接连接"]];
function pNe(e) {
- return wW.some(([t]) => t === e) || !e ? [...wW] : [...wW, [e, e]];
+ return TW.some(([t]) => t === e) || !e ? [...TW] : [...TW, [e, e]];
}
function mNe(e) {
try {
@@ -68455,8 +68492,8 @@ function mNe(e) {
return e;
}
}
-var TW = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function EW({ source: e }) {
+var EW = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function DW({ source: e }) {
if (e === "makers") return /* @__PURE__ */ (0, C.jsx)(Jhe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
@@ -68479,10 +68516,10 @@ function EW({ source: e }) {
});
}
function hNe() {
- return /* @__PURE__ */ (0, C.jsx)(EW, { source: "github" });
+ return /* @__PURE__ */ (0, C.jsx)(DW, { source: "github" });
}
function gNe({ source: e, toast: t }) {
- let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(TW[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);
+ let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(EW[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
@@ -68495,7 +68532,7 @@ function gNe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- W.setQueryData(hW, (t) => t && {
+ W.setQueryData(gW, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
@@ -68524,7 +68561,7 @@ function gNe({ source: e, toast: t }) {
onSubmit: y,
aside: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(EW, { source: e.source }), e.login ? /* @__PURE__ */ (0, C.jsx)(IA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(DW, { source: e.source }), e.login ? /* @__PURE__ */ (0, C.jsx)(IA, {
href: e.login,
children: mNe(e.login)
}) : null]
@@ -68532,14 +68569,14 @@ function gNe({ source: e, toast: t }) {
children: [
/* @__PURE__ */ (0, C.jsx)(AA, { children: /* @__PURE__ */ (0, C.jsx)(EA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, C.jsx)(XP, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: pNe(n).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: pNe(n).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
@@ -68570,20 +68607,20 @@ function gNe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, C.jsx)(rF, {
+ /* @__PURE__ */ (0, C.jsx)(iF, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: iF,
- children: TW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(EN, {
+ className: aF,
+ children: EW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(DN, {
value: e,
- className: aF,
+ className: oF,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, C.jsx)(pP, {
+ c === "paste" ? /* @__PURE__ */ (0, C.jsx)(mP, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -68648,10 +68685,10 @@ function gNe({ source: e, toast: t }) {
});
}
function _Ne({ toast: e }) {
- let [t, n] = (0, S.useState)(""), { running: r, outcome: i, start: a } = hB({
- queryKey: gW,
- queryFn: ({ signal: e }) => yW(e),
- start: () => U(mW, { code: t }),
+ let [t, n] = (0, S.useState)(""), { running: r, outcome: i, start: a } = gB({
+ queryKey: _W,
+ queryFn: ({ signal: e }) => bW(e),
+ start: () => U(hW, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -68666,7 +68703,7 @@ function _Ne({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: /* @__PURE__ */ (0, C.jsx)(mP, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -68694,9 +68731,9 @@ function _Ne({ toast: e }) {
});
}
function vNe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = hB({
- queryKey: _W,
- queryFn: ({ signal: e }) => bW(e),
+ let { query: t, running: n, outcome: r, start: i } = gB({
+ queryKey: vW,
+ queryFn: ({ signal: e }) => xW(e),
start: () => U(iNe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
@@ -68790,8 +68827,8 @@ function vNe({ toast: e }) {
}
function yNe({ toast: e }) {
let t = pt({
- queryKey: hW,
- queryFn: ({ signal: e }) => vW(e)
+ queryKey: gW,
+ queryFn: ({ signal: e }) => yW(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
/* @__PURE__ */ (0, C.jsx)("p", {
@@ -68813,19 +68850,19 @@ function yNe({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var DW = /* @__PURE__ */ new Set([
+var OW = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), OW = /* @__PURE__ */ new Set([
+]), kW = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), kW = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+]), AW = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
function bNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
let c = 0, l = [], u = (e) => {
let t = {
@@ -68833,7 +68870,7 @@ function bNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
index: c++
};
return l.push(t), t;
- }, d = t.filter((t) => !e || kW(t).includes(kW(e)));
+ }, d = t.filter((t) => !e || AW(t).includes(AW(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -68854,8 +68891,8 @@ function bNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !OW.has(e.kind)),
- right: e.filter((e) => OW.has(e.kind)),
+ left: e.filter((e) => !kW.has(e.kind)),
+ right: e.filter((e) => kW.has(e.kind)),
empty: !1,
options: l
};
@@ -68905,7 +68942,7 @@ function bNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !OW.has(e.kind)).map(h), _ = m.filter((e) => OW.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !kW.has(e.kind)).map(h), _ = m.filter((e) => kW.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -68921,7 +68958,7 @@ function xNe(e, t, n = Math.random) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => kW(t) === kW(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => AW(t) === AW(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
@@ -68943,7 +68980,7 @@ var SNe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), AW = (e) => bNe({
+}), jW = (e) => bNe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -68952,7 +68989,7 @@ var SNe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), CNe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), jW = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+}), CNe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), MW = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
@@ -68976,7 +69013,7 @@ function wNe(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 = AW(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, C.jsx)(DNe, {
+ let c = jW(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, C.jsx)(DNe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -68989,7 +69026,7 @@ function wNe(e) {
children: [
/* @__PURE__ */ (0, C.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, C.jsx)("a", {
href: e.href,
- onMouseDown: MW,
+ onMouseDown: NW,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -69046,7 +69083,7 @@ function TNe(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) => kW(e) !== kW(t))]), U("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => AW(e) !== AW(t))]), U("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -69094,7 +69131,7 @@ function TNe(e, t, n, r) {
}, h = () => {
t.query = i().value.trim(), t.picks = t.query ? [] : xNe(t.pool, o()), t.active = -1;
let a = n();
- a && (CNe(AW(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (CNe(jW(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -69106,7 +69143,7 @@ function TNe(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() ? AW(t).options : [], y = (e) => {
+ }, v = () => p() ? jW(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) => {
@@ -69115,7 +69152,7 @@ function TNe(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" && DW.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" && OW.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -69161,7 +69198,7 @@ function TNe(e, t, n, r) {
await U("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => kW(t) !== kW(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => AW(t) !== AW(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
@@ -69179,7 +69216,7 @@ function ENe({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, C.jsx)(QH, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, C.jsx)($H, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, C.jsxs)("div", {
ref: i,
@@ -69189,7 +69226,7 @@ function ENe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var MW = (e) => e.preventDefault();
+var NW = (e) => e.preventDefault();
function DNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
@@ -69202,33 +69239,33 @@ function DNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: MW,
+ onMouseDown: NW,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, C.jsx)(jW, { name: "chevron-right" })
+ /* @__PURE__ */ (0, C.jsx)(MW, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, C.jsx)(jW, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, C.jsx)(MW, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: MW,
+ onMouseDown: NW,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, C.jsx)(jW, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(MW, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = DW.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = OW.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -69242,8 +69279,8 @@ function DNe({ 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: MW,
- children: [/* @__PURE__ */ (0, C.jsx)(NW, {
+ onMouseDown: NW,
+ children: [/* @__PURE__ */ (0, C.jsx)(PW, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -69268,9 +69305,9 @@ function DNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: MW,
+ onMouseDown: NW,
children: [
- /* @__PURE__ */ (0, C.jsx)(PW, {
+ /* @__PURE__ */ (0, C.jsx)(FW, {
item: s,
kind: c
}),
@@ -69293,11 +69330,11 @@ function DNe({ 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: MW,
+ onMouseDown: NW,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, C.jsx)(NW, {
+ children: /* @__PURE__ */ (0, C.jsx)(PW, {
card: e,
helpers: n
})
@@ -69311,7 +69348,7 @@ function DNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, C.jsx)(PW, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, C.jsx)(FW, {
item: s,
kind: c
}) : null,
@@ -69324,13 +69361,13 @@ function DNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function NW({ card: e, helpers: t }) {
+function PW({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function PW({ item: e, kind: t }) {
+function FW({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, C.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -69350,31 +69387,31 @@ function PW({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var FW = "/api/configuration", ONe = "/api/pick-folder", IW = ["configuration"], LW = (e) => H(FW, e);
+var IW = "/api/configuration", ONe = "/api/pick-folder", LW = ["configuration"], RW = (e) => H(IW, e);
async function kNe(e) {
await W.fetchQuery({
- queryKey: IW,
- queryFn: () => LW(e)
+ queryKey: LW,
+ queryFn: () => RW(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var RW = "flex flex-col gap-6";
-function zW(e) {
+var zW = "flex flex-col gap-6";
+function BW(e) {
return e ? {
- className: e.active ? `${RW} ui-board-group-active` : RW,
+ className: e.active ? `${zW} ui-board-group-active` : zW,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: RW };
+ } : { className: zW };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var ANe = "/api/configuration/downloads", BW = "/api/configuration/downloads/check", jNe = "/api/configuration/downloads/folder", MNe = "/api/configuration/downloads/pikpak/login", NNe = "/api/configuration/downloads/pikpak/logout", VW = "/api/configuration/downloads/pikpak/browser-login", HW = 2e3;
+var ANe = "/api/configuration/downloads", VW = "/api/configuration/downloads/check", jNe = "/api/configuration/downloads/folder", MNe = "/api/configuration/downloads/pikpak/login", NNe = "/api/configuration/downloads/pikpak/logout", HW = "/api/configuration/downloads/pikpak/browser-login", UW = 2e3;
function PNe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- ...zW(n),
+ ...BW(n),
children: /* @__PURE__ */ (0, C.jsx)(FNe, {
initial: e,
receipt: t
@@ -69397,7 +69434,7 @@ function FNe({ initial: e, receipt: t }) {
})] });
}
function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(UW), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = CA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({
+ let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(WW), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = CA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -69426,7 +69463,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => H(BW, e), (e) => E(e, t), (e) => _(V(e)));
+ b.run("auto", (e) => H(VW, e), (e) => E(e, t), (e) => _(V(e)));
}, []), /* @__PURE__ */ (0, C.jsxs)(kA, {
title: "云下载",
onSubmit: (e) => {
@@ -69446,12 +69483,12 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(UW), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(WW), y(!1), _("")), n("已保存配置");
}, (e) => _(V(e)));
},
children: [
/* @__PURE__ */ (0, C.jsxs)(jA, { children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -69463,7 +69500,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -69474,7 +69511,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: /* @__PURE__ */ (0, C.jsx)($A, {
source: "115",
label: "115 目标目录"
@@ -69489,7 +69526,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: /* @__PURE__ */ (0, C.jsx)($A, {
source: "pikpak",
label: "PikPak 目标目录"
@@ -69507,7 +69544,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
children: [/* @__PURE__ */ (0, C.jsx)(FA, { children: /* @__PURE__ */ (0, C.jsx)($A, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, C.jsx)(XP, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -69516,13 +69553,13 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: e
}, e))
}) : /* @__PURE__ */ (0, C.jsx)(NA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -69581,7 +69618,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => U(BW, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));
+ b.run("check", (e) => U(VW, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));
},
disabled: !e.available,
...J(b.busy === "check"),
@@ -69596,7 +69633,7 @@ function INe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var UW = {
+var WW = {
target: null,
root: "",
saved: !1
@@ -69665,24 +69702,24 @@ function RNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await H(VW, e.signal);
+ let r = await H(HW, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(V(t));
}
- r = setTimeout(i, HW);
+ r = setTimeout(i, UW);
};
- return r = setTimeout(i, HW), () => {
+ return r = setTimeout(i, UW), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => U(VW, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => U(HW, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(V(e)));
}, b = () => {
- h.run("cancel", (e) => U(`${VW}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => U(`${HW}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(V(e)));
}, x = (e) => {
@@ -69700,7 +69737,7 @@ function RNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(V(e)));
}, T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -69709,7 +69746,7 @@ function RNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -69718,7 +69755,7 @@ function RNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -69798,7 +69835,7 @@ var zNe = [
];
function BNe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(r),
+ ...BW(r),
children: [
/* @__PURE__ */ (0, C.jsx)(UNe, { facts: e.facts }),
/* @__PURE__ */ (0, C.jsx)(VNe, {
@@ -69842,7 +69879,7 @@ function HNe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsxs)(AA, { children: [
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
@@ -69851,7 +69888,7 @@ function HNe({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
@@ -69861,14 +69898,14 @@ function HNe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, C.jsx)(XP, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: zNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: zNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
@@ -69929,7 +69966,7 @@ function WNe({ uninstall: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(AA, { children: /* @__PURE__ */ (0, C.jsx)(EA, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
@@ -69940,7 +69977,7 @@ function WNe({ uninstall: e, receipt: t }) {
divided: !0,
children: /* @__PURE__ */ (0, C.jsx)(zA, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, C.jsx)(uB, {
+ children: c.map((e) => /* @__PURE__ */ (0, C.jsx)(dB, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
@@ -69964,7 +70001,7 @@ function WNe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var WW = /* @__PURE__ */ new Set([
+var GW = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
@@ -69975,12 +70012,12 @@ var WW = /* @__PURE__ */ new Set([
65,
67,
90
-], GW = 120;
+], KW = 120;
function KNe({ initial: e, initialJob: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, S.useState)(""), c = CA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = WW.has(i.state);
+ }), [o, s] = (0, S.useState)(""), c = CA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = GW.has(i.state);
(0, S.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -69997,7 +70034,7 @@ function KNe({ initial: e, initialJob: t }) {
(0, S.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, S.useEffect)(() => {
- let e = new AbortController(), t = WW.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = GW.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await H("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -70010,9 +70047,9 @@ function KNe({ initial: e, initialJob: t }) {
let n = await H("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= GW && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= KW && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < GW && (n = setTimeout(c, t));
+ !e.signal.aborted && o < KW && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -70106,7 +70143,7 @@ function KNe({ initial: e, initialJob: t }) {
//#region src/react/settings/general-settings.tsx
function qNe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(n),
+ ...BW(n),
children: [
e.startup ? /* @__PURE__ */ (0, C.jsx)(JNe, {
startup: e.startup,
@@ -70138,7 +70175,7 @@ function JNe({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsxs)(AA, { children: [
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
@@ -70147,7 +70184,7 @@ function JNe({ startup: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
@@ -70157,7 +70194,7 @@ function JNe({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -70180,7 +70217,7 @@ function JNe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/boardui/components/base/badges/status-dot.tsx
-var KW = fA({
+var qW = fA({
base: "inline-flex size-3 shrink-0 items-center justify-center rounded-full",
halo: {
green: "bg-status-dot-green-halo",
@@ -70197,9 +70234,9 @@ function YNe({ color: e = "green", className: t, ref: n, ...r }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
ref: n,
"aria-hidden": !0,
- className: dA(KW.base, KW.halo[e], t),
+ className: dA(qW.base, qW.halo[e], t),
...r,
- children: /* @__PURE__ */ (0, C.jsx)("span", { className: dA("size-1.5 rounded-full", KW.dot[e]) })
+ children: /* @__PURE__ */ (0, C.jsx)("span", { className: dA("size-1.5 rounded-full", qW.dot[e]) })
});
}
//#endregion
@@ -70213,7 +70250,7 @@ function XNe({ online: e }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var qW = 8e3, ZNe = [
+var JW = 8e3, ZNe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -70303,12 +70340,12 @@ function ePe({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-search" })
});
}
-var JW = kt, YW = (e) => uo[e] || "database", tPe = (e) => jt.includes(e);
+var YW = kt, XW = (e) => uo[e] || "database", tPe = (e) => jt.includes(e);
function nPe({ index: e, cost: t, error: n, onChange: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-read-policy": e,
className: "flex w-full flex-col gap-1.5 @lg:w-48",
- children: [/* @__PURE__ */ (0, C.jsxs)(XP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(ZP, {
"aria-label": `媒体读取策略 ${e + 1}`,
placeholder: "选择读取策略",
isRequired: !0,
@@ -70318,10 +70355,10 @@ function nPe({ index: e, cost: t, error: n, onChange: r }) {
onSelectionChange: (e) => {
(e === "free" || e === "metered") && r(e);
},
- children: [/* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(QP, {
id: "free",
children: "正常读取"
- }), /* @__PURE__ */ (0, C.jsx)(ZP, {
+ }), /* @__PURE__ */ (0, C.jsx)(QP, {
id: "metered",
children: "代理流量保护"
})]
@@ -70387,7 +70424,7 @@ function aPe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -70425,23 +70462,23 @@ function aPe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function oPe({ index: e, value: t, onChange: n, options: r = JW }) {
- return /* @__PURE__ */ (0, C.jsx)(XP, {
+function oPe({ index: e, value: t, onChange: n, options: r = YW }) {
+ return /* @__PURE__ */ (0, C.jsx)(ZP, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(ZP, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(QP, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: YW(e) }), t]
+ children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: XW(e) }), t]
}, e))
});
}
function sPe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, C.jsx)(pP, {
+ return /* @__PURE__ */ (0, C.jsx)(mP, {
label: n,
placeholder: r,
value: e,
@@ -70450,7 +70487,7 @@ function sPe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var XW = [
+var ZW = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -70498,7 +70535,7 @@ function cPe(e) {
let t = e === "local" ? "" : uo[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var ZW = "auto";
+var QW = "auto";
function lPe({ value: e, label: t, kind: n = "local", onChange: r }) {
let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = cPe(n);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(K, {
@@ -70514,35 +70551,35 @@ function lPe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, C.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: e || l }), ((e) => e && XW.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: e || l }), ((e) => e && ZW.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: PP,
- children: /* @__PURE__ */ (0, C.jsxs)(vN, {
+ className: FP,
+ children: /* @__PURE__ */ (0, C.jsxs)(yN, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, C.jsx)(Bj, {
+ /* @__PURE__ */ (0, C.jsx)(Vj, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, C.jsx)(TN, {
+ /* @__PURE__ */ (0, C.jsx)(EN, {
"aria-label": "候选图标",
- value: s || ZW,
- onChange: (e) => c(e === ZW ? "" : e),
+ value: s || QW,
+ onChange: (e) => c(e === QW ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: XW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(EN, {
- value: e || ZW,
+ children: ZW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(DN, {
+ value: e || QW,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
children: /* @__PURE__ */ (0, C.jsx)(BA, { mark: e || l })
- }, e || ZW))
+ }, e || QW))
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -70566,7 +70603,7 @@ function lPe({ value: e, label: t, kind: n = "local", onChange: r }) {
//#region src/react/settings/push-discovery-settings.tsx
var uPe = "/api/configuration/push-discovery", dPe = "/api/configuration/push-discovery/secret";
function fPe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = CA(), l = HP(), u = n.media_roots, [d, f] = (0, S.useState)(e), p = (e, n) => {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = CA(), l = UP(), u = n.media_roots, [d, f] = (0, S.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
@@ -70593,7 +70630,7 @@ function fPe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -70606,7 +70643,7 @@ function fPe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -70618,7 +70655,7 @@ function fPe({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(EA, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -70670,7 +70707,7 @@ function fPe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -70679,13 +70716,13 @@ function fPe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, C.jsx)(XP, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: u.map((e) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: e
}, e))
@@ -70733,7 +70770,7 @@ function fPe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var pPe = (e) => JW.find(([t]) => t === e)?.[1] ?? e, mPe = async (e) => (await U(ONe, { initial: e })).path, QW = (e = "") => ({
+var pPe = (e) => YW.find(([t]) => t === e)?.[1] ?? e, mPe = async (e) => (await U(ONe, { initial: e })).path, $W = (e = "") => ({
path: e,
location: "local",
root: "",
@@ -70742,7 +70779,7 @@ var pPe = (e) => JW.find(([t]) => t === e)?.[1] ?? e, mPe = async (e) => (await
cost: "free"
});
function hPe(e) {
- let t = e.media_sources?.filter((e) => JW.some(([t]) => t === e.location));
+ let t = e.media_sources?.filter((e) => YW.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
@@ -70750,12 +70787,12 @@ function hPe(e) {
library: e.library || "",
library_icon: e.library_icon || "",
cost: e.cost ?? Nt(e.location)
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => QW(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => $W(e));
}
var gPe = (e) => !(e instanceof vn) || e.status !== 400 ? null : e.body?.errors ?? null;
function _Pe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(n),
+ ...BW(n),
children: [
e.editable ? /* @__PURE__ */ (0, C.jsx)(vPe, {
data: e,
@@ -70776,13 +70813,13 @@ function _Pe({ data: e, receipt: t, panel: n }) {
function vPe({ data: e, receipt: t }) {
let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = iPe({
initial: () => hPe(e),
- blank: () => QW(),
+ blank: () => $W(),
pickFolder: mPe,
describe: V
}), [d, f] = (0, S.useState)(!1), [p, m] = (0, S.useState)(!1), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(e.revision), b = CA();
(0, S.useEffect)(() => {
if (!_) return;
- let e = setTimeout(() => location.assign(_.url), qW);
+ let e = setTimeout(() => location.assign(_.url), JW);
return () => clearTimeout(e);
}, [_]);
let x = (r) => {
@@ -70792,7 +70829,7 @@ function vPe({ data: e, receipt: t }) {
m(!0);
let e = r.currentTarget;
requestAnimationFrame(() => e.querySelector(`[data-media-read-policy="${i}"] button`)?.focus());
- } else g(""), b.run("save", (t) => U(FW, {
+ } else g(""), b.run("save", (t) => U(IW, {
revision: y.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -70843,7 +70880,7 @@ function vPe({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: w(t.path) ? /* @__PURE__ */ (0, C.jsx)($W, { online: w(t.path)?.online }) : null,
+ status: w(t.path) ? /* @__PURE__ */ (0, C.jsx)(eG, { online: w(t.path)?.online }) : null,
children: [
/* @__PURE__ */ (0, C.jsx)(oPe, {
index: i,
@@ -70859,7 +70896,7 @@ function vPe({ data: e, receipt: t }) {
onChange: (e) => r(i, { cost: e }),
error: p && !t.cost ? "请选择媒体读取策略" : void 0
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -70899,7 +70936,7 @@ function vPe({ data: e, receipt: t }) {
})
] }, e.name)),
e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(NA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -70919,7 +70956,7 @@ function vPe({ data: e, receipt: t }) {
})]
});
}
-function $W({ online: e }) {
+function eG({ online: e }) {
return /* @__PURE__ */ (0, C.jsx)(XNe, { online: e });
}
function yPe({ data: e }) {
@@ -70928,8 +70965,8 @@ function yPe({ data: e }) {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, C.jsx)(LA, { children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(RA, {
- term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: YW(e.location) }), pPe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)($W, { online: e.online })]
+ term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(BA, { mark: XW(e.location) }), pPe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(eG, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, C.jsx)(jA, {
divided: !0,
@@ -70937,7 +70974,7 @@ function yPe({ data: e }) {
}) : null,
/* @__PURE__ */ (0, C.jsx)(MA, { children: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => LW(e), (e) => W.setQueryData(IW, e)),
+ onClick: () => void n.run("refresh", (e) => RW(e), (e) => W.setQueryData(LW, e)),
...J(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -70946,7 +70983,7 @@ function yPe({ data: e }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var eG = [
+var tG = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
@@ -70958,7 +70995,7 @@ var eG = [
];
function xPe({ epoch: e = 0, disabled: t = !1 }) {
let n = pt({
- queryKey: bz,
+ queryKey: xz,
queryFn: ({ signal: e }) => $Te(e),
refetchOnMount: "always"
}), r = nEe(), i = r.reset;
@@ -70972,14 +71009,14 @@ function xPe({ epoch: e = 0, disabled: t = !1 }) {
description: "按所选间隔抽帧,仅处理本机磁盘上的视频。",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, C.jsx)(XP, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "缩略图采集间隔",
selectedKey: a?.mode || "off",
isDisabled: t || !a || n.isFetching || r.isPending,
onSelectionChange: (e) => {
e !== null && r.mutate(String(e));
},
- children: bPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: bPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
@@ -71003,10 +71040,10 @@ function SPe({ receipt: e }) {
let t = SE();
(0, S.useSyncExternalStore)(t.subscribe, t.version);
let n = pt({
- queryKey: vz,
- queryFn: ({ signal: e }) => xz(e),
+ queryKey: yz,
+ queryFn: ({ signal: e }) => Sz(e),
refetchOnMount: "always"
- }), r = Sz(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ }), r = Cz(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
return /* @__PURE__ */ (0, C.jsxs)(kA, {
title: "关注采集",
children: [/* @__PURE__ */ (0, C.jsxs)(AA, { children: [
@@ -71015,7 +71052,7 @@ function SPe({ receipt: e }) {
label: "首次采集范围",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, C.jsx)(XP, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -71024,7 +71061,7 @@ function SPe({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: eG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: tG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
@@ -71047,7 +71084,7 @@ function SPe({ receipt: e }) {
}
function CPe() {
let e = pt({
- queryKey: yz,
+ queryKey: bz,
queryFn: ({ signal: e }) => QTe(e),
refetchOnMount: "always"
}), t = tEe(), n = e.data, r = (0, S.useRef)(sE(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, S.useState)("60"), [o, s] = (0, S.useState)(!1);
@@ -71064,7 +71101,7 @@ function CPe() {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(VH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -71073,7 +71110,7 @@ function CPe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(pP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mP, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -71108,10 +71145,10 @@ function CPe() {
}
//#endregion
//#region src/react/settings/media-processing-settings.tsx
-var tG = ["media-processing"];
+var nG = ["media-processing"];
function wPe({ receipt: e }) {
let t = pt({
- queryKey: tG,
+ queryKey: nG,
queryFn: ({ signal: e }) => H("/api/media-processing", e)
}), n = CA(), r = n.error || (t.error ? V(t.error) : "");
return /* @__PURE__ */ (0, C.jsxs)(kA, {
@@ -71120,12 +71157,12 @@ function wPe({ receipt: e }) {
/* @__PURE__ */ (0, C.jsx)(AA, { children: /* @__PURE__ */ (0, C.jsx)(EA, {
label: "生成视频预览",
description: "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。",
- children: /* @__PURE__ */ (0, C.jsx)(VH, {
+ children: /* @__PURE__ */ (0, C.jsx)(HH, {
"aria-label": "生成视频预览",
isSelected: !!t.data && !t.data.metadata_only,
isDisabled: !t.data || t.isFetching || !!n.busy,
onChange: (t) => void n.run("save", (e) => U("/api/media-processing", { metadata_only: !t }, "POST", e), (t) => {
- W.setQueryData(tG, t), W.invalidateQueries({ queryKey: bz }), W.invalidateQueries({ queryKey: xI }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
+ W.setQueryData(nG, t), W.invalidateQueries({ queryKey: xz }), W.invalidateQueries({ queryKey: SI }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
})
})
}) }),
@@ -71147,7 +71184,7 @@ function wPe({ receipt: e }) {
//#endregion
//#region src/react/settings/password-pair.tsx
function TPe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(pP, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(mP, {
id: "access-password",
type: "password",
label: e,
@@ -71160,7 +71197,7 @@ function TPe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, C.jsx)(pP, {
+ }), /* @__PURE__ */ (0, C.jsx)(mP, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -71212,12 +71249,12 @@ function DPe({ initial: e, receipt: t }) {
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)(VP, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)(pP, {
+ n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)(mP, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -71261,7 +71298,7 @@ function OPe({ data: e, receipt: t }) {
let [n, r] = (0, S.useState)(String(e.port)), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(null), c = CA();
return (0, S.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), qW);
+ let e = setTimeout(() => location.assign(o.url), JW);
return () => clearTimeout(e);
}, [o]), o ? /* @__PURE__ */ (0, C.jsx)(kA, {
title: "本机访问端口",
@@ -71277,7 +71314,7 @@ function OPe({ data: e, receipt: t }) {
}) : /* @__PURE__ */ (0, C.jsxs)(kA, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => U(FW, {
+ r.preventDefault(), a(""), c.run("save", (t) => U(IW, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -71290,7 +71327,7 @@ function OPe({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(V(e));
});
},
- children: [/* @__PURE__ */ (0, C.jsxs)(jA, { children: [/* @__PURE__ */ (0, C.jsx)(pP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(jA, { children: [/* @__PURE__ */ (0, C.jsx)(mP, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -71324,8 +71361,8 @@ function MPe({ revision: e, initial: t, receipt: n }) {
(0, S.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- LW(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (W.setQueryData(IW, t), i(t.tunnel), o(t.revision));
+ RW(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (W.setQueryData(LW, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
}, kPe);
return () => {
@@ -71352,20 +71389,20 @@ function MPe({ revision: e, initial: t, receipt: n }) {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
children: [/* @__PURE__ */ (0, C.jsxs)(jA, { children: [
- r.named_available ? /* @__PURE__ */ (0, C.jsx)(rF, {
+ r.named_available ? /* @__PURE__ */ (0, C.jsx)(iF, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: iF,
- children: APe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(EN, {
+ className: aF,
+ children: APe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(DN, {
value: e,
- className: aF,
+ className: oF,
children: t
}, e))
}) : null,
/* @__PURE__ */ (0, C.jsx)(NA, { children: jPe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(pP, {
+ _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(mP, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -71376,7 +71413,7 @@ function MPe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, C.jsx)(pP, {
+ }), /* @__PURE__ */ (0, C.jsx)(mP, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -71432,7 +71469,7 @@ var NPe = [
];
function PPe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(n),
+ ...BW(n),
children: [
e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(OPe, {
data: e,
@@ -71470,13 +71507,13 @@ function FPe({ initial: e, receipt: t }) {
children: [
/* @__PURE__ */ (0, C.jsx)(AA, { children: /* @__PURE__ */ (0, C.jsx)(EA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, C.jsx)(XP, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: NPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: NPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
@@ -71485,7 +71522,7 @@ function FPe({ initial: e, receipt: t }) {
i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, C.jsxs)(jA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, C.jsx)(pP, {
+ i === "proxy" ? /* @__PURE__ */ (0, C.jsx)(mP, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -71553,7 +71590,7 @@ function BPe({ row: e, readOnly: t, toast: n }) {
e.howto ? /* @__PURE__ */ (0, C.jsx)(NA, { children: e.howto }) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(pP, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(mP, {
type: "password",
label: n,
placeholder: RPe(e, n),
@@ -71596,7 +71633,7 @@ function BPe({ row: e, readOnly: t, toast: n }) {
(e.shared_fields || []).length ? /* @__PURE__ */ (0, C.jsx)(NA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
e.path ? /* @__PURE__ */ (0, C.jsx)(zA, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, C.jsx)(uB, {
+ children: /* @__PURE__ */ (0, C.jsx)(dB, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -71611,7 +71648,7 @@ function VPe({ row: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, C.jsx)(MH, { provider: e.provider })
+ children: /* @__PURE__ */ (0, C.jsx)(NH, { provider: e.provider })
}),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
@@ -71731,7 +71768,7 @@ function GPe({ initial: e, receipt: t }) {
},
children: [/* @__PURE__ */ (0, C.jsxs)(jA, { children: [
/* @__PURE__ */ (0, C.jsx)(NA, { children: UPe }),
- n.map((e) => /* @__PURE__ */ (0, C.jsx)(pP, {
+ n.map((e) => /* @__PURE__ */ (0, C.jsx)(mP, {
id: `entry-link-${e.key}`,
label: /* @__PURE__ */ (0, C.jsx)(pve, {
site: e.key,
@@ -71755,11 +71792,11 @@ function GPe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var nG = "/api/configuration/indexers";
+var rG = "/api/configuration/indexers";
function KPe({ receipt: e }) {
let t = pt({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => H(nG, e),
+ queryFn: ({ signal: e }) => H(rG, e),
refetchOnMount: "always"
});
return t.error ? /* @__PURE__ */ (0, C.jsx)(PA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(yA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(qPe, {
@@ -71775,7 +71812,7 @@ function qPe({ initial: e, receipt: t }) {
return /* @__PURE__ */ (0, C.jsxs)(kA, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => U(nG, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => U(rG, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
@@ -71790,14 +71827,14 @@ function qPe({ initial: e, receipt: t }) {
n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -71806,7 +71843,7 @@ function qPe({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -71815,13 +71852,13 @@ function qPe({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, C.jsx)(VP, {
+ /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, C.jsx)(VP, {
+ e.api_key_set ? /* @__PURE__ */ (0, C.jsx)(HP, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -71866,7 +71903,7 @@ function JPe({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(n),
+ ...BW(n),
children: [
/* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(gA, {
href: "/sources",
@@ -71896,8 +71933,8 @@ function JPe({ data: e, receipt: t, panel: n }) {
//#region src/react/settings/configuration-page.tsx
function YPe({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = pt({
- queryKey: IW,
- queryFn: ({ signal: e }) => LW(e)
+ queryKey: LW,
+ queryFn: ({ signal: e }) => RW(e)
}), i = r.data;
return i ? /* @__PURE__ */ (0, C.jsx)(ZPe, {
data: i,
@@ -71936,7 +71973,7 @@ function ZPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "媒体库与入库",
body: (e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(e),
+ ...BW(e),
children: [/* @__PURE__ */ (0, C.jsx)(_Pe, { ...d }), /* @__PURE__ */ (0, C.jsx)(wPe, { receipt: t })]
})
},
@@ -71965,7 +72002,7 @@ function ZPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zW(e),
+ ...BW(e),
children: [/* @__PURE__ */ (0, C.jsx)(qNe, { ...d }), /* @__PURE__ */ (0, C.jsx)(BNe, {
...d,
reopenTutorial: n
@@ -72240,22 +72277,22 @@ var tFe = {
optional: !0,
fallback: 60
}
-}, rG = (e) => `peach.number.${e}`;
-function iG(e, t) {
+}, iG = (e) => `peach.number.${e}`;
+function aG(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function aG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+function oG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
let a = tFe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);
- d.current ||= sE(Number(localStorage.getItem(rG(e))), o, s, n && n > 0 ? n : l);
+ d.current ||= sE(Number(localStorage.getItem(iG(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, S.useState)(n ?? 0), [m, h] = (0, S.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, S.useState)(""), v = (0, S.useRef)(null), y = (0, S.useRef)(i);
y.current = i, (0, S.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(rG(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(iG(e), String(d.current)), y.current(d.current)));
}, x = (0, S.useRef)(b);
x.current = b, (0, S.useEffect)(() => {
let e = v.current;
@@ -72265,7 +72302,7 @@ function aG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let w = f > 0, T = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(rG(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(iG(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, E = r || n === null;
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-number-setting": "",
@@ -72302,7 +72339,7 @@ function aG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, C.jsxs)("span", {
"aria-hidden": "true",
- children: [c, iG(Number(m), c) ? ` · ${iG(Number(m), c)}` : ""]
+ children: [c, aG(Number(m), c) ? ` · ${aG(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, C.jsx)("small", {
id: `${e}-error`,
@@ -72316,13 +72353,13 @@ function aG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function oG(e) {
- let { mutate: t } = Sz();
+function sG(e) {
+ let { mutate: t } = Cz();
return (0, S.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function sG(e, t, n, r) {
+function cG(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -72332,17 +72369,17 @@ function sG(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var nFe = "__home__", cG = (e) => e === "" ? nFe : e;
+var nFe = "__home__", lG = (e) => e === "" ? nFe : e;
function rFe({ host: e }) {
- let t = oG(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {
- let a = sG(n, e, r, i);
+ let t = sG(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {
+ let a = cG(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]) => cG(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => lG(e) === o) ?? a[0], y = () => {
h.current && no(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -72363,7 +72400,7 @@ function rFe({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", cG(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", lG(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -72437,7 +72474,7 @@ function rFe({ host: e }) {
})
]
})]
- }, cG(e))), /* @__PURE__ */ (0, C.jsxs)("div", {
+ }, lG(e))), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -72470,15 +72507,15 @@ function rFe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": cG(e),
+ "data-sidebar-add-option": lG(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(cG(e)), y(), m.current?.focus();
+ s(lG(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, C.jsx)(mO, { name: n ?? "" }), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]
- }, cG(e)))
+ }, lG(e)))
}) : null]
}), /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -72495,7 +72532,7 @@ function rFe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var lG = [
+var uG = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
@@ -72537,76 +72574,76 @@ var lG = [
"切片",
"隐藏切片"
]
-], cFe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", uG = null, dG = {
+], cFe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", dG = null, fG = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, fG = 0, pG = null, mG = /* @__PURE__ */ new Set();
+}, pG = 0, mG = null, hG = /* @__PURE__ */ new Set();
function lFe(e) {
- return mG.add(e), () => {
- mG.delete(e);
+ return hG.add(e), () => {
+ hG.delete(e);
};
}
function uFe() {
- for (let e of [...mG]) e();
+ for (let e of [...hG]) e();
}
-function hG(e) {
- dG = {
- ...dG,
+function gG(e) {
+ fG = {
+ ...fG,
...e
}, (0, gt.flushSync)(uFe);
}
async function dFe(e) {
- let t = dG.epoch, n = await e.configurable();
- dG.open && dG.epoch === t && hG({ configurable: n });
+ let t = fG.epoch, n = await e.configurable();
+ fG.open && fG.epoch === t && gG({ configurable: n });
}
function fFe(e = "") {
- let t = uG;
+ let t = dG;
if (!t) return;
- let n = lG.findIndex(([t]) => t === e);
- if (dG.open && !dG.closing) {
- n >= 0 && n !== dG.tab && hG({ tab: n });
+ let n = uG.findIndex(([t]) => t === e);
+ if (fG.open && !fG.closing) {
+ n >= 0 && n !== fG.tab && gG({ tab: n });
return;
}
- $a(), fG += 1, pG ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ $a(), pG += 1, mG ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
let r = eEe();
- hG({
+ gG({
open: !0,
closing: !1,
configurable: null,
- epoch: dG.epoch + 1,
- tab: n >= 0 ? n : dG.tab
+ epoch: fG.epoch + 1,
+ tab: n >= 0 ? n : fG.tab
}), r.then((e) => {
e && t.syncRemote(e);
}), dFe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function gG(e = !0) {
- if (!dG.open || dG.closing) return;
- let t = ++fG;
- e && uG?.closed?.(), hG({ closing: !0 });
+function _G(e = !0) {
+ if (!fG.open || fG.closing) return;
+ let t = ++pG;
+ e && dG?.closed?.(), gG({ closing: !0 });
let n = () => {
- t === fG && dG.closing && (hG({
+ t === pG && fG.closing && (gG({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), pG instanceof HTMLElement && document.contains(pG) && pG.focus(), pG = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), mG instanceof HTMLElement && document.contains(mG) && mG.focus(), mG = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
var pFe = {
open: fFe,
- close: gG,
- isOpen: () => dG.open,
+ close: _G,
+ isOpen: () => fG.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
function mFe(e) {
- return uG = e, pFe;
+ return dG = e, pFe;
}
function hFe() {
- let e = (0, S.useSyncExternalStore)(lFe, () => dG);
- return uG ? /* @__PURE__ */ (0, C.jsx)(vFe, {
- host: uG,
+ let e = (0, S.useSyncExternalStore)(lFe, () => fG);
+ return dG ? /* @__PURE__ */ (0, C.jsx)(vFe, {
+ host: dG,
view: e
}) : null;
}
@@ -72617,7 +72654,7 @@ function gFe(e) {
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 _G = (e) => `settings-tab-${e}`, vG = (e) => `settings-group-${e}`;
+var vG = (e) => `settings-tab-${e}`, yG = (e) => `settings-group-${e}`;
function _Fe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(e), l = (0, S.useRef)([]), u = (e, t) => {
let n = o.current;
@@ -72646,7 +72683,7 @@ function _Fe({ 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 = lG.length, r = t;
+ let n = uG.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;
@@ -72675,11 +72712,11 @@ function _Fe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- lG.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ uG.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
- id: _G(r),
- "aria-controls": vG(r),
+ id: vG(r),
+ "aria-controls": yG(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -72710,17 +72747,17 @@ function _Fe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function yG({ index: e, tab: t, children: n }) {
+function bG({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
"data-setting-group": "",
- id: vG(e),
+ id: yG(e),
role: "tabpanel",
- "aria-labelledby": _G(e),
+ "aria-labelledby": vG(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: lG[e][0] }), n]
+ children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: uG[e][0] }), n]
});
}
-function bG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function xG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, C.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, C.jsx)("small", {
@@ -72737,7 +72774,7 @@ function bG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function xG({ title: e, description: t, kind: n, children: r }) {
+function SG({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -72766,7 +72803,7 @@ function vFe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== dG.tab && (hG({ tab: t }), e.selectSection?.(lG[t][0]));
+ t !== fG.tab && (gG({ tab: t }), e.selectSection?.(uG[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, C.jsx)("section", {
"data-settings-panel": "",
@@ -72779,7 +72816,7 @@ function vFe({ host: e, view: t }) {
ref: r,
onKeyDown: gFe,
onClick: (e) => {
- e.target === e.currentTarget && gG();
+ e.target === e.currentTarget && _G();
},
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-settings-card": "",
@@ -72790,11 +72827,11 @@ function vFe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
id: "settingsTitle",
- children: lG[t.tab][0]
- }), /* @__PURE__ */ (0, C.jsx)(vP, {
+ children: uG[t.tab][0]
+ }), /* @__PURE__ */ (0, C.jsx)(yP, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => gG()
+ onPress: () => _G()
})]
}),
/* @__PURE__ */ (0, C.jsx)(_Fe, {
@@ -72803,20 +72840,20 @@ function vFe({ host: e, view: t }) {
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- gG(!1), e.openConfiguration();
+ _G(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, C.jsxs)(yG, {
+ /* @__PURE__ */ (0, C.jsxs)(bG, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "主题",
- children: /* @__PURE__ */ (0, C.jsx)(SW, {
+ children: /* @__PURE__ */ (0, C.jsx)(CW, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -72844,7 +72881,7 @@ function vFe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, C.jsx)(bG, {
+ /* @__PURE__ */ (0, C.jsx)(xG, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -72852,7 +72889,7 @@ function vFe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, C.jsx)(bG, {
+ /* @__PURE__ */ (0, C.jsx)(xG, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -72881,7 +72918,7 @@ function vFe({ host: e, view: t }) {
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsxs)(yG, {
+ /* @__PURE__ */ (0, C.jsxs)(bG, {
index: 3,
tab: t.tab,
children: [
@@ -72889,11 +72926,11 @@ function vFe({ host: e, view: t }) {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, C.jsx)(aG, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -72903,24 +72940,24 @@ function vFe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "口味与记录",
children: /* @__PURE__ */ (0, C.jsx)("div", {
className: "peach-react",
children: /* @__PURE__ */ (0, C.jsx)(gA, {
variant: "secondary",
href: "/taste",
- onClick: () => gG(!1),
+ onClick: () => _G(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(yG, {
+ /* @__PURE__ */ (0, C.jsx)(bG, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, C.jsx)(bG, {
+ children: /* @__PURE__ */ (0, C.jsx)(xG, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -72947,15 +72984,15 @@ function yFe(e, t) {
}
function bFe({ 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, C.jsxs)(yG, {
+ return /* @__PURE__ */ (0, C.jsxs)(bG, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, C.jsx)(aG, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -72965,12 +73002,12 @@ function bFe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, C.jsx)(CW, {
+ children: [/* @__PURE__ */ (0, C.jsx)(wW, {
id: "defaultSortSetting",
label: "默认排序",
options: iFe,
@@ -72979,7 +73016,7 @@ function bFe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, C.jsx)(CW, {
+ }), /* @__PURE__ */ (0, C.jsx)(wW, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
options: aFe,
@@ -72994,9 +73031,9 @@ function bFe({ host: e, tab: t, epoch: n }) {
})]
})
}),
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, C.jsx)(SW, {
+ children: /* @__PURE__ */ (0, C.jsx)(CW, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -73018,7 +73055,7 @@ function bFe({ host: e, tab: t, epoch: n }) {
}
function xFe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, C.jsxs)(yG, {
+ return /* @__PURE__ */ (0, C.jsxs)(bG, {
index: 2,
tab: t,
children: [
@@ -73026,9 +73063,9 @@ function xFe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "默认图片",
- children: /* @__PURE__ */ (0, C.jsx)(SW, {
+ children: /* @__PURE__ */ (0, C.jsx)(CW, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
@@ -73060,7 +73097,7 @@ function xFe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, C.jsx)(bG, {
+ /* @__PURE__ */ (0, C.jsx)(xG, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -73079,7 +73116,7 @@ function xFe({ host: e, tab: t, epoch: n }) {
});
}
function SFe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = Sz(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {
+ let a = Cz(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {
s(t), Os(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -73106,11 +73143,11 @@ function SFe({ host: e, id: t, settingKey: n, label: r, title: i }) {
function CFe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, C.jsx)(aG, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
@@ -73120,7 +73157,7 @@ function CFe({ host: e, epoch: t }) {
}, t)
})
}),
- /* @__PURE__ */ (0, C.jsx)(bG, {
+ /* @__PURE__ */ (0, C.jsx)(xG, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -73128,7 +73165,7 @@ function CFe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, C.jsx)(bG, {
+ /* @__PURE__ */ (0, C.jsx)(xG, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -73136,11 +73173,11 @@ function CFe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, C.jsx)(xG, {
+ /* @__PURE__ */ (0, C.jsx)(SG, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, C.jsx)(aG, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -73153,12 +73190,12 @@ function CFe({ host: e, epoch: t }) {
] });
}
function wFe({ host: e, epoch: t }) {
- let n = e.store.value, r = Sz();
- return /* @__PURE__ */ (0, C.jsx)(xG, {
+ let n = e.store.value, r = Cz();
+ return /* @__PURE__ */ (0, C.jsx)(SG, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, C.jsx)(aG, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -73171,43 +73208,43 @@ function wFe({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var SG = "__home__", TFe = {
+var CG = "__home__", TFe = {
creator: 26,
tag: 30,
tech: 16
-}, CG = 180, wG = null, TG = {
+}, wG = 180, TG = null, EG = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, EG = /* @__PURE__ */ new Set();
+}, DG = /* @__PURE__ */ new Set();
function EFe(e) {
- return EG.add(e), () => {
- EG.delete(e);
+ return DG.add(e), () => {
+ DG.delete(e);
};
}
-function DG() {
- for (let e of [...EG]) e();
+function OG() {
+ for (let e of [...DG]) e();
}
var DFe = {
render(e) {
- TG = {
- ...TG,
+ EG = {
+ ...EG,
props: e
- }, (0, gt.flushSync)(DG);
+ }, (0, gt.flushSync)(OG);
},
navChanged() {
- TG = {
- ...TG,
- epoch: TG.epoch + 1
- }, (0, gt.flushSync)(DG);
+ EG = {
+ ...EG,
+ epoch: EG.epoch + 1
+ }, (0, gt.flushSync)(OG);
}
};
function OFe(e) {
- return wG = e, TG = {
- ...TG,
+ return TG = e, EG = {
+ ...EG,
props: {
content: null,
filters: {},
@@ -73216,9 +73253,9 @@ function OFe(e) {
}, DFe;
}
function kFe() {
- let e = (0, S.useSyncExternalStore)(EFe, () => TG);
- return wG ? /* @__PURE__ */ (0, C.jsx)(AFe, {
- host: wG,
+ let e = (0, S.useSyncExternalStore)(EFe, () => EG);
+ return TG ? /* @__PURE__ */ (0, C.jsx)(AFe, {
+ host: TG,
props: e.props,
epoch: e.epoch
}) : null;
@@ -73241,7 +73278,7 @@ function AFe({ host: e, props: t, epoch: n }) {
] });
}
function jFe({ host: e, epoch: t, version: n }) {
- let r = oG(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, S.useRef)(null), l = (0, S.useRef)(null), u = yj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || SG : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+ let r = sG(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, S.useRef)(null), l = (0, S.useRef)(null), u = bj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || CG : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, S.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -73259,7 +73296,7 @@ function jFe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || SG);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || CG);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -73274,7 +73311,7 @@ function jFe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : sG(i, n, e, a);
+ let o = n === null ? null : cG(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -73298,14 +73335,14 @@ function jFe({ host: e, epoch: t, version: n }) {
src: "/peach-logo.png",
alt: ""
}) : /* @__PURE__ */ (0, C.jsx)(mO, { name: r }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
- }, t || SG))
+ }, t || CG))
}), v ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var OG = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+var kG = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
function MFe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
@@ -73341,8 +73378,8 @@ function NFe({ host: e, content: t, filters: n, latest: r }) {
function PFe(e, t, n, r, i) {
let a = MFe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = OG(n, r);
- return /* @__PURE__ */ (0, C.jsx)(jG, {
+ let o = kG(n, r);
+ return /* @__PURE__ */ (0, C.jsx)(MG, {
rows: t,
filterKey: r,
multi: i,
@@ -73352,7 +73389,7 @@ function PFe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = OG(n, l), p = c.some((e) => f.includes(e.value));
+ let f = kG(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -73384,7 +73421,7 @@ function PFe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(PG, {
+ body: /* @__PURE__ */ (0, C.jsx)(FG, {
host: e,
filters: n
})
@@ -73398,7 +73435,7 @@ function PFe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(MG, {
+ body: /* @__PURE__ */ (0, C.jsx)(NG, {
rows: t.followTags,
host: e,
selected: null,
@@ -73408,13 +73445,13 @@ function PFe(e, t, n, r, i) {
];
}
function FFe(e, t, n) {
- let r = t.providers || [], i = OG(n, "provider"), a = new Set(t.selected);
+ let r = t.providers || [], i = kG(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, C.jsx)(jG, {
+ body: /* @__PURE__ */ (0, C.jsx)(MG, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -73428,7 +73465,7 @@ function FFe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(PG, {
+ body: /* @__PURE__ */ (0, C.jsx)(FG, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -73438,7 +73475,7 @@ function FFe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, C.jsx)(MG, {
+ body: /* @__PURE__ */ (0, C.jsx)(NG, {
rows: t.tags,
host: e,
selected: a,
@@ -73447,7 +73484,7 @@ function FFe(e, t, n) {
} : null
];
}
-function kG(e, t) {
+function AG(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
@@ -73455,11 +73492,11 @@ function kG(e, t) {
return n === null ? t : n === "open";
}
function IFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => kG(e, n)), u = (0, S.useRef)(!1);
+ let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => AG(e, n)), u = (0, S.useRef)(!1);
(0, S.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? kG(e, n) : c;
+ let i = u.current ? AG(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) => {
@@ -73491,7 +73528,7 @@ function IFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, C.jsx)(AG.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(jG.Provider, {
value: d,
children: a
})
@@ -73500,7 +73537,7 @@ function IFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var AG = (0, S.createContext)(() => {});
+var jG = (0, S.createContext)(() => {});
function LFe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, C.jsx)(mO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, C.jsx)("img", {
"data-sidebar-source-icon": "",
@@ -73508,7 +73545,7 @@ function LFe({ dot: e }) {
alt: ""
}) : /* @__PURE__ */ (0, C.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function jG({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function MG({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -73541,7 +73578,7 @@ function jG({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
});
}
function RFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, S.useContext)(AG), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);
+ let u = (0, S.useContext)(jG), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);
p !== e && (m(e), f(null));
let h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, S.useLayoutEffect)(() => {
@@ -73556,7 +73593,7 @@ function RFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), La(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(jG, {
+ }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(MG, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -73584,7 +73621,7 @@ function RFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, C.jsx)(mO, { name: "chevron-down" })
}) : null] });
}
-function MG({ rows: e, host: t, selected: n, badges: r }) {
+function NG({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
@@ -73606,10 +73643,10 @@ function MG({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var NG = (e, t) => e ? Math.min(CG, Number(e) / 60) : t;
-function PG({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [NG(t.dur_min, 0), NG(t.dur_max, CG)]), [c, l] = (0, S.useState)("max");
- i !== r && (a(r), s([NG(t.dur_min, 0), NG(t.dur_max, CG)]));
+var PG = (e, t) => e ? Math.min(wG, Number(e) / 60) : t;
+function FG({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [PG(t.dur_min, 0), PG(t.dur_max, wG)]), [c, l] = (0, S.useState)("max");
+ i !== r && (a(r), s([PG(t.dur_min, 0), PG(t.dur_max, wG)]));
let [u, d] = o, f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -73622,11 +73659,11 @@ function PG({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, S.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / CG * 100}%`), e.style.setProperty("--hi", `${d / CG * 100}%`);
+ e.style.setProperty("--lo", `${u / wG * 100}%`), e.style.setProperty("--hi", `${d / wG * 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 / CG * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / wG * 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`);
});
@@ -73636,7 +73673,7 @@ function PG({ 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 >= CG ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= wG ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-duration": "",
@@ -73651,7 +73688,7 @@ function PG({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: CG,
+ max: wG,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -73662,7 +73699,7 @@ function PG({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: CG,
+ max: wG,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -73680,7 +73717,7 @@ function PG({ host: e, filters: t, commit: n = e.setDuration }) {
var zFe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${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">${xo({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, FG = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
+})}</div></div></section>`, IG = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
function BFe() {
return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${[
"媒体库与入库",
@@ -73688,11 +73725,11 @@ function BFe() {
"下载渠道",
"网络与访问",
"应用与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${zFe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${FG("媒体文件夹", "", "ui-configuration-skeleton-select")}${FG("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${zFe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${IG("媒体文件夹", "", "ui-configuration-skeleton-select")}${IG("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var IG = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", LG = (e = "60%") => `<span class="${IG} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, RG = "disabled data-skeleton-action", zG = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+var LG = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", RG = (e = "60%") => `<span class="${LG} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, zG = "disabled data-skeleton-action", BG = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
function VFe() {
let e = [
"馆藏视频",
@@ -73701,27 +73738,27 @@ function VFe() {
"使用空间"
].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="${IG} 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">${LG("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">${LG("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${zG}" 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">${LG("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="${LG} 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">${RG("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">${RG("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${BG}" 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">${RG("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">${LG()}</span><b class="text-title-2-medium">${LG("3em")}</b><small class="text-caption-1-regular">${LG()}</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">${RG()}</span><b class="text-title-2-medium">${RG("3em")}</b><small class="text-caption-1-regular">${RG()}</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">账本当前快照 · ${LG("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${RG("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="${zG}"><h3 class="text-title-2-medium">${e}</h3><div class="${IG} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${BG}"><h3 class="text-title-2-medium">${e}</h3><div class="${LG} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -73730,7 +73767,7 @@ function VFe() {
"最近看过",
"标签来源"
].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="${IG} 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="${LG} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
@@ -73742,20 +73779,20 @@ function HFe() {
"私有导出"
].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="${IG} 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">${LG("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">${LG("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${IG} h-6"></div>`).join(""), r = (e) => `<section class="${zG}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${IG} 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="${LG} 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">${RG("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">${RG("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${LG} h-6"></div>`).join(""), r = (e) => `<section class="${BG}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${LG} 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">${Co("全部时间")}<span data-button-group data-split-button data-variant="primary">${xo({
glyph: "compass",
label: "读取浏览器历史",
- attrs: RG
+ attrs: zG
})}${xo({
glyph: "chevron-down",
- attrs: RG
+ attrs: zG
})}</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>
@@ -73773,11 +73810,11 @@ function HFe() {
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">${LG("8em")}</small></div>
+ <small class="text-caption-1-regular">${RG("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="${zG}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${IG} h-72 max-sm:h-48"></div></section>
+ <section class="${BG}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${LG} 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([
"标签",
@@ -73785,20 +73822,20 @@ function HFe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${IG} 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="${LG} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
function UFe() {
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="${IG} 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">${LG("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${LG("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">${LG("75%")}</span>
+ <span class="${LG} 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">${RG("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${RG("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">${RG("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">${LG("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${LG("8em")}</span>
+ <b class="text-title-2-medium">${RG("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${RG("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -73807,27 +73844,27 @@ function UFe() {
variant: "secondary",
size: "small",
label: e,
- attrs: RG
+ attrs: zG
})).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">${LG("4em")}</strong></div><p class="text-body-regular text-text-secondary">${LG("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">${RG("4em")}</strong></div><p class="text-body-regular text-text-secondary">${RG("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 ${RG} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${zG} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
function WFe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${IG} 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">${LG("80%")}</h3><p class="text-body-2-regular">${LG("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${LG} 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">${RG("80%")}</h3><p class="text-body-2-regular">${RG("60%")}</p></div>
</div>
<footer class="flex justify-end">${xo({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: RG
+ attrs: zG
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -73837,24 +73874,24 @@ function WFe() {
}
//#endregion
//#region src/board-skeleton.ts
-var BG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VG = () => `${BG("80%")}${BG("48%")}`, HG = (e, t) => e.repeat(t), UG = "disabled data-skeleton-action", WG = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, GG = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, GFe = "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", KG = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var VG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HG = () => `${VG("80%")}${VG("48%")}`, UG = (e, t) => e.repeat(t), WG = "disabled data-skeleton-action", GG = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, KG = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, GFe = "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", qG = () => `<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="${GFe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${WG("3em")}</b></div>`).join("")}</div>`, qG = [
+].map((e) => `<div class="${GFe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${GG("3em")}</b></div>`).join("")}</div>`, JG = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], KFe = (e = "") => qG.some(([t]) => t === e) ? e : "list", JG = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${qG.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, YG = (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>`, qFe = ({ table: e, sort: t, dir: n }) => {
+], KFe = (e = "") => JG.some(([t]) => t === e) ? e : "list", YG = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${JG.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, XG = (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>`, qFe = ({ table: e, sort: t, dir: n }) => {
let r = bn.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${WG("132px")}</span></span>${xo({
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${GG("132px")}</span></span>${xo({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: UG
+ attrs: WG
})}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${xo({
variant: "ghost",
glyph: "layout-grid",
@@ -73871,36 +73908,36 @@ var BG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VG
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: UG
+ attrs: WG
})}</span></div>`;
-}, XG = () => `<span class="flex shrink-0 items-center gap-1">${xo({
+}, ZG = () => `<span class="flex shrink-0 items-center gap-1">${xo({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: UG
+ attrs: WG
})}${xo({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: UG
-})}</span>`, JFe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${YG()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${WG("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${GG(14, 14)}</span>${GG(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${WG("113px")}</span>${XG()}</span></div>`, ZG = (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>${GG(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${WG("92px")}</b>${xo({
+ attrs: WG
+})}</span>`, JFe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${XG()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${GG("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${KG(14, 14)}</span>${KG(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${GG("113px")}</span>${ZG()}</span></div>`, QG = (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>${KG(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${GG("92px")}</b>${xo({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: UG
-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${GG(14, 14)}${GG(14, 14)}</span>${xo({
+ attrs: WG
+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${KG(14, 14)}${KG(14, 14)}</span>${xo({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: UG
+ attrs: WG
})}${xo({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: UG
-})}</span></div><div data-source-divider>${HG(JFe(), e)}</div></section>`, YFe = () => {
+ attrs: WG
+})}</span></div><div data-source-divider>${UG(JFe(), e)}</div></section>`, YFe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
@@ -73920,30 +73957,30 @@ var BG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VG
provider: "provider",
status: "status",
checked: "checked"
-}, QFe = "<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>", $Fe = (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>${XFe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${ZFe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${QFe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${HG(`<tr>${[
- YG(),
- `<span class="flex min-w-0 items-center gap-2">${GG(32, 32, !0)}${WG("5em")}</span>`,
- WG("10em"),
- `<span class="flex items-center gap-1.5">${GG(14, 14)}${WG("4em")}</span>`,
- GG(48, 24),
- WG("113px"),
- XG()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, eIe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${WG("111px")}</span>${Co(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${GG(204, 32)}</div>`, tIe = () => `<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">${WG("120px")}</h3>${[
+}, QFe = "<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>", $Fe = (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>${XFe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${ZFe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${QFe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${UG(`<tr>${[
+ XG(),
+ `<span class="flex min-w-0 items-center gap-2">${KG(32, 32, !0)}${GG("5em")}</span>`,
+ GG("10em"),
+ `<span class="flex items-center gap-1.5">${KG(14, 14)}${GG("4em")}</span>`,
+ KG(48, 24),
+ GG("113px"),
+ ZG()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, eIe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${GG("111px")}</span>${Co(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${KG(204, 32)}</div>`, tIe = () => `<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">${GG("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${WG(e)}</span>`).join("")}</div>`, nIe = (e) => {
+].map((e) => `<span class="text-body-medium">${GG(e)}</span>`).join("")}</div>`, nIe = (e) => {
let t = KFe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${KG()}<div class="flex flex-col gap-6">${JG(t)}<div class="flex flex-col gap-4">${tIe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = wn(e.followSort, e.followDir), i = e.followPageSize || YFe(), a = n ? $Fe(i, r) : `${YG("全选本页")}<div class="flex flex-col gap-3">${ZG(3)}${ZG(4)}${ZG(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${KG()}<div class="flex flex-col gap-6">${JG(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"}">${qFe({
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qG()}<div class="flex flex-col gap-6">${YG(t)}<div class="flex flex-col gap-4">${tIe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = wn(e.followSort, e.followDir), i = e.followPageSize || YFe(), a = n ? $Fe(i, r) : `${XG("全选本页")}<div class="flex flex-col gap-3">${QG(3)}${QG(4)}${QG(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qG()}<div class="flex flex-col gap-6">${YG(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"}">${qFe({
table: n,
...r
})}${a}${eIe(n, i)}</div></div></div></div></div>`;
};
function rIe() {
- 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">${BG("85%")}${BG("65%")}${HG(VG(), 4)}</div></aside></div>`;
+ 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">${VG("85%")}${VG("65%")}${UG(HG(), 4)}</div></aside></div>`;
}
function iIe(e, t = {}) {
let n = "";
@@ -73956,21 +73993,21 @@ function iIe(e, t = {}) {
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${BG("35%")}${VG()}</div></article></div></section>`).join("")}</div>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${VG("35%")}${HG()}</div></article></div></section>`).join("")}</div>`;
else if (e === "/duplicates") n = UFe();
else if (e === "/quality-goals") n = WFe();
- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${BG("200px")}</div></header><div class="ui-playlistcards">${HG(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${VG()}</div></div></article>`, 6)}</div></section>`;
+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${VG("200px")}</div></header><div class="ui-playlistcards">${UG(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${HG()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var QG = (e) => ["follow-item", e], aIe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, oIe = "/api/follow/save", sIe = "/api/follow/media/hide", $G = class extends Error {
+var $G = (e) => ["follow-item", e], aIe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, oIe = "/api/follow/save", sIe = "/api/follow/media/hide", eK = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function eK(e, t) {
+async function tK(e, t) {
let n = await H(aIe(e), t);
for (let t of n.groups || []) {
let r = pi(t).find((t) => t.id === e);
@@ -73981,7 +74018,7 @@ async function eK(e, t) {
aliases: n.author_aliases || []
};
}
- throw new $G();
+ throw new eK();
}
function cIe(e) {
for (let [, t] of W.getQueriesData({ queryKey: ["follow-item"] })) {
@@ -73994,8 +74031,8 @@ function cIe(e) {
}
return null;
}
-async function tK(e, t) {
- let n = QG(e.id), r = mi(e.id), i = W.getQueryData(ci) ? null : W.fetchQuery({
+async function nK(e, t) {
+ let n = $G(e.id), r = mi(e.id), i = W.getQueryData(ci) ? null : W.fetchQuery({
queryKey: ci,
queryFn: () => li(t)
}), a = r ? {
@@ -74004,7 +74041,7 @@ async function tK(e, t) {
} : W.getQueryData(n) ?? cIe(e.id);
a ? W.setQueryData(n, a) : await W.fetchQuery({
queryKey: n,
- queryFn: () => eK(e.id, t)
+ queryFn: () => tK(e.id, t)
}), await i;
}
function lIe(e, t, n, r) {
@@ -74044,7 +74081,7 @@ function pIe(e) {
return "外部文件页";
}
}
-function nK(e, t) {
+function rK(e, t) {
return fIe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
function mIe(e, t, n = "") {
@@ -74056,7 +74093,7 @@ function mIe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var hIe = (e) => String(e.name || "").trim(), rK = (e, t) => e.tag_types?.[t] || "unknown", gIe = /* @__PURE__ */ new Set([
+var hIe = (e) => String(e.name || "").trim(), iK = (e, t) => e.tag_types?.[t] || "unknown", gIe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
@@ -74064,10 +74101,10 @@ var hIe = (e) => String(e.name || "").trim(), rK = (e, t) => e.tag_types?.[t] ||
"unknown"
]);
function _Ie(e, t) {
- let n = rK(e, t);
+ let n = iK(e, t);
return `r34-${gIe.has(n) ? n : "general"}`;
}
-var iK = [
+var aK = [
"copyright",
"character",
"artist",
@@ -74076,12 +74113,12 @@ var iK = [
];
function vIe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = iK.indexOf(rK(e, t));
- return n < 0 ? iK.length : n;
+ let n = aK.indexOf(iK(e, t));
+ return n < 0 ? aK.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function aK(e, t) {
+function oK(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;
}
@@ -74089,21 +74126,21 @@ var yIe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), oK = (e) => e?.size ? { size: e.size } : {};
+}), sK = (e) => e?.size ? { size: e.size } : {};
function bIe(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: nK(t, e),
- ...oK(t)
+ source: rK(t, e),
+ ...sK(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: nK(a, e),
- ...oK(a)
+ source: rK(a, e),
+ ...sK(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -74111,7 +74148,7 @@ function bIe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var xIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", sK = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Jo(e, {
+var xIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cK = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Jo(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -74135,35 +74172,35 @@ var xIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", sK
<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>`, wIe = {
...Object.fromEntries(Object.keys(UO).map((e) => [`/settings/${e}`, () => qo()])),
- "/data-cleanup": () => oB(),
- "/resource-sync": () => oB(),
+ "/data-cleanup": () => sB(),
+ "/resource-sync": () => sB(),
"/review": () => CIe(),
"/diagnostics": () => qo(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${sK("正在读取采集来源", {
+ ${cK("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function cK(e, { followLayout: t, followSort: n, followDir: r }) {
+function lK(e, { followLayout: t, followSort: n, followDir: r }) {
return iIe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (wIe[e] ?? (() => sK("正在读取页面")))();
+ }) || (wIe[e] ?? (() => cK("正在读取页面")))();
}
-var lK = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function uK(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = lK(t);
+var uK = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function dK(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = uK(t);
(!r || r !== n) && (e.innerHTML = t, ns(e));
}
//#endregion
//#region src/react/components/related-section.tsx
-function dK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
+function fK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
let s = (0, S.useCallback)((e) => {
e && (ns(e), t(e));
}, [t]);
@@ -74176,7 +74213,7 @@ function dK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, C.jsx)(IF, {
+ children: /* @__PURE__ */ (0, C.jsx)(LF, {
message: i,
onRetry: a || (() => {})
})
@@ -74198,7 +74235,7 @@ function dK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function fK({ queue: e, children: t, editionCards: n }) {
+function pK({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
@@ -74207,7 +74244,7 @@ function fK({ queue: e, children: t, editionCards: n }) {
}
//#endregion
//#region src/react/components/media-carousel.tsx
-function pK({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function mK({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, S.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, S.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -74340,7 +74377,7 @@ var EIe = (e, t, n) => [
t,
n
];
-function mK(e, t, n, r) {
+function hK(e, t, n, r) {
let i = new Set((t.group ? pi(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 = pi(e);
@@ -74369,21 +74406,21 @@ async function DIe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return mK(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && mK(o, e, t, n).length < n && await s("", 0), {
+ return hK(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && hK(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var hK = (e) => Number(e) > 0, OIe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var gK = (e) => Number(e) > 0, OIe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), gK = z("external-link", "ui-externalmark");
+}), _K = z("external-link", "ui-externalmark");
function kIe(e) {
let { id: t, actions: n } = e, r = pt({
- queryKey: QG(t),
- queryFn: ({ signal: e }) => eK(t, e)
+ queryKey: $G(t),
+ queryFn: ({ signal: e }) => tK(t, e)
}), i = pt({
queryKey: ci,
queryFn: ({ signal: e }) => li(e)
@@ -74400,9 +74437,9 @@ function kIe(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, C.jsx)(_K, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(vK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? AIe(r.error) ? /* @__PURE__ */ (0, C.jsx)(jIe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(IF, {
+ children: r.isError ? AIe(r.error) ? /* @__PURE__ */ (0, C.jsx)(jIe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -74410,7 +74447,7 @@ function kIe(e) {
})
});
}
-var AIe = (e) => e instanceof $G || e instanceof vn && e.status === 404;
+var AIe = (e) => e instanceof eK || e instanceof vn && e.status === 404;
function jIe({ onBack: e }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-detail-gone": "",
@@ -74420,7 +74457,7 @@ function jIe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Mo("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var _K = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var vK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74450,13 +74487,13 @@ function MIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? uIe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(xK, {
+ let g = !u.embedded.length && u.collection ? uIe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(SK, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(xK, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(SK, {
item: g,
current: null,
helpers: o,
@@ -74490,7 +74527,7 @@ function MIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, C.jsx)(fK, {
+ }), /* @__PURE__ */ (0, C.jsx)(pK, {
queue: _,
children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(NIe, {
data: e,
@@ -74506,19 +74543,19 @@ function NIe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
let o = pt({
queryKey: EIe(e.item.id, t, n),
queryFn: ({ signal: r }) => DIe(e, t, n, r)
- }), [s] = (0, S.useState)(() => sK("正在读取推荐", {
+ }), [s] = (0, S.useState)(() => cK("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, S.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = mK(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = hK(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, C.jsx)(dK, {
+ return /* @__PURE__ */ (0, C.jsx)(fK, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
@@ -74527,11 +74564,11 @@ function NIe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, C.jsx)(MV, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, C.jsx)(NV, {
variant: "next",
group: e,
media: t,
- authorSources: aK(e.primary, u),
+ authorSources: oK(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -74559,14 +74596,14 @@ function PIe({ 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, C.jsx)(_K, { onClose: n.close }),
+ /* @__PURE__ */ (0, C.jsx)(vK, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, C.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void CV(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void wV(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -74574,10 +74611,10 @@ function PIe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: dF(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: fF(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, C.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, C.jsx)(pK, {
+ u ? /* @__PURE__ */ (0, C.jsx)(mK, {
items: c,
position: l,
onSelect: r,
@@ -74594,11 +74631,11 @@ function PIe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var vK = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var yK = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }
});
-function yK({ src: e }) {
+function bK({ src: e }) {
let [t, n] = (0, S.useState)(!1);
return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {
src: e,
@@ -74608,27 +74645,27 @@ function yK({ src: e }) {
onError: () => n(!0)
});
}
-function bK(e) {
+function xK(e) {
return (0, S.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
function FIe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = Si(e), a = bK(n);
- return /* @__PURE__ */ (0, C.jsx)(hI, {
+ let i = Si(e), a = xK(n);
+ return /* @__PURE__ */ (0, C.jsx)(gI, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${pF(e.primary)} · ${i.length} 个视频`,
+ summary: `${mF(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = mIe(e, n, i ? n.provider_label : ""), o = i ? dF(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, C.jsxs)(gI, {
+ let i = e.duplicates.includes(n), a = mIe(e, n, i ? n.provider_label : ""), o = i ? fF(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, C.jsxs)(_I, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(yK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(vK, { kind: "video" }), hK(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {
+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(bK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(yK, { kind: "video" }), gK(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: an(n.duration)
@@ -74646,15 +74683,15 @@ function FIe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, C.jsx)("time", {
dateTime: n.published_at || "",
- children: SF(n)
+ children: CF(n)
})]
})]
}, n.id);
})
});
}
-function xK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = bK(r), c = [];
+function SK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = xK(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -74664,23 +74701,23 @@ function xK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, C.jsx)(hI, {
+ return /* @__PURE__ */ (0, C.jsx)(gI, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${pF(e)} · ${o.length} 个媒体`,
+ summary: `${mF(e)} · ${o.length} 个媒体`,
children: c.map((n) => [n.label ? /* @__PURE__ */ (0, C.jsx)(SSe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, C.jsxs)(gI, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, C.jsxs)(_I, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(yK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(vK, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(bK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(yK, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, C.jsx)("b", {
"data-middle-truncate": "",
children: hIe(n)
@@ -74697,7 +74734,7 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = yF(d, e), p = _F(e, aK(e, t.sources), n), m = p.credited ? "" : e.author && $t(e.author) !== $t(p.author) ? e.author : "", h = bF(e, n), g = vIe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = bF(d, e), p = vF(e, oK(e, t.sources), n), m = p.credited ? "" : e.author && $t(e.author) !== $t(p.author) ? e.author : "", h = xF(e, n), g = vIe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -74713,7 +74750,7 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: vF(d, e) + B(pF(e)) }
+ dangerouslySetInnerHTML: { __html: yF(d, e) + B(mF(e)) }
}), e.url ? /* @__PURE__ */ (0, C.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -74721,7 +74758,7 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: gK }
+ dangerouslySetInnerHTML: { __html: _K }
}) : null]
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -74729,8 +74766,8 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, C.jsx)("span", { children: SF(e) }),
- hK(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: an(e.duration) }) : null,
+ /* @__PURE__ */ (0, C.jsx)("span", { children: CF(e) }),
+ gK(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: an(e.duration) }) : null,
f ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -74747,7 +74784,7 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, C.jsxs)(AV, {
+ children: p.entityName ? /* @__PURE__ */ (0, C.jsxs)(jV, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -74804,7 +74841,7 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
children: [pIe(e), /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: gK }
+ dangerouslySetInnerHTML: { __html: _K }
})]
}, e))
}) : null,
@@ -74904,7 +74941,7 @@ function IIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(yK, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(OIe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(bK, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(OIe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -74952,7 +74989,7 @@ function LIe({ text: e }) {
}) : null] });
}
function RIe(e, t, n) {
- let r = e.id, i = QG(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {
+ let r = e.id, i = $G(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -74971,7 +75008,7 @@ function RIe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && kU(), t.toast(xIe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && AU(), t.toast(xIe(n), { undo: i === "saved" ? void 0 : async () => {
await U(Hn, {
item: r,
to: i
@@ -75008,9 +75045,9 @@ function RIe(e, t, n) {
queryKey: Kje(r),
queryFn: ({ signal: e }) => Yje(r, e)
}).data?.want ?? null, g = mt({
- mutationFn: async (e) => (e ? await OU([e.id]) : await DU({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await kU([e.id]) : await OU({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), kU();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), AU();
},
onError: d,
onSettled: () => l("want", !1)
@@ -75050,7 +75087,7 @@ function RIe(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function SK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function CK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${B(dn(t.name))}</span>` + _a({
@@ -75093,7 +75130,7 @@ function SK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: s
});
}
-function CK({ people: e, onOpen: t }) {
+function wK({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
@@ -75127,7 +75164,7 @@ function CK({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function wK(e) {
+function TK(e) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);
return (0, S.useLayoutEffect)(() => {
let e = t.current;
@@ -75145,7 +75182,7 @@ function wK(e) {
}
//#endregion
//#region src/react/components/source-picture.tsx
-function TK({ item: e, image: t, thumbnail: n = !1 }) {
+function EK({ item: e, image: t, thumbnail: n = !1 }) {
let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = pt({
queryKey: [
"jav-image",
@@ -75188,9 +75225,9 @@ function TK({ item: e, image: t, thumbnail: n = !1 }) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function EK({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function DK({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(TK, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(EK, {
item: {
code: e.code,
has_cover: !1,
@@ -75223,9 +75260,9 @@ function EK({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var DK = (e) => ["jav-detail", e], OK = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), zIe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), kK = (e, t) => W.ensureQueryData({
- queryKey: DK(e.code),
- queryFn: () => OK(e.code, t),
+var OK = (e) => ["jav-detail", e], kK = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), zIe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), AK = (e, t) => W.ensureQueryData({
+ queryKey: OK(e.code),
+ queryFn: () => kK(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
@@ -75236,7 +75273,7 @@ function BIe(e, t) {
}
//#endregion
//#region src/react/item-detail/external-playback.tsx
-var AK = "peach.external-player.v1", jK = [
+var jK = "peach.external-player.v1", MK = [
["m3u", "M3U 播放列表"],
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
@@ -75244,26 +75281,26 @@ var AK = "peach.external-player.v1", jK = [
function VIe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function MK({ id: e }) {
+function NK({ id: e }) {
let [t, n] = (0, S.useState)(() => {
try {
- return jK.find(([e]) => e === localStorage.getItem(AK))?.[0] || "m3u";
+ return MK.find(([e]) => e === localStorage.getItem(jK))?.[0] || "m3u";
} catch {
return "m3u";
}
}), [r, i] = (0, S.useState)(null), a = CA();
return /* @__PURE__ */ (0, C.jsxs)("details", { children: [/* @__PURE__ */ (0, C.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, C.jsxs)(jA, { children: [
- /* @__PURE__ */ (0, C.jsx)(CW, {
+ /* @__PURE__ */ (0, C.jsx)(wW, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
- options: jK,
+ options: MK,
value: t,
epoch: 0,
onPick: (e) => {
- let t = jK.find(([t]) => t === e)?.[0] || "m3u";
+ let t = MK.find(([t]) => t === e)?.[0] || "m3u";
n(t);
try {
- localStorage.setItem(AK, t);
+ localStorage.setItem(jK, t);
} catch {}
}
}),
@@ -75281,9 +75318,9 @@ function MK({ id: e }) {
/* @__PURE__ */ (0, C.jsx)("a", {
href: VIe(t, r.url, r.playlist),
rel: "noreferrer",
- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${jK.find(([e]) => e === t)?.[1]}`
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${MK.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
@@ -75312,7 +75349,7 @@ var WIe = "/api/cover-crop", GIe = (e, t) => U(WIe, {
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function NK({ className: e }) {
+function PK({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -75336,10 +75373,10 @@ function KIe({ 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, C.jsx)(NK, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, C.jsx)(AS, {
+ children: /* @__PURE__ */ (0, C.jsx)(PK, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, C.jsx)(kS, {
getContainer: () => UIe(o.current),
- children: /* @__PURE__ */ (0, C.jsx)(mP, {
+ children: /* @__PURE__ */ (0, C.jsx)(hP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
@@ -75355,7 +75392,7 @@ function KIe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})] });
}
function qIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = HP(), f = mt({
+ let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = UP(), f = mt({
mutationFn: (t) => GIe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
@@ -75369,18 +75406,18 @@ function qIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
x1: n.x1,
y1: n.y1
} : QOe(e, oa);
- c(HV(t, e, null));
+ c(UV(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, C.jsx)(hP, { children: /* @__PURE__ */ (0, C.jsx)(NK, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, C.jsx)(gP, { children: /* @__PURE__ */ (0, C.jsx)(PK, { className: "size-6" }) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(Bj, {
+ /* @__PURE__ */ (0, C.jsx)(Vj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -75406,24 +75443,24 @@ function qIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, C.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, C.jsx)(qV, {
+ children: /* @__PURE__ */ (0, C.jsx)(JV, {
src: t,
aspect: l ? oa : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- BV(e) && p(e);
+ VV(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, C.jsx)(VH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(HH, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(HV(s, a, oa));
+ u(e), e && s && a && c(UV(s, a, oa));
},
children: /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -75452,13 +75489,13 @@ function qIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var PK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var FK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), FK = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+}), IK = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), IK = (e) => Number(e) > 0 ? sn(Number(e)) : "大小未知";
+}), LK = (e) => Number(e) > 0 ? sn(Number(e)) : "大小未知";
function JIe(e) {
let { queue: t, actions: n } = e, r = pt({
queryKey: t ? wD(t) : ["item-queue", "none"],
@@ -75477,9 +75514,9 @@ function JIe(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, C.jsx)(LK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(RK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ children: e ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: Ft(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -75495,7 +75532,7 @@ function JIe(e) {
queue: i
}, o.data.id);
}
-var LK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var RK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75540,7 +75577,7 @@ function YIe(e) {
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, C.jsx)(fK, {
+ }), /* @__PURE__ */ (0, C.jsx)(pK, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
queue: n ? /* @__PURE__ */ (0, C.jsx)(QIe, {
queue: n,
@@ -75559,10 +75596,10 @@ function YIe(e) {
}
function XIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, S.useState)(t ? "" : "auto"), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(-2), d = (0, S.useRef)(!1), f = pt({
- queryKey: DK(e.code || ""),
+ queryKey: OK(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, OK(e.code, t, n);
+ return d.current = !1, kK(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -75607,26 +75644,26 @@ function XIe({ 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, C.jsx)(LK, { onClose: r.close }),
+ /* @__PURE__ */ (0, C.jsx)(RK, { onClose: r.close }),
h ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, C.jsx)(PK, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(EK, {
+ l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(DK, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, l),
- /* @__PURE__ */ (0, C.jsx)(pK, {
+ /* @__PURE__ */ (0, C.jsx)(mK, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, C.jsx)(EK, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, C.jsx)(DK, {
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,
@@ -75662,14 +75699,14 @@ function XIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, C.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, C.jsx)(MK, { id: e.id })
+ /* @__PURE__ */ (0, C.jsx)(NK, { id: e.id })
]
}) : t === "online" ? /* @__PURE__ */ (0, C.jsxs)("div", {
id: "onlineGate",
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, C.jsx)(FK, { html: y }),
+ /* @__PURE__ */ (0, C.jsx)(IK, { html: y }),
/* @__PURE__ */ (0, C.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -75684,7 +75721,7 @@ function XIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, C.jsx)(FK, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", IK(e.size)] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(IK, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", LK(e.size)] })]
}) : null
]
});
@@ -75700,7 +75737,7 @@ function ZIe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, C.jsx)(FK, { html: t }),
+ /* @__PURE__ */ (0, C.jsx)(IK, { html: t }),
/* @__PURE__ */ (0, C.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -75742,7 +75779,7 @@ function QIe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, C.jsx)(hI, {
+ return /* @__PURE__ */ (0, C.jsx)(gI, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -75755,7 +75792,7 @@ function QIe({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && ife(i);
- return /* @__PURE__ */ (0, C.jsxs)(gI, {
+ return /* @__PURE__ */ (0, C.jsxs)(_I, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -75765,25 +75802,25 @@ function QIe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(FK, { html: Oa(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {
+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(IK, { html: Oa(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: an(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, C.jsx)(FK, { html: ja(i) }),
+ lead: /* @__PURE__ */ (0, C.jsx)(IK, { html: ja(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, C.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -75908,7 +75945,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(PK, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -75916,11 +75953,11 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(PK, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: IK(e.size) })]
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: LK(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(PK, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
@@ -75928,7 +75965,7 @@ function tLe({ 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, C.jsx)(PK, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
@@ -75943,14 +75980,14 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, C.jsx)(MI, {
- assetIds: jI([e], r.javImage()),
+ /* @__PURE__ */ (0, C.jsx)(NI, {
+ assetIds: MI([e], r.javImage()),
onComplete: () => {
W.invalidateQueries({ queryKey: CD(e.id) });
}
}),
/* @__PURE__ */ (0, C.jsx)(cLe, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(MK, { id: e.id }, e.id) : null,
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(NK, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -75964,7 +76001,7 @@ function tLe({ 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, C.jsx)(PK, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75976,7 +76013,7 @@ function tLe({ 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, C.jsx)(PK, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75987,7 +76024,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75998,7 +76035,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "eye" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "eye" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -76009,7 +76046,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -76018,7 +76055,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "playlist" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "playlist" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -76029,7 +76066,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "sparkles" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -76040,7 +76077,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "trash" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "trash" })
})
]
}),
@@ -76055,7 +76092,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, C.jsx)(PK, { name: "sperm" }),
+ /* @__PURE__ */ (0, C.jsx)(FK, { name: "sperm" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "mono",
@@ -76069,7 +76106,7 @@ function tLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
});
}
function nLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = wK(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Sfe(e, t);
+ let { text: a, expanded: o, foldable: s, toggle: c } = TK(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Sfe(e, t);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -76096,7 +76133,7 @@ function nLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-cover-crop-host": "",
@@ -76152,7 +76189,7 @@ function rLe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "folder-sync" })
})] });
}
function iLe({ item: e, write: t }) {
@@ -76179,7 +76216,7 @@ function iLe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "star" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-rating-value": "",
@@ -76191,7 +76228,7 @@ function iLe({ item: e, write: t }) {
function aLe({ item: e, actions: t }) {
let n = (0, S.useMemo)(() => cfe(e), [e]), [r, i] = (0, S.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, C.jsx)(SK, {
+ return /* @__PURE__ */ (0, C.jsx)(CK, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -76223,7 +76260,7 @@ function aLe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "user-round" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "user-round" })
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -76254,7 +76291,7 @@ function aLe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, C.jsx)(CK, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(wK, {
people: n.series,
onOpen: t.openEntity
})]
@@ -76281,7 +76318,7 @@ function oLe({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "x" })
})]
}, e.k)), /* @__PURE__ */ (0, C.jsx)(sLe, {
item: e,
@@ -76340,7 +76377,7 @@ function sLe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, C.jsx)(PK, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, C.jsx)(FK, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -76363,7 +76400,7 @@ function sLe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (to(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, C.jsx)(PK, { name: "plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(FK, { name: "plus" })
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -76373,7 +76410,7 @@ function sLe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, C.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, C.jsx)(PK, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -76414,7 +76451,7 @@ function sLe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, C.jsx)(PK, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(FK, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -76508,7 +76545,7 @@ function uLe(e) {
queryKey: Xde(t.id, n),
queryFn: async ({ signal: e }) => (await H(Qde(t.id, n), e)).items || []
}), [o] = (0, S.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, C.jsx)(dK, {
+ return /* @__PURE__ */ (0, C.jsx)(fK, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -76516,7 +76553,7 @@ function uLe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, C.jsx)(ER, {
+ children: a.data ? /* @__PURE__ */ (0, C.jsx)(DR, {
mode: "items",
variant: "next",
items: a.data,
@@ -76529,7 +76566,7 @@ function uLe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, C.jsx)(FK, { html: o })
+ }) : /* @__PURE__ */ (0, C.jsx)(IK, { html: o })
});
}
function dLe(e, t, n) {
@@ -76674,10 +76711,10 @@ function dLe(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var RK = "peach.jav-reviews.v1";
-function zK() {
+var zK = "peach.jav-reviews.v1";
+function BK() {
try {
- let e = localStorage.getItem(RK) || "[]";
+ let e = localStorage.getItem(zK) || "[]";
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")) : [];
@@ -76691,15 +76728,15 @@ function fLe(e, t) {
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...zK().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(RK, i);
+ }, ...BK().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(zK, i);
} catch {}
}
function pLe(e, t) {
- let n = zK(), r = [], i = Infinity;
+ let n = BK(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !PU(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !FU(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -76708,16 +76745,16 @@ function pLe(e, t) {
} : void 0;
}
function mLe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && PU(Date.parse(e.checked_at || "") || t, n));
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && FU(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
function hLe(e) {
let t = (0, S.useRef)(!1), n = pt({
- queryKey: DK(e.code),
+ queryKey: OK(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, OK(e.code, n, r);
+ return t.current = !1, kK(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -76734,14 +76771,14 @@ function hLe(e) {
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, C.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, C.jsx)(BK, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(IF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(VK, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(LF, {
message: V(n.error),
onRetry: r
}) : null]
})
});
}
-var BK = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var VK = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -76771,12 +76808,12 @@ function gLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
video: !0
}] : []
], [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(t.want_id), p = CA(), m = () => {
- p.run("want", async (e) => d ? (await OU([d], e), null) : (await DU({ code: t.code }, e)).want.id, (t) => {
- f(t), W.setQueryData(DK(e), (e) => e && {
+ p.run("want", async (e) => d ? (await kU([d], e), null) : (await OU({ code: t.code }, e)).want.id, (t) => {
+ f(t), W.setQueryData(OK(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), kU(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), AU(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -76785,24 +76822,24 @@ function gLe({ 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, C.jsx)(BK, { close: n.close }),
+ /* @__PURE__ */ (0, C.jsx)(VK, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, C.jsx)(VK, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, C.jsx)(HK, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(yLe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(TK, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(yLe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(EK, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, C.jsx)(pK, {
+ /* @__PURE__ */ (0, C.jsx)(mK, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, C.jsx)(TK, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, C.jsx)(EK, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -76817,15 +76854,15 @@ function gLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-info": "",
children: [
/* @__PURE__ */ (0, C.jsx)(_Le, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(UK, { score: Number(t.score) }) : null,
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(WK, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, C.jsx)(HK, {
+ children: [/* @__PURE__ */ (0, C.jsx)(UK, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, C.jsx)(HK, {
+ }), /* @__PURE__ */ (0, C.jsx)(UK, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
@@ -76837,11 +76874,11 @@ function gLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, C.jsx)(HK, {
+ children: [/* @__PURE__ */ (0, C.jsx)(UK, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, C.jsx)(HK, {
+ }), /* @__PURE__ */ (0, C.jsx)(UK, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -76928,24 +76965,24 @@ function gLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, C.jsx)(CU, {
+ /* @__PURE__ */ (0, C.jsx)(wU, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var VK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var HK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: z(e) }
-}), HK = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {
+}), UK = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, C.jsx)(VK, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(HK, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
}) : null;
function _Le({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = wK(e.title), a = e.title === e.code ? "" : e.title;
+ let { text: t, expanded: n, foldable: r, toggle: i } = TK(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, C.jsx)("h1", {
@@ -76971,12 +77008,12 @@ function _Le({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, C.jsx)(VK, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(HK, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function UK({ score: e, review: t = !1 }) {
+function WK({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-rating": "",
@@ -77000,10 +77037,10 @@ function UK({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VK, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(HK, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, C.jsx)(VK, { name: "star" })
+ children: /* @__PURE__ */ (0, C.jsx)(HK, { name: "star" })
})]
})
}, e);
@@ -77023,14 +77060,14 @@ function vLe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(SK, {
+ children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(CK, {
kind: t,
person: {
...r,
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, C.jsx)(iH, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, C.jsx)(aH, {
code: e.code,
person: r,
detail: !0
@@ -77047,7 +77084,7 @@ function vLe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, C.jsx)(CK, {
+ }), /* @__PURE__ */ (0, C.jsx)(wK, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -77153,7 +77190,7 @@ function bLe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, C.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(UK, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(WK, {
score: Number(e.score),
review: !0
}) : null,
@@ -77218,11 +77255,11 @@ function xLe({ item: e, actions: t, readOnly: n }) {
"data-jav-resources": "",
children: /* @__PURE__ */ (0, C.jsx)(zA, {
trailing: !0,
- summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(VK, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(HK, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, C.jsx)(BU, {
+ children: s ? /* @__PURE__ */ (0, C.jsx)(VU, {
want: {
id: 0,
code: e.code,
@@ -77240,31 +77277,31 @@ function xLe({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var WK = null, GK = null, KK = null, qK = null, JK = null, YK = !1, XK = 0, ZK = null, QK = () => !1, $K = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+var GK = null, KK = null, qK = null, JK = null, YK = null, XK = !1, ZK = 0, QK = null, $K = () => !1, eq = (e, t, n) => `${e}:${t}:${n ?? ""}`;
function SLe(e, t) {
- WK = e, QK = () => t.isOpen(), ZK = () => t.requestClose(), Tue({
+ GK = e, $K = () => t.isOpen(), QK = () => t.requestClose(), Tue({
...e.player,
stage: () => document.getElementById("stage")
}), Eue({
- inMiniplayer: (e) => GK?.player === e,
- kind: (e) => GK?.player === e ? GK.kind : KK?.kind ?? qK?.kind ?? "item",
- expand: () => yq(),
- toMiniplayer: () => bq()
- }), eq || (eq = !0, addEventListener("pagehide", () => sD()));
-}
-var eq = !1;
-function tq() {
- if (!WK) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return WK;
-}
-function nq(e) {
- qK = e;
-}
-var CLe = () => qK;
-function rq(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = $K(n, r.id, i?.index ?? null);
- if (GK && GK.key === a) return TLe(e, GK);
- GK && vq();
+ inMiniplayer: (e) => KK?.player === e,
+ kind: (e) => KK?.player === e ? KK.kind : qK?.kind ?? JK?.kind ?? "item",
+ expand: () => bq(),
+ toMiniplayer: () => xq()
+ }), tq || (tq = !0, addEventListener("pagehide", () => sD()));
+}
+var tq = !1;
+function nq() {
+ if (!GK) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return GK;
+}
+function rq(e) {
+ JK = e;
+}
+var CLe = () => JK;
+function iq(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = eq(n, r.id, i?.index ?? null);
+ if (KK && KK.key === a) return TLe(e, KK);
+ KK && yq();
let o = {
player: null,
kind: n,
@@ -77272,7 +77309,7 @@ function rq(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- KK = o;
+ qK = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
let c = mD(s, {
@@ -77282,13 +77319,13 @@ function rq(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- KK === o && (o.player = e);
+ qK === o && (o.player = e);
},
- handedOff: (e) => GK?.player === e
+ handedOff: (e) => KK?.player === e
});
return () => {
- let e = !!o.player && GK?.player === o.player;
- KK === o && (KK = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), sD());
+ let e = !!o.player && KK?.player === o.player;
+ qK === o && (qK = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), sD());
};
}
async function wLe(e, t, n) {
@@ -77297,27 +77334,27 @@ async function wLe(e, t, n) {
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await tq().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(tq().player.offlineReason(String(r.location || "")));
+ let i = await nq().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(nq().player.offlineReason(String(r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- nq(a);
- let o = rq(t, {
+ rq(a);
+ let o = iq(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && qK === a && aq(!0), o(), qK === a && nq(null));
+ s || (s = !0, e && JK === a && oq(!0), o(), JK === a && rq(null));
};
}
function TLe(e, t) {
let { player: n } = t;
- gq(t), GK = null, _q(), n.el().classList.remove("vjs-peach-mini"), Dde(e), e.append(n.el()), GE(n);
+ _q(t), KK = null, vq(), n.el().classList.remove("vjs-peach-mini"), Dde(e), e.append(n.el()), GE(n);
let r = {
player: n,
kind: t.kind,
@@ -77325,22 +77362,22 @@ function TLe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- KK = r;
+ qK = r;
let i = Ode(n, e);
return KE(n), () => {
- KK === r && (KK = null), i(), GK?.player !== n && (WE() === n && GE(null), rD(n), sD());
+ qK === r && (qK = null), i(), KK?.player !== n && (WE() === n && GE(null), rD(n), sD());
};
}
-var iq = () => {
- let e = KK?.player;
+var aq = () => {
+ let e = qK?.player;
return e && !e.isDisposed() ? e : null;
};
-function aq(e) {
- let t = YK;
- YK = !1, GK?.pending && vq();
- let n = KK, r = n?.player, i = qK;
- if (!n || !r || r.isDisposed() || !i || !JK) return;
- let a = tq().player.settings();
+function oq(e) {
+ let t = XK;
+ XK = !1, KK?.pending && yq();
+ let n = qK, r = n?.player, i = JK;
+ if (!n || !r || r.isDisposed() || !i || !YK) return;
+ let a = nq().player.settings();
(t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && kLe({
player: r,
kind: n.kind,
@@ -77349,46 +77386,46 @@ function aq(e) {
key: n.key
}, i);
}
-function oq(e, t) {
- YK = !1, GK && (GK.kind === e && GK.item.id === t ? (GK.pending = !0, _q()) : vq());
+function sq(e, t) {
+ XK = !1, KK && (KK.kind === e && KK.item.id === t ? (KK.pending = !0, vq()) : yq());
}
-function sq(e) {
- JK = e, JK && mq();
+function cq(e) {
+ YK = e, YK && hq();
}
-var cq = () => !!GK && !GK.pending && !GK.player.isDisposed();
+var lq = () => !!KK && !KK.pending && !KK.player.isDisposed();
function ELe() {
- return cq() ? JK?.frame.querySelector("video") ?? null : null;
+ return lq() ? YK?.frame.querySelector("video") ?? null : null;
}
function DLe() {
- return QK() ? document.getElementById("stage")?.querySelector("video") ?? null : iq()?.el().querySelector("video") ?? ELe();
+ return $K() ? document.getElementById("stage")?.querySelector("video") ?? null : aq()?.el().querySelector("video") ?? ELe();
}
-function lq(e) {
- JK && (JK.title.textContent = e.title || "", JK.sub.textContent = e.sub || "", JK.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function uq(e) {
+ YK && (YK.title.textContent = e.title || "", YK.sub.textContent = e.sub || "", YK.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function uq(e = GK?.item) {
- if (!JK) return;
- let t = JK.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- JK.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function dq(e = KK?.item) {
+ if (!YK) return;
+ let t = YK.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ YK.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function dq() {
- let e = GK?.player;
- if (!e || e.isDisposed() || !JK) return;
+function fq() {
+ let e = KK?.player;
+ if (!e || e.isDisposed() || !YK) return;
let t = e.paused();
- JK.play.setAttribute("aria-label", t ? "播放" : "暂停"), JK.play.querySelector("[data-icon-swap]") || (JK.play.innerHTML = Ro("player-pause", "player-play", t ? "b" : "a")), zo(JK.play, t ? "b" : "a");
+ YK.play.setAttribute("aria-label", t ? "播放" : "暂停"), YK.play.querySelector("[data-icon-swap]") || (YK.play.innerHTML = Ro("player-pause", "player-play", t ? "b" : "a")), zo(YK.play, t ? "b" : "a");
}
-function fq() {
- let e = GK?.player;
- if (!e || e.isDisposed() || !JK) return;
- let t = rn(GK?.item.duration) || rn(e.duration());
- JK.time.textContent = `${on(e.currentTime())} / ${t ? on(t) : "0:00"}`;
-}
-var pq = () => Math.max(1, Number(tq().player.settings().seekSeconds) || 10);
-function mq() {
- if (!JK || !WK) return;
- let e = pq();
- for (let [t, n] of [[JK.back, `后退 ${e} 秒`], [JK.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function hq(e) {
+function pq() {
+ let e = KK?.player;
+ if (!e || e.isDisposed() || !YK) return;
+ let t = rn(KK?.item.duration) || rn(e.duration());
+ YK.time.textContent = `${on(e.currentTime())} / ${t ? on(t) : "0:00"}`;
+}
+var mq = () => Math.max(1, Number(nq().player.settings().seekSeconds) || 10);
+function hq() {
+ if (!YK || !GK) return;
+ let e = mq();
+ for (let [t, n] of [[YK.back, `后退 ${e} 秒`], [YK.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function gq(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -77400,17 +77437,17 @@ function hq(e) {
"play",
"pause",
"ended"
- ], dq), t([
+ ], fq), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], fq), t("loadedmetadata", () => uq()), dq(), fq(), uq(), mq();
+ ], pq), t("loadedmetadata", () => dq()), fq(), pq(), dq(), hq();
}
-function gq(e) {
+function _q(e) {
e.off.forEach((e) => e()), e.off = [];
}
function OLe() {
- let e = JK?.root;
+ let e = YK?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -77418,8 +77455,8 @@ function OLe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function _q() {
- let e = JK?.root;
+function vq() {
+ let e = YK?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -77431,72 +77468,72 @@ function _q() {
}
}
function kLe(e, t) {
- if (!JK) return;
+ if (!YK) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- GK = n, XK++, e.player.el().classList.add("vjs-peach-mini"), JK.frame.prepend(e.player.el()), lq(t), hq(n), OLe(), KE(e.player);
-}
-function vq() {
- let e = GK;
- e && gq(e), GK = null, XK++;
- let t = e?.player ?? null;
- t && WE() === t && GE(null), rD(t), t && sD(), JK?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), UE(), _q();
+ KK = n, ZK++, e.player.el().classList.add("vjs-peach-mini"), YK.frame.prepend(e.player.el()), uq(t), gq(n), OLe(), KE(e.player);
}
function yq() {
- if (!cq() || !GK) return;
- let { kind: e, item: t, mediaIndex: n } = GK;
- tq().expand(e, t.id, n);
+ let e = KK;
+ e && _q(e), KK = null, ZK++;
+ let t = e?.player ?? null;
+ t && WE() === t && GE(null), rD(t), t && sD(), YK?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), UE(), vq();
}
function bq() {
- cq() && !QK() ? yq() : QK() && iq() && ZK && (YK = !0, ZK());
+ if (!lq() || !KK) return;
+ let { kind: e, item: t, mediaIndex: n } = KK;
+ nq().expand(e, t.id, n);
+}
+function xq() {
+ lq() && !$K() ? bq() : $K() && aq() && QK && (XK = !0, QK());
}
function ALe() {
- let e = GK?.player;
+ let e = KK?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function xq(e) {
- let t = GK?.player;
+function Sq(e) {
+ let t = KK?.player;
if (!t || t.isDisposed()) return;
- let n = rn(t.duration()) || rn(GK?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + pq() * e);
+ let n = rn(t.duration()) || rn(KK?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + mq() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function Sq(e) {
- return !(!cq() || !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 || tq().sourceOffline(String(e.location ?? "")));
+function Cq(e) {
+ return !(!lq() || !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 || nq().sourceOffline(String(e.location ?? "")));
}
async function jLe(e) {
- if (!cq() || !GK || !JK) return;
- let t = ++XK, n = await It(`/api/item?id=${e}`).catch(() => null);
- if (t !== XK || !cq() || !GK || !JK || !n || n.error) return;
- if (!Sq(n)) {
- tq().openItem(e);
+ if (!lq() || !KK || !YK) return;
+ let t = ++ZK, n = await It(`/api/item?id=${e}`).catch(() => null);
+ if (t !== ZK || !lq() || !KK || !YK || !n || n.error) return;
+ if (!Cq(n)) {
+ nq().openItem(e);
return;
}
- let r = GK;
- gq(r), WE() === r.player && GE(null), rD(r.player), sD(), JK.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = KK;
+ _q(r), WE() === r.player && GE(null), rD(r.player), sD(), YK.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", JK.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", YK.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- lq(a), mD(i, {
+ uq(a), mD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== XK) {
+ if (t !== ZK) {
r && WE() === r && GE(null), rD(r);
return;
}
if (!r) {
- vq(), tq().openItem(e);
+ yq(), nq().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -77505,26 +77542,26 @@ async function jLe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: $K("item", n.id, null),
+ key: eq("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- GK = i, hq(i);
+ KK = i, gq(i);
}
- }), uq(n);
+ }), dq(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var Cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+var wq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
-}), MLe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, wq = (e) => (t) => {
+}), MLe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, Tq = (e) => (t) => {
t.stopPropagation(), e();
}, NLe = (0, S.memo)(function() {
let e = (0, S.useRef)(null), t = (0, S.useRef)(null), n = (0, S.useRef)(null), r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null);
- return (0, S.useLayoutEffect)(() => (sq({
+ return (0, S.useLayoutEffect)(() => (cq({
root: e.current,
frame: n.current,
play: r.current,
@@ -77534,7 +77571,7 @@ var Cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => sq(null)), []), (0, S.useEffect)(() => FLe(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {
+ }), () => cq(null)), []), (0, S.useEffect)(() => FLe(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -77558,24 +77595,24 @@ var Cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: wq(yq),
- children: /* @__PURE__ */ (0, C.jsx)(Cq, { name: "maximize-2" })
+ onClick: Tq(bq),
+ children: /* @__PURE__ */ (0, C.jsx)(wq, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: wq(vq),
- children: /* @__PURE__ */ (0, C.jsx)(Cq, { name: "x" })
+ onClick: Tq(yq),
+ children: /* @__PURE__ */ (0, C.jsx)(wq, { name: "x" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: wq(() => xq(-1)),
- children: /* @__PURE__ */ (0, C.jsx)(Cq, { name: "rotate-ccw" })
+ onClick: Tq(() => Sq(-1)),
+ children: /* @__PURE__ */ (0, C.jsx)(wq, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: r,
@@ -77584,7 +77621,7 @@ var Cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: wq(ALe),
+ onClick: Tq(ALe),
dangerouslySetInnerHTML: MLe
}),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -77592,8 +77629,8 @@ var Cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: wq(() => xq(1)),
- children: /* @__PURE__ */ (0, C.jsx)(Cq, { name: "rotate-cw" })
+ onClick: Tq(() => Sq(1)),
+ children: /* @__PURE__ */ (0, C.jsx)(wq, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, C.jsx)("span", {
ref: i,
@@ -77610,7 +77647,7 @@ var Cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => yq(),
+ onClick: () => bq(),
children: [/* @__PURE__ */ (0, C.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -77684,35 +77721,35 @@ function FLe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var Tq = null, Eq = null, Dq = /* @__PURE__ */ new Set(), Oq = 0, kq = null, Aq = !1, jq = !1, Mq = () => {
+var Eq = null, Dq = null, Oq = /* @__PURE__ */ new Set(), kq = 0, Aq = null, jq = !1, Mq = !1, Nq = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function Nq() {
- if (!Tq) throw Error("舞台还没有接上宿主(configureStage)");
- return Tq;
+function Pq() {
+ if (!Eq) throw Error("舞台还没有接上宿主(configureStage)");
+ return Eq;
}
function ILe(e) {
- return Dq.add(e), () => {
- Dq.delete(e);
+ return Oq.add(e), () => {
+ Oq.delete(e);
};
}
function LLe() {
- for (let e of [...Dq]) e();
+ for (let e of [...Oq]) e();
}
-function Pq() {
+function Fq() {
(0, gt.flushSync)(LLe);
}
function RLe({ view: e }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(zLe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(NLe, {})] });
}
-var Fq = () => /* @__PURE__ */ (0, C.jsx)("div", {
+var Iq = () => /* @__PURE__ */ (0, C.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
dangerouslySetInnerHTML: { __html: rIe() }
});
-function Iq(e) {
+function Lq(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
@@ -77722,7 +77759,7 @@ function zLe({ view: e }) {
let t = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), Lq();
+ e.preventDefault(), Rq();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
@@ -77734,20 +77771,20 @@ function zLe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), Lq());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), Rq());
},
onPointerDown: (e) => {
- jq = Iq(e);
+ Mq = Lq(e);
},
onClick: (e) => {
- jq && Iq(e) && Lq();
+ Mq && Lq(e) && Rq();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(Fq, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(Iq, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(Fq, {})
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-scroll": "",
@@ -77759,14 +77796,14 @@ function zLe({ view: e }) {
]
});
}
-function Lq() {
- Eq && !Aq && (Aq = !0, Eq.request.actions.close());
+function Rq() {
+ Dq && !jq && (jq = !0, Dq.request.actions.close());
}
-function Rq(e, t) {
- let n = Mq();
+function zq(e, t) {
+ let n = Nq();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function zq(e) {
+function Bq(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -77774,30 +77811,30 @@ function zq(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: Lq
+ close: Rq
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => Nq().player.settings(), i = () => Eq?.request === e;
+ }, r = () => Pq().player.settings(), i = () => Dq?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: Lq,
+ close: Rq,
present: (e, t) => {
let n = e.performers;
- nq({
+ rq({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), Rq(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), zq(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => rq(e, {
+ mountPlayer: (e, t, r, i) => iq(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -77815,18 +77852,18 @@ function zq(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: Lq,
+ close: Rq,
present: (e, t) => {
- nq({
+ rq({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), Rq(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), zq(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => rq(e, {
+ mountPlayer: (e, t, r, i) => iq(e, {
kind: "follow",
item: t,
media: r,
@@ -77847,46 +77884,46 @@ function BLe(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"), Eq?.generation === t && Eq.phase === "reveal" && (Eq = {
- ...Eq,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), Dq?.generation === t && Dq.phase === "reveal" && (Dq = {
+ ...Dq,
phase: "content"
- }, Pq());
+ }, Fq());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function Bq(e) {
- let t = Mq();
- return !Eq || Eq.content.kind !== e || Aq || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function Vq(e) {
+ let t = Nq();
+ return !Dq || Dq.content.kind !== e || jq || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
async function VLe(e) {
- let t = Bq(e.kind);
+ let t = Vq(e.kind);
if (t) {
await ULe(e, t);
return;
}
- Eq && Vq({ miniplayer: !1 });
- let n = ++Oq, r = new AbortController();
- kq = r, Aq = !1, jq = !1, e.kind === "jav" ? vq() : oq(e.kind, e.id ?? NaN);
- let i = zq(e);
- Eq = {
+ Dq && Hq({ miniplayer: !1 });
+ let n = ++kq, r = new AbortController();
+ Aq = r, jq = !1, Mq = !1, e.kind === "jav" ? yq() : sq(e.kind, e.id ?? NaN);
+ let i = Bq(e);
+ Dq = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? sfe(i.props, r.signal) : i.kind === "jav" ? kK(i.props, r.signal) : tK(i.props, r.signal);
- if (n !== Oq || Eq?.request !== e) {
+ let a = i.kind === "item" ? sfe(i.props, r.signal) : i.kind === "jav" ? AK(i.props, r.signal) : nK(i.props, r.signal);
+ if (n !== kq || Dq?.request !== e) {
await a.catch(() => {});
return;
}
let o = HLe(i);
- Eq = {
- ...Eq,
+ Dq = {
+ ...Dq,
phase: o ? "content" : "skeleton"
- }, Pq();
- let s = Mq();
+ }, Fq();
+ let s = Nq();
if (!s) {
await a.catch(() => {});
return;
@@ -77897,46 +77934,46 @@ async function VLe(e) {
} catch {
if (r.signal.aborted) return;
}
- if (n !== Oq || !Eq || o) return;
+ if (n !== kq || !Dq || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- Eq = {
- ...Eq,
+ Dq = {
+ ...Dq,
phase: c ? "content" : "reveal"
- }, Pq(), c || BLe(s, n), Go(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, Fq(), c || BLe(s, n), Go(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();
}
function HLe(e) {
- if (e.kind === "jav") return !!W.getQueryData(DK(e.props.code));
- if (e.kind === "follow") return !!W.getQueryData(QG(e.props.id));
+ if (e.kind === "jav") return !!W.getQueryData(OK(e.props.code));
+ if (e.kind === "follow") return !!W.getQueryData($G(e.props.id));
let { queue: t, id: n } = e.props, r = t ? W.getQueryData(wD(t)) : null;
if (t && !r) return !1;
let i = r ? AD(r, n) : n;
return i != null && !!W.getQueryData(CD(i));
}
async function ULe(e, t) {
- let n = ++Oq;
- kq?.abort();
+ let n = ++kq;
+ Aq?.abort();
let r = new AbortController();
- kq = r, jq = !1;
- let i = zq(e);
+ Aq = r, Mq = !1;
+ let i = Bq(e);
try {
- i.kind === "item" ? await sfe(i.props, r.signal) : i.kind === "jav" ? await kK(i.props, r.signal) : await tK(i.props, r.signal);
+ i.kind === "item" ? await sfe(i.props, r.signal) : i.kind === "jav" ? await AK(i.props, r.signal) : await nK(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== Oq || !Eq || Bq(e.kind) !== t) return;
- e.kind === "jav" ? vq() : oq(e.kind, e.id ?? NaN), wc(t), UE(), Eq = {
- ...Eq,
+ if (n !== kq || !Dq || Vq(e.kind) !== t) return;
+ e.kind === "jav" ? yq() : sq(e.kind, e.id ?? NaN), wc(t), UE(), Dq = {
+ ...Dq,
request: e,
content: i,
phase: "content"
- }, Pq(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Go(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, Fq(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Go(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 WLe() {
- let e = Mq();
+ let e = Nq();
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();
@@ -77946,84 +77983,84 @@ function WLe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function Vq({ miniplayer: e = !0 } = {}) {
- if (Oq++, kq?.abort(), kq = null, aq(e), !Eq) return;
- let t = Mq();
- t && wc(t), UE(), t?.open && t.close(), Eq = null, Aq = !1, jq = !1, Pq(), nq(null), document.body.removeAttribute("data-detail-open");
+function Hq({ miniplayer: e = !0 } = {}) {
+ if (kq++, Aq?.abort(), Aq = null, oq(e), !Dq) return;
+ let t = Nq();
+ t && wc(t), UE(), t?.open && t.close(), Dq = null, jq = !1, Mq = !1, Fq(), rq(null), document.body.removeAttribute("data-detail-open");
}
function GLe(e) {
- Eq && (Eq = {
- ...Eq,
- content: Eq.content.kind === "item" ? {
+ Dq && (Dq = {
+ ...Dq,
+ content: Dq.content.kind === "item" ? {
kind: "item",
props: {
- ...Eq.content.props,
+ ...Dq.content.props,
...e
}
- } : Eq.content.kind === "jav" ? Eq.content : {
+ } : Dq.content.kind === "jav" ? Dq.content : {
kind: "follow",
props: {
- ...Eq.content.props,
+ ...Dq.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, Pq());
+ }, Fq());
}
function KLe() {
- let e = CLe(), t = e?.kind === "item" ? e.item : null, n = t ? ka(t, Nq().player.settings().javImage) : "";
+ let e = CLe(), t = e?.kind === "item" ? e.item : null, n = t ? ka(t, Pq().player.settings().javImage) : "";
if (!n) return;
- let r = iq();
+ let r = aq();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
var qLe = {
open: VLe,
update: GLe,
exit: WLe,
- dispose: Vq,
- requestClose: Lq,
+ dispose: Hq,
+ requestClose: Rq,
repaintPoster: KLe,
- isOpen: () => !!Eq,
- showing: () => Eq && Bq(Eq.content.kind) ? Eq.content.kind : null,
+ isOpen: () => !!Dq,
+ showing: () => Dq && Vq(Dq.content.kind) ? Dq.content.kind : null,
activeVideo: () => DLe(),
mountWallPlayer: wLe,
toggleTheater: () => {
- Eq && Jue(!Nq().player.settings().theaterMode);
+ Dq && Jue(!Pq().player.settings().theaterMode);
},
- toggleMiniplayer: () => bq(),
- closeMiniplayer: () => vq(),
- miniplayerActive: () => cq(),
- miniplayerTakesCard: (e) => Sq(e),
+ toggleMiniplayer: () => xq(),
+ closeMiniplayer: () => yq(),
+ miniplayerActive: () => lq(),
+ miniplayerTakesCard: (e) => Cq(e),
miniplayerPlay: (e) => {
jLe(e);
}
};
function JLe(e) {
- return Tq = e, SLe(e, {
- isOpen: () => !!Eq,
- requestClose: Lq
+ return Eq = e, SLe(e, {
+ isOpen: () => !!Dq,
+ requestClose: Rq
}), qLe;
}
function YLe() {
- let e = (0, S.useSyncExternalStore)(ILe, () => Eq);
- return Tq ? /* @__PURE__ */ (0, C.jsx)(RLe, { view: e }) : null;
+ let e = (0, S.useSyncExternalStore)(ILe, () => Dq);
+ return Eq ? /* @__PURE__ */ (0, C.jsx)(RLe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var XLe = "/api/stats", Hq = ["stats"], Uq = (e) => H(XLe, e);
+var XLe = "/api/stats", Uq = ["stats"], Wq = (e) => H(XLe, e);
async function ZLe(e) {
await W.fetchQuery({
- queryKey: Hq,
- queryFn: () => Uq(e)
+ queryKey: Uq,
+ queryFn: () => Wq(e)
});
}
-var Wq = (e) => e != null && Number.isFinite(e), Gq = (e) => Wq(e) ? e.toLocaleString() : "未取得", QLe = (e, t) => Wq(e) && Wq(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, Kq = (e, t) => {
+var Gq = (e) => e != null && Number.isFinite(e), Kq = (e) => Gq(e) ? e.toLocaleString() : "未取得", QLe = (e, t) => Gq(e) && Gq(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, qq = (e, t) => {
let n = QLe(e, t);
- return !n && Wq(e) && e > 0 && Wq(t) && t > 0 ? "<1%" : `${n}%`;
-}, qq = (e) => {
- if (!Wq(e)) return "未取得";
+ return !n && Gq(e) && e > 0 && Gq(t) && t > 0 ? "<1%" : `${n}%`;
+}, Jq = (e) => {
+ if (!Gq(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)} 分钟`;
-}, Jq = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, Yq = (e) => (e.max_reached || 0) * 100, $Le = (e) => e.kind === "online" ? "在线直接观看" : Jq(e) < Yq(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", eRe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+}, Yq = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, Xq = (e) => (e.max_reached || 0) * 100, $Le = (e) => e.kind === "online" ? "在线直接观看" : Yq(e) < Xq(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", eRe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
function tRe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
@@ -78050,10 +78087,10 @@ var nRe = (e) => Math.max(1, ...e) * 1.1, rRe = (e, t) => e > 0 ? Math.max(e, t
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, Xq = (e, t = {}) => e.map((e) => ({
+}, Zq = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), cRe = (e) => Xq(e, sRe), lRe = [
+})), cRe = (e) => Zq(e, sRe), lRe = [
[
1,
1,
@@ -78093,41 +78130,41 @@ var nRe = (e) => Math.max(1, ...e) * 1.1, rRe = (e, t) => e > 0 ? Math.max(e, t
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
})), dRe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function Zq(e) {
+function Qq(e) {
return typeof e == "string" && dRe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
var fRe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function Qq(e) {
+function $q(e) {
return typeof e == "string" && fRe.has(e);
}
-function $q(e) {
+function eJ(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function eJ(e) {
+function tJ(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (Qq(n) || $q(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($q(n) || eJ(n)) && (t[n] = e[n]);
return t;
}
-function tJ(e) {
+function nJ(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, S.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return eJ(t);
+ return tJ(t);
}
- return typeof e == "object" && !Array.isArray(e) ? eJ(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? tJ(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function nJ(e) {
+function rJ(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (Qq(n) || $q(n) || Zq(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($q(n) || eJ(n) || Qq(n)) && (t[n] = e[n]);
return t;
}
function pRe(e) {
- return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? nJ(e.props) : typeof e == "object" && !Array.isArray(e) ? nJ(e) : null;
+ return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? rJ(e.props) : typeof e == "object" && !Array.isArray(e) ? rJ(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
@@ -78141,14 +78178,14 @@ var mRe = [
"title",
"desc"
];
-function rJ() {
- return rJ = Object.assign ? Object.assign.bind() : function(e) {
+function iJ() {
+ return iJ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, rJ.apply(null, arguments);
+ }, iJ.apply(null, arguments);
}
function hRe(e, t) {
if (e == null) return {};
@@ -78168,14 +78205,14 @@ function gRe(e, t) {
}
return n;
}
-var iJ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+var aJ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = hRe(e, mRe), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = ry("recharts-surface", o);
- return /*#__PURE__*/ S.createElement("svg", rJ({}, nJ(u), {
+ }, f = ny("recharts-surface", o);
+ return /*#__PURE__*/ S.createElement("svg", iJ({}, rJ(u), {
className: f,
width: r,
height: i,
@@ -78184,14 +78221,14 @@ var iJ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
ref: t
}), /*#__PURE__*/ S.createElement("title", null, c), /*#__PURE__*/ S.createElement("desc", null, l), n);
}), _Re = ["children", "className"];
-function aJ() {
- return aJ = Object.assign ? Object.assign.bind() : function(e) {
+function oJ() {
+ return oJ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, aJ.apply(null, arguments);
+ }, oJ.apply(null, arguments);
}
function vRe(e, t) {
if (e == null) return {};
@@ -78211,19 +78248,19 @@ function yRe(e, t) {
}
return n;
}
-var oJ = /*#__PURE__*/ S.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = vRe(e, _Re), a = ry("recharts-layer", r);
- return /*#__PURE__*/ S.createElement("g", aJ({ className: a }, nJ(i), { ref: t }), n);
+var sJ = /*#__PURE__*/ S.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = vRe(e, _Re), a = ny("recharts-layer", r);
+ return /*#__PURE__*/ S.createElement("g", oJ({ className: a }, rJ(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function sJ(e) {
+function cJ(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
var bRe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function cJ(e) {
+function lJ(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
@@ -78233,30 +78270,30 @@ function cJ(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function lJ(e) {
+function uJ(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function uJ(e) {
+function dJ(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
function xRe(e) {
- return e == null ? "" : dJ(e);
+ return e == null ? "" : fJ(e);
}
-function dJ(e) {
+function fJ(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(dJ).join(",");
- if (uJ(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(fJ).join(",");
+ if (dJ(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function fJ(e) {
- if (Array.isArray(e)) return e.map(lJ);
+function pJ(e) {
+ if (Array.isArray(e)) return e.map(uJ);
if (typeof e == "symbol") return [e];
e = xRe(e);
let t = [], n = e.length;
@@ -78286,23 +78323,23 @@ function fJ(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function pJ(e, t, n) {
+function mJ(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (sJ(t)) return n;
+ if (cJ(t)) return n;
let r = e[t];
- return r === void 0 ? cJ(t) && !Object.hasOwn(e, t) ? pJ(e, fJ(t), n) : n : r;
+ return r === void 0 ? lJ(t) && !Object.hasOwn(e, t) ? mJ(e, pJ(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = lJ(t));
+ typeof t == "number" && (t = uJ(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
if (Array.isArray(t)) return SRe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), sJ(t)) return n;
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), cJ(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
@@ -78312,7 +78349,7 @@ function SRe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || sJ(t[e])) return n;
+ if (r == null || cJ(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
@@ -78320,52 +78357,52 @@ function SRe(e, t, n) {
//#endregion
//#region node_modules/recharts/es6/util/round.js
var CRe = 4;
-function mJ(e) {
+function hJ(e) {
var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : CRe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function hJ(e) {
+function gJ(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + mJ(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + hJ(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var gJ = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, _J = (e) => typeof e == "number" && e != +e, vJ = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, yJ = (e) => (typeof e == "number" || e instanceof Number) && !_J(e), bJ = (e) => yJ(e) || typeof e == "string", wRe = 0, xJ = (e) => {
+var _J = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, vJ = (e) => typeof e == "number" && e != +e, yJ = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, bJ = (e) => (typeof e == "number" || e instanceof Number) && !vJ(e), xJ = (e) => bJ(e) || typeof e == "string", wRe = 0, SJ = (e) => {
var t = ++wRe;
return `${e || ""}${t}`;
-}, SJ = function(e, t) {
+}, CJ = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
- if (!yJ(e) && typeof e != "string") return n;
+ if (!bJ(e) && typeof e != "string") return n;
var i;
- if (vJ(e)) {
+ if (yJ(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return _J(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, CJ = (e) => {
+ return vJ(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, wJ = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function wJ(e, t, n) {
- return yJ(e) && yJ(t) ? mJ(e + n * (t - e)) : t;
-}
function TJ(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : pJ(e, t)) === n);
+ return bJ(e) && bJ(t) ? hJ(e + n * (t - e)) : t;
}
-var EJ = (e) => e == null, DJ = (e) => EJ(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function OJ(e) {
+function EJ(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : mJ(e, t)) === n);
+}
+var DJ = (e) => e == null, OJ = (e) => DJ(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function kJ(e) {
return e != null;
}
-function kJ() {}
+function AJ() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function AJ(e) {
+function jJ(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -78377,7 +78414,7 @@ function AJ(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function jJ(e, t) {
+function MJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78387,12 +78424,12 @@ function jJ(e, t) {
}
return n;
}
-function MJ(e) {
+function NJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jJ(Object(n), !0).forEach(function(t) {
+ t % 2 ? MJ(Object(n), !0).forEach(function(t) {
TRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jJ(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -78420,8 +78457,8 @@ function DRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var NJ = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = AJ(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
+var PJ = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = jJ(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
if (n === "top") {
var D = {
x: p + d / 2,
@@ -78462,52 +78499,52 @@ var NJ = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? MJ({
+ return n === "insideLeft" ? NJ({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? MJ({
+ }, j) : n === "insideRight" ? NJ({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? MJ({
+ }, j) : n === "insideTop" ? NJ({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? MJ({
+ }, j) : n === "insideBottom" ? NJ({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? MJ({
+ }, j) : n === "insideTopLeft" ? NJ({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? MJ({
+ }, j) : n === "insideTopRight" ? NJ({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? MJ({
+ }, j) : n === "insideBottomLeft" ? NJ({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? MJ({
+ }, j) : n === "insideBottomRight" ? NJ({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (yJ(n.x) || vJ(n.x)) && (yJ(n.y) || vJ(n.y)) ? MJ({
- x: c + SJ(n.x, g),
- y: l + SJ(n.y, u),
+ }, j) : n && typeof n == "object" && (bJ(n.x) || yJ(n.x)) && (bJ(n.y) || yJ(n.y)) ? NJ({
+ x: c + CJ(n.x, g),
+ y: l + CJ(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : MJ({
+ }, j) : NJ({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
@@ -78519,41 +78556,41 @@ var NJ = (e) => {
"right",
"bottom"
];
-function PJ(e) {
+function FJ(e) {
return e == null ? !1 : typeof e == "object" || ORe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var FJ = /*#__PURE__*/ (0, S.createContext)(null), kRe = () => (0, S.useContext)(FJ);
+var IJ = /*#__PURE__*/ (0, S.createContext)(null), kRe = () => (0, S.useContext)(IJ);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function IJ(e) {
+function LJ(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var LJ = Math.cos, RJ = Math.sin, zJ = Math.sqrt, BJ = Math.PI;
-BJ / 2;
-var VJ = 2 * BJ, HJ = Math.PI, UJ = 2 * HJ, WJ = 1e-6, ARe = UJ - WJ;
-function GJ(e) {
+var RJ = Math.cos, zJ = Math.sin, BJ = Math.sqrt, VJ = Math.PI;
+VJ / 2;
+var HJ = 2 * VJ, UJ = Math.PI, WJ = 2 * UJ, GJ = 1e-6, ARe = WJ - GJ;
+function KJ(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
function jRe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return GJ;
+ if (t > 15) return KJ;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var KJ = class {
+var qJ = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? GJ : jRe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? KJ : jRe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -78574,18 +78611,18 @@ var KJ = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > WJ) {
- if (!(Math.abs(u * s - c * l) > WJ) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > GJ) {
+ if (!(Math.abs(u * s - c * l) > GJ) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((HJ - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > WJ && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((UJ - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > GJ && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > WJ || Math.abs(this._y1 - l) > WJ) && this._append`L${c},${l}`, n && (d < 0 && (d = d % UJ + UJ), d > ARe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > WJ && this._append`A${n},${n},0,${+(d >= HJ)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > GJ || Math.abs(this._y1 - l) > GJ) && this._append`L${c},${l}`, n && (d < 0 && (d = d % WJ + WJ), d > ARe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > GJ && this._append`A${n},${n},0,${+(d >= UJ)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -78594,10 +78631,10 @@ var KJ = class {
return this._;
}
};
-KJ.prototype;
+qJ.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function qJ(e) {
+function JJ(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -78608,18 +78645,18 @@ function qJ(e) {
t = e;
}
return e;
- }, () => new KJ(t);
+ }, () => new qJ(t);
}
Array.prototype.slice;
-function JJ(e) {
+function YJ(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function YJ(e) {
+function XJ(e) {
this._context = e;
}
-YJ.prototype = {
+XJ.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78642,33 +78679,33 @@ YJ.prototype = {
}
}
};
-function XJ(e) {
- return new YJ(e);
+function ZJ(e) {
+ return new XJ(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function ZJ(e) {
+function QJ(e) {
return e[0];
}
-function QJ(e) {
+function $J(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function $J(e, t) {
- var n = IJ(!0), r = null, i = XJ, a = null, o = qJ(s);
- e = typeof e == "function" ? e : e === void 0 ? ZJ : IJ(e), t = typeof t == "function" ? t : t === void 0 ? QJ : IJ(t);
+function eY(e, t) {
+ var n = LJ(!0), r = null, i = ZJ, a = null, o = JJ(s);
+ e = typeof e == "function" ? e : e === void 0 ? QJ : LJ(e), t = typeof t == "function" ? t : t === void 0 ? $J : LJ(t);
function s(s) {
- var c, l = (s = JJ(s)).length, u, d = !1, f;
+ var c, l = (s = YJ(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IJ(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : LJ(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IJ(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : LJ(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : IJ(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : LJ(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -78677,11 +78714,11 @@ function $J(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function eY(e, t, n) {
- var r = null, i = IJ(!0), a = null, o = XJ, s = null, c = qJ(l);
- e = typeof e == "function" ? e : e === void 0 ? ZJ : IJ(+e), t = typeof t == "function" ? t : IJ(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? QJ : IJ(+n);
+function tY(e, t, n) {
+ var r = null, i = LJ(!0), a = null, o = ZJ, s = null, c = JJ(l);
+ e = typeof e == "function" ? e : e === void 0 ? QJ : LJ(+e), t = typeof t == "function" ? t : LJ(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? $J : LJ(+n);
function l(l) {
- var u, d, f, p = (l = JJ(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = YJ(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -78695,20 +78732,20 @@ function eY(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return $J().defined(i).curve(o).context(a);
+ return eY().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IJ(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : LJ(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IJ(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : LJ(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : IJ(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : LJ(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IJ(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : LJ(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IJ(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : LJ(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : IJ(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : LJ(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -78716,7 +78753,7 @@ function eY(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : IJ(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : LJ(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -78725,7 +78762,7 @@ function eY(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var tY = class {
+var nY = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -78753,69 +78790,69 @@ var tY = class {
}
};
function MRe(e) {
- return new tY(e, !0);
+ return new nY(e, !0);
}
function NRe(e) {
- return new tY(e, !1);
+ return new nY(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var nY = { draw(e, t) {
- let n = zJ(t / BJ);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, VJ);
+var rY = { draw(e, t) {
+ let n = BJ(t / VJ);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, HJ);
} }, PRe = { draw(e, t) {
- let n = zJ(t / 5) / 2;
+ let n = BJ(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, rY = zJ(1 / 3), FRe = rY * 2, IRe = { draw(e, t) {
- let n = zJ(t / FRe), r = n * rY;
+} }, iY = BJ(1 / 3), FRe = iY * 2, IRe = { draw(e, t) {
+ let n = BJ(t / FRe), r = n * iY;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
} }, LRe = { draw(e, t) {
- let n = zJ(t), r = -n / 2;
+ let n = BJ(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, RRe = .8908130915292852, iY = RJ(BJ / 10) / RJ(7 * BJ / 10), zRe = RJ(VJ / 10) * iY, BRe = -LJ(VJ / 10) * iY, VRe = { draw(e, t) {
- let n = zJ(t * RRe), r = zRe * n, i = BRe * n;
+} }, RRe = .8908130915292852, aY = zJ(VJ / 10) / zJ(7 * VJ / 10), zRe = zJ(HJ / 10) * aY, BRe = -RJ(HJ / 10) * aY, VRe = { draw(e, t) {
+ let n = BJ(t * RRe), r = zRe * n, i = BRe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = VJ * t / 5, o = LJ(a), s = RJ(a);
+ let a = HJ * t / 5, o = RJ(a), s = zJ(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, aY = zJ(3), HRe = { draw(e, t) {
- let n = -zJ(t / (aY * 3));
- e.moveTo(0, n * 2), e.lineTo(-aY * n, -n), e.lineTo(aY * n, -n), e.closePath();
-} }, oY = -.5, sY = zJ(3) / 2, cY = 1 / zJ(12), URe = (cY / 2 + 1) * 3, WRe = { draw(e, t) {
- let n = zJ(t / URe), r = n / 2, i = n * cY, a = r, o = n * cY + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(oY * r - sY * i, sY * r + oY * i), e.lineTo(oY * a - sY * o, sY * a + oY * o), e.lineTo(oY * s - sY * c, sY * s + oY * c), e.lineTo(oY * r + sY * i, oY * i - sY * r), e.lineTo(oY * a + sY * o, oY * o - sY * a), e.lineTo(oY * s + sY * c, oY * c - sY * s), e.closePath();
+} }, oY = BJ(3), HRe = { draw(e, t) {
+ let n = -BJ(t / (oY * 3));
+ e.moveTo(0, n * 2), e.lineTo(-oY * n, -n), e.lineTo(oY * n, -n), e.closePath();
+} }, sY = -.5, cY = BJ(3) / 2, lY = 1 / BJ(12), URe = (lY / 2 + 1) * 3, WRe = { draw(e, t) {
+ let n = BJ(t / URe), r = n / 2, i = n * lY, a = r, o = n * lY + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(sY * r - cY * i, cY * r + sY * i), e.lineTo(sY * a - cY * o, cY * a + sY * o), e.lineTo(sY * s - cY * c, cY * s + sY * c), e.lineTo(sY * r + cY * i, sY * i - cY * r), e.lineTo(sY * a + cY * o, sY * o - cY * a), e.lineTo(sY * s + cY * c, sY * c - cY * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
function GRe(e, t) {
- let n = null, r = qJ(i);
- e = typeof e == "function" ? e : IJ(e || nY), t = typeof t == "function" ? t : IJ(t === void 0 ? 64 : +t);
+ let n = null, r = JJ(i);
+ e = typeof e == "function" ? e : LJ(e || rY), t = typeof t == "function" ? t : LJ(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IJ(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : LJ(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IJ(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : LJ(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function lY() {}
+function uY() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function uY(e, t, n) {
+function dY(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function dY(e) {
+function fY(e) {
this._context = e;
}
-dY.prototype = {
+fY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78827,7 +78864,7 @@ dY.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: uY(this, this._x1, this._y1);
+ case 3: dY(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -78841,22 +78878,22 @@ dY.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: uY(this, e, t);
+ default: dY(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function KRe(e) {
- return new dY(e);
+ return new fY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function fY(e) {
+function pY(e) {
this._context = e;
}
-fY.prototype = {
- areaStart: lY,
- areaEnd: lY,
+pY.prototype = {
+ areaStart: uY,
+ areaEnd: uY,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -78882,20 +78919,20 @@ fY.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: uY(this, e, t);
+ default: dY(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function qRe(e) {
- return new fY(e);
+ return new pY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function pY(e) {
+function mY(e) {
this._context = e;
}
-pY.prototype = {
+mY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78922,22 +78959,22 @@ pY.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: uY(this, e, t);
+ default: dY(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function JRe(e) {
- return new pY(e);
+ return new mY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function mY(e) {
+function hY(e) {
this._context = e;
}
-mY.prototype = {
- areaStart: lY,
- areaEnd: lY,
+hY.prototype = {
+ areaStart: uY,
+ areaEnd: uY,
lineStart: function() {
this._point = 0;
},
@@ -78949,29 +78986,29 @@ mY.prototype = {
}
};
function YRe(e) {
- return new mY(e);
+ return new hY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function hY(e) {
+function gY(e) {
return e < 0 ? -1 : 1;
}
-function gY(e, t, n) {
+function _Y(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (hY(a) + hY(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (gY(a) + gY(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function _Y(e, t) {
+function vY(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function vY(e, t, n) {
+function yY(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function yY(e) {
+function bY(e) {
this._context = e;
}
-yY.prototype = {
+bY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78986,7 +79023,7 @@ yY.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: vY(this, this._t0, _Y(this, this._t0));
+ case 3: yY(this, this._t0, vY(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -79001,24 +79038,24 @@ yY.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, vY(this, _Y(this, n = gY(this, e, t)), n);
+ this._point = 3, yY(this, vY(this, n = _Y(this, e, t)), n);
break;
- default: vY(this, this._t0, n = gY(this, e, t));
+ default: yY(this, this._t0, n = _Y(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function bY(e) {
- this._context = new xY(e);
+function xY(e) {
+ this._context = new SY(e);
}
-(bY.prototype = Object.create(yY.prototype)).point = function(e, t) {
- yY.prototype.point.call(this, t, e);
+(xY.prototype = Object.create(bY.prototype)).point = function(e, t) {
+ bY.prototype.point.call(this, t, e);
};
-function xY(e) {
+function SY(e) {
this._context = e;
}
-xY.prototype = {
+SY.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -79033,17 +79070,17 @@ xY.prototype = {
}
};
function XRe(e) {
- return new yY(e);
+ return new bY(e);
}
function ZRe(e) {
- return new bY(e);
+ return new xY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function SY(e) {
+function CY(e) {
this._context = e;
}
-SY.prototype = {
+CY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -79057,7 +79094,7 @@ SY.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = CY(e), i = CY(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = wY(e), i = wY(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -79065,7 +79102,7 @@ SY.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function CY(e) {
+function wY(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -79074,14 +79111,14 @@ function CY(e) {
return [i, a];
}
function QRe(e) {
- return new SY(e);
+ return new CY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function wY(e, t) {
+function TY(e, t) {
this._context = e, this._t = t;
}
-wY.prototype = {
+TY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -79110,22 +79147,22 @@ wY.prototype = {
}
};
function $Re(e) {
- return new wY(e, .5);
+ return new TY(e, .5);
}
function eze(e) {
- return new wY(e, 0);
+ return new TY(e, 0);
}
function tze(e) {
- return new wY(e, 1);
+ return new TY(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function TY(e, t) {
+function EY(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function EY(e) {
+function DY(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
@@ -79139,21 +79176,21 @@ function rze(e) {
return t.key = e, t;
}
function ize() {
- var e = IJ([]), t = EY, n = TY, r = nze;
+ var e = LJ([]), t = DY, n = EY, r = nze;
function i(i) {
var a = Array.from(e.apply(this, arguments), rze), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = JJ(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = YJ(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IJ(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : LJ(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : IJ(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : LJ(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? EY : typeof e == "function" ? e : IJ(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? DY : typeof e == "function" ? e : LJ(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? TY, i) : n;
+ return arguments.length ? (n = e ?? EY, i) : n;
}, i;
}
//#endregion
@@ -79164,7 +79201,7 @@ function aze(e, t) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- TY(e, t);
+ EY(e, t);
}
}
//#endregion
@@ -79175,7 +79212,7 @@ function oze(e, t) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- TY(e, t);
+ EY(e, t);
}
}
//#endregion
@@ -79192,7 +79229,7 @@ function sze(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, TY(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, EY(e, t);
}
}
//#endregion
@@ -79202,16 +79239,16 @@ var cze = [
"size",
"sizeType"
];
-function DY() {
- return DY = Object.assign ? Object.assign.bind() : function(e) {
+function OY() {
+ return OY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, DY.apply(null, arguments);
+ }, OY.apply(null, arguments);
}
-function OY(e, t) {
+function kY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79221,12 +79258,12 @@ function OY(e, t) {
}
return n;
}
-function kY(e) {
+function AY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? OY(Object(n), !0).forEach(function(t) {
+ t % 2 ? kY(Object(n), !0).forEach(function(t) {
lze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OY(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -79272,15 +79309,15 @@ function pze(e, t) {
}
return n;
}
-var AY = {
- symbolCircle: nY,
+var jY = {
+ symbolCircle: rY,
symbolCross: PRe,
symbolDiamond: IRe,
symbolSquare: LRe,
symbolStar: VRe,
symbolTriangle: HRe,
symbolWye: WRe
-}, mze = Math.PI / 180, hze = (e) => AY[`symbol${DJ(e)}`] || nY, gze = (e, t, n) => {
+}, mze = Math.PI / 180, hze = (e) => jY[`symbol${OJ(e)}`] || rY, gze = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
@@ -79294,9 +79331,9 @@ var AY = {
default: return Math.PI * e * e / 4;
}
}, _ze = (e, t) => {
- AY[`symbol${DJ(e)}`] = t;
-}, jY = (e) => {
- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = kY(kY({}, fze(e, cze)), {}, {
+ jY[`symbol${OJ(e)}`] = t;
+}, MY = (e) => {
+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = AY(AY({}, fze(e, cze)), {}, {
type: n,
size: i,
sizeType: o
@@ -79305,35 +79342,35 @@ var AY = {
var l = () => {
var e = hze(c), t = GRe().type(e).size(gze(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = nJ(s);
- return yJ(d) && yJ(f) && yJ(i) ? /*#__PURE__*/ S.createElement("path", DY({}, p, {
- className: ry("recharts-symbols", u),
+ }, u = s.className, d = s.cx, f = s.cy, p = rJ(s);
+ return bJ(d) && bJ(f) && bJ(i) ? /*#__PURE__*/ S.createElement("path", OY({}, p, {
+ className: ny("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
};
-jY.registerSymbol = _ze;
+MY.registerSymbol = _ze;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var MY = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, NY = (e, t) => {
+var NY = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, PY = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, S.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- Zq(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ Qq(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, vze = (e, t, n) => (r) => (e(t, n, r), null), PY = (e, t, n) => {
+}, vze = (e, t, n) => (r) => (e(t, n, r), null), FY = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- Zq(i) && typeof a == "function" && (r ||= {}, r[i] = vze(a, t, n));
+ Qq(i) && typeof a == "function" && (r ||= {}, r[i] = vze(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function FY(e, t) {
+function IY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79346,9 +79383,9 @@ function FY(e, t) {
function yze(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? FY(Object(n), !0).forEach(function(t) {
+ t % 2 ? IY(Object(n), !0).forEach(function(t) {
bze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FY(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -79376,22 +79413,22 @@ function Sze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function IY(e, t) {
+function LY(e, t) {
var n = yze({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function LY() {
- return LY = Object.assign ? Object.assign.bind() : function(e) {
+function RY() {
+ return RY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, LY.apply(null, arguments);
+ }, RY.apply(null, arguments);
}
-function RY(e, t) {
+function zY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79401,12 +79438,12 @@ function RY(e, t) {
}
return n;
}
-function zY(e) {
+function BY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? RY(Object(n), !0).forEach(function(t) {
+ t % 2 ? zY(Object(n), !0).forEach(function(t) {
Cze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RY(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -79434,7 +79471,7 @@ function Tze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var BY = 32, Eze = {
+var VY = 32, Eze = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -79446,7 +79483,7 @@ function Dze(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
function Oze(e) {
- var t = e.data, n = e.iconType, r = e.inactiveColor, i = BY / 2, a = BY / 6, o = BY / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = VY / 2, a = VY / 6, o = VY / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ S.createElement("line", {
strokeWidth: 4,
@@ -79455,7 +79492,7 @@ function Oze(e) {
strokeDasharray: Dze(t.payload),
x1: 0,
y1: i,
- x2: BY,
+ x2: VY,
y2: i,
className: "recharts-legend-icon"
});
@@ -79465,25 +79502,25 @@ function Oze(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${BY}M${2 * o},${i}
+ H${VY}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ S.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${BY / 8}h${BY}v${BY * 3 / 4}h${-BY}z`,
+ d: `M0,${VY / 8}h${VY}v${VY * 3 / 4}h${-VY}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ S.isValidElement(t.legendIcon)) {
- var l = zY({}, t);
+ var l = BY({}, t);
return delete l.legendIcon, /*#__PURE__*/ S.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ S.createElement(jY, {
+ return /*#__PURE__*/ S.createElement(MY, {
fill: s,
cx: i,
cy: i,
- size: BY,
+ size: VY,
sizeType: "diameter",
type: c
});
@@ -79492,8 +79529,8 @@ function kze(e) {
var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {
x: 0,
y: 0,
- width: BY,
- height: BY
+ width: VY,
+ height: VY
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10,
@@ -79504,20 +79541,20 @@ function kze(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = ry({
+ var d = t.formatter || i, f = ny({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? zY({}, s) : {};
+ var p = typeof s == "object" ? BY({}, s) : {};
p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ S.createElement("li", LY({
+ return /*#__PURE__*/ S.createElement("li", RY({
className: f,
style: l,
key: `legend-item-${r}`
- }, PY(e, t, r)), /*#__PURE__*/ S.createElement(iJ, {
+ }, FY(e, t, r)), /*#__PURE__*/ S.createElement(aJ, {
width: n,
height: n,
viewBox: c,
@@ -79534,7 +79571,7 @@ function kze(e) {
});
}
var Aze = (e) => {
- var t = IY(e, Eze), n = t.payload, r = t.layout, i = t.align;
+ var t = LY(e, Eze), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -79544,7 +79581,7 @@ var Aze = (e) => {
return /*#__PURE__*/ S.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ S.createElement(kze, LY({}, t, { payload: n })));
+ }, /*#__PURE__*/ S.createElement(kze, RY({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
@@ -79565,7 +79602,7 @@ function Mze(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function VY(e) {
+function HY(e) {
return e;
}
//#endregion
@@ -79575,19 +79612,19 @@ function Nze(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function HY(e) {
+function UY(e) {
return e != null && typeof e != "function" && Nze(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
function Pze(e) {
return function(t) {
- return pJ(t, e);
+ return mJ(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function UY(e) {
+function WY(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
@@ -79597,38 +79634,38 @@ function Fze(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function WY(e) {
+function GY(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function GY(e) {
+function KY(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var KY = "[object RegExp]", qY = "[object String]", JY = "[object Number]", YY = "[object Boolean]", XY = "[object Arguments]", ZY = "[object Symbol]", QY = "[object Date]", $Y = "[object Map]", eX = "[object Set]", tX = "[object Array]", Ize = "[object Function]", nX = "[object ArrayBuffer]", rX = "[object Object]", Lze = "[object Error]", iX = "[object DataView]", aX = "[object Uint8Array]", oX = "[object Uint8ClampedArray]", sX = "[object Uint16Array]", cX = "[object Uint32Array]", Rze = "[object BigUint64Array]", lX = "[object Int8Array]", uX = "[object Int16Array]", dX = "[object Int32Array]", zze = "[object BigInt64Array]", fX = "[object Float32Array]", pX = "[object Float64Array]", mX = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var qY = "[object RegExp]", JY = "[object String]", YY = "[object Number]", XY = "[object Boolean]", ZY = "[object Arguments]", QY = "[object Symbol]", $Y = "[object Date]", eX = "[object Map]", tX = "[object Set]", nX = "[object Array]", Ize = "[object Function]", rX = "[object ArrayBuffer]", iX = "[object Object]", Lze = "[object Error]", aX = "[object DataView]", oX = "[object Uint8Array]", sX = "[object Uint8ClampedArray]", cX = "[object Uint16Array]", lX = "[object Uint32Array]", Rze = "[object BigUint64Array]", uX = "[object Int8Array]", dX = "[object Int16Array]", fX = "[object Int32Array]", zze = "[object BigInt64Array]", pX = "[object Float32Array]", mX = "[object Float64Array]", hX = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function hX(e) {
- return mX.Buffer !== void 0 && mX.Buffer.isBuffer(e);
+function gX(e) {
+ return hX.Buffer !== void 0 && hX.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
function Bze(e, t) {
- return gX(e, void 0, e, /* @__PURE__ */ new Map(), t);
+ return _X(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function gX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function _X(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (UY(e)) return e;
+ if (WY(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = gX(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = _X(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -79639,132 +79676,132 @@ function gX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, gX(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, _X(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(gX(a, void 0, n, r, i));
+ for (let a of e) t.add(_X(a, void 0, n, r, i));
return t;
}
- if (hX(e)) return e.subarray();
+ if (gX(e)) return e.subarray();
if (Fze(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = gX(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = _X(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, _X(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, vX(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
if (typeof e == "object" && Vze(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), _X(t, e, n, r, i), t;
+ return r.set(e, t), vX(t, e, n, r, i), t;
}
return e;
}
-function _X(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...WY(t)];
+function vX(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...GY(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = gX(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = _X(t[s], s, n, r, i));
}
}
function Vze(e) {
- switch (GY(e)) {
- case XY:
- case tX:
+ switch (KY(e)) {
+ case ZY:
case nX:
- case iX:
- case YY:
- case QY:
- case fX:
+ case rX:
+ case aX:
+ case XY:
+ case $Y:
case pX:
- case lX:
+ case mX:
case uX:
case dX:
- case $Y:
- case JY:
- case rX:
- case KY:
+ case fX:
case eX:
+ case YY:
+ case iX:
case qY:
- case ZY:
- case aX:
+ case tX:
+ case JY:
+ case QY:
case oX:
case sX:
- case cX: return !0;
+ case cX:
+ case lX: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
function Hze(e) {
- return gX(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+ return _X(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function vX(e, t) {
+function yX(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function yX(e) {
+function bX(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function bX(e, t, n) {
- return typeof n == "function" ? xX(e, t, function e(t, r, i, a, o, s) {
+function xX(e, t, n) {
+ return typeof n == "function" ? SX(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? xX(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : bX(e, t, () => void 0);
+ return c === void 0 ? SX(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : xX(e, t, () => void 0);
}
-function xX(e, t, n, r, i = !1) {
+function SX(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
case "object": return Uze(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? xX(e, { ...t }, n, r, i) : vX(e, t);
- default: return yX(e) && i ? typeof t != "string" || t === "" : vX(e, t);
+ case "function": return Object.keys(t).length > 0 ? SX(e, { ...t }, n, r, i) : yX(e, t);
+ default: return bX(e) && i ? typeof t != "string" || t === "" : yX(e, t);
}
}
function Uze(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return SX(e, t, n, r);
+ if (Array.isArray(t)) return CX(e, t, n, r);
if (t instanceof Map) return Wze(e, t, n, r);
if (t instanceof Set) return Gze(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) UY(e) && (e = Object(e));
+ if (i) WY(e) && (e = Object(e));
else {
- let t = GY(e);
+ let t = KY(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -79786,7 +79823,7 @@ function Wze(e, t, n, r) {
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function SX(e, t, n, r) {
+function CX(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -79805,17 +79842,17 @@ function SX(e, t, n, r) {
return !0;
}
function Gze(e, t, n, r) {
- return t.size === 0 || e instanceof Set && SX([...e], [...t], n, r);
+ return t.size === 0 || e instanceof Set && CX([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function CX(e, t) {
- return bX(e, t, () => void 0);
+function wX(e, t) {
+ return xX(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
function Kze(e) {
- return e = Hze(e), (t) => CX(t, e);
+ return e = Hze(e), (t) => wX(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
@@ -79824,20 +79861,20 @@ function qze(e, t) {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (GY(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (KY(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), _X(t, e, i, a), t;
+ return a.set(e, t), vX(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case YY:
case JY:
- case qY:
- case YY: {
+ case XY: {
let t = new e.constructor(e?.valueOf());
- return _X(t, e), t;
+ return vX(t, e), t;
}
- case XY: {
+ case ZY: {
let t = {};
- return _X(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return vX(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -79852,7 +79889,7 @@ function Jze(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
var Yze = /^(?:0|[1-9]\d*)$/;
-function wX(e, t = 2 ** 53 - 1) {
+function TX(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
@@ -79862,17 +79899,17 @@ function wX(e, t = 2 ** 53 - 1) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
function Xze(e) {
- return typeof e == "object" && !!e && GY(e) === "[object Arguments]";
+ return typeof e == "object" && !!e && KY(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
function Zze(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && cJ(t) && !(t in Object(e)) ? fJ(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && lJ(t) && !(t in Object(e)) ? pJ(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = lJ(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Xze(r)) && wX(t) && Number(t) < r.length)) return !1;
+ let t = uJ(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Xze(r)) && TX(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
@@ -79884,17 +79921,17 @@ function Qze(e, t) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = lJ(e);
+ case "number": e = uJ(e);
}
return t = Jze(t), function(n) {
- let r = pJ(n, e);
- return r === void 0 ? Zze(n, e) : t === void 0 ? r === void 0 : CX(r, t);
+ let r = mJ(n, e);
+ return r === void 0 ? Zze(n, e) : t === void 0 ? r === void 0 : wX(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function TX(e) {
- if (e == null) return VY;
+function EX(e) {
+ if (e == null) return HY;
switch (typeof e) {
case "function": return e;
case "object": return Array.isArray(e) && e.length === 2 ? Qze(e[0], e[1]) : Kze(e);
@@ -79908,25 +79945,25 @@ function $ze(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function EX(e, t = VY) {
- return HY(e) ? jze(Array.from(e), Mze(TX(t), 1)).map($ze) : [];
+function DX(e, t = HY) {
+ return UY(e) ? jze(Array.from(e), Mze(EX(t), 1)).map($ze) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function DX(e, t, n) {
- return t === !0 ? EX(e, n) : typeof t == "function" ? EX(e, t) : e;
+function OX(e, t, n) {
+ return t === !0 ? DX(e, n) : typeof t == "function" ? DX(e, t) : e;
}
//#endregion
//#region node_modules/recharts/es6/state/RechartsReduxContext.js
-var OX = /*#__PURE__*/ (0, S.createContext)(null), eBe = (e) => e, kX = () => {
- var e = (0, S.useContext)(OX);
+var kX = /*#__PURE__*/ (0, S.createContext)(null), eBe = (e) => e, AX = () => {
+ var e = (0, S.useContext)(kX);
return e ? e.store.dispatch : eBe;
-}, AX = () => {}, tBe = () => AX, nBe = (e, t) => e === t;
-function jX(e) {
- var t = (0, S.useContext)(OX), n = (0, S.useMemo)(() => t ? (t) => {
+}, jX = () => {}, tBe = () => jX, nBe = (e, t) => e === t;
+function MX(e) {
+ var t = (0, S.useContext)(kX), n = (0, S.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : AX, [t, e]);
- return (0, qI.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : tBe, t ? t.store.getState : AX, t ? t.store.getState : AX, n, nBe);
+ } : jX, [t, e]);
+ return (0, JI.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : tBe, t ? t.store.getState : jX, t ? t.store.getState : jX, n, nBe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
@@ -79939,7 +79976,7 @@ function iBe(e, t = "expected all items to be functions, instead received the fo
throw TypeError(`${t}[${n}]`);
}
}
-var MX = (e) => Array.isArray(e) ? e : [e];
+var NX = (e) => Array.isArray(e) ? e : [e];
function aBe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
return iBe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
@@ -79956,19 +79993,19 @@ var sBe = class {
deref() {
return this.value;
}
-}, NX = typeof WeakRef > "u" ? sBe : WeakRef, cBe = 0, lBe = 1;
+}, cBe = typeof WeakRef > "u" ? sBe : WeakRef, lBe = 0, uBe = 1;
function PX() {
return {
- s: cBe,
+ s: lBe,
v: void 0,
o: null,
p: null
};
}
-function uBe(e) {
- return e instanceof NX ? e.deref() : e;
+function dBe(e) {
+ return e instanceof cBe ? e.deref() : e;
}
-function dBe(e, t = {}) {
+function fBe(e, t = {}) {
let n = PX(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
@@ -79987,12 +80024,12 @@ function dBe(e, t = {}) {
}
}
let s = t, c;
- if (t.s === lBe) c = t.v;
+ if (t.s === uBe) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = uBe(i);
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new NX(c) : c;
+ let e = dBe(i);
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new cBe(c) : c;
}
- return s.s = lBe, s.v = c, c;
+ return s.s = uBe, s.v = c, c;
}
return o.clearCache = () => {
n = PX(), o.resetResultsCount();
@@ -80000,17 +80037,17 @@ function dBe(e, t = {}) {
a = 0;
}, o;
}
-function fBe(e, ...t) {
+function pBe(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
typeof o == "object" && (a = o, o = e.pop()), rBe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = dBe, argsMemoizeOptions: u = [] } = {
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = fBe, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = MX(c), f = MX(u), p = aBe(e), m = s(function() {
+ }, d = NX(c), f = NX(u), p = aBe(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
@@ -80036,10 +80073,10 @@ function fBe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ fBe(dBe);
+var Y = /* @__PURE__ */ pBe(fBe);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function pBe(e, t = 1) {
+function mBe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -80051,16 +80088,16 @@ function pBe(e, t = 1) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
function FX(e, t, n) {
- return yX(n) && (typeof t == "number" && HY(n) && wX(t) && t < n.length || typeof t == "string" && t in n) ? vX(n[t], e) : !1;
+ return bX(n) && (typeof t == "number" && UY(n) && TX(t) && t < n.length || typeof t == "string" && t in n) ? yX(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function mBe(e) {
+function hBe(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var hBe = (e, t, n) => {
+var gBe = (e, t, n) => {
if (e !== t) {
- let r = mBe(e), i = mBe(t);
+ let r = hBe(e), i = hBe(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -80068,15 +80105,15 @@ var hBe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, gBe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _Be = /^\w*$/;
-function vBe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || uJ(e) ? !0 : typeof e == "string" && (_Be.test(e) || !gBe.test(e)) || t != null && Object.hasOwn(t, e);
+}, _Be = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, vBe = /^\w*$/;
+function yBe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || dJ(e) ? !0 : typeof e == "string" && (vBe.test(e) || !_Be.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function yBe(e, t, n, r) {
+function bBe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = HY(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = UY(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -80084,16 +80121,16 @@ function yBe(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || vBe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || yBe(e) ? e : {
key: e,
- path: fJ(e)
+ path: pJ(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = hBe(e.criteria[r], t.criteria[r], n[r]);
+ let i = gBe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -80103,40 +80140,40 @@ function yBe(e, t, n, r) {
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
function IX(e, ...t) {
let n = t.length;
- return n > 1 && FX(e, t[0], t[1]) ? t = [] : n > 2 && FX(t[0], t[1], t[2]) && (t = [t[0]]), yBe(e, pBe(t), ["asc"]);
+ return n > 1 && FX(e, t[0], t[1]) ? t = [] : n > 2 && FX(t[0], t[1], t[2]) && (t = [t[0]]), bBe(e, mBe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var bBe = (e) => e.legend.settings, xBe = (e) => e.legend.size, SBe = Y([(e) => e.legend.payload, bBe], (e, t) => {
+var xBe = (e) => e.legend.settings, SBe = (e) => e.legend.size, CBe = Y([(e) => e.legend.payload, xBe], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
return n ? IX(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function CBe() {
- return jX(SBe);
+function wBe() {
+ return MX(CBe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function wBe(e, t) {
- return kBe(e) || OBe(e, t) || EBe(e, t) || TBe();
+function TBe(e, t) {
+ return ABe(e) || kBe(e, t) || DBe(e, t) || EBe();
}
-function TBe() {
+function EBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function EBe(e, t) {
+function DBe(e, t) {
if (e) {
- if (typeof e == "string") return DBe(e, t);
+ if (typeof e == "string") return OBe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? DBe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? OBe(e, t) : void 0;
}
}
-function DBe(e, t) {
+function OBe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function OBe(e, t) {
+function kBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -80157,14 +80194,14 @@ function OBe(e, t) {
return s;
}
}
-function kBe(e) {
+function ABe(e) {
if (Array.isArray(e)) return e;
}
var LX = 1;
-function ABe(e, t) {
+function jBe(e, t) {
return Math.abs(e.height - t.height) > LX || Math.abs(e.left - t.left) > LX || Math.abs(e.top - t.top) > LX || Math.abs(e.width - t.width) > LX;
}
-function jBe(e) {
+function MBe(e) {
var t = e.getBoundingClientRect();
return {
height: t.height,
@@ -80173,8 +80210,8 @@ function jBe(e) {
width: t.width
};
}
-function MBe() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = wBe((0, S.useState)({
+function NBe() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = TBe((0, S.useState)({
height: 0,
left: 0,
top: 0,
@@ -80183,11 +80220,11 @@ function MBe() {
a.current = n;
var o = (0, S.useCallback)((e) => {
if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {
- var t = jBe(e);
- if (ABe(t, a.current) && r(t), typeof ResizeObserver < "u") {
+ var t = MBe(e);
+ if (jBe(t, a.current) && r(t), typeof ResizeObserver < "u") {
var n = new ResizeObserver(() => {
- var t = jBe(e);
- ABe(t, a.current) && r(t);
+ var t = MBe(e);
+ jBe(t, a.current) && r(t);
});
n.observe(e), i.current = n;
}
@@ -80203,7 +80240,7 @@ function MBe() {
function RX(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var NBe = typeof Symbol == "function" && Symbol.observable || "@@observable", zX = () => Math.random().toString(36).substring(7).split("").join("."), BX = {
+var PBe = typeof Symbol == "function" && Symbol.observable || "@@observable", zX = () => Math.random().toString(36).substring(7).split("").join("."), BX = {
INIT: `@@redux/INIT${/* @__PURE__ */ zX()}`,
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ zX()}`,
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${zX()}`
@@ -80214,12 +80251,12 @@ function VX(e) {
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function PBe(e, t, n) {
+function FBe(e, t, n) {
if (typeof e != "function") throw Error(RX(2));
if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(RX(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
if (typeof n != "function") throw Error(RX(1));
- return n(PBe)(e, t);
+ return n(FBe)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -80273,7 +80310,7 @@ function PBe(e, t, n) {
}
return n(), { unsubscribe: e(n) };
},
- [NBe]() {
+ [PBe]() {
return this;
}
};
@@ -80283,17 +80320,17 @@ function PBe(e, t, n) {
subscribe: d,
getState: u,
replaceReducer: p,
- [NBe]: m
+ [PBe]: m
};
}
-function FBe(e) {
+function IBe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
if (n(void 0, { type: BX.INIT }) === void 0) throw Error(RX(12));
if (n(void 0, { type: BX.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(RX(13));
});
}
-function IBe(e) {
+function LBe(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -80301,7 +80338,7 @@ function IBe(e) {
}
let r = Object.keys(n), i;
try {
- FBe(n);
+ IBe(n);
} catch (e) {
i = e;
}
@@ -80319,7 +80356,7 @@ function IBe(e) {
function HX(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function LBe(...e) {
+function RBe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
throw Error(RX(15));
@@ -80333,29 +80370,29 @@ function LBe(...e) {
};
};
}
-function RBe(e) {
+function zBe(e) {
return VX(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/immer/dist/immer.mjs
-var zBe = Symbol.for("immer-nothing"), BBe = Symbol.for("immer-draftable"), UX = Symbol.for("immer-state");
+var BBe = Symbol.for("immer-nothing"), VBe = Symbol.for("immer-draftable"), UX = Symbol.for("immer-state");
function WX(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
var GX = Object, KX = GX.getPrototypeOf, qX = "constructor", JX = "prototype", YX = "configurable", XX = "enumerable", ZX = "writable", QX = "value", $X = (e) => !!e && !!e[UX];
function eZ(e) {
- return e ? UBe(e) || oZ(e) || !!e[BBe] || !!e[qX]?.[BBe] || sZ(e) || cZ(e) : !1;
+ return e ? WBe(e) || oZ(e) || !!e[VBe] || !!e[qX]?.[VBe] || sZ(e) || cZ(e) : !1;
}
-var VBe = GX[JX][qX].toString(), HBe = /* @__PURE__ */ new WeakMap();
-function UBe(e) {
+var HBe = GX[JX][qX].toString(), UBe = /* @__PURE__ */ new WeakMap();
+function WBe(e) {
if (!e || !lZ(e)) return !1;
let t = KX(e);
if (t === null || t === GX[JX]) return !0;
let n = GX.hasOwnProperty.call(t, qX) && t[qX];
if (n === Object) return !0;
if (!uZ(n)) return !1;
- let r = HBe.get(n);
- return r === void 0 && (r = Function.toString.call(n), HBe.set(n, r)), r === VBe;
+ let r = UBe.get(n);
+ return r === void 0 && (r = Function.toString.call(n), UBe.set(n, r)), r === HBe;
}
function tZ(e, t, n = !0) {
nZ(e) === 0 ? (n ? Reflect.ownKeys(e) : GX.keys(e)).forEach((n) => {
@@ -80369,11 +80406,11 @@ function nZ(e) {
var rZ = (e, t, n = nZ(e)) => n === 2 ? e.has(t) : GX[JX].hasOwnProperty.call(e, t), iZ = (e, t, n = nZ(e)) => n === 2 ? e.get(t) : e[t], aZ = (e, t, n, r = nZ(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function WBe(e, t) {
+function GBe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var oZ = Array.isArray, sZ = (e) => e instanceof Map, cZ = (e) => e instanceof Set, lZ = (e) => typeof e == "object", uZ = (e) => typeof e == "function", dZ = (e) => typeof e == "boolean";
-function GBe(e) {
+function KBe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -80382,7 +80419,7 @@ function mZ(e, t) {
if (sZ(e)) return new Map(e);
if (cZ(e)) return new Set(e);
if (oZ(e)) return Array[JX].slice.call(e);
- let n = UBe(e);
+ let n = WBe(e);
if (t === !0 || t === "class_only" && !n) {
let t = GX.getOwnPropertyDescriptors(e);
delete t[UX];
@@ -80415,19 +80452,19 @@ function hZ(e, t = !1) {
hZ(t, !0);
}, !1)), e;
}
-function KBe() {
+function qBe() {
WX(2);
}
-var gZ = { [QX]: KBe };
+var gZ = { [QX]: qBe };
function _Z(e) {
return e === null || !lZ(e) || GX.isFrozen(e);
}
-var vZ = "MapSet", yZ = "Patches", qBe = "ArrayMethods", JBe = {};
+var vZ = "MapSet", yZ = "Patches", JBe = "ArrayMethods", YBe = {};
function bZ(e) {
- let t = JBe[e];
+ let t = YBe[e];
return t || WX(0, e), t;
}
-var YBe = (e) => !!JBe[e], xZ, XBe = () => xZ, ZBe = (e, t) => ({
+var XBe = (e) => !!YBe[e], xZ, ZBe = () => xZ, QBe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -80435,34 +80472,34 @@ var YBe = (e) => !!JBe[e], xZ, XBe = () => xZ, ZBe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: YBe(vZ) ? bZ(vZ) : void 0,
- arrayMethodsPlugin_: YBe(qBe) ? bZ(qBe) : void 0
+ mapSetPlugin_: XBe(vZ) ? bZ(vZ) : void 0,
+ arrayMethodsPlugin_: XBe(JBe) ? bZ(JBe) : void 0
});
-function QBe(e, t) {
+function $Be(e, t) {
t && (e.patchPlugin_ = bZ(yZ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function SZ(e) {
- CZ(e), e.drafts_.forEach(eVe), e.drafts_ = null;
+ CZ(e), e.drafts_.forEach(tVe), e.drafts_ = null;
}
function CZ(e) {
e === xZ && (xZ = e.parent_);
}
-var $Be = (e) => xZ = ZBe(xZ, e);
-function eVe(e) {
+var eVe = (e) => xZ = QBe(xZ, e);
+function tVe(e) {
let t = e[UX];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function tVe(e, t) {
+function nVe(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[UX].modified_ && (SZ(t), WX(4)), eZ(e) && (e = nVe(t, e));
+ n[UX].modified_ && (SZ(t), WX(4)), eZ(e) && (e = rVe(t, e));
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[UX].base_, e, t);
- } else e = nVe(t, n);
- return rVe(t, e, !0), SZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === zBe ? void 0 : e;
+ } else e = rVe(t, n);
+ return iVe(t, e, !0), SZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === BBe ? void 0 : e;
}
-function nVe(e, t) {
+function rVe(e, t) {
if (_Z(t)) return t;
let n = t[UX];
if (!n) return TZ(t, e.handledSet_, e);
@@ -80471,18 +80508,18 @@ function nVe(e, t) {
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- cVe(n, e);
+ lVe(n, e);
}
return n.copy_;
}
-function rVe(e, t, n = !1) {
+function iVe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && hZ(t, n);
}
-function iVe(e) {
+function aVe(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var wZ = (e, t) => e.scope_ === t, aVe = [];
-function oVe(e, t, n, r) {
+var wZ = (e, t) => e.scope_ === t, oVe = [];
+function sVe(e, t, n, r) {
let i = fZ(e), a = e.type_;
if (r !== void 0 && iZ(i, r, a) === t) {
aZ(i, r, n, a);
@@ -80497,34 +80534,34 @@ function oVe(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? aVe;
+ let o = e.draftLocations_.get(t) ?? oVe;
for (let e of o) aZ(i, e, n, a);
}
-function sVe(e, t, n) {
+function cVe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !wZ(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
let a = pZ(i);
- oVe(e, i.draft_ ?? i, a, n), cVe(i, r);
+ sVe(e, i.draft_ ?? i, a, n), lVe(i, r);
});
}
-function cVe(e, t) {
+function lVe(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- iVe(e);
+ aVe(e);
}
}
-function lVe(e, t, n) {
+function uVe(e, t, n) {
let { scope_: r } = e;
if ($X(n)) {
let i = n[UX];
wZ(i, r) && i.callbacks_.push(function() {
- AZ(e), oVe(e, n, pZ(i), t);
+ AZ(e), sVe(e, n, pZ(i), t);
});
} else eZ(n) && e.callbacks_.push(function() {
let i = fZ(e);
@@ -80535,14 +80572,14 @@ function TZ(e, t, n) {
return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || $X(e) || t.has(e) || !eZ(e) || _Z(e) || (t.add(e), tZ(e, (r, i) => {
if ($X(i)) {
let t = i[UX];
- wZ(t, n) && (aZ(e, r, pZ(t), e.type_), iVe(t));
+ wZ(t, n) && (aZ(e, r, pZ(t), e.type_), aVe(t));
} else eZ(i) && TZ(i, t, n);
})), e;
}
-function uVe(e, t) {
+function dVe(e, t) {
let n = oZ(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : XBe(),
+ scope_: t ? t.scope_ : ZBe(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -80564,10 +80601,10 @@ var EZ = {
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = fZ(e);
- if (!rZ(i, t, e.type_)) return fVe(e, i, t);
+ if (!rZ(i, t, e.type_)) return pVe(e, i, t);
let a = i[t];
- if (e.finalized_ || !eZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && GBe(t)) return a;
- if (a === OZ(e.base_, t) || dVe(e, t, a)) {
+ if (e.finalized_ || !eZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && KBe(t)) return a;
+ if (a === OZ(e.base_, t) || fVe(e, t, a)) {
AZ(e);
let n = e.type_ === 1 ? +t : t, r = jZ(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -80581,15 +80618,15 @@ var EZ = {
return Reflect.ownKeys(fZ(e));
},
set(e, t, n) {
- let r = pVe(fZ(e), t);
+ let r = mVe(fZ(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
let r = OZ(fZ(e), t), i = r?.[UX];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if (WBe(n, r) && (n !== void 0 || rZ(e.base_, t, e.type_))) return !0;
+ if (GBe(n, r) && (n !== void 0 || rZ(e.base_, t, e.type_))) return !0;
AZ(e), kZ(e);
}
- return e.copy_[t] === n && (n !== void 0 || rZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), lVe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || rZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), uVe(e, t, n)), !0;
},
deleteProperty(e, t) {
return AZ(e), OZ(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), kZ(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -80629,14 +80666,14 @@ function OZ(e, t) {
let n = e[UX];
return (n ? fZ(n) : e)[t];
}
-function dVe(e, t, n) {
+function fVe(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !eZ(n) || n[UX] ? !1 : e.baseRefs_.has(n);
}
-function fVe(e, t, n) {
- let r = pVe(t, n);
+function pVe(e, t, n) {
+ let r = mVe(t, n);
return r ? QX in r ? r[QX] : r.get?.call(e.draft_) : void 0;
}
-function pVe(e, t) {
+function mVe(e, t) {
if (!(t in e)) return;
let n = KX(e);
for (; n;) {
@@ -80651,7 +80688,7 @@ function kZ(e) {
function AZ(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), mZ(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var mVe = class {
+var hVe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (uZ(e) && !uZ(t)) {
@@ -80665,16 +80702,16 @@ var mVe = class {
uZ(t) || WX(6), n !== void 0 && !uZ(n) && WX(7);
let r;
if (eZ(e)) {
- let i = $Be(this), a = jZ(i, e, void 0), o = !0;
+ let i = eVe(this), a = jZ(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
o ? SZ(i) : CZ(i);
}
- return QBe(i, n), tVe(r, i);
+ return $Be(i, n), nVe(r, i);
}
if (!e || !lZ(e)) {
- if (r = t(e), r === void 0 && (r = e), r === zBe && (r = void 0), this.autoFreeze_ && hZ(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === BBe && (r = void 0), this.autoFreeze_ && hZ(r, !0), n) {
let t = [], i = [];
bZ(yZ).generateReplacementPatches_(e, r, {
patches_: t,
@@ -80698,14 +80735,14 @@ var mVe = class {
}
createDraft(e) {
eZ(e) || WX(8), $X(e) && (e = MZ(e));
- let t = $Be(this), n = jZ(t, e, void 0);
+ let t = eVe(this), n = jZ(t, e, void 0);
return n[UX].isManual_ = !0, CZ(t), n;
}
finishDraft(e, t) {
let n = e && e[UX];
(!n || !n.isManual_) && WX(9);
let { scope_: r } = n;
- return QBe(r, t), tVe(void 0, r);
+ return $Be(r, t), nVe(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -80734,17 +80771,17 @@ var mVe = class {
}
};
function jZ(e, t, n, r) {
- let [i, a] = sZ(t) ? bZ(vZ).proxyMap_(t, n) : cZ(t) ? bZ(vZ).proxySet_(t, n) : uVe(t, n);
- return (n?.scope_ ?? XBe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? sVe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = sZ(t) ? bZ(vZ).proxyMap_(t, n) : cZ(t) ? bZ(vZ).proxySet_(t, n) : dVe(t, n);
+ return (n?.scope_ ?? ZBe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? cVe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
function MZ(e) {
- return $X(e) || WX(10, e), hVe(e);
+ return $X(e) || WX(10, e), gVe(e);
}
-function hVe(e) {
+function gVe(e) {
if (!eZ(e) || _Z(e)) return e;
let t = e[UX], n, r = !0;
if (t) {
@@ -80752,17 +80789,17 @@ function hVe(e) {
t.finalized_ = !0, n = mZ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
} else n = mZ(e, !0);
return tZ(n, (e, t) => {
- aZ(n, e, hVe(t));
+ aZ(n, e, gVe(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var gVe = new mVe().produce, NZ = (e) => e;
+var _Ve = new hVe().produce, NZ = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function _Ve(e) {
+function vVe(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var vVe = _Ve(), yVe = _Ve, bVe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+var yVe = vVe(), bVe = vVe, xVe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
if (arguments.length !== 0) return typeof arguments[0] == "object" ? HX : HX.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
@@ -80783,9 +80820,9 @@ function PZ(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => RBe(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => zBe(t) && t.type === e, n;
}
-var xVe = class e extends Array {
+var SVe = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -80799,29 +80836,29 @@ var xVe = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function SVe(e) {
- return eZ(e) ? gVe(e, () => {}) : e;
+function CVe(e) {
+ return eZ(e) ? _Ve(e, () => {}) : e;
}
function FZ(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function CVe(e) {
+function wVe(e) {
return typeof e == "boolean";
}
-var wVe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new xVe();
- return t && (CVe(t) ? a.push(vVe) : a.push(yVe(t.extraArgument))), a;
-}, TVe = "RTK_autoBatch", IZ = () => (e) => ({
+var TVe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new SVe();
+ return t && (wVe(t) ? a.push(yVe) : a.push(bVe(t.extraArgument))), a;
+}, EVe = "RTK_autoBatch", IZ = () => (e) => ({
payload: e,
- meta: { [TVe]: !0 }
-}), EVe = (e) => (t) => {
+ meta: { [EVe]: !0 }
+}), DVe = (e) => (t) => {
setTimeout(t, e);
-}, DVe = (e, t) => (n) => {
+}, OVe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, OVe = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? DVe(window.requestAnimationFrame, 100) : EVe(10) : e.type === "callback" ? e.queueNotification : EVe(e.timeout), l = () => {
+}, kVe = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? OVe(window.requestAnimationFrame, 100) : DVe(10) : e.type === "callback" ? e.queueNotification : DVe(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -80833,32 +80870,32 @@ var wVe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[TVe], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[EVe], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, kVe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new xVe(e);
- return n && r.push(OVe(typeof n == "object" ? n : void 0)), r;
+}, AVe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new SVe(e);
+ return n && r.push(kVe(typeof n == "object" ? n : void 0)), r;
};
-function AVe(e) {
- let t = wVe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function jVe(e) {
+ let t = TVe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (VX(n)) c = IBe(n);
+ else if (VX(n)) c = LBe(n);
else throw Error(XZ(1));
let l;
l = typeof r == "function" ? r(t) : t();
let u = HX;
- i && (u = bVe({
+ i && (u = xVe({
trace: !1,
...typeof i == "object" && i
}));
- let d = kVe(LBe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return PBe(c, o, p);
+ let d = AVe(RBe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return FBe(c, o, p);
}
-function jVe(e) {
+function MVe(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
@@ -80888,14 +80925,14 @@ function jVe(e) {
r
];
}
-function MVe(e) {
+function NVe(e) {
return typeof e == "function";
}
-function NVe(e, t) {
- let [n, r, i] = jVe(t), a;
- if (MVe(e)) a = () => SVe(e());
+function PVe(e, t) {
+ let [n, r, i] = MVe(t), a;
+ if (NVe(e)) a = () => CVe(e());
else {
- let t = SVe(e);
+ let t = CVe(e);
a = () => t;
}
function o(e = a(), t) {
@@ -80906,7 +80943,7 @@ function NVe(e, t) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (eZ(e)) return gVe(e, (e) => n(e, t));
+ if (eZ(e)) return _Ve(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -80921,20 +80958,20 @@ function NVe(e, t) {
}
return o.getInitialState = a, o;
}
-var PVe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", FVe = (e = 21) => {
+var FVe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", IVe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += PVe[Math.random() * 64 | 0];
+ for (; n--;) t += FVe[Math.random() * 64 | 0];
return t;
-}, IVe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function LVe(e, t) {
+}, LVe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function RVe(e, t) {
return `${e}/${t}`;
}
-function RVe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[IVe];
+function zVe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[LVe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(XZ(11));
- let i = (typeof e.reducers == "function" ? e.reducers(BVe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(VVe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -80962,17 +80999,17 @@ function RVe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: LVe(n, r),
+ type: RVe(n, r),
createNotation: typeof e.reducers == "function"
};
- HVe(a) ? WVe(o, a, s, t) : VVe(o, a, s);
+ UVe(a) ? GVe(o, a, s, t) : HVe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? jVe(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? MVe(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return NVe(e.initialState, (e) => {
+ return PVe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -80994,7 +81031,7 @@ function RVe({ creators: e } = {}) {
function i(t = l) {
return FZ(FZ(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = zVe(a, t, () => FZ(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = BVe(a, t, () => FZ(d, t, m), n);
return r;
});
}
@@ -81028,15 +81065,15 @@ function RVe({ creators: e } = {}) {
return g;
};
}
-function zVe(e, t, n, r) {
+function BVe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var LZ = /* @__PURE__ */ RVe();
-function BVe() {
+var LZ = /* @__PURE__ */ zVe();
+function VVe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -81060,21 +81097,21 @@ function BVe() {
asyncThunk: e
};
}
-function VVe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function HVe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !UVe(r)) throw Error(XZ(17));
+ if (n && !WVe(r)) throw Error(XZ(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? PZ(e, o) : PZ(e));
}
-function HVe(e) {
+function UVe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function UVe(e) {
+function WVe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function WVe({ type: e, reducerName: t }, n, r, i) {
+function GVe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(XZ(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
@@ -81085,28 +81122,28 @@ function WVe({ type: e, reducerName: t }, n, r, i) {
});
}
function RZ() {}
-var GVe = "task", KVe = "listener", qVe = "completed", zZ = "cancelled", JVe = `task-${zZ}`, YVe = `task-${qVe}`, BZ = `${KVe}-${zZ}`, XVe = `${KVe}-${qVe}`, VZ = class {
+var KVe = "task", qVe = "listener", JVe = "completed", zZ = "cancelled", YVe = `task-${zZ}`, XVe = `task-${JVe}`, BZ = `${qVe}-${zZ}`, ZVe = `${qVe}-${JVe}`, VZ = class {
constructor(e) {
- this.code = e, this.message = `${GVe} ${zZ} (reason: ${e})`;
+ this.code = e, this.message = `${KVe} ${zZ} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
}, HZ = (e, t) => {
if (typeof e != "function") throw TypeError(XZ(32));
-}, UZ = () => {}, ZVe = (e, t = UZ) => (e.catch(t), e), QVe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WZ = (e) => {
+}, UZ = () => {}, QVe = (e, t = UZ) => (e.catch(t), e), $Ve = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WZ = (e) => {
if (e.aborted) throw new VZ(e.reason);
};
-function $Ve(e, t) {
+function eHe(e, t) {
let n = UZ;
return new Promise((r, i) => {
let a = () => i(new VZ(e.reason));
- e.aborted ? a() : (n = QVe(e, a), t.finally(() => n()).then(r, i));
+ e.aborted ? a() : (n = $Ve(e, a), t.finally(() => n()).then(r, i));
}).finally(() => {
n = UZ;
});
}
-var eHe = async (e, t) => {
+var tHe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -81120,32 +81157,32 @@ var eHe = async (e, t) => {
} finally {
t?.();
}
-}, GZ = (e) => (t) => ZVe($Ve(e, t).then((t) => (WZ(e), t))), tHe = (e) => {
+}, GZ = (e) => (t) => QVe(eHe(e, t).then((t) => (WZ(e), t))), nHe = (e) => {
let t = GZ(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: KZ } = Object, nHe = {}, qZ = "listenerMiddleware", rHe = (e, t) => {
- let n = (t) => QVe(e, () => t.abort(e.reason));
+}, { assign: KZ } = Object, rHe = {}, qZ = "listenerMiddleware", iHe = (e, t) => {
+ let n = (t) => $Ve(e, () => t.abort(e.reason));
return (r, i) => {
HZ(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = eHe(async () => {
+ let o = tHe(async () => {
WZ(e), WZ(a.signal);
let t = await r({
pause: GZ(a.signal),
- delay: tHe(a.signal),
+ delay: nHe(a.signal),
signal: a.signal
});
return WZ(a.signal), t;
- }, () => a.abort(YVe));
+ }, () => a.abort(XVe));
return i?.autoJoin && t.push(o.catch(UZ)), {
result: GZ(e)(o),
cancel() {
- a.abort(JVe);
+ a.abort(YVe);
}
};
};
-}, iHe = (e, t) => {
+}, aHe = (e, t) => {
let n = async (n, r) => {
WZ(t);
let i = () => {}, a = [new Promise((t, r) => {
@@ -81165,14 +81202,14 @@ var eHe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await $Ve(t, Promise.race(a));
+ let e = await eHe(t, Promise.race(a));
return WZ(t), e;
} finally {
i();
}
};
- return ((e, t) => ZVe(n(e, t)));
-}, aHe = (e) => {
+ return ((e, t) => QVe(n(e, t)));
+}, oHe = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
if (t) i = PZ(t).match;
else if (n) t = n.type, i = n.match;
@@ -81183,10 +81220,10 @@ var eHe = async (e, t) => {
type: t,
effect: a
};
-}, oHe = /* @__PURE__ */ KZ((e) => {
- let { type: t, predicate: n, effect: r } = aHe(e);
+}, sHe = /* @__PURE__ */ KZ((e) => {
+ let { type: t, predicate: n, effect: r } = oHe(e);
return {
- id: FVe(),
+ id: IVe(),
effect: r,
type: t,
predicate: n,
@@ -81195,17 +81232,17 @@ var eHe = async (e, t) => {
throw Error(XZ(22));
}
};
-}, { withTypes: () => oHe }), sHe = (e, t) => {
- let { type: n, effect: r, predicate: i } = aHe(t);
+}, { withTypes: () => sHe }), cHe = (e, t) => {
+ let { type: n, effect: r, predicate: i } = oHe(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
}, JZ = (e) => {
e.pending.forEach((e) => {
e.abort(BZ);
});
-}, cHe = (e, t) => () => {
+}, lHe = (e, t) => () => {
for (let e of t.keys()) JZ(e);
e.clear();
-}, lHe = (e, t, n) => {
+}, uHe = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -81213,7 +81250,7 @@ var eHe = async (e, t) => {
throw e;
}, 0);
}
-}, uHe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/add`), { withTypes: () => uHe }), dHe = /* @__PURE__ */ PZ(`${qZ}/removeAll`), fHe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/remove`), { withTypes: () => fHe }), pHe = (...e) => {
+}, dHe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/add`), { withTypes: () => dHe }), fHe = /* @__PURE__ */ PZ(`${qZ}/removeAll`), pHe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/remove`), { withTypes: () => pHe }), mHe = (...e) => {
console.error(`${qZ}/error`, ...e);
}, YZ = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -81222,32 +81259,32 @@ var eHe = async (e, t) => {
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = pHe } = e;
+ }, { extra: a, onError: o = mHe } = e;
HZ(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
e.unsubscribe(), t?.cancelActive && JZ(e);
}), c = ((e) => {
- let n = sHe(t, e) ?? oHe(e);
+ let n = cHe(t, e) ?? sHe(e);
return s(n);
});
KZ(c, { withTypes: () => c });
let l = (e) => {
- let n = sHe(t, e);
+ let n = cHe(t, e);
return n && (n.unsubscribe(), e.cancelActive && JZ(n)), !!n;
};
KZ(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = iHe(c, u.signal), f = [];
+ let u = new AbortController(), d = aHe(c, u.signal), f = [];
try {
e.pending.add(u), r(e), await Promise.resolve(e.effect(n, KZ({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: tHe(u.signal),
+ delay: nHe(u.signal),
pause: GZ(u.signal),
extra: a,
signal: u.signal,
- fork: rHe(u.signal, f),
+ fork: iHe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
@@ -81265,22 +81302,22 @@ var eHe = async (e, t) => {
}
})));
} catch (e) {
- e instanceof VZ || lHe(o, e, { raisedBy: "effect" });
+ e instanceof VZ || uHe(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(XVe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(ZVe), i(e), e.pending.delete(u);
}
- }, d = cHe(t, n);
+ }, d = lHe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!RBe(r)) return n(r);
- if (uHe.match(r)) return c(r.payload);
- if (dHe.match(r)) {
+ if (!zBe(r)) return n(r);
+ if (dHe.match(r)) return c(r.payload);
+ if (fHe.match(r)) {
d();
return;
}
- if (fHe.match(r)) return l(r.payload);
+ if (pHe.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === nHe) throw Error(XZ(23));
+ if (i === rHe) throw Error(XZ(23));
return i;
}, s;
try {
@@ -81291,13 +81328,13 @@ var eHe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, lHe(o, e, { raisedBy: "predicate" });
+ s = !1, uHe(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = nHe;
+ i = rHe;
}
return s;
},
@@ -81311,7 +81348,7 @@ function XZ(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var mHe = LZ({
+var hHe = LZ({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -81339,10 +81376,10 @@ var mHe = LZ({
e.scale = t.payload;
}
}
-}), ZZ = mHe.actions, hHe = ZZ.setMargin, gHe = ZZ.setLayout, _He = ZZ.setChartSize, vHe = ZZ.setScale, yHe = mHe.reducer;
+}), ZZ = hHe.actions, gHe = ZZ.setMargin, _He = ZZ.setLayout, vHe = ZZ.setChartSize, yHe = ZZ.setScale, bHe = hHe.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function bHe(e, t, n) {
+function xHe(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
@@ -81355,7 +81392,7 @@ function $Z(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function xHe(e, t) {
+function SHe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81368,27 +81405,27 @@ function xHe(e, t) {
function eQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xHe(Object(n), !0).forEach(function(t) {
- SHe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xHe(Object(n)).forEach(function(t) {
+ t % 2 ? SHe(Object(n), !0).forEach(function(t) {
+ CHe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SHe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SHe(e, t, n) {
- return (t = CHe(t)) in e ? Object.defineProperty(e, t, {
+function CHe(e, t, n) {
+ return (t = wHe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CHe(e) {
- var t = wHe(e, "string");
+function wHe(e) {
+ var t = THe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wHe(e, t) {
+function THe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81399,34 +81436,34 @@ function wHe(e, t) {
return (t === "string" ? String : Number)(e);
}
function tQ(e, t, n) {
- return EJ(e) || EJ(t) ? n : bJ(t) ? pJ(e, t, n) : typeof t == "function" ? t(e) : n;
+ return DJ(e) || DJ(t) ? n : xJ(t) ? mJ(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var THe = (e, t, n) => {
+var EHe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
- if (PJ(c)) {
- if (c === "top" && yJ(e.top)) return eQ(eQ({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && yJ(e.bottom)) return eQ(eQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && yJ(e.left)) return eQ(eQ({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && yJ(e.right)) return eQ(eQ({}, e), {}, { right: e.right + (r || 0) + u });
+ if (FJ(c)) {
+ if (c === "top" && bJ(e.top)) return eQ(eQ({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && bJ(e.bottom)) return eQ(eQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && bJ(e.left)) return eQ(eQ({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && bJ(e.right)) return eQ(eQ({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && yJ(e[a])) return eQ(eQ({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && yJ(e[o])) return eQ(eQ({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && bJ(e[a])) return eQ(eQ({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && bJ(e[o])) return eQ(eQ({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, nQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", EHe = (e, t, n, r) => {
+}, nQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", DHe = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, DHe = (e, t, n) => {
+}, OHe = (e, t, n) => {
if (!e) return null;
var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? gJ(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? _J(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
return QZ(i) ? {
coordinate: i + h,
@@ -81434,7 +81471,7 @@ var THe = (e, t, n) => {
offset: h,
index: t
} : null;
- }).filter(OJ) : c && l ? l.map((e, t) => {
+ }).filter(kJ) : c && l ? l.map((e, t) => {
var n = o.map(e);
return QZ(n) ? {
coordinate: n + h,
@@ -81442,7 +81479,7 @@ var THe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(OJ) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(kJ) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
return QZ(n) ? {
coordinate: n + h,
@@ -81450,7 +81487,7 @@ var THe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(OJ) : o.domain().map((e, t) => {
+ }).filter(kJ) : o.domain().map((e, t) => {
var n = o.map(e);
return QZ(n) ? {
coordinate: n + h,
@@ -81458,12 +81495,12 @@ var THe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(OJ);
-}, OHe = (e, t) => {
- if (!t || t.length !== 2 || !yJ(t[0]) || !yJ(t[1])) return e;
+ }).filter(kJ);
+}, kHe = (e, t) => {
+ if (!t || t.length !== 2 || !bJ(t[0]) || !bJ(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
- return (!yJ(e[0]) || e[0] < n) && (i[0] = n), (!yJ(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, kHe = {
+ return (!bJ(e[0]) || e[0] < n) && (i[0] = n), (!bJ(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+}, AHe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -81471,14 +81508,14 @@ var THe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = _J(c) ? l : c;
+ var c = s[1], l = s[0], u = vJ(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
expand: aze,
- none: TY,
+ none: EY,
silhouette: oze,
wiggle: sze,
positive: (e) => {
@@ -81488,18 +81525,18 @@ var THe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = _J(o[1]) ? o[0] : o[1];
+ var s = vJ(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, AHe = (e, t, n) => {
- var r = kHe[n] ?? TY, i = ize().keys(t).value((e, t) => Number(tQ(e, t, 0))).order(EY).offset(r)(e);
+}, jHe = (e, t, n) => {
+ var r = AHe[n] ?? EY, i = ize().keys(t).value((e, t) => Number(tQ(e, t, 0))).order(DY).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = tQ(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && yJ(a[0]) && yJ(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ Array.isArray(a) && a.length === 2 && bJ(a[0]) && bJ(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
@@ -81509,43 +81546,43 @@ function rQ(e) {
function iQ(e) {
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !EJ(i[t.dataKey])) {
- var s = TJ(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !DJ(i[t.dataKey])) {
+ var s = EJ(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = tQ(i, EJ(o) ? t.dataKey : o), l = t.scale.map(c);
- return yJ(l) ? l : null;
+ var c = tQ(i, DJ(o) ? t.dataKey : o), l = t.scale.map(c);
+ return bJ(l) ? l : null;
}
var aQ = (e) => {
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
var s = tQ(a, t.dataKey, t.scale.domain()[o]);
- if (EJ(s)) return null;
+ if (DJ(s)) return null;
var c = t.scale.map(s);
- return yJ(c) ? c - i / 2 + r : null;
-}, jHe = (e) => {
+ return bJ(c) ? c - i / 2 + r : null;
+}, MHe = (e) => {
var t = e.numericAxis, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, MHe = (e) => {
- var t = e.flat(2).filter(yJ);
+}, NHe = (e) => {
+ var t = e.flat(2).filter(bJ);
return [Math.min(...t), Math.max(...t)];
-}, NHe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], PHe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return NHe(Object.keys(e).reduce((r, i) => {
+}, PHe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], FHe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return PHe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = MHe(bHe(r, t, n));
+ var i = NHe(xHe(r, t, n));
return !QZ(i[0]) || !QZ(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];
}, [Infinity, -Infinity]));
-}, FHe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, IHe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oQ = (e, t, n) => {
+}, IHe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, LHe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oQ = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
@@ -81561,7 +81598,7 @@ var aQ = (e) => {
}
return n ? void 0 : 0;
};
-function LHe(e) {
+function RHe(e) {
var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;
return eQ(eQ({}, t), {}, {
dataKey: n,
@@ -81574,13 +81611,13 @@ function sQ(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var RHe = (e, t) => {
+var zHe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, zHe = (e, t) => t === "centric" ? e.angle : e.radius, cQ = (e) => e.layout.width, lQ = (e) => e.layout.height, BHe = (e) => e.layout.scale, uQ = (e) => e.layout.margin, dQ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), fQ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), VHe = "data-recharts-item-index";
+}, BHe = (e, t) => t === "centric" ? e.angle : e.radius, cQ = (e) => e.layout.width, lQ = (e) => e.layout.height, VHe = (e) => e.layout.scale, uQ = (e) => e.layout.margin, dQ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), fQ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), HHe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function HHe(e, t) {
+function UHe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81593,27 +81630,27 @@ function HHe(e, t) {
function pQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? HHe(Object(n), !0).forEach(function(t) {
- UHe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HHe(Object(n)).forEach(function(t) {
+ t % 2 ? UHe(Object(n), !0).forEach(function(t) {
+ WHe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UHe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UHe(e, t, n) {
- return (t = WHe(t)) in e ? Object.defineProperty(e, t, {
+function WHe(e, t, n) {
+ return (t = GHe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WHe(e) {
- var t = GHe(e, "string");
+function GHe(e) {
+ var t = KHe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GHe(e, t) {
+function KHe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81623,30 +81660,30 @@ function GHe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var KHe = (e) => e.brush.height;
-function qHe(e) {
+var qHe = (e) => e.brush.height;
+function JHe(e) {
return fQ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function JHe(e) {
+function YHe(e) {
return fQ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function YHe(e) {
+function XHe(e) {
return dQ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-function XHe(e) {
+function ZHe(e) {
return dQ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
var mQ = Y([
cQ,
lQ,
uQ,
- KHe,
qHe,
JHe,
YHe,
XHe,
- bBe,
- xBe
+ ZHe,
+ xBe,
+ SBe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -81655,13 +81692,13 @@ var mQ = Y([
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = THe(d, c, l);
+ d.bottom += r, d = EHe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
return pQ(pQ({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), ZHe = Y(mQ, (e) => ({
+}), QHe = Y(mQ, (e) => ({
x: e.left,
y: e.top,
width: e.width,
@@ -81671,19 +81708,19 @@ var mQ = Y([
y: 0,
width: e,
height: t
-})), QHe = /*#__PURE__*/ (0, S.createContext)(null), gQ = () => (0, S.useContext)(QHe) != null, _Q = (e) => e.brush, vQ = Y([
+})), $He = /*#__PURE__*/ (0, S.createContext)(null), gQ = () => (0, S.useContext)($He) != null, _Q = (e) => e.brush, vQ = Y([
_Q,
mQ,
uQ
], (e, t, n) => ({
height: e.height,
- x: yJ(e.x) ? e.x : t.left,
- y: yJ(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: yJ(e.width) ? e.width : t.width
+ x: bJ(e.x) ? e.x : t.left,
+ y: bJ(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: bJ(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function $He(e, t, { signal: n, edges: r } = {}) {
+function eUe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -81708,11 +81745,11 @@ function $He(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function eUe(e, t = 0, n = {}) {
+function tUe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = $He(function(...t) {
+ let s, c = null, l = eUe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -81721,9 +81758,9 @@ function eUe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function tUe(e, t = 0, n = {}) {
+function nUe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return eUe(e, t, {
+ return tUe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -81749,27 +81786,27 @@ var yQ = function(e, t) {
width: -1,
height: -1
}
-}, nUe = (e, t, n) => {
- var r = n.width, i = r === void 0 ? bQ.width : r, a = n.height, o = a === void 0 ? bQ.height : a, s = n.aspect, c = n.maxHeight, l = vJ(i) ? e : Number(i), u = vJ(o) ? t : Number(o);
+}, rUe = (e, t, n) => {
+ var r = n.width, i = r === void 0 ? bQ.width : r, a = n.height, o = a === void 0 ? bQ.height : a, s = n.aspect, c = n.maxHeight, l = yJ(i) ? e : Number(i), u = yJ(o) ? t : Number(o);
return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {
calculatedWidth: l,
calculatedHeight: u
};
-}, rUe = {
+}, iUe = {
width: 0,
height: 0,
overflow: "visible"
-}, iUe = {
+}, aUe = {
width: 0,
overflowX: "visible"
-}, aUe = {
+}, oUe = {
height: 0,
overflowY: "visible"
-}, oUe = {}, sUe = (e) => {
- var t = e.width, n = e.height, r = vJ(t), i = vJ(n);
- return r && i ? rUe : r ? iUe : i ? aUe : oUe;
+}, sUe = {}, cUe = (e) => {
+ var t = e.width, n = e.height, r = yJ(t), i = yJ(n);
+ return r && i ? iUe : r ? aUe : i ? oUe : sUe;
};
-function cUe(e) {
+function lUe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
return i === void 0 && a === void 0 ? (i = bQ.width, a = bQ.height) : i === void 0 ? i = r && r > 0 ? void 0 : bQ.width : a === void 0 && (a = r && r > 0 ? void 0 : bQ.height), {
width: i,
@@ -81778,7 +81815,7 @@ function cUe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var lUe = [
+var uUe = [
"aspect",
"initialDimension",
"width",
@@ -81802,7 +81839,7 @@ function xQ() {
return e;
}, xQ.apply(null, arguments);
}
-function uUe(e, t) {
+function dUe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81812,30 +81849,30 @@ function uUe(e, t) {
}
return n;
}
-function dUe(e) {
+function fUe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? uUe(Object(n), !0).forEach(function(t) {
- fUe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uUe(Object(n)).forEach(function(t) {
+ t % 2 ? dUe(Object(n), !0).forEach(function(t) {
+ pUe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dUe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fUe(e, t, n) {
- return (t = pUe(t)) in e ? Object.defineProperty(e, t, {
+function pUe(e, t, n) {
+ return (t = mUe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pUe(e) {
- var t = mUe(e, "string");
+function mUe(e) {
+ var t = hUe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mUe(e, t) {
+function hUe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81845,25 +81882,25 @@ function mUe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function hUe(e, t) {
- return bUe(e) || yUe(e, t) || _Ue(e, t) || gUe();
+function gUe(e, t) {
+ return xUe(e) || bUe(e, t) || vUe(e, t) || _Ue();
}
-function gUe() {
+function _Ue() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function _Ue(e, t) {
+function vUe(e, t) {
if (e) {
- if (typeof e == "string") return vUe(e, t);
+ if (typeof e == "string") return yUe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vUe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yUe(e, t) : void 0;
}
}
-function vUe(e, t) {
+function yUe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function yUe(e, t) {
+function bUe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81884,19 +81921,19 @@ function yUe(e, t) {
return s;
}
}
-function bUe(e) {
+function xUe(e) {
if (Array.isArray(e)) return e;
}
-function xUe(e, t) {
+function SUe(e, t) {
if (e == null) return {};
- var n, r, i = SUe(e, t);
+ var n, r, i = CUe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function SUe(e, t) {
+function CUe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81905,21 +81942,21 @@ function SUe(e, t) {
}
return n;
}
-var CUe = /*#__PURE__*/ (0, S.createContext)(bQ.initialDimension);
-function wUe(e) {
+var wUe = /*#__PURE__*/ (0, S.createContext)(bQ.initialDimension);
+function TUe(e) {
return $Z(e.width) && $Z(e.height);
}
-function TUe(e) {
+function EUe(e) {
var t = e.children, n = e.width, r = e.height, i = (0, S.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return wUe(i) ? /*#__PURE__*/ S.createElement(CUe.Provider, { value: i }, t) : null;
+ return TUe(i) ? /*#__PURE__*/ S.createElement(wUe.Provider, { value: i }, t) : null;
}
-var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? bQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? bQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? bQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = xUe(e, lUe), b = (0, S.useRef)(null), x = (0, S.useRef)();
+var SQ = () => (0, S.useContext)(wUe), DUe = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? bQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? bQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? bQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = SUe(e, uUe), b = (0, S.useRef)(null), x = (0, S.useRef)();
x.current = g, (0, S.useImperativeHandle)(t, () => b.current);
- var C = hUe((0, S.useState)({
+ var C = gUe((0, S.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, S.useCallback)((e, t) => {
@@ -81932,7 +81969,7 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
});
}, []);
(0, S.useEffect)(() => {
- if (b.current == null || typeof ResizeObserver > "u") return kJ;
+ if (b.current == null || typeof ResizeObserver > "u") return AJ;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -81940,7 +81977,7 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
E(i, a), (t = x.current) == null || t.call(x, i, a);
}
};
- p > 0 && (e = tUe(e, p, {
+ p > 0 && (e = nUe(e, p, {
trailing: !0,
leading: !1
}));
@@ -81951,7 +81988,7 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
}, [E, p]);
var D = w.containerWidth, O = w.containerHeight;
yQ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var k = nUe(D, O, {
+ var k = rUe(D, O, {
width: a,
height: o,
aspect: n,
@@ -81959,8 +81996,8 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
}), A = k.calculatedWidth, j = k.calculatedHeight;
return yQ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ S.createElement("div", xQ({
id: m ? `${m}` : void 0,
- className: ry("recharts-responsive-container", h),
- style: dUe(dUe({}, v), {}, {
+ className: ny("recharts-responsive-container", h),
+ style: fUe(fUe({}, v), {}, {
width: a,
height: o,
minWidth: c,
@@ -81968,43 +82005,43 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
maxHeight: u
}),
ref: b
- }, y), /*#__PURE__*/ S.createElement("div", { style: sUe({
+ }, y), /*#__PURE__*/ S.createElement("div", { style: cUe({
width: a,
height: o
- }) }, /*#__PURE__*/ S.createElement(TUe, {
+ }) }, /*#__PURE__*/ S.createElement(EUe, {
width: A,
height: j
}, d)));
}), CQ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = SQ();
if ($Z(n.width) && $Z(n.height)) return e.children;
- var r = cUe({
+ var r = lUe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), i = r.width, a = r.height, o = nUe(void 0, void 0, {
+ }), i = r.width, a = r.height, o = rUe(void 0, void 0, {
width: i,
height: a,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return yJ(s) && yJ(c) ? /*#__PURE__*/ S.createElement(TUe, {
+ return bJ(s) && bJ(c) ? /*#__PURE__*/ S.createElement(EUe, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ S.createElement(EUe, xQ({}, e, {
+ }, e.children) : /*#__PURE__*/ S.createElement(DUe, xQ({}, e, {
width: i,
height: a,
ref: t
}));
}), wQ = () => {
- var e = gQ(), t = jX(ZHe), n = jX(vQ), r = jX(_Q)?.padding;
+ var e = gQ(), t = MX(QHe), n = MX(vQ), r = MX(_Q)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, DUe = {
+}, OUe = {
top: 0,
bottom: 0,
left: 0,
@@ -82012,16 +82049,16 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, OUe = () => jX(mQ) ?? DUe, TQ = () => jX(cQ), EQ = () => jX(lQ), kUe = () => jX((e) => e.layout.margin), DQ = (e) => e.layout.layoutType, OQ = () => jX(DQ), kQ = () => {
+}, kUe = () => MX(mQ) ?? OUe, TQ = () => MX(cQ), EQ = () => MX(lQ), AUe = () => MX((e) => e.layout.margin), DQ = (e) => e.layout.layoutType, OQ = () => MX(DQ), kQ = () => {
var e = OQ();
if (e === "horizontal" || e === "vertical") return e;
}, AQ = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, jQ = () => jX(AQ), AUe = () => OQ() !== void 0, MQ = (e) => {
- var t = kX(), n = gQ(), r = e.width, i = e.height, a = SQ(), o = r, s = i;
+}, jQ = () => MX(AQ), jUe = () => OQ() !== void 0, MQ = (e) => {
+ var t = AX(), n = gQ(), r = e.width, i = e.height, a = SQ(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, S.useEffect)(() => {
- !n && $Z(o) && $Z(s) && t(_He({
+ !n && $Z(o) && $Z(s) && t(vHe({
width: o,
height: s
}));
@@ -82031,7 +82068,7 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
o,
s
]), null;
-}, jUe = LZ({
+}, MUe = LZ({
name: "legend",
initialState: {
settings: {
@@ -82076,24 +82113,24 @@ var SQ = () => (0, S.useContext)(CUe), EUe = /*#__PURE__*/ (0, S.forwardRef)((e,
prepare: IZ()
}
}
-}), NQ = jUe.actions, MUe = NQ.setLegendSize, NUe = NQ.setLegendSettings, PUe = NQ.addLegendPayload, FUe = NQ.replaceLegendPayload, IUe = NQ.removeLegendPayload, LUe = jUe.reducer, RUe = /* @__PURE__ */ o(((e) => {
+}), NQ = MUe.actions, NUe = NQ.setLegendSize, PUe = NQ.setLegendSettings, FUe = NQ.addLegendPayload, IUe = NQ.replaceLegendPayload, LUe = NQ.removeLegendPayload, RUe = MUe.reducer, zUe = /* @__PURE__ */ o(((e) => {
var t = p();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = RUe();
+ t.exports = zUe();
})))();
-function zUe(e) {
+function BUe(e) {
e();
}
-function BUe() {
+function VUe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- zUe(() => {
+ BUe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -82115,12 +82152,12 @@ function BUe() {
}
};
}
-var VUe = {
+var HUe = {
notify() {},
get: () => []
};
-function HUe(e, t) {
- let n, r = VUe, i = 0, a = !1;
+function UUe(e, t) {
+ let n, r = HUe, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -82138,10 +82175,10 @@ function HUe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = BUe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = VUe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = VUe);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = HUe);
}
function f() {
a || (a = !0, u());
@@ -82160,44 +82197,44 @@ function HUe(e, t) {
};
return m;
}
-var UUe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, WUe = typeof navigator < "u" && navigator.product === "ReactNative", GUe = UUe || WUe ? S.useLayoutEffect : S.useEffect;
-function KUe(e, t) {
+var WUe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, GUe = typeof navigator < "u" && navigator.product === "ReactNative", KUe = WUe || GUe ? S.useLayoutEffect : S.useEffect;
+function qUe(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function qUe(e, t) {
- if (KUe(e, t)) return !0;
+function JUe(e, t) {
+ if (qUe(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !KUe(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !qUe(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var JUe = /* @__PURE__ */ Symbol.for("react-redux-context"), YUe = typeof globalThis < "u" ? globalThis : {};
-function XUe() {
+var YUe = /* @__PURE__ */ Symbol.for("react-redux-context"), XUe = typeof globalThis < "u" ? globalThis : {};
+function ZUe() {
if (!S.createContext) return {};
- let e = YUe[JUe] ??= /* @__PURE__ */ new Map(), t = e.get(S.createContext);
+ let e = XUe[YUe] ??= /* @__PURE__ */ new Map(), t = e.get(S.createContext);
return t || (t = S.createContext(null), e.set(S.createContext, t)), t;
}
-var ZUe = /* @__PURE__ */ XUe();
-function QUe(e) {
+var QUe = /* @__PURE__ */ ZUe();
+function $Ue(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = S.useMemo(() => {
- let e = HUe(i);
+ let e = UUe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = S.useMemo(() => i.getState(), [i]);
- GUe(() => {
+ KUe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || ZUe;
+ let s = n || QUe;
return /* @__PURE__ */ S.createElement(s.Provider, { value: a }, t);
}
-var $Ue = QUe, eWe = /* @__PURE__ */ new Set([
+var eWe = $Ue, tWe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -82220,19 +82257,19 @@ var $Ue = QUe, eWe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function tWe(e, t) {
+function nWe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
function PQ(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (eWe.has(n)) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (tWe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!qUe(e[n], t[n])) return !1;
- } else if (!tWe(e[n], t[n])) return !1;
+ if (!JUe(e[n], t[n])) return !1;
+ } else if (!nWe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var nWe = Y([
+var rWe = Y([
cQ,
lQ,
uQ
@@ -82244,7 +82281,7 @@ var nWe = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function rWe(e, t) {
+function iWe(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -82257,7 +82294,7 @@ function rWe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var iWe = ["contextPayload"];
+var aWe = ["contextPayload"];
function FQ() {
return FQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -82267,25 +82304,25 @@ function FQ() {
return e;
}, FQ.apply(null, arguments);
}
-function aWe(e, t) {
- return uWe(e) || lWe(e, t) || sWe(e, t) || oWe();
+function oWe(e, t) {
+ return dWe(e) || uWe(e, t) || cWe(e, t) || sWe();
}
-function oWe() {
+function sWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function sWe(e, t) {
+function cWe(e, t) {
if (e) {
- if (typeof e == "string") return cWe(e, t);
+ if (typeof e == "string") return lWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lWe(e, t) : void 0;
}
}
-function cWe(e, t) {
+function lWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function lWe(e, t) {
+function uWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82306,10 +82343,10 @@ function lWe(e, t) {
return s;
}
}
-function uWe(e) {
+function dWe(e) {
if (Array.isArray(e)) return e;
}
-function dWe(e, t) {
+function fWe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82322,27 +82359,27 @@ function dWe(e, t) {
function IQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dWe(Object(n), !0).forEach(function(t) {
- fWe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dWe(Object(n)).forEach(function(t) {
+ t % 2 ? fWe(Object(n), !0).forEach(function(t) {
+ pWe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fWe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fWe(e, t, n) {
- return (t = pWe(t)) in e ? Object.defineProperty(e, t, {
+function pWe(e, t, n) {
+ return (t = mWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pWe(e) {
- var t = mWe(e, "string");
+function mWe(e) {
+ var t = hWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mWe(e, t) {
+function hWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82352,16 +82389,16 @@ function mWe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function hWe(e, t) {
+function gWe(e, t) {
if (e == null) return {};
- var n, r, i = gWe(e, t);
+ var n, r, i = _We(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function gWe(e, t) {
+function _We(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -82370,30 +82407,30 @@ function gWe(e, t) {
}
return n;
}
-function _We(e) {
+function vWe(e) {
return e.value;
}
-function vWe(e) {
- var t = e.contextPayload, n = hWe(e, iWe), r = DX(t, e.payloadUniqBy, _We), i = IQ(IQ({}, n), {}, { payload: r });
+function yWe(e) {
+ var t = e.contextPayload, n = gWe(e, aWe), r = OX(t, e.payloadUniqBy, vWe), i = IQ(IQ({}, n), {}, { payload: r });
return /*#__PURE__*/ S.isValidElement(e.content) ? /*#__PURE__*/ S.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ S.createElement(e.content, i) : /*#__PURE__*/ S.createElement(Aze, i);
}
-function yWe(e) {
+function bWe(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function bWe(e, t) {
- return t == null ? null : PJ(t) ? nWe(e) : ZHe(e);
+function xWe(e, t) {
+ return t == null ? null : FJ(t) ? rWe(e) : QHe(e);
}
-function xWe(e, t, n) {
+function SWe(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
}
-function SWe(e, t, n, r, i, a) {
+function CWe(e, t, n, r, i, a) {
var o = t.layout, s = t.align, c = t.verticalAlign, l, u;
return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), IQ(IQ({}, l), u);
}
-function CWe(e) {
- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = kX();
+function wWe(e) {
+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = AX();
return (0, S.useLayoutEffect)(() => {
- s(NUe({
+ s(PUe({
align: t,
layout: n,
verticalAlign: r,
@@ -82411,10 +82448,10 @@ function CWe(e) {
o
]), null;
}
-function wWe(e) {
- var t = e.width, n = e.height, r = kX();
+function TWe(e) {
+ var t = e.width, n = e.height, r = AX();
return (0, S.useLayoutEffect)(() => {
- r(MUe({
+ r(NUe({
width: t,
height: n
}));
@@ -82423,16 +82460,16 @@ function wWe(e) {
t,
n
]), (0, S.useLayoutEffect)(() => () => {
- r(MUe({
+ r(NUe({
width: 0,
height: 0
}));
}, [r]), null;
}
-function TWe(e, t, n, r) {
+function EWe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var EWe = {
+var DWe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -82442,10 +82479,10 @@ var EWe = {
verticalAlign: "bottom",
offset: 0
};
-function DWe(e) {
- var t = IY(e, EWe), n = e.layout && e.layout !== "auto" ? e.layout : yWe(t.position), r = CBe(), i = kRe(), a = kUe(), o = jX((e) => bWe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || PJ(t.position)), f = aWe(MBe([r]), 2), p = f[0], m = f[1], h = TQ(), g = EQ();
+function OWe(e) {
+ var t = LY(e, DWe), n = e.layout && e.layout !== "auto" ? e.layout : bWe(t.position), r = wBe(), i = kRe(), a = AUe(), o = MX((e) => xWe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || FJ(t.position)), f = oWe(NBe([r]), 2), p = f[0], m = f[1], h = TQ(), g = EQ();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = TWe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : NJ({
+ var _ = EWe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : PJ({
viewBox: o ?? {
x: 0,
y: 0,
@@ -82454,7 +82491,7 @@ function DWe(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = xWe(t.position, t.offset ?? 0, p), b = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, x = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
+ }), y = SWe(t.position, t.offset ?? 0, p), b = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, x = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
width: "max-content",
height: "max-content",
maxWidth: b,
@@ -82462,8 +82499,8 @@ function DWe(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: rWe(v.horizontalAnchor, v.verticalAnchor)
- } : SWe(l, t, a, h, g, p), w = u ? l : IQ(IQ({
+ transform: iWe(v.horizontalAnchor, v.verticalAnchor)
+ } : CWe(l, t, a, h, g, p), w = u ? l : IQ(IQ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -82473,14 +82510,14 @@ function DWe(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ S.createElement(CWe, {
+ }, /*#__PURE__*/ S.createElement(wWe, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ S.createElement(wWe, p), /*#__PURE__*/ S.createElement(vWe, FQ({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ S.createElement(TWe, p), /*#__PURE__*/ S.createElement(yWe, FQ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -82488,8 +82525,8 @@ function DWe(e) {
})));
return /*#__PURE__*/ (0, gt.createPortal)(E, T);
}
-var OWe = /*#__PURE__*/ S.memo(DWe, PQ);
-OWe.displayName = "Legend";
+var kWe = /*#__PURE__*/ S.memo(OWe, PQ);
+kWe.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
function LQ() {
@@ -82501,7 +82538,7 @@ function LQ() {
return e;
}, LQ.apply(null, arguments);
}
-function kWe(e, t) {
+function AWe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82514,27 +82551,27 @@ function kWe(e, t) {
function RQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? kWe(Object(n), !0).forEach(function(t) {
- AWe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kWe(Object(n)).forEach(function(t) {
+ t % 2 ? AWe(Object(n), !0).forEach(function(t) {
+ jWe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AWe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function AWe(e, t, n) {
- return (t = jWe(t)) in e ? Object.defineProperty(e, t, {
+function jWe(e, t, n) {
+ return (t = MWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jWe(e) {
- var t = MWe(e, "string");
+function MWe(e) {
+ var t = NWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MWe(e, t) {
+function NWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82544,25 +82581,25 @@ function MWe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function NWe(e, t) {
- return RWe(e) || LWe(e, t) || FWe(e, t) || PWe();
+function PWe(e, t) {
+ return zWe(e) || RWe(e, t) || IWe(e, t) || FWe();
}
-function PWe() {
+function FWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function FWe(e, t) {
+function IWe(e, t) {
if (e) {
- if (typeof e == "string") return IWe(e, t);
+ if (typeof e == "string") return LWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? IWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? LWe(e, t) : void 0;
}
}
-function IWe(e, t) {
+function LWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function LWe(e, t) {
+function RWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82583,11 +82620,11 @@ function LWe(e, t) {
return s;
}
}
-function RWe(e) {
+function zWe(e) {
if (Array.isArray(e)) return e;
}
-function zWe(e) {
- return Array.isArray(e) && bJ(e[0]) && bJ(e[1]) ? e.join(" ~ ") : e;
+function BWe(e) {
+ return Array.isArray(e) && xJ(e[0]) && xJ(e[1]) ? e.join(" ~ ") : e;
}
var zQ = {
separator: " : ",
@@ -82607,22 +82644,22 @@ var zQ = {
labelStyle: {},
accessibilityLayer: !1
};
-function BWe(e, t) {
+function VWe(e, t) {
return t == null ? e : IX(e, t);
}
-var VWe = (e) => {
+var HWe = (e) => {
var t = e.separator, n = t === void 0 ? zQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? zQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? zQ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = BWe(s, l).map((e, t) => {
+ }, t = VWe(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || zWe, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || BWe, a = e.value, o = e.name, l = a, u = o;
if (r) {
var d = r(a, o, e, t, s);
if (Array.isArray(d)) {
- var f = NWe(d, 2);
+ var f = PWe(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
@@ -82632,7 +82669,7 @@ var VWe = (e) => {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, bJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, bJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, xJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, xJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ S.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -82640,7 +82677,7 @@ var VWe = (e) => {
}, t);
}
return null;
- }, _ = RQ(RQ({}, zQ.contentStyle), r), v = RQ({ margin: 0 }, o), y = !EJ(f), b = y ? f : "", x = ry("recharts-default-tooltip", u), C = ry("recharts-tooltip-label", d);
+ }, _ = RQ(RQ({}, zQ.contentStyle), r), v = RQ({ margin: 0 }, o), y = !DJ(f), b = y ? f : "", x = ny("recharts-default-tooltip", u), C = ny("recharts-tooltip-label", d);
y && p && s != null && (b = p(f, s));
var w = h ? {
role: "status",
@@ -82653,31 +82690,31 @@ var VWe = (e) => {
className: C,
style: v
}, /*#__PURE__*/ S.isValidElement(b) ? b : `${b}`), g());
-}, BQ = "recharts-tooltip-wrapper", HWe = { visibility: "hidden" };
-function UWe(e) {
+}, BQ = "recharts-tooltip-wrapper", UWe = { visibility: "hidden" };
+function WWe(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return ry(BQ, {
- [`${BQ}-right`]: yJ(n) && t && yJ(t.x) && n >= t.x,
- [`${BQ}-left`]: yJ(n) && t && yJ(t.x) && n < t.x,
- [`${BQ}-bottom`]: yJ(r) && t && yJ(t.y) && r >= t.y,
- [`${BQ}-top`]: yJ(r) && t && yJ(t.y) && r < t.y
+ return ny(BQ, {
+ [`${BQ}-right`]: bJ(n) && t && bJ(t.x) && n >= t.x,
+ [`${BQ}-left`]: bJ(n) && t && bJ(t.x) && n < t.x,
+ [`${BQ}-bottom`]: bJ(r) && t && bJ(t.y) && r >= t.y,
+ [`${BQ}-top`]: bJ(r) && t && bJ(t.y) && r < t.y
});
}
-function WWe(e) {
+function GWe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;
- if (a && yJ(a[r])) return a[r];
+ if (a && bJ(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function GWe(e) {
+function KWe(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function KWe(e) {
+function qWe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;
- return s && s.height > 0 && s.width > 0 && n ? (d = WWe({
+ return s && s.height > 0 && s.width > 0 && n ? (d = GWe({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -82687,7 +82724,7 @@ function KWe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = WWe({
+ }), f = GWe({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -82697,13 +82734,13 @@ function KWe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = GWe({
+ }), u = KWe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = HWe, {
+ })) : u = UWe, {
cssProperties: u,
- cssClasses: UWe({
+ cssClasses: WWe({
translateX: d,
translateY: f,
coordinate: n
@@ -82716,25 +82753,25 @@ var VQ = {
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function qWe(e, t) {
- return QWe(e) || ZWe(e, t) || YWe(e, t) || JWe();
+function JWe(e, t) {
+ return $We(e) || QWe(e, t) || XWe(e, t) || YWe();
}
-function JWe() {
+function YWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function YWe(e, t) {
+function XWe(e, t) {
if (e) {
- if (typeof e == "string") return XWe(e, t);
+ if (typeof e == "string") return ZWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? XWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ZWe(e, t) : void 0;
}
}
-function XWe(e, t) {
+function ZWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function ZWe(e, t) {
+function QWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82755,11 +82792,11 @@ function ZWe(e, t) {
return s;
}
}
-function QWe(e) {
+function $We(e) {
if (Array.isArray(e)) return e;
}
-function $We() {
- var e = qWe((0, S.useState)(() => VQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+function eGe() {
+ var e = JWe((0, S.useState)(() => VQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
return (0, S.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
@@ -82773,7 +82810,7 @@ function $We() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function eGe(e, t) {
+function tGe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82786,27 +82823,27 @@ function eGe(e, t) {
function HQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eGe(Object(n), !0).forEach(function(t) {
- tGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eGe(Object(n)).forEach(function(t) {
+ t % 2 ? tGe(Object(n), !0).forEach(function(t) {
+ nGe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tGe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tGe(e, t, n) {
- return (t = nGe(t)) in e ? Object.defineProperty(e, t, {
+function nGe(e, t, n) {
+ return (t = rGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nGe(e) {
- var t = rGe(e, "string");
+function rGe(e) {
+ var t = iGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rGe(e, t) {
+function iGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82816,25 +82853,25 @@ function rGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function iGe(e, t) {
- return lGe(e) || cGe(e, t) || oGe(e, t) || aGe();
+function aGe(e, t) {
+ return uGe(e) || lGe(e, t) || sGe(e, t) || oGe();
}
-function aGe() {
+function oGe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function oGe(e, t) {
+function sGe(e, t) {
if (e) {
- if (typeof e == "string") return sGe(e, t);
+ if (typeof e == "string") return cGe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sGe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cGe(e, t) : void 0;
}
}
-function sGe(e, t) {
+function cGe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function cGe(e, t) {
+function lGe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82855,17 +82892,17 @@ function cGe(e, t) {
return s;
}
}
-function lGe(e) {
+function uGe(e) {
if (Array.isArray(e)) return e;
}
-function uGe(e) {
+function dGe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {
var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";
return `transform ${e.animationDuration}ms ${t}`;
}
}
-function dGe(e) {
- var t = $We(), n = iGe(S.useState(() => ({
+function fGe(e) {
+ var t = eGe(), n = aGe(S.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -82886,7 +82923,7 @@ function dGe(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(HQ(HQ({}, r), {}, { dismissed: !1 }));
- var a = KWe({
+ var a = qWe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -82896,7 +82933,7 @@ function dGe(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = HQ(HQ({}, e.hasPortalFromProps ? {} : HQ(HQ({ transition: uGe({
+ }), o = a.cssClasses, s = a.cssProperties, c = HQ(HQ({}, e.hasPortalFromProps ? {} : HQ(HQ({ transition: dGe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -82916,7 +82953,7 @@ function dGe(e) {
ref: e.innerRef
}, e.children);
}
-var fGe = /*#__PURE__*/ S.memo(dGe), pGe = () => jX((e) => e.rootProps.accessibilityLayer) ?? !0;
+var pGe = /*#__PURE__*/ S.memo(fGe), mGe = () => MX((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function UQ() {
@@ -82928,7 +82965,7 @@ function UQ() {
return e;
}, UQ.apply(null, arguments);
}
-function mGe(e, t) {
+function hGe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82938,30 +82975,30 @@ function mGe(e, t) {
}
return n;
}
-function hGe(e) {
+function gGe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mGe(Object(n), !0).forEach(function(t) {
- gGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mGe(Object(n)).forEach(function(t) {
+ t % 2 ? hGe(Object(n), !0).forEach(function(t) {
+ _Ge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hGe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gGe(e, t, n) {
- return (t = _Ge(t)) in e ? Object.defineProperty(e, t, {
+function _Ge(e, t, n) {
+ return (t = vGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Ge(e) {
- var t = vGe(e, "string");
+function vGe(e) {
+ var t = yGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vGe(e, t) {
+function yGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82971,38 +83008,38 @@ function vGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var yGe = {
+var bGe = {
curveBasisClosed: qRe,
curveBasisOpen: JRe,
curveBasis: KRe,
curveBumpX: MRe,
curveBumpY: NRe,
curveLinearClosed: YRe,
- curveLinear: XJ,
+ curveLinear: ZJ,
curveMonotoneX: XRe,
curveMonotoneY: ZRe,
curveNatural: QRe,
curveStep: $Re,
curveStepAfter: tze,
curveStepBefore: eze
-}, WQ = (e) => QZ(e.x) && QZ(e.y), bGe = (e) => e.base != null && WQ(e.base) && WQ(e), GQ = (e) => e.x, KQ = (e) => e.y, xGe = (e, t) => {
+}, WQ = (e) => QZ(e.x) && QZ(e.y), xGe = (e) => e.base != null && WQ(e.base) && WQ(e), GQ = (e) => e.x, KQ = (e) => e.y, SGe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${DJ(e)}`;
+ var n = `curve${OJ(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = yGe[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = bGe[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return yGe[n] || XJ;
-}, SGe = {
+ return bGe[n] || ZJ;
+}, CGe = {
connectNulls: !1,
type: "linear"
-}, CGe = (e) => {
- var t = e.type, n = t === void 0 ? SGe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? SGe.connectNulls : s, l = xGe(n, o), u = c ? i.filter(WQ) : i;
+}, wGe = (e) => {
+ var t = e.type, n = t === void 0 ? CGe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? CGe.connectNulls : s, l = SGe(n, o), u = c ? i.filter(WQ) : i;
if (Array.isArray(a)) {
- var d, f = i.map((e, t) => hGe(hGe({}, e), {}, { base: a[t] }));
- return d = o === "vertical" ? eY().y(KQ).x1(GQ).x0((e) => e.base.x) : eY().x(GQ).y1(KQ).y0((e) => e.base.y), d.defined(bGe).curve(l)(c ? f.filter(bGe) : f);
+ var d, f = i.map((e, t) => gGe(gGe({}, e), {}, { base: a[t] }));
+ return d = o === "vertical" ? tY().y(KQ).x1(GQ).x0((e) => e.base.x) : tY().x(GQ).y1(KQ).y0((e) => e.base.y), d.defined(xGe).curve(l)(c ? f.filter(xGe) : f);
}
- return (o === "vertical" && yJ(a) ? eY().y(KQ).x1(GQ).x0(a) : yJ(a) ? eY().x(GQ).y1(KQ).y0(a) : $J().x(GQ).y(KQ)).defined(WQ).curve(l)(u);
+ return (o === "vertical" && bJ(a) ? tY().y(KQ).x1(GQ).x0(a) : bJ(a) ? tY().x(GQ).y1(KQ).y0(a) : eY().x(GQ).y(KQ)).defined(WQ).curve(l)(u);
}, qQ = (e) => {
var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = OQ();
if ((!n || !n.length) && !r) return null;
@@ -83012,13 +83049,13 @@ var yGe = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? CGe(o) : r;
- return /*#__PURE__*/ S.createElement("path", UQ({}, eJ(e), NY(e), {
- className: ry("recharts-curve", t),
+ }, s = n && n.length ? wGe(o) : r;
+ return /*#__PURE__*/ S.createElement("path", UQ({}, tJ(e), PY(e), {
+ className: ny("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, wGe = [
+}, TGe = [
"x",
"y",
"top",
@@ -83036,7 +83073,7 @@ function JQ() {
return e;
}, JQ.apply(null, arguments);
}
-function TGe(e, t) {
+function EGe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83046,30 +83083,30 @@ function TGe(e, t) {
}
return n;
}
-function EGe(e) {
+function DGe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TGe(Object(n), !0).forEach(function(t) {
- DGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TGe(Object(n)).forEach(function(t) {
+ t % 2 ? EGe(Object(n), !0).forEach(function(t) {
+ OGe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EGe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DGe(e, t, n) {
- return (t = OGe(t)) in e ? Object.defineProperty(e, t, {
+function OGe(e, t, n) {
+ return (t = kGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OGe(e) {
- var t = kGe(e, "string");
+function kGe(e) {
+ var t = AGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kGe(e, t) {
+function AGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83079,16 +83116,16 @@ function kGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function AGe(e, t) {
+function jGe(e, t) {
if (e == null) return {};
- var n, r, i = jGe(e, t);
+ var n, r, i = MGe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function jGe(e, t) {
+function MGe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83097,8 +83134,8 @@ function jGe(e, t) {
}
return n;
}
-var MGe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, NGe = (e) => {
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = AGe(e, wGe), h = EGe({
+var NGe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, PGe = (e) => {
+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = jGe(e, TGe), h = DGe({
x: n,
y: i,
top: o,
@@ -83106,14 +83143,14 @@ var MGe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, NGe = (e) => {
width: u,
height: f
}, m);
- return !yJ(n) || !yJ(i) || !yJ(u) || !yJ(f) || !yJ(o) || !yJ(c) ? null : /*#__PURE__*/ S.createElement("path", JQ({}, nJ(h), {
- className: ry("recharts-cross", p),
- d: MGe(n, i, u, f, o, c)
+ return !bJ(n) || !bJ(i) || !bJ(u) || !bJ(f) || !bJ(o) || !bJ(c) ? null : /*#__PURE__*/ S.createElement("path", JQ({}, rJ(h), {
+ className: ny("recharts-cross", p),
+ d: NGe(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function PGe(e, t, n, r) {
+function FGe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -83124,12 +83161,12 @@ function PGe(e, t, n, r) {
height: e === "horizontal" ? n.height - 1 : r
};
}
-var FGe = (e, t) => [
+var IGe = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], IGe = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), LGe = (e, t) => (n) => IGe(FGe(e, t), n), RGe = (e, t) => (n) => IGe([...FGe(e, t).map((e, t) => e * t).slice(1), 0], n), zGe = (e) => {
+], LGe = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), RGe = (e, t) => (n) => LGe(IGe(e, t), n), zGe = (e, t) => (n) => LGe([...IGe(e, t).map((e, t) => e * t).slice(1), 0], n), BGe = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -83141,7 +83178,7 @@ var FGe = (e, t) => [
i[2],
i[3]
];
-}, BGe = function() {
+}, VGe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -83175,7 +83212,7 @@ var FGe = (e, t) => [
1
];
default:
- var t = zGe(e[0]);
+ var t = BGe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -83184,8 +83221,8 @@ var FGe = (e, t) => [
1,
1
];
-}, VGe = (e, t, n, r) => {
- var i = LGe(e, n), a = LGe(t, r), o = RGe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, HGe = (e, t, n, r) => {
+ var i = RGe(e, n), a = RGe(t, r), o = zGe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -83194,9 +83231,9 @@ var FGe = (e, t) => [
return a(n);
};
return c.isStepper = !1, c;
-}, HGe = function() {
- return VGe(...BGe(...arguments));
}, UGe = function() {
+ return HGe(...VGe(...arguments));
+}, WGe = function() {
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {
var p = -(l - s) * n, m = u * i;
if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;
@@ -83210,18 +83247,18 @@ var FGe = (e, t) => [
var t = e * h, n = Math.floor(t), r = t - n;
return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;
};
-}, WGe = (e) => {
+}, GGe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return HGe(e);
- case "spring": return UGe();
- default: if (e.split("(")[0] === "cubic-bezier") return HGe(e);
+ case "linear": return UGe(e);
+ case "spring": return WGe();
+ default: if (e.split("(")[0] === "cubic-bezier") return UGe(e);
}
return typeof e == "function" ? e : null;
-}, GGe = /*#__PURE__*/ (0, S.createContext)((e, t, n) => {
+}, KGe = /*#__PURE__*/ (0, S.createContext)((e, t, n) => {
var r, i = (a) => {
var o = t.tick(a);
if (t.getState() === "active") {
@@ -83234,26 +83271,26 @@ var FGe = (e, t) => [
};
return r = e.setTimeout(i, 0), () => r?.();
});
-GGe.Provider;
-function KGe(e) {
- var t = (0, S.useContext)(GGe);
+KGe.Provider;
+function qGe(e) {
+ var t = (0, S.useContext)(KGe);
return (0, S.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function qGe(e, t, n) {
- return (t = JGe(t)) in e ? Object.defineProperty(e, t, {
+function JGe(e, t, n) {
+ return (t = YGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JGe(e) {
- var t = YGe(e, "string");
+function YGe(e) {
+ var t = XGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YGe(e, t) {
+function XGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83263,11 +83300,11 @@ function YGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XGe = "init", ZGe = "pending", QGe = "active", $Ge = "completed";
+var ZGe = "init", QGe = "pending", $Ge = "active", eKe = "completed";
function YQ(e) {
return Math.max(0, e);
}
-var eKe = class {
+var tKe = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -83276,7 +83313,7 @@ var eKe = class {
}
constructor(e) {
var t;
- qGe(this, "state", XGe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = YQ(e.animationDuration), this.animationBegin = YQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ JGe(this, "state", ZGe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = YQ(e.animationDuration), this.animationBegin = YQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
}
getState() {
return this.state;
@@ -83288,13 +83325,13 @@ var eKe = class {
return this.animationDuration;
}
tick(e) {
- if (this.getState() === XGe) return this.state = ZGe, this.beginStartedTime = e, this.animationBegin;
- if (this.getState() === ZGe) {
+ if (this.getState() === ZGe) return this.state = QGe, this.beginStartedTime = e, this.animationBegin;
+ if (this.getState() === QGe) {
if (this.beginStartedTime == null) throw Error();
var t = e - this.beginStartedTime;
- return t >= this.animationBegin ? (this.state = QGe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : YQ(this.animationBegin - t);
+ return t >= this.animationBegin ? (this.state = $Ge, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : YQ(this.animationBegin - t);
}
- if (this.getState() === QGe) {
+ if (this.getState() === $Ge) {
if (this.animationStartedTime == null) throw Error();
var n = e - this.animationStartedTime;
return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);
@@ -83312,7 +83349,7 @@ var eKe = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = $Ge;
+ this.state = eKe;
}
getFrom() {
return this.from;
@@ -83326,14 +83363,14 @@ var eKe = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, tKe = class extends eKe {
+}, nKe = class extends tKe {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
- return this.easing(wJ(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(TJ(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, nKe = class {
+}, rKe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : r = requestAnimationFrame(i);
@@ -83345,25 +83382,25 @@ var eKe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function rKe(e, t) {
- return cKe(e) || sKe(e, t) || aKe(e, t) || iKe();
+function iKe(e, t) {
+ return lKe(e) || cKe(e, t) || oKe(e, t) || aKe();
}
-function iKe() {
+function aKe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function aKe(e, t) {
+function oKe(e, t) {
if (e) {
- if (typeof e == "string") return oKe(e, t);
+ if (typeof e == "string") return sKe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oKe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sKe(e, t) : void 0;
}
}
-function oKe(e, t) {
+function sKe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function sKe(e, t) {
+function cKe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -83384,10 +83421,10 @@ function sKe(e, t) {
return s;
}
}
-function cKe(e) {
+function lKe(e) {
if (Array.isArray(e)) return e;
}
-var lKe = {
+var uKe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -83395,21 +83432,21 @@ var lKe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, uKe = 0, XQ = 1;
-function dKe(e) {
- var t = IY(e, lKe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = $We(), f = r === "auto" ? !VQ.isSsr && !d : r, p = KGe(t.animationController), m = rKe((0, S.useState)(f ? uKe : XQ), 2), h = m[0], g = m[1];
+}, dKe = 0, XQ = 1;
+function fKe(e) {
+ var t = LY(e, uKe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = eGe(), f = r === "auto" ? !VQ.isSsr && !d : r, p = qGe(t.animationController), m = iKe((0, S.useState)(f ? dKe : XQ), 2), h = m[0], g = m[1];
return (0, S.useEffect)(() => {
f || g(XQ);
}, [f]), (0, S.useEffect)(() => {
- var e = WGe(o);
- return !f || !i || e == null ? kJ : p(new nKe(), new tKe({
+ var e = GGe(o);
+ return !f || !i || e == null ? AJ : p(new rKe(), new nKe({
animationId: n,
easing: e,
animationDuration: a,
animationBegin: s,
onAnimationStart: l,
onAnimationEnd: c,
- from: uKe,
+ from: dKe,
to: XQ
}), g);
}, [
@@ -83426,14 +83463,14 @@ function dKe(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function fKe(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(xJ(t)), r = (0, S.useRef)(e);
- return r.current !== e && (n.current = xJ(t), r.current = e), n.current;
+function pKe(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(SJ(t)), r = (0, S.useRef)(e);
+ return r.current !== e && (n.current = SJ(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var pKe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), mKe = (e, t, n) => e.map((e) => `${pKe(e)} ${t}ms ${n}`).join(","), hKe = ["radius"], gKe = ["radius"], _Ke, vKe, yKe, bKe, xKe, SKe, CKe, wKe, TKe, EKe;
-function DKe(e, t) {
+var mKe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), hKe = (e, t, n) => e.map((e) => `${mKe(e)} ${t}ms ${n}`).join(","), gKe = ["radius"], _Ke = ["radius"], vKe, yKe, bKe, xKe, SKe, CKe, wKe, TKe, EKe, DKe;
+function OKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83443,30 +83480,30 @@ function DKe(e, t) {
}
return n;
}
-function OKe(e) {
+function kKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DKe(Object(n), !0).forEach(function(t) {
- kKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DKe(Object(n)).forEach(function(t) {
+ t % 2 ? OKe(Object(n), !0).forEach(function(t) {
+ AKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kKe(e, t, n) {
- return (t = AKe(t)) in e ? Object.defineProperty(e, t, {
+function AKe(e, t, n) {
+ return (t = jKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function AKe(e) {
- var t = jKe(e, "string");
+function jKe(e) {
+ var t = MKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jKe(e, t) {
+function MKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83485,16 +83522,16 @@ function ZQ() {
return e;
}, ZQ.apply(null, arguments);
}
-function MKe(e, t) {
+function NKe(e, t) {
if (e == null) return {};
- var n, r, i = NKe(e, t);
+ var n, r, i = PKe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function NKe(e, t) {
+function PKe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83503,25 +83540,25 @@ function NKe(e, t) {
}
return n;
}
-function PKe(e, t) {
- return zKe(e) || RKe(e, t) || IKe(e, t) || FKe();
+function FKe(e, t) {
+ return BKe(e) || zKe(e, t) || LKe(e, t) || IKe();
}
-function FKe() {
+function IKe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function IKe(e, t) {
+function LKe(e, t) {
if (e) {
- if (typeof e == "string") return LKe(e, t);
+ if (typeof e == "string") return RKe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? LKe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? RKe(e, t) : void 0;
}
}
-function LKe(e, t) {
+function RKe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function RKe(e, t) {
+function zKe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -83542,14 +83579,14 @@ function RKe(e, t) {
return s;
}
}
-function zKe(e) {
+function BKe(e) {
if (Array.isArray(e)) return e;
}
function QQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var BKe = (e, t, n, r, i) => {
- var a = mJ(n), o = mJ(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var VKe = (e, t, n, r, i) => {
+ var a = hJ(n), o = hJ(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -83560,44 +83597,44 @@ var BKe = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = hJ(_Ke ||= QQ([
+ d = gJ(vKe ||= QQ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += hJ(vKe ||= QQ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += gJ(yKe ||= QQ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += hJ(yKe ||= QQ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += gJ(bKe ||= QQ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += hJ(bKe ||= QQ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += gJ(xKe ||= QQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += hJ(xKe ||= QQ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += gJ(SKe ||= QQ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += hJ(SKe ||= QQ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += gJ(CKe ||= QQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += hJ(CKe ||= QQ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += gJ(wKe ||= QQ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += hJ(wKe ||= QQ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += gJ(TKe ||= QQ([
"A ",
",",
",0,0,",
@@ -83607,8 +83644,8 @@ var BKe = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = hJ(TKe ||= QQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = hJ(EKe ||= QQ([
+ d = gJ(EKe ||= QQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = gJ(DKe ||= QQ([
"M ",
",",
" h ",
@@ -83617,7 +83654,7 @@ var BKe = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, VKe = {
+}, HKe = {
x: 0,
y: 0,
width: 0,
@@ -83629,14 +83666,14 @@ var BKe = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, $Q = (e) => {
- var t = IY(e, VKe), n = (0, S.useRef)(null), r = PKe((0, S.useState)(-1), 2), i = r[0], a = r[1];
+ var t = LY(e, HKe), n = (0, S.useRef)(null), r = FKe((0, S.useState)(-1), 2), i = r[0], a = r[1];
(0, S.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && a(e);
} catch {}
}, []);
- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, S.useRef)(c), v = (0, S.useRef)(l), y = (0, S.useRef)(o), b = (0, S.useRef)(s), x = fKe((0, S.useMemo)(() => ({
+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, S.useRef)(c), v = (0, S.useRef)(l), y = (0, S.useRef)(o), b = (0, S.useRef)(s), x = pKe((0, S.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -83650,23 +83687,23 @@ var BKe = (e, t, n, r, i) => {
u
]), "rectangle-");
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
- var C = ry("recharts-rectangle", d);
+ var C = ny("recharts-rectangle", d);
if (!g) {
- var w = nJ(t);
+ var w = rJ(t);
w.radius;
- var T = MKe(w, hKe);
+ var T = NKe(w, gKe);
return /*#__PURE__*/ S.createElement("path", ZQ({}, T, {
- x: mJ(o),
- y: mJ(s),
- width: mJ(c),
- height: mJ(l),
+ x: hJ(o),
+ y: hJ(s),
+ width: hJ(c),
+ height: hJ(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: BKe(o, s, c, l, u)
+ d: VKe(o, s, c, l, u)
}));
}
- var E = _.current, D = v.current, O = y.current, k = b.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = mKe(["strokeDasharray"], p, typeof f == "string" ? f : VKe.animationEasing);
- return /*#__PURE__*/ S.createElement(dKe, {
+ var E = _.current, D = v.current, O = y.current, k = b.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = hKe(["strokeDasharray"], p, typeof f == "string" ? f : HKe.animationEasing);
+ return /*#__PURE__*/ S.createElement(fKe, {
animationId: x,
key: x,
canBegin: i > 0,
@@ -83675,26 +83712,26 @@ var BKe = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = wJ(E, c, e), i = wJ(D, l, e), a = wJ(O, o, e), d = wJ(k, s, e);
+ var r = TJ(E, c, e), i = TJ(D, l, e), a = TJ(O, o, e), d = TJ(k, s, e);
n.current && (_.current = r, v.current = i, y.current = a, b.current = d);
var f = h ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = nJ(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = rJ(t);
p.radius;
- var m = MKe(p, gKe);
+ var m = NKe(p, _Ke);
return /*#__PURE__*/ S.createElement("path", ZQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: BKe(a, d, r, i, u),
+ d: VKe(a, d, r, i, u),
ref: n,
- style: OKe(OKe({}, f), t.style)
+ style: kKe(kKe({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function HKe(e, t) {
+function UKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83704,30 +83741,30 @@ function HKe(e, t) {
}
return n;
}
-function UKe(e) {
+function WKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? HKe(Object(n), !0).forEach(function(t) {
- WKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HKe(Object(n)).forEach(function(t) {
+ t % 2 ? UKe(Object(n), !0).forEach(function(t) {
+ GKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WKe(e, t, n) {
- return (t = GKe(t)) in e ? Object.defineProperty(e, t, {
+function GKe(e, t, n) {
+ return (t = KKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GKe(e) {
- var t = KKe(e, "string");
+function KKe(e) {
+ var t = qKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KKe(e, t) {
+function qKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83737,10 +83774,10 @@ function KKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, qKe = (e) => e * 180 / Math.PI, n$ = (e, t, n, r) => ({
+var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, JKe = (e) => e * 180 / Math.PI, n$ = (e, t, n, r) => ({
x: e + Math.cos(-e$ * r) * n,
y: t + Math.sin(-e$ * r) * n
-}), JKe = function(e, t) {
+}), YKe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -83751,11 +83788,11 @@ var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, qKe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, YKe = (e, t) => {
+}, XKe = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, XKe = (e, t) => {
- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = YKe({
+}, ZKe = (e, t) => {
+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = XKe({
x: n,
y: r
}, {
@@ -83769,25 +83806,25 @@ var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, qKe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: qKe(c),
+ angle: JKe(c),
angleInRadian: c
};
-}, ZKe = (e) => {
+}, QKe = (e) => {
var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, QKe = (e, t) => {
+}, $Ke = (e, t) => {
var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, $Ke = (e, t) => {
- var n = e.relativeX, r = e.relativeY, i = XKe({
+}, eqe = (e, t) => {
+ var n = e.relativeX, r = e.relativeY, i = ZKe({
x: n,
y: r
}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;
if (a < s || a > c || a === 0) return null;
- var l = ZKe(t), u = l.startAngle, d = l.endAngle, f = o, p;
+ var l = QKe(t), u = l.startAngle, d = l.endAngle, f = o, p;
if (u <= d) {
for (; f > d;) f -= 360;
for (; f < u;) f += 360;
@@ -83797,14 +83834,14 @@ var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, qKe = (e) => e * 180 / Ma
for (; f < d;) f += 360;
p = f >= d && f <= u;
}
- return p ? UKe(UKe({}, t), {}, {
+ return p ? WKe(WKe({}, t), {}, {
radius: a,
- angle: QKe(f, t)
+ angle: $Ke(f, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function eqe(e) {
+function tqe(e) {
var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;
return {
points: [n$(t, n, r, i), n$(t, n, r, a)],
@@ -83817,7 +83854,7 @@ function eqe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var tqe, nqe, rqe, iqe, aqe, oqe, sqe;
+var nqe, rqe, iqe, aqe, oqe, sqe, cqe;
function r$() {
return r$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -83830,7 +83867,7 @@ function r$() {
function i$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) => {
+var lqe = (e, t) => _J(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / e$, d = c ? i : i + a * u, f = n$(t, n, l, d), p = n$(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -83838,8 +83875,8 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
lineTangency: n$(t, n, l * Math.cos(u * e$), m),
theta: u
};
-}, lqe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = cqe(a, o), c = a + s, l = n$(t, n, i, a), u = n$(t, n, i, c), d = hJ(tqe ||= i$([
+}, uqe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = lqe(a, o), c = a + s, l = n$(t, n, i, a), u = n$(t, n, i, c), d = gJ(nqe ||= i$([
"M ",
",",
"\n A ",
@@ -83852,7 +83889,7 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = n$(t, n, r, a), p = n$(t, n, r, c);
- d += hJ(nqe ||= i$([
+ d += gJ(rqe ||= i$([
"L ",
",",
"\n A ",
@@ -83863,14 +83900,14 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += hJ(rqe ||= i$([
+ } else d += gJ(iqe ||= i$([
"L ",
",",
" Z"
]), t, n);
return d;
-}, uqe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = gJ(l - c), d = a$({
+}, dqe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = _J(l - c), d = a$({
cx: t,
cy: n,
radius: i,
@@ -83887,7 +83924,7 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? hJ(iqe ||= i$([
+ if (y < 0) return o ? gJ(aqe ||= i$([
"M ",
",",
"\n a",
@@ -83897,7 +83934,7 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
",",
",0,0,1,",
",0\n "
- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : lqe({
+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : uqe({
cx: t,
cy: n,
innerRadius: r,
@@ -83905,7 +83942,7 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
startAngle: c,
endAngle: l
});
- var b = hJ(aqe ||= i$([
+ var b = gJ(oqe ||= i$([
"M ",
",",
"\n A",
@@ -83947,7 +83984,7 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += hJ(oqe ||= i$([
+ b += gJ(sqe ||= i$([
"L",
",",
"\n A",
@@ -83968,13 +84005,13 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += hJ(sqe ||= i$([
+ } else b += gJ(cqe ||= i$([
"L",
",",
"Z"
]), t, n);
return b;
-}, dqe = {
+}, fqe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -83985,9 +84022,9 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, o$ = (e) => {
- var t = IY(e, dqe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
+ var t = LY(e, fqe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = ry("recharts-sector", d), p = a - i, m = SJ(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? uqe({
+ var f = ny("recharts-sector", d), p = a - i, m = CJ(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? dqe({
cx: n,
cy: r,
innerRadius: i,
@@ -83997,7 +84034,7 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : lqe({
+ }) : uqe({
cx: n,
cy: r,
innerRadius: i,
@@ -84005,14 +84042,14 @@ var cqe = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ S.createElement("path", r$({}, nJ(t), {
+ return /*#__PURE__*/ S.createElement("path", r$({}, rJ(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function fqe(e, t, n) {
+function pqe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -84027,7 +84064,7 @@ function fqe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (MY(t)) {
+ if (NY(t)) {
if (e === "centric") {
var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = n$(r, i, a, s), l = n$(r, i, o, s);
return [{
@@ -84038,22 +84075,22 @@ function fqe(e, t, n) {
y: l.y
}];
}
- return eqe(t);
+ return tqe(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function pqe(e) {
- return uJ(e) ? NaN : Number(e);
+function mqe(e) {
+ return dJ(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function s$(e) {
- return e ? (e = pqe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = mqe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function mqe(e, t, n) {
+function hqe(e, t, n) {
n && typeof n != "number" && FX(e, t, n) && (t = n = void 0), e = s$(e), t === void 0 ? (t = e, e = 0) : t = s$(t), n = n === void 0 ? e < t ? 1 : -1 : s$(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
@@ -84069,37 +84106,37 @@ var c$ = (e) => e.chartData, l$ = Y([c$], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), u$ = (e, t, n, r) => r ? l$(e) : c$(e), hqe = (e, t, n) => n ? l$(e) : c$(e), gqe = Y([u$], (e) => {
+}), u$ = (e, t, n, r) => r ? l$(e) : c$(e), gqe = (e, t, n) => n ? l$(e) : c$(e), _qe = Y([u$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), _qe = Y([l$], (e) => {
+}), vqe = Y([l$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), vqe = Y([c$], (e) => {
+}), yqe = Y([c$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
});
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
function d$(e, t) {
- return Cqe(e) || Sqe(e, t) || bqe(e, t) || yqe();
+ return wqe(e) || Cqe(e, t) || xqe(e, t) || bqe();
}
-function yqe() {
+function bqe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function bqe(e, t) {
+function xqe(e, t) {
if (e) {
- if (typeof e == "string") return xqe(e, t);
+ if (typeof e == "string") return Sqe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xqe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Sqe(e, t) : void 0;
}
}
-function xqe(e, t) {
+function Sqe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Sqe(e, t) {
+function Cqe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -84120,7 +84157,7 @@ function Sqe(e, t) {
return s;
}
}
-function Cqe(e) {
+function wqe(e) {
if (Array.isArray(e)) return e;
}
function f$(e) {
@@ -84130,10 +84167,10 @@ function f$(e) {
}
return !1;
}
-function wqe(e, t, n) {
+function Tqe(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function Tqe(e, t) {
+function Eqe(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var n = d$(e, 2), r = n[0], i = n[1], a, o;
if (QZ(r)) a = r;
@@ -84144,21 +84181,21 @@ function Tqe(e, t) {
if (f$(s)) return s;
}
}
-function Eqe(e, t, n) {
+function Dqe(e, t, n) {
if (n || t != null) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (f$(r)) return wqe(r, t, n);
+ if (f$(r)) return Tqe(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var i = d$(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (yJ(a)) s = a;
+ else if (bJ(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
- else if (typeof a == "string" && FHe.test(a)) {
- var l = FHe.exec(a);
+ else if (typeof a == "string" && IHe.test(a)) {
+ var l = IHe.exec(a);
if (l == null || l[1] == null || t == null) s = void 0;
else {
var u = +l[1];
@@ -84166,12 +84203,12 @@ function Eqe(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (yJ(o)) c = o;
+ else if (bJ(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
- else if (typeof o == "string" && IHe.test(o)) {
- var d = IHe.exec(o);
+ else if (typeof o == "string" && LHe.test(o)) {
+ var d = LHe.exec(o);
if (d == null || d[1] == null || t == null) c = void 0;
else {
var f = +d[1];
@@ -84179,7 +84216,7 @@ function Eqe(e, t, n) {
}
} else c = t?.[1];
var p = [s, c];
- if (f$(p)) return t == null ? p : wqe(p, t, n);
+ if (f$(p)) return t == null ? p : Tqe(p, t, n);
}
}
}
@@ -84560,34 +84597,34 @@ var p$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function Dqe(e) {
+function Oqe(e) {
return e === 0 ? 1 : Math.floor(new p$.default(e).abs().log(10).toNumber()) + 1;
}
-function Oqe(e, t, n) {
+function kqe(e, t, n) {
for (var r = new p$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
function m$(e, t) {
- return Nqe(e) || Mqe(e, t) || Aqe(e, t) || kqe();
+ return Pqe(e) || Nqe(e, t) || jqe(e, t) || Aqe();
}
-function kqe() {
+function Aqe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Aqe(e, t) {
+function jqe(e, t) {
if (e) {
- if (typeof e == "string") return jqe(e, t);
+ if (typeof e == "string") return Mqe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? jqe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Mqe(e, t) : void 0;
}
}
-function jqe(e, t) {
+function Mqe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Mqe(e, t) {
+function Nqe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -84608,17 +84645,17 @@ function Mqe(e, t) {
return s;
}
}
-function Nqe(e) {
+function Pqe(e) {
if (Array.isArray(e)) return e;
}
-var Pqe = (e) => {
+var Fqe = (e) => {
var t = m$(e, 2), n = t[0], r = t[1], i = n, a = r;
return n > r && (i = r, a = n), [i, a];
}, h$ = (e, t, n) => {
if (e.lte(0)) return new p$.default(0);
- var r = Dqe(e.toNumber()), i = new p$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new p$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ var r = Oqe(e.toNumber()), i = new p$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new p$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
return t ? new p$.default(s.toNumber()) : new p$.default(Math.ceil(s.toNumber()));
-}, Fqe = (e, t, n) => {
+}, Iqe = (e, t, n) => {
if (e.lte(0)) return new p$.default(0);
var r = [
1,
@@ -84632,15 +84669,15 @@ var Pqe = (e) => {
}
var u = r[c] ?? 1, d = new p$.default(u).mul(o);
return t ? d : new p$.default(Math.ceil(d.toNumber()));
-}, Iqe = (e, t, n) => {
+}, Lqe = (e, t, n) => {
var r = new p$.default(1), i = new p$.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new p$.default(10).pow(Dqe(e) - 1), i = new p$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new p$.default(Math.floor(e)));
+ a < 1 ? (r = new p$.default(10).pow(Oqe(e) - 1), i = new p$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new p$.default(Math.floor(e)));
} else e === 0 ? i = new p$.default(Math.floor((t - 1) / 2)) : n || (i = new p$.default(Math.floor(e)));
for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new p$.default(c - o).mul(r)).toNumber());
return s;
-}, Lqe = function(e, t, n, r) {
+}, Rqe = function(e, t, n, r) {
var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : h$;
if (!Number.isFinite((t - e) / (n - 1))) return {
step: new p$.default(0),
@@ -84650,32 +84687,32 @@ var Pqe = (e) => {
var o = a(new p$.default(t).sub(e).div(n - 1), r, i), s;
e <= 0 && t >= 0 ? s = new p$.default(0) : (s = new p$.default(e).add(t).div(2), s = s.sub(new p$.default(s).mod(o)));
var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new p$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? Lqe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ return u > n ? Rqe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
tickMin: s.sub(new p$.default(c).mul(o)),
tickMax: s.add(new p$.default(l).mul(o))
});
-}, Rqe = function(e) {
- var t = m$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = m$(Pqe([n, r]), 2), l = c[0], u = c[1];
+}, zqe = function(e) {
+ var t = m$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = m$(Fqe([n, r]), 2), l = c[0], u = c[1];
if (l === -Infinity || u === Infinity) {
var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];
return n > r ? d.reverse() : d;
}
- if (l === u) return Iqe(l, i, a);
- var f = Lqe(l, u, s, a, 0, o === "snap125" ? Fqe : h$), p = f.step, m = f.tickMin, h = f.tickMax, g = Oqe(m, h.add(new p$.default(.1).mul(p)), p);
+ if (l === u) return Lqe(l, i, a);
+ var f = Rqe(l, u, s, a, 0, o === "snap125" ? Iqe : h$), p = f.step, m = f.tickMin, h = f.tickMax, g = kqe(m, h.add(new p$.default(.1).mul(p)), p);
return n > r ? g.reverse() : g;
-}, zqe = function(e, t) {
- var n = m$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = m$(Pqe([r, i]), 2), c = s[0], l = s[1];
+}, Bqe = function(e, t) {
+ var n = m$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = m$(Fqe([r, i]), 2), c = s[0], l = s[1];
if (c === -Infinity || l === Infinity) return [r, i];
if (c === l) return [c];
- var u = o === "snap125" ? Fqe : h$, d = Math.max(t, 2), f = u(new p$.default(l).sub(c).div(d - 1), a, 0), p = [...Oqe(new p$.default(c), new p$.default(l), f), l];
+ var u = o === "snap125" ? Iqe : h$, d = Math.max(t, 2), f = u(new p$.default(l).sub(c).div(d - 1), a, 0), p = [...kqe(new p$.default(c), new p$.default(l), f), l];
if (a === !1) {
p = p.map((e) => Math.round(e));
var m = p.length - 1;
m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));
}
return r > i ? p.reverse() : p;
-}, g$ = (e) => e.rootProps.maxBarSize, Bqe = (e) => e.rootProps.barGap, _$ = (e) => e.rootProps.barCategoryGap, Vqe = (e) => e.rootProps.barSize, v$ = (e) => e.rootProps.stackOffset, y$ = (e) => e.rootProps.reverseStackOrder, b$ = (e) => e.options.chartName, x$ = (e) => e.rootProps.syncId, Hqe = (e) => e.rootProps.syncMethod, S$ = (e) => e.options.eventEmitter, Uqe = (e) => e.rootProps.baseValue, C$ = {
+}, g$ = (e) => e.rootProps.maxBarSize, Vqe = (e) => e.rootProps.barGap, _$ = (e) => e.rootProps.barCategoryGap, Hqe = (e) => e.rootProps.barSize, v$ = (e) => e.rootProps.stackOffset, y$ = (e) => e.rootProps.reverseStackOrder, b$ = (e) => e.options.chartName, x$ = (e) => e.rootProps.syncId, Uqe = (e) => e.rootProps.syncMethod, S$ = (e) => e.options.eventEmitter, Wqe = (e) => e.rootProps.baseValue, C$ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -84741,7 +84778,7 @@ function D$(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function Wqe(e, t) {
+function Gqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84754,27 +84791,27 @@ function Wqe(e, t) {
function O$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Wqe(Object(n), !0).forEach(function(t) {
- Gqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wqe(Object(n)).forEach(function(t) {
+ t % 2 ? Gqe(Object(n), !0).forEach(function(t) {
+ Kqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gqe(e, t, n) {
- return (t = Kqe(t)) in e ? Object.defineProperty(e, t, {
+function Kqe(e, t, n) {
+ return (t = qqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kqe(e) {
- var t = qqe(e, "string");
+function qqe(e) {
+ var t = Jqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qqe(e, t) {
+function Jqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84784,7 +84821,7 @@ function qqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Jqe = {
+var Yqe = {
allowDataOverflow: w$.allowDataOverflow,
allowDecimals: w$.allowDecimals,
allowDuplicatedCategory: !1,
@@ -84801,7 +84838,7 @@ var Jqe = {
type: w$.type,
unit: void 0,
niceTicks: "auto"
-}, Yqe = {
+}, Xqe = {
allowDataOverflow: T$.allowDataOverflow,
allowDecimals: T$.allowDecimals,
allowDuplicatedCategory: T$.allowDuplicatedCategory,
@@ -84822,39 +84859,39 @@ var Jqe = {
if (t != null) return e.polarAxis.angleAxis[t];
}, AQ], (e, t) => {
if (e != null) return e;
- var n = D$(t, "angleAxis", Jqe.type) ?? "category";
- return O$(O$({}, Jqe), {}, { type: n });
+ var n = D$(t, "angleAxis", Yqe.type) ?? "category";
+ return O$(O$({}, Yqe), {}, { type: n });
}), A$ = Y([(e, t) => e.polarAxis.radiusAxis[t], AQ], (e, t) => {
if (e != null) return e;
- var n = D$(t, "radiusAxis", Yqe.type) ?? "category";
- return O$(O$({}, Yqe), {}, { type: n });
+ var n = D$(t, "radiusAxis", Xqe.type) ?? "category";
+ return O$(O$({}, Xqe), {}, { type: n });
}), j$ = (e) => e.polarOptions, M$ = Y([
cQ,
lQ,
mQ
-], JKe), Xqe = Y([j$, M$], (e, t) => {
- if (e != null) return SJ(e.innerRadius, t, 0);
-}), Zqe = Y([j$, M$], (e, t) => {
- if (e != null) return SJ(e.outerRadius, t, t * .8);
-}), Qqe = Y([j$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), $qe = Y([k$, Qqe], E$), eJe = Y([
+], YKe), Zqe = Y([j$, M$], (e, t) => {
+ if (e != null) return CJ(e.innerRadius, t, 0);
+}), Qqe = Y([j$, M$], (e, t) => {
+ if (e != null) return CJ(e.outerRadius, t, t * .8);
+}), $qe = Y([j$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), eJe = Y([k$, $qe], E$), tJe = Y([
M$,
- Xqe,
- Zqe
+ Zqe,
+ Qqe
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), tJe = Y([A$, eJe], E$), N$ = Y([
+}), nJe = Y([A$, tJe], E$), N$ = Y([
DQ,
j$,
- Xqe,
Zqe,
+ Qqe,
cQ,
lQ
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;
return {
- cx: SJ(o, i, i / 2),
- cy: SJ(s, a, a / 2),
+ cx: CJ(o, i, i / 2),
+ cy: CJ(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -84896,7 +84933,7 @@ var z$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function B$(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function nJe(e, t) {
+function rJe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -84952,7 +84989,7 @@ function U$(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var rJe = (e, t) => {
+var iJe = (e, t) => {
if (t != null) switch (e) {
case "linear":
if (!f$(t)) {
@@ -84975,7 +85012,7 @@ function W$(e, t) {
//#region node_modules/d3-array/src/bisector.js
function G$(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = iJe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = aJe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -85001,15 +85038,15 @@ function G$(e) {
right: i
};
}
-function iJe(e) {
+function aJe(e) {
return (t, n) => W$(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function aJe(e) {
+function oJe(e) {
return e === null ? NaN : +e;
}
-function* oJe(e, t) {
+function* sJe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -85018,43 +85055,43 @@ function* oJe(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var sJe = G$(W$), K$ = sJe.right;
-sJe.left, G$(aJe).center;
+var cJe = G$(W$), K$ = cJe.right;
+cJe.left, G$(oJe).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var cJe = class extends Map {
- constructor(e, t = fJe) {
+var lJe = class extends Map {
+ constructor(e, t = pJe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(lJe(this, e));
+ return super.get(uJe(this, e));
}
has(e) {
- return super.has(lJe(this, e));
+ return super.has(uJe(this, e));
}
set(e, t) {
- return super.set(uJe(this, e), t);
+ return super.set(dJe(this, e), t);
}
delete(e) {
- return super.delete(dJe(this, e));
+ return super.delete(fJe(this, e));
}
};
-function lJe({ _intern: e, _key: t }, n) {
+function uJe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function uJe({ _intern: e, _key: t }, n) {
+function dJe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function dJe({ _intern: e, _key: t }, n) {
+function fJe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function fJe(e) {
+function pJe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -85063,7 +85100,7 @@ var q$ = Math.sqrt(50), J$ = Math.sqrt(10), Y$ = Math.sqrt(2);
function X$(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = pJe(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = mJe(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -85074,7 +85111,7 @@ function X$(e, t, n) {
}
return r && o.reverse(), o;
}
-function pJe(e, t, n) {
+function mJe(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
return i >= 0 ? (a >= q$ ? 10 : a >= J$ ? 5 : a >= Y$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= q$ ? 10 : a >= J$ ? 5 : a >= Y$ ? 2 : 1);
}
@@ -85106,11 +85143,11 @@ function $$(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function mJe(e, t, n = 0, r = e.length - 1, i = W$) {
+function hJe(e, t, n = 0, r = e.length - 1, i = W$) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- mJe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ hJe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
for (e1(e, n, t), i(e[r], a) > 0 && e1(e, n, r); o < s;) {
@@ -85127,15 +85164,15 @@ function e1(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function hJe(e, t, n) {
- if (e = Float64Array.from(oJe(e, n)), r = e.length) {
+function gJe(e, t, n) {
+ if (e = Float64Array.from(sJe(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return $$(e);
if (t >= 1) return Q$(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = Q$(mJe(e, a).subarray(0, a + 1));
+ var r, i = (r - 1) * t, a = Math.floor(i), o = Q$(hJe(e, a).subarray(0, a + 1));
return o + ($$(e.subarray(a + 1)) - o) * (i - a);
}
}
-function gJe(e, t, n = aJe) {
+function _Je(e, t, n = oJe) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -85145,7 +85182,7 @@ function gJe(e, t, n = aJe) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function _Je(e, t, n) {
+function vJe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
@@ -85187,7 +85224,7 @@ function r1(e, t) {
//#region node_modules/d3-scale/src/ordinal.js
var i1 = Symbol("implicit");
function a1() {
- var e = new cJe(), t = [], n = [], r = i1;
+ var e = new lJe(), t = [], n = [], r = i1;
function i(i) {
let a = e.get(i);
if (a === void 0) {
@@ -85198,7 +85235,7 @@ function a1() {
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new cJe();
+ t = [], e = new lJe();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -85217,7 +85254,7 @@ function o1() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = _Je(e).map(function(e) {
+ var m = vJe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -85246,21 +85283,21 @@ function o1() {
return o1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
}, n1.apply(d(), arguments);
}
-function vJe(e) {
+function yJe(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return vJe(t());
+ return yJe(t());
}, e;
}
-function yJe() {
- return vJe(o1.apply(null, arguments).paddingInner(1));
+function bJe() {
+ return yJe(o1.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
function s1(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function bJe(e, t) {
+function xJe(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
@@ -85268,7 +85305,7 @@ function bJe(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function c1() {}
-var l1 = .7, u1 = 1 / l1, d1 = "\\s*([+-]?\\d+)\\s*", f1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", p1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", xJe = /^#([0-9a-f]{3,8})$/, SJe = RegExp(`^rgb\\(${d1},${d1},${d1}\\)$`), CJe = RegExp(`^rgb\\(${p1},${p1},${p1}\\)$`), wJe = RegExp(`^rgba\\(${d1},${d1},${d1},${f1}\\)$`), TJe = RegExp(`^rgba\\(${p1},${p1},${p1},${f1}\\)$`), EJe = RegExp(`^hsl\\(${f1},${p1},${p1}\\)$`), DJe = RegExp(`^hsla\\(${f1},${p1},${p1},${f1}\\)$`), OJe = {
+var l1 = .7, u1 = 1 / l1, d1 = "\\s*([+-]?\\d+)\\s*", f1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", p1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", SJe = /^#([0-9a-f]{3,8})$/, CJe = RegExp(`^rgb\\(${d1},${d1},${d1}\\)$`), wJe = RegExp(`^rgb\\(${p1},${p1},${p1}\\)$`), TJe = RegExp(`^rgba\\(${d1},${d1},${d1},${f1}\\)$`), EJe = RegExp(`^rgba\\(${p1},${p1},${p1},${f1}\\)$`), DJe = RegExp(`^hsl\\(${f1},${p1},${p1}\\)$`), OJe = RegExp(`^hsla\\(${f1},${p1},${p1},${f1}\\)$`), kJe = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -85425,45 +85462,45 @@ s1(c1, m1, {
displayable() {
return this.rgb().displayable();
},
- hex: kJe,
- formatHex: kJe,
- formatHex8: AJe,
- formatHsl: jJe,
- formatRgb: MJe,
- toString: MJe
+ hex: AJe,
+ formatHex: AJe,
+ formatHex8: jJe,
+ formatHsl: MJe,
+ formatRgb: NJe,
+ toString: NJe
});
-function kJe() {
- return this.rgb().formatHex();
-}
function AJe() {
- return this.rgb().formatHex8();
+ return this.rgb().formatHex();
}
function jJe() {
- return zJe(this).formatHsl();
+ return this.rgb().formatHex8();
}
function MJe() {
+ return BJe(this).formatHsl();
+}
+function NJe() {
return this.rgb().formatRgb();
}
function m1(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = xJe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? NJe(t) : n === 3 ? new _1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? h1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? h1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = SJe.exec(e)) ? new _1(t[1], t[2], t[3], 1) : (t = CJe.exec(e)) ? new _1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = wJe.exec(e)) ? h1(t[1], t[2], t[3], t[4]) : (t = TJe.exec(e)) ? h1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = EJe.exec(e)) ? RJe(t[1], t[2] / 100, t[3] / 100, 1) : (t = DJe.exec(e)) ? RJe(t[1], t[2] / 100, t[3] / 100, t[4]) : OJe.hasOwnProperty(e) ? NJe(OJe[e]) : e === "transparent" ? new _1(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = SJe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? PJe(t) : n === 3 ? new _1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? h1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? h1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = CJe.exec(e)) ? new _1(t[1], t[2], t[3], 1) : (t = wJe.exec(e)) ? new _1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = TJe.exec(e)) ? h1(t[1], t[2], t[3], t[4]) : (t = EJe.exec(e)) ? h1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = DJe.exec(e)) ? zJe(t[1], t[2] / 100, t[3] / 100, 1) : (t = OJe.exec(e)) ? zJe(t[1], t[2] / 100, t[3] / 100, t[4]) : kJe.hasOwnProperty(e) ? PJe(kJe[e]) : e === "transparent" ? new _1(NaN, NaN, NaN, 0) : null;
}
-function NJe(e) {
+function PJe(e) {
return new _1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
function h1(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new _1(e, t, n, r);
}
-function PJe(e) {
+function FJe(e) {
return e instanceof c1 || (e = m1(e)), e ? (e = e.rgb(), new _1(e.r, e.g, e.b, e.opacity)) : new _1();
}
function g1(e, t, n, r) {
- return arguments.length === 1 ? PJe(e) : new _1(e, t, n, r ?? 1);
+ return arguments.length === 1 ? FJe(e) : new _1(e, t, n, r ?? 1);
}
function _1(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-s1(_1, g1, bJe(c1, {
+s1(_1, g1, xJe(c1, {
brighter(e) {
return e = e == null ? u1 : u1 ** +e, new _1(this.r * e, this.g * e, this.b * e, this.opacity);
},
@@ -85479,19 +85516,19 @@ s1(_1, g1, bJe(c1, {
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: FJe,
- formatHex: FJe,
- formatHex8: IJe,
- formatRgb: LJe,
- toString: LJe
+ hex: IJe,
+ formatHex: IJe,
+ formatHex8: LJe,
+ formatRgb: RJe,
+ toString: RJe
}));
-function FJe() {
+function IJe() {
return `#${b1(this.r)}${b1(this.g)}${b1(this.b)}`;
}
-function IJe() {
+function LJe() {
return `#${b1(this.r)}${b1(this.g)}${b1(this.b)}${b1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function LJe() {
+function RJe() {
let e = v1(this.opacity);
return `${e === 1 ? "rgb(" : "rgba("}${y1(this.r)}, ${y1(this.g)}, ${y1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
@@ -85504,10 +85541,10 @@ function y1(e) {
function b1(e) {
return e = y1(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function RJe(e, t, n, r) {
+function zJe(e, t, n, r) {
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new x1(e, t, n, r);
}
-function zJe(e) {
+function BJe(e) {
if (e instanceof x1) return new x1(e.h, e.s, e.l, e.opacity);
if (e instanceof c1 || (e = m1(e)), !e) return new x1();
if (e instanceof x1) return e;
@@ -85515,13 +85552,13 @@ function zJe(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new x1(o, s, c, e.opacity);
}
-function BJe(e, t, n, r) {
- return arguments.length === 1 ? zJe(e) : new x1(e, t, n, r ?? 1);
+function VJe(e, t, n, r) {
+ return arguments.length === 1 ? BJe(e) : new x1(e, t, n, r ?? 1);
}
function x1(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-s1(x1, BJe, bJe(c1, {
+s1(x1, VJe, xJe(c1, {
brighter(e) {
return e = e == null ? u1 : u1 ** +e, new x1(this.h, this.s, this.l * e, this.opacity);
},
@@ -85533,17 +85570,17 @@ s1(x1, BJe, bJe(c1, {
return new _1(C1(e >= 240 ? e - 240 : e + 120, i, r), C1(e, i, r), C1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new x1(VJe(this.h), S1(this.s), S1(this.l), v1(this.opacity));
+ return new x1(HJe(this.h), S1(this.s), S1(this.l), v1(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
let e = v1(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${VJe(this.h)}, ${S1(this.s) * 100}%, ${S1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ return `${e === 1 ? "hsl(" : "hsla("}${HJe(this.h)}, ${S1(this.s) * 100}%, ${S1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function VJe(e) {
+function HJe(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
function S1(e) {
@@ -85557,31 +85594,31 @@ function C1(e, t, n) {
var w1 = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function HJe(e, t) {
+function UJe(e, t) {
return function(n) {
return e + n * t;
};
}
-function UJe(e, t, n) {
+function WJe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function WJe(e) {
- return (e = +e) == 1 ? GJe : function(t, n) {
- return n - t ? UJe(t, n, e) : w1(isNaN(t) ? n : t);
+function GJe(e) {
+ return (e = +e) == 1 ? KJe : function(t, n) {
+ return n - t ? WJe(t, n, e) : w1(isNaN(t) ? n : t);
};
}
-function GJe(e, t) {
+function KJe(e, t) {
var n = t - e;
- return n ? HJe(e, n) : w1(isNaN(e) ? t : e);
+ return n ? UJe(e, n) : w1(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var KJe = (function e(t) {
- var n = WJe(t);
+var qJe = (function e(t) {
+ var n = GJe(t);
function r(e, t) {
- var r = n((e = g1(e)).r, (t = g1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = GJe(e.opacity, t.opacity);
+ var r = n((e = g1(e)).r, (t = g1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = KJe(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -85590,7 +85627,7 @@ var KJe = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function qJe(e, t) {
+function JJe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -85598,12 +85635,12 @@ function qJe(e, t) {
return r;
};
}
-function JJe(e) {
+function YJe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function YJe(e, t) {
+function XJe(e, t) {
for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = O1(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
@@ -85613,7 +85650,7 @@ function YJe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function XJe(e, t) {
+function ZJe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -85628,7 +85665,7 @@ function T1(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function ZJe(e, t) {
+function QJe(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = O1(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -85639,23 +85676,23 @@ function ZJe(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var E1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, D1 = new RegExp(E1.source, "g");
-function QJe(e) {
+function $Je(e) {
return function() {
return e;
};
}
-function $Je(e) {
+function eYe(e) {
return function(t) {
return e(t) + "";
};
}
-function eYe(e, t) {
+function tYe(e, t) {
var n = E1.lastIndex = D1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = E1.exec(e)) && (i = D1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: T1(r, i)
})), n = D1.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? $Je(c[0].x) : QJe(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? eYe(c[0].x) : $Je(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
@@ -85664,7 +85701,7 @@ function eYe(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function O1(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? w1(t) : (n === "number" ? T1 : n === "string" ? (r = m1(t)) ? (t = r, KJe) : eYe : t instanceof m1 ? KJe : t instanceof Date ? XJe : JJe(t) ? qJe : Array.isArray(t) ? YJe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? ZJe : T1)(e, t);
+ return t == null || n === "boolean" ? w1(t) : (n === "number" ? T1 : n === "string" ? (r = m1(t)) ? (t = r, qJe) : tYe : t instanceof m1 ? qJe : t instanceof Date ? ZJe : YJe(t) ? JJe : Array.isArray(t) ? XJe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? QJe : T1)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -85675,7 +85712,7 @@ function k1(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function tYe(e, t) {
+function nYe(e, t) {
t === void 0 && (t = e, e = O1);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -85685,7 +85722,7 @@ function tYe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function nYe(e) {
+function rYe(e) {
return function() {
return e;
};
@@ -85697,28 +85734,28 @@ function A1(e) {
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var rYe = [0, 1];
+var iYe = [0, 1];
function j1(e) {
return e;
}
function M1(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : nYe(isNaN(t) ? NaN : .5);
+ } : rYe(isNaN(t) ? NaN : .5);
}
-function iYe(e, t) {
+function aYe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function aYe(e, t, n) {
+function oYe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = M1(i, r), a = n(o, a)) : (r = M1(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function oYe(e, t, n) {
+function sYe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = M1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -85730,10 +85767,10 @@ function N1(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
function P1() {
- var e = rYe, t = rYe, n = O1, r, i, a, o = j1, s, c, l;
+ var e = iYe, t = iYe, n = O1, r, i, a, o = j1, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== j1 && (o = iYe(e[0], e[n - 1])), s = n > 2 ? oYe : aYe, c = l = null, d;
+ return o !== j1 && (o = aYe(e[0], e[n - 1])), s = n > 2 ? sYe : oYe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -85761,7 +85798,7 @@ function F1() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function sYe(e) {
+function cYe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function I1(e, t) {
@@ -85776,7 +85813,7 @@ function L1(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function cYe(e, t) {
+function lYe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -85784,7 +85821,7 @@ function cYe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function lYe(e) {
+function uYe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -85793,9 +85830,9 @@ function lYe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var uYe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var dYe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function R1(e) {
- if (!(t = uYe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = dYe.exec(e))) throw Error("invalid format: " + e);
var t;
return new z1({
fill: t[1],
@@ -85819,7 +85856,7 @@ z1.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function dYe(e) {
+function fYe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -85836,7 +85873,7 @@ function dYe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var B1;
-function fYe(e, t) {
+function pYe(e, t) {
var n = I1(e, t);
if (!n) return B1 = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (B1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -85844,7 +85881,7 @@ function fYe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function pYe(e, t) {
+function mYe(e, t) {
var n = I1(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
@@ -85852,29 +85889,29 @@ function pYe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var mYe = {
+var hYe = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: sYe,
+ d: cYe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => pYe(e * 100, t),
- r: pYe,
- s: fYe,
+ p: (e, t) => mYe(e * 100, t),
+ r: mYe,
+ s: pYe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function hYe(e) {
+function gYe(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var gYe = Array.prototype.map, _Ye = [
+var _Ye = Array.prototype.map, vYe = [
"y",
"z",
"a",
@@ -85893,13 +85930,13 @@ var gYe = Array.prototype.map, _Ye = [
"Z",
"Y"
];
-function vYe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? hYe : cYe(gYe.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? hYe : lYe(gYe.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function yYe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? gYe : lYe(_Ye.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? gYe : uYe(_Ye.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
e = R1(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : mYe[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = mYe[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : hYe[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = hYe[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -85907,7 +85944,7 @@ function vYe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = dYe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && B1 !== void 0 ? _Ye[8 + B1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = fYe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && B1 !== void 0 ? vYe[8 + B1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -85935,7 +85972,7 @@ function vYe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3, r = 10 ** -n, i = l((e = R1(e), e.type = "f", e), { suffix: _Ye[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3, r = 10 ** -n, i = l((e = R1(e), e.type = "f", e), { suffix: vYe[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -85947,47 +85984,47 @@ function vYe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var V1, H1, yYe;
-bYe({
+var V1, H1, bYe;
+xYe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function bYe(e) {
- return V1 = vYe(e), H1 = V1.format, yYe = V1.formatPrefix, V1;
+function xYe(e) {
+ return V1 = yYe(e), H1 = V1.format, bYe = V1.formatPrefix, V1;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function xYe(e) {
+function SYe(e) {
return Math.max(0, -L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function SYe(e, t) {
+function CYe(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3 - L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function CYe(e, t) {
+function wYe(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, L1(t) - L1(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function wYe(e, t, n, r) {
+function TYe(e, t, n, r) {
var i = Z$(e, t, n), a;
switch (r = R1(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = SYe(i, o)) && (r.precision = a), yYe(r, o);
+ return r.precision == null && !isNaN(a = CYe(i, o)) && (r.precision = a), bYe(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = CYe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = wYe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = xYe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = SYe(i)) && (r.precision = a - (r.type === "%") * 2);
}
return H1(r);
}
@@ -86000,12 +86037,12 @@ function U1(e) {
return X$(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return wYe(r[0], r[r.length - 1], e ?? 10, n);
+ return TYe(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = pJe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = mJe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -86014,15 +86051,15 @@ function U1(e) {
return e;
}, e;
}
-function TYe() {
+function EYe() {
var e = F1();
return e.copy = function() {
- return N1(e, TYe());
+ return N1(e, EYe());
}, n1.apply(e, arguments), U1(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function EYe(e) {
+function DYe(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
@@ -86032,46 +86069,46 @@ function EYe(e) {
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return EYe(e).unknown(t);
+ return DYe(e).unknown(t);
}, e = arguments.length ? Array.from(e, A1) : [0, 1], U1(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function DYe(e, t) {
+function OYe(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function OYe(e) {
- return Math.log(e);
-}
function kYe(e) {
- return Math.exp(e);
+ return Math.log(e);
}
function AYe(e) {
- return -Math.log(-e);
+ return Math.exp(e);
}
function jYe(e) {
- return -Math.exp(-e);
+ return -Math.log(-e);
}
function MYe(e) {
- return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
+ return -Math.exp(-e);
}
function NYe(e) {
- return e === 10 ? MYe : e === Math.E ? Math.exp : (t) => e ** +t;
+ return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
function PYe(e) {
- return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
+ return e === 10 ? NYe : e === Math.E ? Math.exp : (t) => e ** +t;
}
function FYe(e) {
+ return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
+}
+function IYe(e) {
return (t, n) => -e(-t, n);
}
function W1(e) {
- let t = e(OYe, kYe), n = t.domain, r = 10, i, a;
+ let t = e(kYe, AYe), n = t.domain, r = 10, i, a;
function o() {
- return i = PYe(r), a = NYe(r), n()[0] < 0 ? (i = FYe(i), a = FYe(a), e(AYe, jYe)) : e(OYe, kYe), t;
+ return i = FYe(r), a = PYe(r), n()[0] < 0 ? (i = IYe(i), a = IYe(a), e(jYe, MYe)) : e(kYe, AYe), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -86101,56 +86138,56 @@ function W1(e) {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(DYe(n(), {
+ }, t.nice = () => n(OYe(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function IYe() {
+function LYe() {
let e = W1(P1()).domain([1, 10]);
- return e.copy = () => N1(e, IYe()).base(e.base()), n1.apply(e, arguments), e;
+ return e.copy = () => N1(e, LYe()).base(e.base()), n1.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function LYe(e) {
+function RYe(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function RYe(e) {
+function zYe(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
function G1(e) {
- var t = 1, n = e(LYe(t), RYe(t));
+ var t = 1, n = e(RYe(t), zYe(t));
return n.constant = function(n) {
- return arguments.length ? e(LYe(t = +n), RYe(t)) : t;
+ return arguments.length ? e(RYe(t = +n), zYe(t)) : t;
}, U1(n);
}
-function zYe() {
+function BYe() {
var e = G1(P1());
return e.copy = function() {
- return N1(e, zYe()).constant(e.constant());
+ return N1(e, BYe()).constant(e.constant());
}, n1.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function BYe(e) {
+function VYe(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function VYe(e) {
+function HYe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function HYe(e) {
+function UYe(e) {
return e < 0 ? -e * e : e * e;
}
function K1(e) {
var t = e(j1, j1), n = 1;
function r() {
- return n === 1 ? e(j1, j1) : n === .5 ? e(VYe, HYe) : e(BYe(n), BYe(1 / n));
+ return n === 1 ? e(j1, j1) : n === .5 ? e(HYe, UYe) : e(VYe(n), VYe(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -86162,29 +86199,29 @@ function q1() {
return N1(e, q1()).exponent(e.exponent());
}, n1.apply(e, arguments), e;
}
-function UYe() {
+function WYe() {
return q1.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function WYe(e) {
+function GYe(e) {
return Math.sign(e) * e * e;
}
-function GYe(e) {
+function KYe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function KYe() {
+function qYe() {
var e = F1(), t = [0, 1], n = !1, r;
function i(t) {
- var i = GYe(e(t));
+ var i = KYe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(WYe(t));
+ return e.invert(GYe(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, A1)).map(WYe)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, A1)).map(GYe)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -86194,16 +86231,16 @@ function KYe() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return KYe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ return qYe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
}, n1.apply(i, arguments), U1(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function qYe() {
+function JYe() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = gJe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = _Je(e, r / i);
return a;
}
function a(e) {
@@ -86224,12 +86261,12 @@ function qYe() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return qYe().domain(e).range(t).unknown(r);
+ return JYe().domain(e).range(t).unknown(r);
}, n1.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function JYe() {
+function YYe() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
return e != null && e <= e ? i[K$(r, e, 0, n)] : a;
@@ -86251,12 +86288,12 @@ function JYe() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return JYe().domain([e, t]).range(i).unknown(a);
+ return YYe().domain([e, t]).range(i).unknown(a);
}, n1.apply(U1(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function YYe() {
+function XYe() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
return i != null && i <= i ? t[K$(e, i, 0, r)] : n;
@@ -86271,7 +86308,7 @@ function YYe() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return YYe().domain(e).range(t).unknown(n);
+ return XYe().domain(e).range(t).unknown(n);
}, n1.apply(i, arguments);
}
//#endregion
@@ -86313,7 +86350,7 @@ Z1.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
}, (t, n) => (n - t) / e) : Z1), Z1.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var Q1 = 1e3, $1 = Q1 * 60, e0 = $1 * 60, t0 = e0 * 24, n0 = t0 * 7, XYe = t0 * 30, r0 = t0 * 365, i0 = X1((e) => {
+var Q1 = 1e3, $1 = Q1 * 60, e0 = $1 * 60, t0 = e0 * 24, n0 = t0 * 7, ZYe = t0 * 30, r0 = t0 * 365, i0 = X1((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
e.setTime(+e + t * Q1);
@@ -86357,12 +86394,12 @@ var u0 = X1((e) => {
e.setUTCDate(e.getUTCDate() + t);
}, (e, t) => (t - e) / t0, (e) => e.getUTCDate() - 1);
u0.range;
-var ZYe = X1((e) => {
+var QYe = X1((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
}, (e, t) => (t - e) / t0, (e) => Math.floor(e / t0));
-ZYe.range;
+QYe.range;
//#endregion
//#region node_modules/d3-time/src/week.js
function d0(e) {
@@ -86372,8 +86409,8 @@ function d0(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * $1) / n0);
}
-var f0 = d0(0), p0 = d0(1), QYe = d0(2), $Ye = d0(3), m0 = d0(4), eXe = d0(5), tXe = d0(6);
-f0.range, p0.range, QYe.range, $Ye.range, m0.range, eXe.range, tXe.range;
+var f0 = d0(0), p0 = d0(1), $Ye = d0(2), eXe = d0(3), m0 = d0(4), tXe = d0(5), nXe = d0(6);
+f0.range, p0.range, $Ye.range, eXe.range, m0.range, tXe.range, nXe.range;
function h0(e) {
return X1((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -86381,8 +86418,8 @@ function h0(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / n0);
}
-var g0 = h0(0), _0 = h0(1), nXe = h0(2), rXe = h0(3), v0 = h0(4), iXe = h0(5), aXe = h0(6);
-g0.range, _0.range, nXe.range, rXe.range, v0.range, iXe.range, aXe.range;
+var g0 = h0(0), _0 = h0(1), rXe = h0(2), iXe = h0(3), v0 = h0(4), aXe = h0(5), oXe = h0(6);
+g0.range, _0.range, rXe.range, iXe.range, v0.range, aXe.range, oXe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var y0 = X1((e) => {
@@ -86421,7 +86458,7 @@ S0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : X1((t) => {
}), S0.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function oXe(e, t, n, r, i, a) {
+function sXe(e, t, n, r, i, a) {
let o = [
[
i0,
@@ -86501,12 +86538,12 @@ function oXe(e, t, n, r, i, a) {
[
t,
1,
- XYe
+ ZYe
],
[
t,
3,
- 3 * XYe
+ 3 * ZYe
],
[
e,
@@ -86529,7 +86566,7 @@ function oXe(e, t, n, r, i, a) {
}
return [s, c];
}
-var [sXe, cXe] = oXe(S0, b0, g0, ZYe, c0, o0), [lXe, uXe] = oXe(x0, y0, f0, l0, s0, a0);
+var [cXe, lXe] = sXe(S0, b0, g0, QYe, c0, o0), [uXe, dXe] = sXe(x0, y0, f0, l0, s0, a0);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function C0(e) {
@@ -86557,112 +86594,112 @@ function T0(e, t, n) {
L: 0
};
}
-function dXe(e) {
+function fXe(e) {
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = O0(i), u = k0(i), d = O0(a), f = k0(a), p = O0(o), m = k0(o), h = O0(s), g = k0(s), _ = O0(c), v = k0(c), y = {
a: N,
A: P,
b: F,
B: I,
c: null,
- d: IXe,
- e: IXe,
- f: VXe,
- g: QXe,
- G: eZe,
- H: LXe,
- I: RXe,
- j: zXe,
- L: BXe,
- m: HXe,
- M: UXe,
+ d: LXe,
+ e: LXe,
+ f: HXe,
+ g: $Xe,
+ G: tZe,
+ H: RXe,
+ I: zXe,
+ j: BXe,
+ L: VXe,
+ m: UXe,
+ M: WXe,
p: ee,
q: L,
- Q: CZe,
- s: wZe,
- S: WXe,
- u: GXe,
- U: KXe,
- V: JXe,
- w: YXe,
- W: XXe,
+ Q: wZe,
+ s: TZe,
+ S: GXe,
+ u: KXe,
+ U: qXe,
+ V: YXe,
+ w: XXe,
+ W: ZXe,
x: null,
X: null,
- y: ZXe,
- Y: $Xe,
- Z: tZe,
- "%": SZe
+ y: QXe,
+ Y: eZe,
+ Z: nZe,
+ "%": CZe
}, b = {
a: te,
A: ne,
b: re,
B: ie,
c: null,
- d: nZe,
- e: nZe,
- f: sZe,
- g: vZe,
- G: bZe,
- H: rZe,
- I: iZe,
- j: aZe,
- L: oZe,
- m: cZe,
- M: lZe,
+ d: rZe,
+ e: rZe,
+ f: cZe,
+ g: yZe,
+ G: xZe,
+ H: iZe,
+ I: aZe,
+ j: oZe,
+ L: sZe,
+ m: lZe,
+ M: uZe,
p: ae,
q: oe,
- Q: CZe,
- s: wZe,
- S: uZe,
- u: dZe,
- U: fZe,
- V: mZe,
- w: hZe,
- W: gZe,
+ Q: wZe,
+ s: TZe,
+ S: dZe,
+ u: fZe,
+ U: pZe,
+ V: hZe,
+ w: gZe,
+ W: _Ze,
x: null,
X: null,
- y: _Ze,
- Y: yZe,
- Z: xZe,
- "%": SZe
+ y: vZe,
+ Y: bZe,
+ Z: SZe,
+ "%": CZe
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: EXe,
- e: EXe,
- f: MXe,
- g: SXe,
- G: xXe,
- H: OXe,
- I: OXe,
- j: DXe,
- L: jXe,
- m: TXe,
- M: kXe,
+ d: DXe,
+ e: DXe,
+ f: NXe,
+ g: CXe,
+ G: SXe,
+ H: kXe,
+ I: kXe,
+ j: OXe,
+ L: MXe,
+ m: EXe,
+ M: AXe,
p: T,
- q: wXe,
- Q: PXe,
- s: FXe,
- S: AXe,
- u: _Xe,
- U: vXe,
- V: yXe,
- w: gXe,
- W: bXe,
+ q: TXe,
+ Q: FXe,
+ s: IXe,
+ S: jXe,
+ u: vXe,
+ U: yXe,
+ V: bXe,
+ w: _Xe,
+ W: xXe,
x: j,
X: M,
- y: SXe,
- Y: xXe,
- Z: CXe,
- "%": NXe
+ y: CXe,
+ Y: SXe,
+ Z: wXe,
+ "%": PXe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = fXe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = pXe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
@@ -86683,7 +86720,7 @@ function dXe(e) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in fXe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in pXe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -86780,244 +86817,244 @@ function dXe(e) {
}
};
}
-var fXe = {
+var pXe = {
"-": "",
_: " ",
0: "0"
-}, E0 = /^\s*\d+/, pXe = /^%/, mXe = /[\\^$*+?|[\]().{}]/g;
+}, E0 = /^\s*\d+/, mXe = /^%/, hXe = /[\\^$*+?|[\]().{}]/g;
function D0(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function hXe(e) {
- return e.replace(mXe, "\\$&");
+function gXe(e) {
+ return e.replace(hXe, "\\$&");
}
function O0(e) {
- return RegExp("^(?:" + e.map(hXe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(gXe).join("|") + ")", "i");
}
function k0(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function gXe(e, t, n) {
+function _Xe(e, t, n) {
var r = E0.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function _Xe(e, t, n) {
+function vXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function vXe(e, t, n) {
+function yXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function yXe(e, t, n) {
+function bXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function bXe(e, t, n) {
+function xXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function xXe(e, t, n) {
+function SXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function SXe(e, t, n) {
+function CXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function CXe(e, t, n) {
+function wXe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function wXe(e, t, n) {
+function TXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function TXe(e, t, n) {
+function EXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function EXe(e, t, n) {
+function DXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function DXe(e, t, n) {
+function OXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function OXe(e, t, n) {
+function kXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function kXe(e, t, n) {
+function AXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function AXe(e, t, n) {
+function jXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function jXe(e, t, n) {
+function MXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function MXe(e, t, n) {
+function NXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function NXe(e, t, n) {
- var r = pXe.exec(t.slice(n, n + 1));
+function PXe(e, t, n) {
+ var r = mXe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function PXe(e, t, n) {
+function FXe(e, t, n) {
var r = E0.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function FXe(e, t, n) {
+function IXe(e, t, n) {
var r = E0.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function IXe(e, t) {
- return D0(e.getDate(), t, 2);
-}
function LXe(e, t) {
- return D0(e.getHours(), t, 2);
+ return D0(e.getDate(), t, 2);
}
function RXe(e, t) {
- return D0(e.getHours() % 12 || 12, t, 2);
+ return D0(e.getHours(), t, 2);
}
function zXe(e, t) {
- return D0(1 + l0.count(x0(e), e), t, 3);
+ return D0(e.getHours() % 12 || 12, t, 2);
}
function BXe(e, t) {
- return D0(e.getMilliseconds(), t, 3);
+ return D0(1 + l0.count(x0(e), e), t, 3);
}
function VXe(e, t) {
- return BXe(e, t) + "000";
+ return D0(e.getMilliseconds(), t, 3);
}
function HXe(e, t) {
- return D0(e.getMonth() + 1, t, 2);
+ return VXe(e, t) + "000";
}
function UXe(e, t) {
- return D0(e.getMinutes(), t, 2);
+ return D0(e.getMonth() + 1, t, 2);
}
function WXe(e, t) {
+ return D0(e.getMinutes(), t, 2);
+}
+function GXe(e, t) {
return D0(e.getSeconds(), t, 2);
}
-function GXe(e) {
+function KXe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function KXe(e, t) {
+function qXe(e, t) {
return D0(f0.count(x0(e) - 1, e), t, 2);
}
-function qXe(e) {
+function JXe(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? m0(e) : m0.ceil(e);
}
-function JXe(e, t) {
- return e = qXe(e), D0(m0.count(x0(e), e) + (x0(e).getDay() === 4), t, 2);
+function YXe(e, t) {
+ return e = JXe(e), D0(m0.count(x0(e), e) + (x0(e).getDay() === 4), t, 2);
}
-function YXe(e) {
+function XXe(e) {
return e.getDay();
}
-function XXe(e, t) {
- return D0(p0.count(x0(e) - 1, e), t, 2);
-}
function ZXe(e, t) {
- return D0(e.getFullYear() % 100, t, 2);
+ return D0(p0.count(x0(e) - 1, e), t, 2);
}
function QXe(e, t) {
- return e = qXe(e), D0(e.getFullYear() % 100, t, 2);
+ return D0(e.getFullYear() % 100, t, 2);
}
function $Xe(e, t) {
- return D0(e.getFullYear() % 1e4, t, 4);
+ return e = JXe(e), D0(e.getFullYear() % 100, t, 2);
}
function eZe(e, t) {
+ return D0(e.getFullYear() % 1e4, t, 4);
+}
+function tZe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? m0(e) : m0.ceil(e), D0(e.getFullYear() % 1e4, t, 4);
}
-function tZe(e) {
+function nZe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + D0(t / 60 | 0, "0", 2) + D0(t % 60, "0", 2);
}
-function nZe(e, t) {
- return D0(e.getUTCDate(), t, 2);
-}
function rZe(e, t) {
- return D0(e.getUTCHours(), t, 2);
+ return D0(e.getUTCDate(), t, 2);
}
function iZe(e, t) {
- return D0(e.getUTCHours() % 12 || 12, t, 2);
+ return D0(e.getUTCHours(), t, 2);
}
function aZe(e, t) {
- return D0(1 + u0.count(S0(e), e), t, 3);
+ return D0(e.getUTCHours() % 12 || 12, t, 2);
}
function oZe(e, t) {
- return D0(e.getUTCMilliseconds(), t, 3);
+ return D0(1 + u0.count(S0(e), e), t, 3);
}
function sZe(e, t) {
- return oZe(e, t) + "000";
+ return D0(e.getUTCMilliseconds(), t, 3);
}
function cZe(e, t) {
- return D0(e.getUTCMonth() + 1, t, 2);
+ return sZe(e, t) + "000";
}
function lZe(e, t) {
- return D0(e.getUTCMinutes(), t, 2);
+ return D0(e.getUTCMonth() + 1, t, 2);
}
function uZe(e, t) {
+ return D0(e.getUTCMinutes(), t, 2);
+}
+function dZe(e, t) {
return D0(e.getUTCSeconds(), t, 2);
}
-function dZe(e) {
+function fZe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function fZe(e, t) {
+function pZe(e, t) {
return D0(g0.count(S0(e) - 1, e), t, 2);
}
-function pZe(e) {
+function mZe(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? v0(e) : v0.ceil(e);
}
-function mZe(e, t) {
- return e = pZe(e), D0(v0.count(S0(e), e) + (S0(e).getUTCDay() === 4), t, 2);
+function hZe(e, t) {
+ return e = mZe(e), D0(v0.count(S0(e), e) + (S0(e).getUTCDay() === 4), t, 2);
}
-function hZe(e) {
+function gZe(e) {
return e.getUTCDay();
}
-function gZe(e, t) {
- return D0(_0.count(S0(e) - 1, e), t, 2);
-}
function _Ze(e, t) {
- return D0(e.getUTCFullYear() % 100, t, 2);
+ return D0(_0.count(S0(e) - 1, e), t, 2);
}
function vZe(e, t) {
- return e = pZe(e), D0(e.getUTCFullYear() % 100, t, 2);
+ return D0(e.getUTCFullYear() % 100, t, 2);
}
function yZe(e, t) {
- return D0(e.getUTCFullYear() % 1e4, t, 4);
+ return e = mZe(e), D0(e.getUTCFullYear() % 100, t, 2);
}
function bZe(e, t) {
+ return D0(e.getUTCFullYear() % 1e4, t, 4);
+}
+function xZe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? v0(e) : v0.ceil(e), D0(e.getUTCFullYear() % 1e4, t, 4);
}
-function xZe() {
+function SZe() {
return "+0000";
}
-function SZe() {
+function CZe() {
return "%";
}
-function CZe(e) {
+function wZe(e) {
return +e;
}
-function wZe(e) {
+function TZe(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var A0, TZe, EZe;
-DZe({
+var A0, EZe, DZe;
+OZe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -87069,15 +87106,15 @@ DZe({
"Dec"
]
});
-function DZe(e) {
- return A0 = dXe(e), TZe = A0.format, A0.parse, EZe = A0.utcFormat, A0.utcParse, A0;
+function OZe(e) {
+ return A0 = fXe(e), EZe = A0.format, A0.parse, DZe = A0.utcFormat, A0.utcParse, A0;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function OZe(e) {
+function kZe(e) {
return new Date(e);
}
-function kZe(e) {
+function AZe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function j0(e, t, n, r, i, a, o, s, c, l) {
@@ -87088,7 +87125,7 @@ function j0(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, kZe)) : f().map(OZe);
+ return arguments.length ? f(Array.from(e, AZe)) : f().map(kZe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -87096,18 +87133,18 @@ function j0(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(DYe(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(OYe(n, e)) : u;
}, u.copy = function() {
return N1(u, j0(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function AZe() {
- return n1.apply(j0(lXe, uXe, x0, y0, f0, l0, s0, a0, i0, TZe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function jZe() {
+ return n1.apply(j0(uXe, dXe, x0, y0, f0, l0, s0, a0, i0, EZe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function jZe() {
- return n1.apply(j0(sXe, cXe, S0, b0, g0, u0, c0, o0, i0, EZe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function MZe() {
+ return n1.apply(j0(cXe, lXe, S0, b0, g0, u0, c0, o0, i0, DZe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -87138,22 +87175,22 @@ function M0() {
function N0(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function MZe() {
+function NZe() {
var e = U1(M0()(j1));
return e.copy = function() {
- return N0(e, MZe());
+ return N0(e, NZe());
}, r1.apply(e, arguments);
}
-function NZe() {
+function PZe() {
var e = W1(M0()).domain([1, 10]);
return e.copy = function() {
- return N0(e, NZe()).base(e.base());
+ return N0(e, PZe()).base(e.base());
}, r1.apply(e, arguments);
}
-function PZe() {
+function FZe() {
var e = G1(M0());
return e.copy = function() {
- return N0(e, PZe()).constant(e.constant());
+ return N0(e, FZe()).constant(e.constant());
}, r1.apply(e, arguments);
}
function P0() {
@@ -87162,12 +87199,12 @@ function P0() {
return N0(e, P0()).exponent(e.exponent());
}, r1.apply(e, arguments);
}
-function FZe() {
+function IZe() {
return P0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function IZe() {
+function LZe() {
var e = [], t = j1;
function n(n) {
if (n != null && !isNaN(n = +n)) return t((K$(e, n, 1) - 1) / (e.length - 1));
@@ -87182,9 +87219,9 @@ function IZe() {
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => hJe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => gJe(e, r / t));
}, n.copy = function() {
- return IZe(t).domain(e);
+ return LZe(t).domain(e);
}, r1.apply(n, arguments);
}
//#endregion
@@ -87208,7 +87245,7 @@ function F0() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = tYe(e, [
+ return arguments.length ? ([n, r, i] = t, l = nYe(e, [
n,
r,
i
@@ -87225,26 +87262,26 @@ function F0() {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function LZe() {
+function RZe() {
var e = U1(F0()(j1));
return e.copy = function() {
- return N0(e, LZe());
+ return N0(e, RZe());
}, r1.apply(e, arguments);
}
-function RZe() {
+function zZe() {
var e = W1(F0()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return N0(e, RZe()).base(e.base());
+ return N0(e, zZe()).base(e.base());
}, r1.apply(e, arguments);
}
-function zZe() {
+function BZe() {
var e = G1(F0());
return e.copy = function() {
- return N0(e, zZe()).constant(e.constant());
+ return N0(e, BZe()).constant(e.constant());
}, r1.apply(e, arguments);
}
function I0() {
@@ -87253,88 +87290,88 @@ function I0() {
return N0(e, I0()).exponent(e.exponent());
}, r1.apply(e, arguments);
}
-function BZe() {
+function VZe() {
return I0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var VZe = /* @__PURE__ */ s({
+var HZe = /* @__PURE__ */ s({
scaleBand: () => o1,
- scaleDiverging: () => LZe,
- scaleDivergingLog: () => RZe,
+ scaleDiverging: () => RZe,
+ scaleDivergingLog: () => zZe,
scaleDivergingPow: () => I0,
- scaleDivergingSqrt: () => BZe,
- scaleDivergingSymlog: () => zZe,
- scaleIdentity: () => EYe,
+ scaleDivergingSqrt: () => VZe,
+ scaleDivergingSymlog: () => BZe,
+ scaleIdentity: () => DYe,
scaleImplicit: () => i1,
- scaleLinear: () => TYe,
- scaleLog: () => IYe,
+ scaleLinear: () => EYe,
+ scaleLog: () => LYe,
scaleOrdinal: () => a1,
- scalePoint: () => yJe,
+ scalePoint: () => bJe,
scalePow: () => q1,
- scaleQuantile: () => qYe,
- scaleQuantize: () => JYe,
- scaleRadial: () => KYe,
- scaleSequential: () => MZe,
- scaleSequentialLog: () => NZe,
+ scaleQuantile: () => JYe,
+ scaleQuantize: () => YYe,
+ scaleRadial: () => qYe,
+ scaleSequential: () => NZe,
+ scaleSequentialLog: () => PZe,
scaleSequentialPow: () => P0,
- scaleSequentialQuantile: () => IZe,
- scaleSequentialSqrt: () => FZe,
- scaleSequentialSymlog: () => PZe,
- scaleSqrt: () => UYe,
- scaleSymlog: () => zYe,
- scaleThreshold: () => YYe,
- scaleTime: () => AZe,
- scaleUtc: () => jZe,
- tickFormat: () => wYe
+ scaleSequentialQuantile: () => LZe,
+ scaleSequentialSqrt: () => IZe,
+ scaleSequentialSymlog: () => FZe,
+ scaleSqrt: () => WYe,
+ scaleSymlog: () => BYe,
+ scaleThreshold: () => XYe,
+ scaleTime: () => jZe,
+ scaleUtc: () => MZe,
+ tickFormat: () => TYe
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function HZe(e) {
- var t = VZe;
+function UZe(e) {
+ var t = HZe;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${DJ(e)}`;
+ var n = `scale${OJ(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
-function UZe(e, t, n) {
+function WZe(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = HZe(e);
+ var r = UZe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
function L0(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? UZe(e.scale, n, r) : UZe(t, n, r);
+ if (n != null && r != null) return typeof e.scale == "function" ? WZe(e.scale, n, r) : WZe(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function WZe(e) {
- return `scale${DJ(e)}`;
-}
function GZe(e) {
- return WZe(e) in VZe;
+ return `scale${OJ(e)}`;
+}
+function KZe(e) {
+ return GZe(e) in HZe;
}
-var KZe = (e, t, n) => {
+var qZe = (e, t, n) => {
if (e != null) {
var r = e.scale, i = e.type;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return GZe(r) ? r : "point";
+ if (typeof r == "string") return KZe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function qZe(e, t) {
+function JZe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function JZe(e, t) {
+function YZe(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = qZe(r, e);
+ var t = JZe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -87344,12 +87381,12 @@ function JZe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function YZe(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : JZe(e, void 0);
+function XZe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : YZe(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function XZe(e, t) {
+function ZZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87362,27 +87399,27 @@ function XZe(e, t) {
function R0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? XZe(Object(n), !0).forEach(function(t) {
- ZZe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XZe(Object(n)).forEach(function(t) {
+ t % 2 ? ZZe(Object(n), !0).forEach(function(t) {
+ QZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZZe(e, t, n) {
- return (t = QZe(t)) in e ? Object.defineProperty(e, t, {
+function QZe(e, t, n) {
+ return (t = $Ze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QZe(e) {
- var t = $Ze(e, "string");
+function $Ze(e) {
+ var t = eQe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Ze(e, t) {
+function eQe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87392,25 +87429,25 @@ function $Ze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function eQe(e, t) {
- return aQe(e) || iQe(e, t) || nQe(e, t) || tQe();
+function tQe(e, t) {
+ return oQe(e) || aQe(e, t) || rQe(e, t) || nQe();
}
-function tQe() {
+function nQe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function nQe(e, t) {
+function rQe(e, t) {
if (e) {
- if (typeof e == "string") return rQe(e, t);
+ if (typeof e == "string") return iQe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? rQe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? iQe(e, t) : void 0;
}
}
-function rQe(e, t) {
+function iQe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function iQe(e, t) {
+function aQe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -87431,7 +87468,7 @@ function iQe(e, t) {
return s;
}
}
-function aQe(e) {
+function oQe(e) {
if (Array.isArray(e)) return e;
}
var z0 = [0, "auto"], B0 = {
@@ -87463,7 +87500,7 @@ var z0 = [0, "auto"], B0 = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, oQe = (e, t) => e.cartesianAxis.xAxis[t], V0 = (e, t) => oQe(e, t) ?? B0, H0 = {
+}, sQe = (e, t) => e.cartesianAxis.xAxis[t], V0 = (e, t) => sQe(e, t) ?? B0, H0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -87492,7 +87529,7 @@ var z0 = [0, "auto"], B0 = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, sQe = (e, t) => e.cartesianAxis.yAxis[t], U0 = (e, t) => sQe(e, t) ?? H0, cQe = {
+}, cQe = (e, t) => e.cartesianAxis.yAxis[t], U0 = (e, t) => cQe(e, t) ?? H0, lQe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -87505,7 +87542,7 @@ var z0 = [0, "auto"], B0 = {
scale: "auto",
type: "number",
unit: ""
-}, W0 = (e, t) => e.cartesianAxis.zAxis[t] ?? cQe, G0 = (e, t, n) => {
+}, W0 = (e, t) => e.cartesianAxis.zAxis[t] ?? lQe, G0 = (e, t, n) => {
switch (t) {
case "xAxis": return V0(e, n);
case "yAxis": return U0(e, n);
@@ -87514,7 +87551,7 @@ var z0 = [0, "auto"], B0 = {
case "radiusAxis": return A$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, lQe = (e, t, n) => {
+}, uQe = (e, t, n) => {
switch (t) {
case "xAxis": return V0(e, n);
case "yAxis": return U0(e, n);
@@ -87528,7 +87565,7 @@ var z0 = [0, "auto"], B0 = {
case "radiusAxis": return A$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, uQe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+}, dQe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
function q0(e, t) {
return (n) => {
switch (e) {
@@ -87541,31 +87578,31 @@ function q0(e, t) {
}
};
}
-var J0 = (e) => e.graphicalItems.cartesianItems, dQe = Y([P$, F$], q0), Y0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), X0 = Y([
+var J0 = (e) => e.graphicalItems.cartesianItems, fQe = Y([P$, F$], q0), Y0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), X0 = Y([
J0,
G0,
- dQe
-], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), fQe = Y([X0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(R$)), pQe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), mQe = Y([X0], pQe), Z0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), hQe = Y([X0], (e) => e.some((e) => !e.data)), gQe = Y([X0], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), Q0 = (e, t) => {
+ fQe
+], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), pQe = Y([X0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(R$)), mQe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), hQe = Y([X0], mQe), Z0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), gQe = Y([X0], (e) => e.some((e) => !e.data)), _Qe = Y([X0], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), Q0 = (e, t) => {
var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;
return e.length > 0 ? e : r.slice(i, a + 1);
-}, $0 = Y([gQe, u$], Q0), _Qe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tQ(e, t.dataKey) })), vQe = (e, t, n, r, i, a) => {
- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = _Qe(e, t, n);
+}, $0 = Y([_Qe, u$], Q0), vQe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tQ(e, t.dataKey) })), yQe = (e, t, n, r, i, a) => {
+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = vQe(e, t, n);
return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: tQ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
}, e2 = Y([
$0,
G0,
X0,
u$,
- hQe,
- gQe
-], vQe);
+ gQe,
+ _Qe
+], yQe);
function t2(e) {
- if (bJ(e) || e instanceof Date) {
+ if (xJ(e) || e instanceof Date) {
var t = Number(e);
if (QZ(t)) return t;
}
}
-function yQe(e) {
+function bQe(e) {
if (Array.isArray(e)) {
var t = [t2(e[0]), t2(e[1])];
return f$(t) ? t : void 0;
@@ -87574,24 +87611,24 @@ function yQe(e) {
if (n != null) return [n, n];
}
function n2(e) {
- return e.map(t2).filter(OJ);
+ return e.map(t2).filter(kJ);
}
-function bQe(e, t) {
+function xQe(e, t) {
var n = t2(e), r = t2(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var xQe = Y([e2], (e) => e?.map((e) => e.value).sort(bQe));
-function SQe(e, t) {
+var SQe = Y([e2], (e) => e?.map((e) => e.value).sort(xQe));
+function CQe(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function CQe(e, t, n) {
+function wQe(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !_J(t)) r = t;
+ if (typeof t == "number" && !vJ(t)) r = t;
else if (Array.isArray(t)) {
var i = n2(t);
i.length > 0 && (r = Math.max(...i));
@@ -87599,14 +87636,14 @@ function CQe(e, t, n) {
return r == null ? [] : n2(n.flatMap((t) => {
var n = tQ(e, t.dataKey), i, a;
if (Array.isArray(n)) {
- var o = eQe(n, 2);
+ var o = tQe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
if (QZ(i) && QZ(a)) return [r - i, r + a];
}));
}
-var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), wQe = Y([
- fQe,
+var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), TQe = Y([
+ pQe,
u$,
r2
], L$), a2 = (e, t, n, r) => {
@@ -87616,21 +87653,21 @@ var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), wQe = Y([
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, {});
return Object.fromEntries(Object.entries(i).map((t) => {
- var i = eQe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
+ var i = tQe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: AHe(e, s.map(I$), n),
+ stackedData: jHe(e, s.map(I$), n),
graphicalItems: s
}];
}));
}, o2 = Y([
- wQe,
- fQe,
+ TQe,
+ pQe,
v$,
y$
-], a2), TQe = (e, t, n, r) => {
+], a2), EQe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return PHe(e, i, a);
-}, EQe = Y([G0], (e) => e.allowDataOverflow), s2 = (e) => {
+ if (r == null && n !== "zAxis") return FHe(e, i, a);
+}, DQe = Y([G0], (e) => e.allowDataOverflow), s2 = (e) => {
if (e == null || !("domain" in e)) return z0;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -87641,12 +87678,12 @@ var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), wQe = Y([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? z0;
-}, c2 = Y([G0], s2), l2 = Y([c2, EQe], Tqe), DQe = Y([
+}, c2 = Y([G0], s2), l2 = Y([c2, DQe], Eqe), OQe = Y([
o2,
c$,
P$,
l2
-], TQe, { memoizeOptions: { resultEqualityCheck: z$ } }), u2 = (e) => e.errorBars, OQe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => SQe(n, e)), d2 = function() {
+], EQe, { memoizeOptions: { resultEqualityCheck: z$ } }), u2 = (e) => e.errorBars, kQe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => CQe(n, e)), d2 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -87655,84 +87692,84 @@ var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), wQe = Y([
}, f2 = function(e, t, n, r, i) {
var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;
if (n.length > 0 && n.forEach((e) => {
- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => SQe(i, e));
+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => CQe(i, e));
n.forEach((n) => {
- var r = tQ(n, t.dataKey ?? e.dataKey), i = CQe(n, r, c);
+ var r = tQ(n, t.dataKey ?? e.dataKey), i = wQe(n, r, c);
if (i.length >= 2) {
var a = Math.min(...i), l = Math.max(...i);
(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);
}
- var u = yQe(r);
+ var u = bQe(r);
u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));
});
}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {
- var n = yQe(tQ(e, t.dataKey));
+ var n = bQe(tQ(e, t.dataKey));
n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));
}), QZ(o) && QZ(s)) return [o, s];
-}, kQe = Y([
+}, AQe = Y([
$0,
G0,
- mQe,
+ hQe,
u2,
P$,
- gqe
+ _qe
], f2, { memoizeOptions: { resultEqualityCheck: z$ } });
-function AQe(e) {
+function jQe(e) {
var t = e.value;
- if (bJ(t) || t instanceof Date) return t;
+ if (xJ(t) || t instanceof Date) return t;
}
-var jQe = (e, t, n) => {
- var r = e.map(AQe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && CJ(r)) ? mqe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, MQe = (e) => e.referenceElements.dots, p2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), NQe = Y([
- MQe,
+var MQe = (e, t, n) => {
+ var r = e.map(jQe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && wJ(r)) ? hqe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, NQe = (e) => e.referenceElements.dots, p2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), PQe = Y([
+ NQe,
P$,
F$
-], p2), PQe = (e) => e.referenceElements.areas, FQe = Y([
- PQe,
+], p2), FQe = (e) => e.referenceElements.areas, IQe = Y([
+ FQe,
P$,
F$
-], p2), IQe = (e) => e.referenceElements.lines, LQe = Y([
- IQe,
+], p2), LQe = (e) => e.referenceElements.lines, RQe = Y([
+ LQe,
P$,
F$
-], p2), RQe = (e, t) => {
+], p2), zQe = (e, t) => {
if (e != null) {
var n = n2(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, zQe = Y(NQe, P$, RQe), BQe = (e, t) => {
+}, BQe = Y(PQe, P$, zQe), VQe = (e, t) => {
if (e != null) {
var n = n2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, VQe = Y([FQe, P$], BQe);
-function HQe(e) {
+}, HQe = Y([IQe, P$], VQe);
+function UQe(e) {
if (e.x != null) return n2([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : n2(t);
}
-function UQe(e) {
+function WQe(e) {
if (e.y != null) return n2([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : n2(t);
}
-var WQe = (e, t) => {
+var GQe = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? HQe(e) : UQe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? UQe(e) : WQe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, GQe = Y(zQe, Y([LQe, P$], WQe), VQe, (e, t, n) => d2(e, n, t)), m2 = (e, t, n, r, i, a, o, s, c) => {
+}, KQe = Y(BQe, Y([RQe, P$], GQe), HQe, (e, t, n) => d2(e, n, t)), m2 = (e, t, n, r, i, a, o, s, c) => {
if (n != null) return n;
- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d2(r, a, i) : d2(a, i), u = Eqe(t, l, e.allowDataOverflow);
+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d2(r, a, i) : d2(a, i), u = Dqe(t, l, e.allowDataOverflow);
return u == null && e.allowDataOverflow && l == null && c != null ? c : u;
-}, KQe = Y([
+}, qQe = Y([
G0,
c2,
l2,
- DQe,
- kQe,
- GQe,
+ OQe,
+ AQe,
+ KQe,
DQ,
P$,
Y([G0], (e) => {
@@ -87741,10 +87778,10 @@ var WQe = (e, t) => {
if (t.length !== 0) return [Math.min(...t), Math.max(...t)];
}
}, { memoizeOptions: { resultEqualityCheck: z$ } })
-], m2, { memoizeOptions: { resultEqualityCheck: z$ } }), qQe = [0, 1], h2 = (e, t, n, r, i, a, o) => {
+], m2, { memoizeOptions: { resultEqualityCheck: z$ } }), JQe = [0, 1], h2 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
var s = e.dataKey, c = e.type, l = nQ(t, a);
- return l && s == null ? mqe(0, n?.length ?? 0) : c === "category" ? jQe(r, e, l) : i === "expand" && !l ? qQe : o;
+ return l && s == null ? hqe(0, n?.length ?? 0) : c === "category" ? MQe(r, e, l) : i === "expand" && !l ? JQe : o;
}
}, g2 = Y([
G0,
@@ -87753,22 +87790,22 @@ var WQe = (e, t) => {
e2,
v$,
P$,
- KQe
+ qQe
], h2), _2 = Y([
G0,
- uQe,
+ dQe,
b$
-], KZe), v2 = (e, t, n) => {
+], qZe), v2 = (e, t, n) => {
var r = t.niceTicks;
if (r !== "none") {
var i = s2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && f$(e)) {
- if (a) return Rqe(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return zqe(e, t.tickCount, t.allowDecimals, r);
+ if (a) return zqe(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return Bqe(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && f$(e)) return Rqe(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && f$(e)) return zqe(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && f$(e)) return zqe(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && f$(e)) return Bqe(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
}, y2 = Y([
@@ -87781,12 +87818,12 @@ var WQe = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, JQe = Y([
+}, YQe = Y([
G0,
g2,
y2,
P$
-], b2), YQe = Y(Y(e2, G0, (e, t) => {
+], b2), XQe = Y(Y(e2, G0, (e, t) => {
if (t && t.type === "number") {
var n = Infinity, r = Array.from(n2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
@@ -87806,17 +87843,17 @@ var WQe = (e, t) => {
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = SJ(n, e * a), s = e * a / 2;
+ var o = CJ(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), XQe = (e, t, n) => {
+}), ZQe = (e, t, n) => {
var r = V0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : YQe(e, "xAxis", t, n, r.padding);
-}, ZQe = (e, t, n) => {
+ return r == null || typeof r.padding != "string" ? 0 : XQe(e, "xAxis", t, n, r.padding);
+}, QQe = (e, t, n) => {
var r = U0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : YQe(e, "yAxis", t, n, r.padding);
-}, QQe = Y(V0, XQe, (e, t) => {
+ return r == null || typeof r.padding != "string" ? 0 : XQe(e, "yAxis", t, n, r.padding);
+}, $Qe = Y(V0, ZQe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -87829,7 +87866,7 @@ var WQe = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), $Qe = Y(U0, ZQe, (e, t) => {
+}), e$e = Y(U0, QQe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -87842,19 +87879,19 @@ var WQe = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), e$e = Y([
+}), t$e = Y([
mQ,
- QQe,
+ $Qe,
vQ,
_Q,
(e, t, n) => n
], (e, t, n, r, i) => {
var a = r.padding;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), t$e = Y([
+}), n$e = Y([
mQ,
DQ,
- $Qe,
+ e$e,
vQ,
_Q,
(e, t, n) => n
@@ -87863,18 +87900,18 @@ var WQe = (e, t) => {
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), x2 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return e$e(e, n, r);
- case "yAxis": return t$e(e, n, r);
+ case "xAxis": return t$e(e, n, r);
+ case "yAxis": return n$e(e, n, r);
case "zAxis": return W0(e, n)?.range;
- case "angleAxis": return Qqe(e);
- case "radiusAxis": return eJe(e, n);
+ case "angleAxis": return $qe(e);
+ case "radiusAxis": return tJe(e, n);
default: return;
}
-}, n$e = Y([G0, x2], E$), S2 = Y([
+}, r$e = Y([G0, x2], E$), S2 = Y([
G0,
_2,
- Y([_2, JQe], rJe),
- n$e
+ Y([_2, YQe], iJe),
+ r$e
], L0), C2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
@@ -87886,57 +87923,57 @@ var WQe = (e, t) => {
K0,
P$
], C2), T2 = Y([S2], U$);
-Y([S2], YZe), Y([S2, xQe], JZe), Y([
+Y([S2], XZe), Y([S2, SQe], YZe), Y([
X0,
u2,
P$
-], OQe);
-function r$e(e, t) {
+], kQe);
+function i$e(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(r$e)), a$e = Y(fQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(r$e)), o$e = (e, t) => {
+var E2 = (e, t) => t, D2 = (e, t, n) => n, a$e = Y(dQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(i$e)), o$e = Y(fQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(i$e)), s$e = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
height: n
};
-}, s$e = (e, t) => ({
+}, c$e = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), c$e = Y(mQ, V0, o$e), l$e = (e, t, n) => {
+}), l$e = Y(mQ, V0, s$e), u$e = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, u$e = (e, t, n) => {
+}, d$e = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, d$e = Y(lQ, mQ, i$e, E2, D2, (e, t, n, r, i) => {
+}, f$e = Y(lQ, mQ, a$e, E2, D2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = o$e(t, n);
- o ??= l$e(t, r, e);
+ var s = s$e(t, n);
+ o ??= u$e(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), f$e = Y(cQ, mQ, a$e, E2, D2, (e, t, n, r, i) => {
+}), p$e = Y(cQ, mQ, o$e, E2, D2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = s$e(t, n);
- o ??= u$e(t, r, e);
+ var s = c$e(t, n);
+ o ??= d$e(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), p$e = Y([
+}), m$e = Y([
mQ,
V0,
(e, t) => {
var n = V0(e, t);
- if (n != null) return d$e(e, n.orientation, n.mirror);
+ if (n != null) return f$e(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -87950,12 +87987,12 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
y: i
};
}
-}), m$e = Y([
+}), h$e = Y([
mQ,
U0,
(e, t) => {
var n = U0(e, t);
- if (n != null) return f$e(e, n.orientation, n.mirror);
+ if (n != null) return p$e(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -87969,28 +88006,28 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
y: e.top
};
}
-}), h$e = Y(mQ, U0, (e, t) => ({
+}), g$e = Y(mQ, U0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), g$e = (e, t, n) => {
+})), _$e = (e, t, n) => {
switch (t) {
- case "xAxis": return c$e(e, n).width;
- case "yAxis": return h$e(e, n).height;
+ case "xAxis": return l$e(e, n).width;
+ case "yAxis": return g$e(e, n).height;
default: return;
}
-}, _$e = (e, t, n, r) => {
+}, v$e = (e, t, n, r) => {
if (n != null) {
var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = nQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && CJ(l)) return c;
+ if (o && s && a === "category" && i && wJ(l)) return c;
}
}, O2 = Y([
DQ,
e2,
G0,
P$
-], _$e), v$e = Y([
+], v$e), y$e = Y([
DQ,
- lQe,
+ uQe,
_2,
T2,
O2,
@@ -88022,10 +88059,10 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
scale: r
};
}
-}), y$e = (e, t, n, r, i, a, o, s, c) => {
+}), b$e = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = nQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? gJ(a[0] - a[1]) * 2 * m : m;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? _J(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
@@ -88035,7 +88072,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
value: e,
offset: m
} : null;
- }).filter(OJ) : l && s ? s.map((e, t) => {
+ }).filter(kJ) : l && s ? s.map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + m,
@@ -88043,7 +88080,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(OJ) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(kJ) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + m,
@@ -88051,7 +88088,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(OJ) : r.domain().map((e, t) => {
+ }).filter(kJ) : r.domain().map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + m,
@@ -88059,9 +88096,9 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(OJ);
+ }).filter(kJ);
}
-}, b$e = Y([
+}, x$e = Y([
DQ,
K0,
_2,
@@ -88071,10 +88108,10 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
O2,
w2,
P$
-], y$e), x$e = (e, t, n, r, i, a, o) => {
+], b$e), S$e = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = nQ(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? gJ(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ return l = o === "angleAxis" && r?.length >= 2 ? _J(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
return QZ(r) ? {
coordinate: r + l,
@@ -88082,7 +88119,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(OJ) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(kJ) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
return QZ(r) ? {
coordinate: r + l,
@@ -88090,7 +88127,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(OJ) : n.domain().map((e, t) => {
+ }).filter(kJ) : n.domain().map((e, t) => {
var r = n.map(e);
return QZ(r) ? {
coordinate: r + l,
@@ -88098,7 +88135,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(OJ);
+ }).filter(kJ);
}
}, k2 = Y([
DQ,
@@ -88108,18 +88145,18 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, i$e = Y(dQ, E2, D2, (e, t, n) => e.fi
O2,
w2,
P$
-], x$e), A2 = Y(G0, T2, (e, t) => {
+], S$e), A2 = Y(G0, T2, (e, t) => {
if (e != null && t != null) return R0(R0({}, e), {}, { scale: t });
});
Y((e, t, n) => W0(e, n), Y([Y([
G0,
_2,
g2,
- n$e
+ r$e
], L0)], U$), (e, t) => {
if (e != null && t != null) return R0(R0({}, e), {}, { scale: t });
});
-var S$e = Y([
+var C$e = Y([
DQ,
dQ,
fQ
@@ -88144,30 +88181,30 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var C$e = (e) => e.options.defaultTooltipEventType, w$e = (e) => e.options.validateTooltipEventTypes;
-function T$e(e, t, n) {
+var w$e = (e) => e.options.defaultTooltipEventType, T$e = (e) => e.options.validateTooltipEventTypes;
+function E$e(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
function j2(e, t) {
- return T$e(t, C$e(e), w$e(e));
+ return E$e(t, w$e(e), T$e(e));
}
-function E$e(e) {
- return jX((t) => j2(t, e));
+function D$e(e) {
+ return MX((t) => j2(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var D$e = (e, t) => {
+var O$e = (e, t) => {
var n, r = Number(t);
- if (!(_J(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, O$e = (e) => e.tooltip.settings, M2 = {
+ if (!(vJ(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, k$e = (e) => e.tooltip.settings, M2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, k$e = LZ({
+}, A$e = LZ({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -88246,10 +88283,10 @@ var D$e = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), N2 = k$e.actions, A$e = N2.addTooltipEntrySettings, j$e = N2.replaceTooltipEntrySettings, M$e = N2.removeTooltipEntrySettings, N$e = N2.setTooltipSettingsState, P$e = N2.setActiveMouseOverItemIndex, F$e = N2.mouseLeaveItem, I$e = N2.mouseLeaveChart, L$e = N2.setActiveClickItemIndex, R$e = N2.setMouseOverAxisIndex, z$e = N2.setMouseClickAxisIndex, P2 = N2.setSyncInteraction, F2 = N2.setKeyboardInteraction, B$e = k$e.reducer;
+}), N2 = A$e.actions, j$e = N2.addTooltipEntrySettings, M$e = N2.replaceTooltipEntrySettings, N$e = N2.removeTooltipEntrySettings, P$e = N2.setTooltipSettingsState, F$e = N2.setActiveMouseOverItemIndex, I$e = N2.mouseLeaveItem, L$e = N2.mouseLeaveChart, R$e = N2.setActiveClickItemIndex, z$e = N2.setMouseOverAxisIndex, B$e = N2.setMouseClickAxisIndex, P2 = N2.setSyncInteraction, F2 = N2.setKeyboardInteraction, V$e = A$e.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function V$e(e, t) {
+function H$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88262,27 +88299,27 @@ function V$e(e, t) {
function I2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? V$e(Object(n), !0).forEach(function(t) {
- H$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V$e(Object(n)).forEach(function(t) {
+ t % 2 ? H$e(Object(n), !0).forEach(function(t) {
+ U$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function H$e(e, t, n) {
- return (t = U$e(t)) in e ? Object.defineProperty(e, t, {
+function U$e(e, t, n) {
+ return (t = W$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function U$e(e) {
- var t = W$e(e, "string");
+function W$e(e) {
+ var t = G$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function W$e(e, t) {
+function G$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88292,21 +88329,21 @@ function W$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function G$e(e, t, n) {
+function K$e(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function K$e(e) {
+function q$e(e) {
return e.index != null;
}
-var q$e = (e, t, n, r) => {
+var J$e = (e, t, n, r) => {
if (t == null) return M2;
- var i = G$e(e, t, n);
+ var i = K$e(e, t, n);
if (i == null) return M2;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (K$e(i)) {
+ if (q$e(i)) {
if (a) return I2(I2({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -88319,7 +88356,7 @@ var q$e = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function J$e(e) {
+function Y$e(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -88328,14 +88365,14 @@ function J$e(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Y$e(e, t) {
- var n = J$e(e), r = t[0], i = t[1];
+function X$e(e, t) {
+ var n = Y$e(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function X$e(e, t, n) {
+function Z$e(e, t, n) {
if (n == null || t == null) return !0;
var r = tQ(e, t);
- return r == null || !f$(n) || Y$e(r, n);
+ return r == null || !f$(n) || X$e(r, n);
}
var L2 = (e, t, n, r) => {
var i = e?.index;
@@ -88345,8 +88382,8 @@ var L2 = (e, t, n, r) => {
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || X$e(l, n, r) ? String(c) : null;
-}, Z$e = (e, t, n, r, i, a, o) => {
+ return l == null || Z$e(l, n, r) ? String(c) : null;
+}, Q$e = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -88362,7 +88399,7 @@ var L2 = (e, t, n, r) => {
};
}
}
-}, Q$e = (e, t, n, r) => {
+}, $$e = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -88372,10 +88409,10 @@ var L2 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, $$e = (e) => e.options.tooltipPayloadSearcher, R2 = (e) => e.tooltip;
+}, e1e = (e) => e.options.tooltipPayloadSearcher, R2 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function e1e(e, t) {
+function t1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88385,30 +88422,30 @@ function e1e(e, t) {
}
return n;
}
-function t1e(e) {
+function n1e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? e1e(Object(n), !0).forEach(function(t) {
- n1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e1e(Object(n)).forEach(function(t) {
+ t % 2 ? t1e(Object(n), !0).forEach(function(t) {
+ r1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function n1e(e, t, n) {
- return (t = r1e(t)) in e ? Object.defineProperty(e, t, {
+function r1e(e, t, n) {
+ return (t = i1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r1e(e) {
- var t = i1e(e, "string");
+function i1e(e) {
+ var t = a1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i1e(e, t) {
+function a1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88418,52 +88455,52 @@ function i1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function a1e(e) {
+function o1e(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function o1e(e) {
+function s1e(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function s1e(e) {
+function c1e(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function c1e(e) {
+function l1e(e) {
if (typeof e == "string") return e;
}
-function l1e(e) {
+function u1e(e) {
if (typeof e == "object" && e) return {
- name: "name" in e ? a1e(e.name) : void 0,
- unit: "unit" in e ? o1e(e.unit) : void 0,
- dataKey: "dataKey" in e ? s1e(e.dataKey) : void 0,
+ name: "name" in e ? o1e(e.name) : void 0,
+ unit: "unit" in e ? s1e(e.unit) : void 0,
+ dataKey: "dataKey" in e ? c1e(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? c1e(e.color) : void 0,
- fill: "fill" in e ? c1e(e.fill) : void 0
+ color: "color" in e ? l1e(e.color) : void 0,
+ fill: "fill" in e ? l1e(e.fill) : void 0
};
}
-function u1e(e, t) {
+function d1e(e, t) {
return e ?? t;
}
-var d1e = (e, t, n, r, i, a, o) => {
+var f1e = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
- var d = n.dataDefinedOnItem, f = n.settings, p = u1e(d, s), m = Array.isArray(p) ? bHe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = TJ(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
- var n = l1e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = t1e(t1e({}, f), {}, {
+ var d = n.dataDefinedOnItem, f = n.settings, p = d1e(d, s), m = Array.isArray(p) ? xHe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = EJ(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ var n = u1e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = n1e(n1e({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(LHe({
+ e.push(RHe({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
value: tQ(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(LHe({
+ }) : e.push(RHe({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
@@ -88474,14 +88511,14 @@ var d1e = (e, t, n, r, i, a, o) => {
}
}, z2 = Y([
r2,
- uQe,
+ dQe,
b$
-], KZe), B2 = Y([
+], qZe), B2 = Y([
Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
r2,
Y([V$, H$], q0)
-], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), f1e = Y([B2], (e) => e.filter(R$)), p1e = Y([B2], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), m1e = Y([B2], (e) => e.some((e) => !e.data)), V2 = Y([p1e, c$], Q0), h1e = Y([
- f1e,
+], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), p1e = Y([B2], (e) => e.filter(R$)), m1e = Y([B2], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), h1e = Y([B2], (e) => e.some((e) => !e.data)), V2 = Y([m1e, c$], Q0), g1e = Y([
+ p1e,
c$,
r2
], L$), H2 = Y([
@@ -88489,34 +88526,34 @@ var d1e = (e, t, n, r, i, a, o) => {
r2,
B2,
c$,
- m1e,
- p1e
-], vQe), g1e = Y([r2], s2), _1e = Y([g1e, Y([r2], (e) => e.allowDataOverflow)], Tqe), v1e = Y([
+ h1e,
+ m1e
+], yQe), _1e = Y([r2], s2), v1e = Y([_1e, Y([r2], (e) => e.allowDataOverflow)], Eqe), y1e = Y([
Y([
- h1e,
+ g1e,
Y([B2], (e) => e.filter(R$)),
v$,
y$
], a2),
c$,
V$,
- _1e
-], TQe), y1e = Y([
+ v1e
+], EQe), b1e = Y([
V2,
r2,
- Y([B2], pQe),
+ Y([B2], mQe),
u2,
V$,
- vqe
-], f2, { memoizeOptions: { resultEqualityCheck: z$ } }), b1e = Y([Y([
- MQe,
+ yqe
+], f2, { memoizeOptions: { resultEqualityCheck: z$ } }), x1e = Y([Y([
+ NQe,
V$,
H$
-], p2), V$], RQe), x1e = Y([Y([
- PQe,
+], p2), V$], zQe), S1e = Y([Y([
+ FQe,
V$,
H$
-], p2), V$], BQe), U2 = Y([
+], p2), V$], VQe), U2 = Y([
r2,
DQ,
V2,
@@ -88525,23 +88562,23 @@ var d1e = (e, t, n, r, i, a, o) => {
V$,
Y([
r2,
- g1e,
_1e,
v1e,
y1e,
+ b1e,
Y([
- b1e,
+ x1e,
Y([Y([
- IQe,
+ LQe,
V$,
H$
- ], p2), V$], WQe),
- x1e
+ ], p2), V$], GQe),
+ S1e
], d2),
DQ,
V$
], m2)
-], h2), S1e = Y([
+], h2), C1e = Y([
r2,
U2,
Y([
@@ -88550,23 +88587,23 @@ var d1e = (e, t, n, r, i, a, o) => {
z2
], v2),
V$
-], b2), C1e = (e) => x2(e, V$(e), H$(e), !1), w1e = Y([r2, C1e], E$), T1e = Y([Y([
+], b2), w1e = (e) => x2(e, V$(e), H$(e), !1), T1e = Y([r2, w1e], E$), E1e = Y([Y([
r2,
z2,
- S1e,
- w1e
+ C1e,
+ T1e
], L0)], U$), W2 = Y([
DQ,
r2,
z2,
- T1e,
- C1e,
+ E1e,
+ w1e,
Y([
DQ,
H2,
r2,
V$
- ], _$e),
+ ], v$e),
Y([
DQ,
H2,
@@ -88579,7 +88616,7 @@ var d1e = (e, t, n, r, i, a, o) => {
var c = t.type, l = nQ(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? gJ(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? _J(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + d,
@@ -88587,7 +88624,7 @@ var d1e = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(OJ) : r.domain().map((e, t) => {
+ }).filter(kJ) : r.domain().map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + d,
@@ -88595,49 +88632,49 @@ var d1e = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(OJ);
+ }).filter(kJ);
}
}
}), G2 = Y([
- C$e,
w$e,
- O$e
-], (e, t, n) => T$e(n.shared, e, t)), E1e = (e) => e.tooltip.settings.trigger, K2 = (e) => e.tooltip.settings.defaultIndex, q2 = Y([
+ T$e,
+ k$e
+], (e, t, n) => E$e(n.shared, e, t)), D1e = (e) => e.tooltip.settings.trigger, K2 = (e) => e.tooltip.settings.defaultIndex, q2 = Y([
R2,
G2,
- E1e,
+ D1e,
K2
-], q$e), J2 = Y([
+], J$e), J2 = Y([
q2,
V2,
i2,
U2
-], L2), D1e = Y([W2, J2], D$e), O1e = Y([q2], (e) => {
+], L2), O1e = Y([W2, J2], O$e), k1e = Y([q2], (e) => {
if (e) return e.dataKey;
-}), k1e = Y([q2], (e) => {
+}), A1e = Y([q2], (e) => {
if (e) return e.graphicalItemId;
-}), A1e = Y([
+}), j1e = Y([
R2,
G2,
- E1e,
+ D1e,
K2
-], Q$e), j1e = Y([q2, Y([
+], $$e), M1e = Y([q2, Y([
cQ,
lQ,
DQ,
mQ,
W2,
K2,
- A1e
-], Z$e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), M1e = Y([q2], (e) => e?.active ?? !1), N1e = Y([Y([
- A1e,
+ j1e
+], Q$e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), N1e = Y([q2], (e) => e?.active ?? !1), P1e = Y([Y([
+ j1e,
J2,
c$,
i2,
- D1e,
- $$e,
+ O1e,
+ e1e,
G2
-], d1e)], (e) => {
+], f1e)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -88645,7 +88682,7 @@ var d1e = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function P1e(e, t) {
+function F1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88655,30 +88692,30 @@ function P1e(e, t) {
}
return n;
}
-function F1e(e) {
+function I1e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? P1e(Object(n), !0).forEach(function(t) {
- I1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P1e(Object(n)).forEach(function(t) {
+ t % 2 ? F1e(Object(n), !0).forEach(function(t) {
+ L1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function I1e(e, t, n) {
- return (t = L1e(t)) in e ? Object.defineProperty(e, t, {
+function L1e(e, t, n) {
+ return (t = R1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function L1e(e) {
- var t = R1e(e, "string");
+function R1e(e) {
+ var t = z1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function R1e(e, t) {
+function z1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88688,13 +88725,13 @@ function R1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var z1e = () => jX(r2), B1e = () => {
- var e = z1e(), t = jX(W2), n = jX(T1e);
- return oQ(!e || !n ? void 0 : F1e(F1e({}, e), {}, { scale: n }), t);
+var B1e = () => MX(r2), V1e = () => {
+ var e = B1e(), t = MX(W2), n = MX(E1e);
+ return oQ(!e || !n ? void 0 : I1e(I1e({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function V1e(e, t) {
+function H1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88707,27 +88744,27 @@ function V1e(e, t) {
function Y2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? V1e(Object(n), !0).forEach(function(t) {
- H1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V1e(Object(n)).forEach(function(t) {
+ t % 2 ? H1e(Object(n), !0).forEach(function(t) {
+ U1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function H1e(e, t, n) {
- return (t = U1e(t)) in e ? Object.defineProperty(e, t, {
+function U1e(e, t, n) {
+ return (t = W1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function U1e(e) {
- var t = W1e(e, "string");
+function W1e(e) {
+ var t = G1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function W1e(e, t) {
+function G1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88737,7 +88774,7 @@ function W1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var G1e = (e, t, n, r) => {
+var K1e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -88753,7 +88790,7 @@ var G1e = (e, t, n, r) => {
x: 0,
y: 0
};
-}, K1e = (e, t, n, r) => {
+}, q1e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -88783,11 +88820,11 @@ var G1e = (e, t, n, r) => {
y: 0
};
};
-function q1e(e, t) {
+function J1e(e, t) {
var n = e.relativeX, r = e.relativeY;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var J1e = (e, t, n, r, i) => {
+var Y1e = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [
@@ -88797,9 +88834,9 @@ var J1e = (e, t, n, r, i) => {
].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {
var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;
if (l != null && u != null && d != null) {
- if (gJ(u - l) !== gJ(d - u)) {
+ if (_J(u - l) !== _J(d - u)) {
var p = [];
- if (gJ(d - u) === gJ(i[1] - i[0])) {
+ if (_J(d - u) === _J(i[1] - i[0])) {
f = d;
var m = u + i[1] - i[0];
p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);
@@ -88824,78 +88861,78 @@ var J1e = (e, t, n, r, i) => {
}
}
return -1;
-}, Y1e = () => jX(b$), X2 = (e, t) => t, X1e = (e, t, n) => n, Z2 = (e, t, n, r) => r, Z1e = Y(W2, (e) => IX(e, (e) => e.coordinate)), Q2 = Y([
+}, X1e = () => MX(b$), X2 = (e, t) => t, Z1e = (e, t, n) => n, Z2 = (e, t, n, r) => r, Q1e = Y(W2, (e) => IX(e, (e) => e.coordinate)), Q2 = Y([
R2,
X2,
- X1e,
+ Z1e,
Z2
-], q$e), $2 = Y([
+], J$e), $2 = Y([
Q2,
V2,
i2,
U2
-], L2), Q1e = (e, t, n) => {
+], L2), $1e = (e, t, n) => {
if (t != null) {
var r = R2(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, $1e = Y([
+}, e0e = Y([
R2,
X2,
- X1e,
+ Z1e,
Z2
-], Q$e), e4 = Y([
+], $$e), e4 = Y([
cQ,
lQ,
DQ,
mQ,
W2,
Z2,
- $1e
-], Z$e), e0e = Y([Q2, e4], (e, t) => e.coordinate ?? t), t0e = Y([W2, $2], D$e), n0e = Y([
- $1e,
+ e0e
+], Q$e), t0e = Y([Q2, e4], (e, t) => e.coordinate ?? t), n0e = Y([W2, $2], O$e), r0e = Y([
+ e0e,
$2,
c$,
i2,
- t0e,
- $$e,
+ n0e,
+ e1e,
X2
-], d1e), r0e = Y([Q2, $2], (e, t) => ({
+], f1e), i0e = Y([Q2, $2], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), i0e = (e, t, n, r, i, a, o) => {
- if (e && n && r && i && q1e(e, o)) {
- var s = J1e(RHe(e, t), a, i, n, r), c = G1e(t, i, s, e);
+})), a0e = (e, t, n, r, i, a, o) => {
+ if (e && n && r && i && J1e(e, o)) {
+ var s = Y1e(zHe(e, t), a, i, n, r), c = K1e(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, a0e = (e, t, n, r, i, a, o) => {
+}, o0e = (e, t, n, r, i, a, o) => {
if (e && r && i && a && n) {
- var s = $Ke(e, n);
+ var s = eqe(e, n);
if (s) {
- var c = J1e(zHe(s, t), o, a, r, i), l = K1e(t, a, c, s);
+ var c = Y1e(BHe(s, t), o, a, r, i), l = q1e(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, o0e = (e, t, n, r, i, a, o, s) => {
- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? i0e(e, t, r, i, a, o, s) : a0e(e, t, n, r, i, a, o);
-}, s0e = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, s0e = (e, t, n, r, i, a, o, s) => {
+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? a0e(e, t, r, i, a, o, s) : o0e(e, t, n, r, i, a, o);
+}, c0e = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), c0e = Y((e) => e.zIndex.zIndexMap, (e) => {
+}), l0e = Y((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(C$));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: nJe } });
+}, { memoizeOptions: { resultEqualityCheck: rJe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function l0e(e, t) {
+function u0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88905,30 +88942,30 @@ function l0e(e, t) {
}
return n;
}
-function u0e(e) {
+function d0e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? l0e(Object(n), !0).forEach(function(t) {
- d0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l0e(Object(n)).forEach(function(t) {
+ t % 2 ? u0e(Object(n), !0).forEach(function(t) {
+ f0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function d0e(e, t, n) {
- return (t = f0e(t)) in e ? Object.defineProperty(e, t, {
+function f0e(e, t, n) {
+ return (t = p0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function f0e(e) {
- var t = p0e(e, "string");
+function p0e(e) {
+ var t = m0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function p0e(e, t) {
+function m0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88938,17 +88975,17 @@ function p0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var m0e = { zIndexMap: Object.values(C$).reduce((e, t) => u0e(u0e({}, e), {}, { [t]: {
+var h0e = { zIndexMap: Object.values(C$).reduce((e, t) => d0e(d0e({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, h0e = new Set(Object.values(C$));
-function g0e(e) {
- return h0e.has(e);
+} }), {}) }, g0e = new Set(Object.values(C$));
+function _0e(e) {
+ return g0e.has(e);
}
-var _0e = LZ({
+var v0e = LZ({
name: "zIndex",
- initialState: m0e,
+ initialState: h0e,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -88964,7 +89001,7 @@ var _0e = LZ({
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !g0e(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !_0e(n) && delete e.zIndexMap[n]);
},
prepare: IZ()
},
@@ -88987,18 +89024,18 @@ var _0e = LZ({
prepare: IZ()
}
}
-}), t4 = _0e.actions, v0e = t4.registerZIndexPortal, n4 = t4.unregisterZIndexPortal, y0e = t4.registerZIndexPortalElement, b0e = t4.unregisterZIndexPortalElement, x0e = _0e.reducer;
+}), t4 = v0e.actions, y0e = t4.registerZIndexPortal, n4 = t4.unregisterZIndexPortal, b0e = t4.registerZIndexPortalElement, x0e = t4.unregisterZIndexPortalElement, S0e = v0e.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function r4(e) {
- var t = e.zIndex, n = e.children, r = AUe() && t !== void 0 && t !== 0, i = gQ(), a = (0, S.useRef)(void 0), o = (0, S.useRef)(/* @__PURE__ */ new Set()), s = kX(), c = jX((e) => s0e(e, t, i));
+ var t = e.zIndex, n = e.children, r = jUe() && t !== void 0 && t !== 0, i = gQ(), a = (0, S.useRef)(void 0), o = (0, S.useRef)(/* @__PURE__ */ new Set()), s = AX(), c = MX((e) => c0e(e, t, i));
if ((0, S.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
e.forEach((e) => {
s(n4({ zIndex: e }));
}), e.clear(), a.current = void 0;
- } else if (o.current.has(t) || (s(v0e({ zIndex: t })), o.current.add(t)), c) {
+ } else if (o.current.has(t) || (s(y0e({ zIndex: t })), o.current.add(t)), c) {
a.current = c;
var n = o.current;
n.forEach((e) => {
@@ -89032,7 +89069,7 @@ function i4() {
return e;
}, i4.apply(null, arguments);
}
-function S0e(e, t) {
+function C0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89045,27 +89082,27 @@ function S0e(e, t) {
function a4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S0e(Object(n), !0).forEach(function(t) {
- C0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0e(Object(n)).forEach(function(t) {
+ t % 2 ? C0e(Object(n), !0).forEach(function(t) {
+ w0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function C0e(e, t, n) {
- return (t = w0e(t)) in e ? Object.defineProperty(e, t, {
+function w0e(e, t, n) {
+ return (t = T0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function w0e(e) {
- var t = T0e(e, "string");
+function T0e(e) {
+ var t = E0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function T0e(e, t) {
+function E0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89075,18 +89112,18 @@ function T0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function E0e(e) {
+function D0e(e) {
var t = e.cursor, n = e.cursorComp, r = e.cursorProps;
return /*#__PURE__*/ (0, S.isValidElement)(t) ? /*#__PURE__*/ (0, S.cloneElement)(t, r) : /*#__PURE__*/ (0, S.createElement)(n, r);
}
-function D0e(e) {
+function O0e(e) {
var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = NGe, h = C$.cursorLine;
- else if (l === "BarChart") p = PGe(o, u, i, a), m = $Q, h = C$.cursorRectangle;
- else if (o === "radial" && MY(u)) {
- var g = eqe(u), _ = g.cx, v = g.cy, y = g.radius;
+ if (l === "ScatterChart") p = u, m = PGe, h = C$.cursorLine;
+ else if (l === "BarChart") p = FGe(o, u, i, a), m = $Q, h = C$.cursorRectangle;
+ else if (o === "radial" && NY(u)) {
+ var g = tqe(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
cy: v,
@@ -89095,24 +89132,24 @@ function D0e(e) {
innerRadius: y,
outerRadius: y
}, m = o$, h = C$.cursorLine;
- } else p = { points: fqe(o, u, i) }, m = qQ, h = C$.cursorLine;
+ } else p = { points: pqe(o, u, i) }, m = qQ, h = C$.cursorLine;
var b = typeof s == "object" && "className" in s ? s.className : void 0, x = a4(a4(a4(a4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), tJ(s)), {}, {
+ }, i), p), nJ(s)), {}, {
payload: d,
payloadIndex: f,
- className: ry("recharts-tooltip-cursor", b)
+ className: ny("recharts-tooltip-cursor", b)
});
- return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ S.createElement(E0e, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ S.createElement(D0e, {
cursor: s,
cursorComp: m,
cursorProps: x
}));
}
-function O0e(e) {
- var t = B1e(), n = OUe(), r = OQ(), i = Y1e();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ S.createElement(D0e, i4({}, e, {
+function k0e(e) {
+ var t = V1e(), n = kUe(), r = OQ(), i = X1e();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ S.createElement(O0e, i4({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -89121,7 +89158,7 @@ function O0e(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var k0e = /*#__PURE__*/ (0, S.createContext)(null), A0e = () => (0, S.useContext)(k0e), j0e = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var A0e = /*#__PURE__*/ (0, S.createContext)(null), j0e = () => (0, S.useContext)(A0e), M0e = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -89208,12 +89245,12 @@ var k0e = /*#__PURE__*/ (0, S.createContext)(null), A0e = () => (0, S.useContext
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, o4 = new j0e(), s4 = "recharts.syncEvent.tooltip", M0e = "recharts.syncEvent.brush", c4 = (e, t) => {
+})))(), 1)).default, o4 = new M0e(), s4 = "recharts.syncEvent.tooltip", N0e = "recharts.syncEvent.brush", c4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!_J(n)) return e[n];
+ if (!vJ(n)) return e[n];
}
-}, N0e = LZ({
+}, P0e = LZ({
name: "options",
initialState: {
chartName: "",
@@ -89224,13 +89261,13 @@ var k0e = /*#__PURE__*/ (0, S.createContext)(null), A0e = () => (0, S.useContext
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), P0e = N0e.reducer, F0e = N0e.actions.createEventEmitter;
+}), F0e = P0e.reducer, I0e = P0e.actions.createEventEmitter;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function I0e(e) {
+function L0e(e) {
return e.tooltip.syncInteraction;
}
-var L0e = LZ({
+var R0e = LZ({
name: "chartData",
initialState: {
chartData: void 0,
@@ -89250,10 +89287,10 @@ var L0e = LZ({
r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);
}
}
-}), l4 = L0e.actions, R0e = l4.setChartData, z0e = l4.setDataStartEndIndexes;
+}), l4 = R0e.actions, z0e = l4.setChartData, B0e = l4.setDataStartEndIndexes;
l4.setComputedData;
-var B0e = L0e.reducer, V0e = ["x", "y"];
-function H0e(e, t) {
+var V0e = R0e.reducer, H0e = ["x", "y"];
+function U0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89266,27 +89303,27 @@ function H0e(e, t) {
function u4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? H0e(Object(n), !0).forEach(function(t) {
- U0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H0e(Object(n)).forEach(function(t) {
+ t % 2 ? U0e(Object(n), !0).forEach(function(t) {
+ W0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function U0e(e, t, n) {
- return (t = W0e(t)) in e ? Object.defineProperty(e, t, {
+function W0e(e, t, n) {
+ return (t = G0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function W0e(e) {
- var t = G0e(e, "string");
+function G0e(e) {
+ var t = K0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function G0e(e, t) {
+function K0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89296,16 +89333,16 @@ function G0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function K0e(e, t) {
+function q0e(e, t) {
if (e == null) return {};
- var n, r, i = q0e(e, t);
+ var n, r, i = J0e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function q0e(e, t) {
+function J0e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89314,10 +89351,10 @@ function q0e(e, t) {
}
return n;
}
-function J0e() {
- var e = jX(x$), t = jX(S$), n = kX(), r = jX(Hqe), i = jX(W2), a = OQ(), o = wQ(), s = jX((e) => e.rootProps.className);
+function Y0e() {
+ var e = MX(x$), t = MX(S$), n = AX(), r = MX(Uqe), i = MX(W2), a = OQ(), o = wQ(), s = MX((e) => e.rootProps.className);
(0, S.useEffect)(() => {
- if (e == null) return kJ;
+ if (e == null) return AJ;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (c.payload.active === !1) n(P2({
@@ -89332,7 +89369,7 @@ function J0e() {
else if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, f = d.x, p = d.y, m = K0e(d, V0e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = u4(u4({}, m), {}, {
+ var d = c.payload.coordinate, f = d.x, p = d.y, m = q0e(d, H0e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = u4(u4({}, m), {}, {
x: o.x + (v ? (f - g) / v : 0) * o.width,
y: o.y + (y ? (p - _) / y : 0) * o.height
});
@@ -89399,15 +89436,15 @@ function J0e() {
o
]);
}
-function Y0e() {
- var e = jX(x$), t = jX(S$), n = kX();
+function X0e() {
+ var e = MX(x$), t = MX(S$), n = AX();
(0, S.useEffect)(() => {
- if (e == null) return kJ;
+ if (e == null) return AJ;
var r = (r, i, a) => {
- t !== a && e === r && n(z0e(i));
+ t !== a && e === r && n(B0e(i));
};
- return o4.on(M0e, r), () => {
- o4.off(M0e, r);
+ return o4.on(N0e, r), () => {
+ o4.off(N0e, r);
};
}, [
n,
@@ -89415,14 +89452,14 @@ function Y0e() {
e
]);
}
-function X0e() {
- var e = kX();
+function Z0e() {
+ var e = AX();
(0, S.useEffect)(() => {
- e(F0e());
- }, [e]), J0e(), Y0e();
+ e(I0e());
+ }, [e]), Y0e(), X0e();
}
-function Z0e(e, t, n, r, i, a) {
- var o = jX((n) => Q1e(n, e, t)), s = jX(k1e), c = jX(S$), l = jX(x$), u = jX(Hqe), d = jX(I0e)?.sourceViewBox != null, f = wQ();
+function Q0e(e, t, n, r, i, a) {
+ var o = MX((n) => $1e(n, e, t)), s = MX(A1e), c = MX(S$), l = MX(x$), u = MX(Uqe), d = MX(L0e)?.sourceViewBox != null, f = wQ();
(0, S.useEffect)(() => {
if (!d && l != null && c != null) {
var e = P2({
@@ -89452,7 +89489,7 @@ function Z0e(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function Q0e(e, t) {
+function $0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89462,30 +89499,30 @@ function Q0e(e, t) {
}
return n;
}
-function $0e(e) {
+function e2e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Q0e(Object(n), !0).forEach(function(t) {
- e2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0e(Object(n)).forEach(function(t) {
+ t % 2 ? $0e(Object(n), !0).forEach(function(t) {
+ t2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function e2e(e, t, n) {
- return (t = t2e(t)) in e ? Object.defineProperty(e, t, {
+function t2e(e, t, n) {
+ return (t = n2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function t2e(e) {
- var t = n2e(e, "string");
+function n2e(e) {
+ var t = r2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function n2e(e, t) {
+function r2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89495,25 +89532,25 @@ function n2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function r2e(e, t) {
- return c2e(e) || s2e(e, t) || a2e(e, t) || i2e();
+function i2e(e, t) {
+ return l2e(e) || c2e(e, t) || o2e(e, t) || a2e();
}
-function i2e() {
+function a2e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function a2e(e, t) {
+function o2e(e, t) {
if (e) {
- if (typeof e == "string") return o2e(e, t);
+ if (typeof e == "string") return s2e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o2e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s2e(e, t) : void 0;
}
}
-function o2e(e, t) {
+function s2e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function s2e(e, t) {
+function c2e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -89534,16 +89571,16 @@ function s2e(e, t) {
return s;
}
}
-function c2e(e) {
+function l2e(e) {
if (Array.isArray(e)) return e;
}
-function l2e(e) {
+function u2e(e) {
return e.dataKey;
}
-function u2e(e, t) {
- return /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ S.createElement(e, t) : /*#__PURE__*/ S.createElement(VWe, t);
+function d2e(e, t) {
+ return /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ S.createElement(e, t) : /*#__PURE__*/ S.createElement(HWe, t);
}
-var d2e = [], f2e = {
+var f2e = [], p2e = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -89569,10 +89606,10 @@ var d2e = [], f2e = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function p2e(e) {
- var t = IY(e, f2e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = kX(), C = typeof v == "number" ? String(v) : v;
+function m2e(e) {
+ var t = LY(e, p2e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = AX(), C = typeof v == "number" ? String(v) : v;
(0, S.useEffect)(() => {
- x(N$e({
+ x(P$e({
shared: g,
trigger: _,
axisId: b,
@@ -89587,20 +89624,20 @@ function p2e(e) {
n,
C
]);
- var w = wQ(), T = pGe(), E = E$e(g), D = jX((e) => r0e(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = jX((e) => n0e(e, E, _, C)), j = jX((e) => t0e(e, E, _, C)), M = jX((e) => e0e(e, E, _, C)), N = A, P = A0e(), F = n ?? k ?? !1, I = r2e(MBe([N, F]), 2), ee = I[0], L = I[1], te = E === "axis" ? j : void 0;
- Z0e(E, _, M, te, O, F);
+ var w = wQ(), T = mGe(), E = D$e(g), D = MX((e) => i0e(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = MX((e) => r0e(e, E, _, C)), j = MX((e) => n0e(e, E, _, C)), M = MX((e) => t0e(e, E, _, C)), N = A, P = j0e(), F = n ?? k ?? !1, I = i2e(NBe([N, F]), 2), ee = I[0], L = I[1], te = E === "axis" ? j : void 0;
+ Q0e(E, _, M, te, O, F);
var ne = y ?? P;
if (ne == null || w == null || E == null) return null;
- var re = N ?? d2e;
- F || (re = d2e), s && re.length && (re = DX(re.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, l2e));
- var ie = re.length > 0, ae = $0e($0e({}, t), {}, {
+ var re = N ?? f2e;
+ F || (re = f2e), s && re.length && (re = OX(re.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, u2e));
+ var ie = re.length > 0, ae = e2e(e2e({}, t), {}, {
payload: re,
label: te,
active: F,
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), oe = /*#__PURE__*/ S.createElement(fGe, {
+ }), oe = /*#__PURE__*/ S.createElement(pGe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -89617,8 +89654,8 @@ function p2e(e) {
lastBoundingBox: ee,
innerRef: L,
hasPortalFromProps: !!y
- }, u2e(o, ae));
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ (0, gt.createPortal)(oe, ne), F && /*#__PURE__*/ S.createElement(O0e, {
+ }, d2e(o, ae));
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ (0, gt.createPortal)(oe, ne), F && /*#__PURE__*/ S.createElement(k0e, {
cursor: h,
tooltipEventType: E,
coordinate: M,
@@ -89632,19 +89669,19 @@ var d4 = (e) => null;
d4.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function m2e(e, t, n) {
- return (t = h2e(t)) in e ? Object.defineProperty(e, t, {
+function h2e(e, t, n) {
+ return (t = g2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function h2e(e) {
- var t = g2e(e, "string");
+function g2e(e) {
+ var t = _2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function g2e(e, t) {
+function _2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89654,9 +89691,9 @@ function g2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _2e = class {
+var v2e = class {
constructor(e) {
- m2e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ h2e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -89679,7 +89716,7 @@ var _2e = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function v2e(e, t) {
+function y2e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89689,30 +89726,30 @@ function v2e(e, t) {
}
return n;
}
-function y2e(e) {
+function b2e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? v2e(Object(n), !0).forEach(function(t) {
- b2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2e(Object(n)).forEach(function(t) {
+ t % 2 ? y2e(Object(n), !0).forEach(function(t) {
+ x2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function b2e(e, t, n) {
- return (t = x2e(t)) in e ? Object.defineProperty(e, t, {
+function x2e(e, t, n) {
+ return (t = S2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function x2e(e) {
- var t = S2e(e, "string");
+function S2e(e) {
+ var t = C2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function S2e(e, t) {
+function C2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89722,10 +89759,10 @@ function S2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var C2e = y2e({}, {
+var w2e = b2e({}, {
cacheSize: 2e3,
enableCache: !0
-}), w2e = new _2e(C2e.cacheSize), T2e = {
+}), T2e = new v2e(w2e.cacheSize), E2e = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -89733,14 +89770,14 @@ var C2e = y2e({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, E2e = "recharts_measurement_span";
-function D2e(e, t) {
+}, D2e = "recharts_measurement_span";
+function O2e(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var O2e = (e, t) => {
+var k2e = (e, t) => {
try {
- var n = document.getElementById(E2e);
- n || (n = document.createElement("span"), n.setAttribute("id", E2e), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, T2e, t), n.textContent = `${e}`;
+ var n = document.getElementById(D2e);
+ n || (n = document.createElement("span"), n.setAttribute("id", D2e), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, E2e, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -89758,31 +89795,31 @@ var O2e = (e, t) => {
width: 0,
height: 0
};
- if (!C2e.enableCache) return O2e(e, t);
- var n = D2e(e, t), r = w2e.get(n);
+ if (!w2e.enableCache) return k2e(e, t);
+ var n = O2e(e, t), r = T2e.get(n);
if (r) return r;
- var i = O2e(e, t);
- return w2e.set(n, i), i;
-}, k2e;
+ var i = k2e(e, t);
+ return T2e.set(n, i), i;
+}, A2e;
function p4(e, t) {
- return P2e(e) || N2e(e, t) || j2e(e, t) || A2e();
+ return F2e(e) || P2e(e, t) || M2e(e, t) || j2e();
}
-function A2e() {
+function j2e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function j2e(e, t) {
+function M2e(e, t) {
if (e) {
- if (typeof e == "string") return M2e(e, t);
+ if (typeof e == "string") return N2e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? M2e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? N2e(e, t) : void 0;
}
}
-function M2e(e, t) {
+function N2e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function N2e(e, t) {
+function P2e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -89803,22 +89840,22 @@ function N2e(e, t) {
return s;
}
}
-function P2e(e) {
+function F2e(e) {
if (Array.isArray(e)) return e;
}
-function F2e(e, t, n) {
- return (t = I2e(t)) in e ? Object.defineProperty(e, t, {
+function I2e(e, t, n) {
+ return (t = L2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function I2e(e) {
- var t = L2e(e, "string");
+function L2e(e) {
+ var t = R2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function L2e(e, t) {
+function R2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89828,7 +89865,7 @@ function L2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var R2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, z2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, B2e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, V2e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, H2e = {
+var z2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, B2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, V2e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, H2e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, U2e = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -89836,7 +89873,7 @@ var R2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, z2e =
in: 96,
Q: 96 / 101.6,
px: 1
-}, U2e = [
+}, W2e = [
"cm",
"mm",
"pt",
@@ -89845,20 +89882,20 @@ var R2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, z2e =
"Q",
"px"
];
-function W2e(e) {
- return U2e.includes(e);
+function G2e(e) {
+ return W2e.includes(e);
}
var m4 = "NaN";
-function G2e(e, t) {
- return e * H2e[t];
+function K2e(e, t) {
+ return e * U2e[t];
}
var h4 = class e {
static parse(t) {
- var n = p4(V2e.exec(t) ?? [], 3), r = n[1], i = n[2];
+ var n = p4(H2e.exec(t) ?? [], 3), r = n[1], i = n[2];
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, _J(e) && (this.unit = ""), t !== "" && !B2e.test(t) && (this.num = NaN, this.unit = ""), W2e(t) && (this.num = G2e(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, vJ(e) && (this.unit = ""), t !== "" && !V2e.test(t) && (this.num = NaN, this.unit = ""), G2e(t) && (this.num = K2e(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -89876,50 +89913,50 @@ var h4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return _J(this.num);
+ return vJ(this.num);
}
};
-k2e = h4, F2e(h4, "NaN", new k2e(NaN, ""));
-function K2e(e) {
+A2e = h4, I2e(h4, "NaN", new A2e(NaN, ""));
+function q2e(e) {
if (e == null || e.includes(m4)) return m4;
for (var t = e; t.includes("*") || t.includes("/");) {
- var n = p4(R2e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = h4.parse(r ?? ""), s = h4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
+ var n = p4(z2e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = h4.parse(r ?? ""), s = h4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
if (c.isNaN()) return m4;
- t = t.replace(R2e, c.toString());
+ t = t.replace(z2e, c.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var l = p4(z2e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = h4.parse(u ?? ""), m = h4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
+ var l = p4(B2e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = h4.parse(u ?? ""), m = h4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
if (h.isNaN()) return m4;
- t = t.replace(z2e, h.toString());
+ t = t.replace(B2e, h.toString());
}
return t;
}
-var q2e = /\(([^()]*)\)/;
-function J2e(e) {
- for (var t = e, n; (n = q2e.exec(t)) != null;) {
+var J2e = /\(([^()]*)\)/;
+function Y2e(e) {
+ for (var t = e, n; (n = J2e.exec(t)) != null;) {
var r = p4(n, 2)[1];
- t = t.replace(q2e, K2e(r));
+ t = t.replace(J2e, q2e(r));
}
return t;
}
-function Y2e(e) {
+function X2e(e) {
var t = e.replace(/\s+/g, "");
- return t = J2e(t), t = K2e(t), t;
+ return t = Y2e(t), t = q2e(t), t;
}
-function X2e(e) {
+function Z2e(e) {
try {
- return Y2e(e);
+ return X2e(e);
} catch {
return m4;
}
}
function g4(e) {
- var t = X2e(e.slice(5, -1));
+ var t = Z2e(e.slice(5, -1));
return t === m4 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var Z2e = [
+var Q2e = [
"x",
"y",
"lineHeight",
@@ -89928,7 +89965,7 @@ var Z2e = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], Q2e = [
+], $2e = [
"dx",
"dy",
"angle",
@@ -89944,16 +89981,16 @@ function _4() {
return e;
}, _4.apply(null, arguments);
}
-function $2e(e, t) {
+function e4e(e, t) {
if (e == null) return {};
- var n, r, i = e4e(e, t);
+ var n, r, i = t4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function e4e(e, t) {
+function t4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89962,25 +89999,25 @@ function e4e(e, t) {
}
return n;
}
-function t4e(e, t) {
- return o4e(e) || a4e(e, t) || r4e(e, t) || n4e();
+function n4e(e, t) {
+ return s4e(e) || o4e(e, t) || i4e(e, t) || r4e();
}
-function n4e() {
+function r4e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function r4e(e, t) {
+function i4e(e, t) {
if (e) {
- if (typeof e == "string") return i4e(e, t);
+ if (typeof e == "string") return a4e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? i4e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? a4e(e, t) : void 0;
}
}
-function i4e(e, t) {
+function a4e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function a4e(e, t) {
+function o4e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -90001,14 +90038,14 @@ function a4e(e, t) {
return s;
}
}
-function o4e(e) {
+function s4e(e) {
if (Array.isArray(e)) return e;
}
-var s4e = /[ \f\n\r\t\v\u2028\u2029]+/, c4e = (e) => {
+var c4e = /[ \f\n\r\t\v\u2028\u2029]+/, l4e = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return EJ(t) || (i = n ? t.toString().split("") : t.toString().split(s4e)), {
+ return DJ(t) || (i = n ? t.toString().split("") : t.toString().split(c4e)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: f4(e, r).width
@@ -90019,13 +90056,13 @@ var s4e = /[ \f\n\r\t\v\u2028\u2029]+/, c4e = (e) => {
return null;
}
};
-function l4e(e) {
+function u4e(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function u4e(e) {
- return EJ(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function d4e(e) {
+ return DJ(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var d4e = (e, t, n, r) => e.reduce((e, i) => {
+var f4e = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -90036,20 +90073,20 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), f4e = (e) => e.reduce((e, t) => e.width > t.width ? e : t), p4e = "…", m4e = (e, t, n, r, i, a, o, s) => {
- var c = c4e({
+}, []), p4e = (e) => e.reduce((e, t) => e.width > t.width ? e : t), m4e = "…", h4e = (e, t, n, r, i, a, o, s) => {
+ var c = l4e({
breakAll: n,
style: r,
- children: e.slice(0, t) + p4e
+ children: e.slice(0, t) + m4e
});
if (!c) return [!1, []];
- var l = d4e(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || f4e(l).width > Number(a), l];
-}, h4e = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = yJ(a), u = String(o), d = d4e(t, r, n, i);
- if (!l || i || !(d.length > a || f4e(d).width > Number(r))) return d;
+ var l = f4e(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || p4e(l).width > Number(a), l];
+}, g4e = (e, t, n, r, i) => {
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = bJ(a), u = String(o), d = f4e(t, r, n, i);
+ if (!l || i || !(d.length > a || p4e(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), _ = t4e(m4e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = t4e(m4e(u, g, c, s, a, r, n, i), 1)[0];
+ var g = Math.floor((f + p) / 2), _ = n4e(h4e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = n4e(h4e(u, g, c, s, a, r, n, i), 1)[0];
if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {
h = y;
break;
@@ -90057,13 +90094,13 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, g4e = (e) => [{
- words: EJ(e) ? [] : e.toString().split(s4e),
+}, _4e = (e) => [{
+ words: DJ(e) ? [] : e.toString().split(c4e),
width: void 0
-}], _4e = (e) => {
+}], v4e = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
if ((t || n) && !VQ.isSsr) {
- var s, c, l = c4e({
+ var s, c, l = l4e({
breakAll: a,
children: r,
style: i
@@ -90071,20 +90108,20 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var u = l.wordsWithComputedWidth, d = l.spaceWidth;
s = u, c = d;
- } else return g4e(r);
- return h4e({
+ } else return _4e(r);
+ return g4e({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return g4e(r);
-}, v4e = "#808080", y4e = {
+ return _4e(r);
+}, y4e = "#808080", b4e = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: v4e,
+ fill: y4e,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
@@ -90092,7 +90129,7 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, v4 = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = IY(e, y4e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = $2e(n, Z2e), f = (0, S.useMemo)(() => _4e({
+ var n = LY(e, b4e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = e4e(n, Q2e), f = (0, S.useMemo)(() => v4e({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -90106,9 +90143,9 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = $2e(d, Q2e);
- if (!bJ(r) || !bJ(i) || f.length === 0) return null;
- var y = Number(r) + (yJ(p) ? p : 0), b = Number(i) + (yJ(m) ? m : 0);
+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = e4e(d, $2e);
+ if (!xJ(r) || !xJ(i) || f.length === 0) return null;
+ var y = Number(r) + (bJ(p) ? p : 0), b = Number(i) + (bJ(m) ? m : 0);
if (!QZ(y) || !QZ(b)) return null;
var x;
switch (u) {
@@ -90123,15 +90160,15 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${yJ(E) && yJ(T) ? E / T : 1})`);
+ C.push(`scale(${bJ(E) && bJ(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", _4({}, nJ(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", _4({}, rJ(v), {
ref: t,
x: y,
y: b,
- className: ry("recharts-text", g),
+ className: ny("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? v4e : s
+ fill: s.includes("url") ? y4e : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ S.createElement("tspan", {
@@ -90144,17 +90181,17 @@ var d4e = (e, t, n, r) => e.reduce((e, i) => {
v4.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/component/Label.js
-var b4e = ["labelRef"], x4e = ["content"];
-function S4e(e, t) {
+var x4e = ["labelRef"], S4e = ["content"];
+function C4e(e, t) {
if (e == null) return {};
- var n, r, i = C4e(e, t);
+ var n, r, i = w4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function C4e(e, t) {
+function w4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90163,7 +90200,7 @@ function C4e(e, t) {
}
return n;
}
-function w4e(e, t) {
+function T4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90176,27 +90213,27 @@ function w4e(e, t) {
function y4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w4e(Object(n), !0).forEach(function(t) {
- T4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w4e(Object(n)).forEach(function(t) {
+ t % 2 ? T4e(Object(n), !0).forEach(function(t) {
+ E4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function T4e(e, t, n) {
- return (t = E4e(t)) in e ? Object.defineProperty(e, t, {
+function E4e(e, t, n) {
+ return (t = D4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function E4e(e) {
- var t = D4e(e, "string");
+function D4e(e) {
+ var t = O4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function D4e(e, t) {
+function O4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90215,7 +90252,7 @@ function b4() {
return e;
}, b4.apply(null, arguments);
}
-var O4e = /*#__PURE__*/ (0, S.createContext)(null), k4e = (e) => {
+var k4e = /*#__PURE__*/ (0, S.createContext)(null), A4e = (e) => {
var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, S.useMemo)(() => ({
x: t,
y: n,
@@ -90231,11 +90268,11 @@ var O4e = /*#__PURE__*/ (0, S.createContext)(null), k4e = (e) => {
a,
o
]);
- return /*#__PURE__*/ S.createElement(O4e.Provider, { value: c }, s);
-}, A4e = () => {
- var e = (0, S.useContext)(O4e), t = wQ();
- return e || (t ? AJ(t) : void 0);
-}, j4e = /*#__PURE__*/ (0, S.createContext)(null), M4e = (e) => {
+ return /*#__PURE__*/ S.createElement(k4e.Provider, { value: c }, s);
+}, j4e = () => {
+ var e = (0, S.useContext)(k4e), t = wQ();
+ return e || (t ? jJ(t) : void 0);
+}, M4e = /*#__PURE__*/ (0, S.createContext)(null), N4e = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, S.useMemo)(() => ({
cx: t,
cy: n,
@@ -90253,15 +90290,15 @@ var O4e = /*#__PURE__*/ (0, S.createContext)(null), k4e = (e) => {
o,
s
]);
- return /*#__PURE__*/ S.createElement(j4e.Provider, { value: l }, c);
-}, N4e = () => {
- var e = (0, S.useContext)(j4e), t = jX(N$);
+ return /*#__PURE__*/ S.createElement(M4e.Provider, { value: l }, c);
+}, P4e = () => {
+ var e = (0, S.useContext)(M4e), t = MX(N$);
return e || t;
-}, P4e = (e) => {
- var t = e.value, n = e.formatter, r = EJ(e.children) ? t : e.children;
+}, F4e = (e) => {
+ var t = e.value, n = e.formatter, r = DJ(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, x4 = (e) => e != null && typeof e == "function", F4e = (e, t) => gJ(t - e) * Math.min(Math.abs(t - e), 360), I4e = (e, t, n, r, i) => {
- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = F4e(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, x4 = (e) => e != null && typeof e == "function", I4e = (e, t) => _J(t - e) * Math.min(Math.abs(t - e), 360), L4e = (e, t, n, r, i) => {
+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = I4e(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -90277,15 +90314,15 @@ var O4e = /*#__PURE__*/ (0, S.createContext)(null), k4e = (e) => {
v = h <= 0 ? v : !v;
var y = n$(s, c, m, _), b = n$(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, C = EJ(e.id) ? xJ("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, C = DJ(e.id) ? SJ("recharts-radial-line-") : e.id;
return /*#__PURE__*/ S.createElement("text", b4({}, r, {
dominantBaseline: "central",
- className: ry("recharts-radial-bar-label", o)
+ className: ny("recharts-radial-bar-label", o)
}), /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("path", {
id: C,
d: x
})), /*#__PURE__*/ S.createElement("textPath", { xlinkHref: `#${C}` }, n));
-}, L4e = (e, t, n) => {
+}, R4e = (e, t, n) => {
var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;
if (n === "outside") {
var c = n$(r, i, o + t, s), l = c.x;
@@ -90321,14 +90358,14 @@ var O4e = /*#__PURE__*/ (0, S.createContext)(null), k4e = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, S4 = (e) => e != null && "cx" in e && yJ(e.cx), R4e = {
+}, S4 = (e) => e != null && "cx" in e && bJ(e.cx), z4e = {
angle: 0,
offset: 5,
zIndex: C$.label,
position: "middle",
textBreakAll: !1
};
-function z4e(e) {
+function B4e(e) {
if (!S4(e)) return e;
var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;
return {
@@ -90341,12 +90378,12 @@ function z4e(e) {
};
}
function C4(e) {
- var t = IY(e, R4e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = N4e(), p = A4e(), m = n == null ? i === "center" ? p : f ?? p : S4(n) ? n : AJ(n), h, g, _ = z4e(m);
- if (!m || EJ(a) && EJ(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;
+ var t = LY(e, z4e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = P4e(), p = j4e(), m = n == null ? i === "center" ? p : f ?? p : S4(n) ? n : jJ(n), h, g, _ = B4e(m);
+ if (!m || DJ(a) && DJ(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;
var v = S4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
- if (S4(m)) v || (g = L4e(m, t.offset, t.position));
+ if (S4(m)) v || (g = R4e(m, t.offset, t.position));
else if (_) {
- var y = NJ({
+ var y = PJ({
viewBox: _,
position: i,
offset: t.offset,
@@ -90363,31 +90400,31 @@ function C4(e) {
var b = y4(y4(y4(y4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
if (/*#__PURE__*/ (0, S.isValidElement)(s)) {
b.labelRef;
- var x = S4e(b, b4e);
+ var x = C4e(b, x4e);
return /*#__PURE__*/ (0, S.cloneElement)(s, x);
}
if (typeof s == "function") {
b.content;
- var C = S4e(b, x4e);
+ var C = C4e(b, S4e);
if (h = /*#__PURE__*/ (0, S.createElement)(s, C), /*#__PURE__*/ (0, S.isValidElement)(h)) return h;
- } else h = P4e(t);
- var w = nJ(t);
- return v && S4(m) ? I4e(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(v4, b4({
+ } else h = F4e(t);
+ var w = rJ(t);
+ return v && S4(m) ? L4e(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(v4, b4({
ref: d,
- className: ry("recharts-label", l)
+ className: ny("recharts-label", l)
}, w, g, {
- textAnchor: l4e(w.textAnchor) ? w.textAnchor : g.textAnchor,
+ textAnchor: u4e(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
}), h));
}
C4.displayName = "Label";
-var B4e = (e, t, n) => {
+var V4e = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ S.createElement(C4, b4({ key: "label-implicit" }, r)) : bJ(e) ? /*#__PURE__*/ S.createElement(C4, b4({
+ return e === !0 ? /*#__PURE__*/ S.createElement(C4, b4({ key: "label-implicit" }, r)) : xJ(e) ? /*#__PURE__*/ S.createElement(C4, b4({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, S.isValidElement)(e) ? e.type === C4 ? /*#__PURE__*/ (0, S.cloneElement)(e, y4({ key: "label-implicit" }, r)) : /*#__PURE__*/ S.createElement(C4, b4({
@@ -90398,17 +90435,17 @@ var B4e = (e, t, n) => {
content: e
}, r)) : e && typeof e == "object" ? /*#__PURE__*/ S.createElement(C4, b4({}, e, { key: "label-implicit" }, r)) : null;
};
-function V4e(e) {
+function H4e(e) {
var t = e.label, n = e.labelRef;
- return B4e(t, A4e(), n) || null;
+ return V4e(t, j4e(), n) || null;
}
-function H4e(e) {
+function U4e(e) {
var t = e.label;
- return B4e(t, N4e()) || null;
+ return V4e(t, P4e()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var U4e = ["valueAccessor"], W4e = [
+var W4e = ["valueAccessor"], G4e = [
"dataKey",
"clockWise",
"id",
@@ -90424,16 +90461,16 @@ function w4() {
return e;
}, w4.apply(null, arguments);
}
-function G4e(e, t) {
+function K4e(e, t) {
if (e == null) return {};
- var n, r, i = K4e(e, t);
+ var n, r, i = q4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function K4e(e, t) {
+function q4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90442,23 +90479,23 @@ function K4e(e, t) {
}
return n;
}
-var q4e = (e) => {
+var J4e = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (u4e(t)) return t;
-}, J4e = /*#__PURE__*/ (0, S.createContext)(void 0), T4 = J4e.Provider, Y4e = /*#__PURE__*/ (0, S.createContext)(void 0), X4e = Y4e.Provider;
-function Z4e() {
- return (0, S.useContext)(J4e);
-}
+ if (d4e(t)) return t;
+}, Y4e = /*#__PURE__*/ (0, S.createContext)(void 0), T4 = Y4e.Provider, X4e = /*#__PURE__*/ (0, S.createContext)(void 0), Z4e = X4e.Provider;
function Q4e() {
return (0, S.useContext)(Y4e);
}
+function $4e() {
+ return (0, S.useContext)(X4e);
+}
function E4(e) {
- var t = e.valueAccessor, n = t === void 0 ? q4e : t, r = G4e(e, U4e), i = r.dataKey;
+ var t = e.valueAccessor, n = t === void 0 ? J4e : t, r = K4e(e, W4e), i = r.dataKey;
r.clockWise;
- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = G4e(r, W4e), l = Z4e(), u = Q4e(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s ?? C$.label }, /*#__PURE__*/ S.createElement(oJ, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = EJ(i) ? n(e, t) : tQ(e.payload, i), l = EJ(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ S.createElement(C4, w4({ key: `label-${t}` }, nJ(e), c, l, {
+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = K4e(r, G4e), l = Q4e(), u = $4e(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s ?? C$.label }, /*#__PURE__*/ S.createElement(sJ, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = DJ(i) ? n(e, t) : tQ(e.payload, i), l = DJ(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ S.createElement(C4, w4({ key: `label-${t}` }, rJ(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -90479,12 +90516,12 @@ function D4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var $4e = [
+var e3e = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], e3e;
+], t3e;
function O4() {
return O4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -90494,16 +90531,16 @@ function O4() {
return e;
}, O4.apply(null, arguments);
}
-function t3e(e, t) {
+function n3e(e, t) {
if (e == null) return {};
- var n, r, i = n3e(e, t);
+ var n, r, i = r3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function n3e(e, t) {
+function r3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90512,23 +90549,23 @@ function n3e(e, t) {
}
return n;
}
-function r3e(e, t) {
+function i3e(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var i3e = (e) => e != null && e.x === +e.x && e.y === +e.y, a3e = function() {
+var a3e = (e) => e != null && e.x === +e.x && e.y === +e.y, o3e = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- i3e(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ a3e(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- i3e(n) && r && r.push(n);
+ a3e(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, k4 = (e, t) => {
- var n = a3e(e);
+ var n = o3e(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => hJ(e3e ||= r3e([
+ var r = n.map((e) => e.reduce((e, t, n) => gJ(t3e ||= i3e([
"",
"",
"",
@@ -90536,29 +90573,29 @@ var i3e = (e) => e != null && e.x === +e.x && e.y === +e.y, a3e = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, o3e = (e, t, n) => {
+}, s3e = (e, t, n) => {
var r = k4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${k4(Array.from(t).reverse(), n).slice(1)}`;
-}, s3e = (e) => {
- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = t3e(e, $4e);
+}, c3e = (e) => {
+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = n3e(e, e3e);
if (!t || !t.length) return null;
- var o = ry("recharts-polygon", n);
+ var o = ny("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = o3e(t, r, i);
- return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", O4({}, nJ(a), {
+ var s = a.stroke && a.stroke !== "none", c = s3e(t, r, i);
+ return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", O4({}, rJ(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ S.createElement("path", O4({}, nJ(a), {
+ })), s ? /*#__PURE__*/ S.createElement("path", O4({}, rJ(a), {
fill: "none",
d: k4(t, i)
- })) : null, s ? /*#__PURE__*/ S.createElement("path", O4({}, nJ(a), {
+ })) : null, s ? /*#__PURE__*/ S.createElement("path", O4({}, rJ(a), {
fill: "none",
d: k4(r, i)
})) : null);
}
var l = k4(t, i);
- return /*#__PURE__*/ S.createElement("path", O4({}, nJ(a), {
+ return /*#__PURE__*/ S.createElement("path", O4({}, rJ(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -90576,8 +90613,8 @@ function A4() {
}, A4.apply(null, arguments);
}
var j4 = (e) => {
- var t = e.cx, n = e.cy, r = e.r, i = e.className, a = ry("recharts-dot", i);
- return yJ(t) && yJ(n) && yJ(r) ? /*#__PURE__*/ S.createElement("circle", A4({}, eJ(e), NY(e), {
+ var t = e.cx, n = e.cy, r = e.r, i = e.className, a = ny("recharts-dot", i);
+ return bJ(t) && bJ(n) && bJ(r) ? /*#__PURE__*/ S.createElement("circle", A4({}, tJ(e), PY(e), {
className: a,
cx: t,
cy: n,
@@ -90587,11 +90624,11 @@ var j4 = (e) => {
M4,
G0,
Y([P$, F$], q0)
-], Y0), P4 = Y([Y([N4], Z0), l$], Q0), c3e = Y([
+], Y0), P4 = Y([Y([N4], Z0), l$], Q0), l3e = Y([
P4,
G0,
N4
-], _Qe);
+], vQe);
Y([
P4,
G0,
@@ -90606,40 +90643,40 @@ Y([
value: tQ(e, t.dataKey),
errorDomain: []
})));
-var l3e = () => void 0, u3e = Y([
+var u3e = () => void 0, d3e = Y([
G0,
DQ,
P4,
- c3e,
+ l3e,
v$,
P$,
Y([
G0,
c2,
l2,
- l3e,
+ u3e,
Y([
P4,
G0,
N4,
u2,
P$,
- _qe
+ vqe
], f2),
- l3e,
+ u3e,
DQ,
P$
], m2)
-], h2), d3e = Y([
- u3e,
+], h2), f3e = Y([
+ d3e,
K0,
_2
-], v2), f3e = Y([_2, Y([
+], v2), p3e = Y([_2, Y([
G0,
- u3e,
d3e,
+ f3e,
P$
-], b2)], rJe), F4 = (e, t, n) => {
+], b2)], iJe), F4 = (e, t, n) => {
switch (t) {
case "angleAxis": return k$(e, n);
case "radiusAxis": return A$(e, n);
@@ -90647,18 +90684,18 @@ var l3e = () => void 0, u3e = Y([
}
}, I4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return $qe(e, n);
- case "radiusAxis": return tJe(e, n);
+ case "angleAxis": return eJe(e, n);
+ case "radiusAxis": return nJe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, L4 = Y([Y([
F4,
_2,
- f3e,
+ p3e,
I4
-], L0)], U$), p3e = Y([
+], L0)], U$), m3e = Y([
DQ,
- c3e,
+ l3e,
K0,
P$
], C2), R4 = Y([
@@ -90666,12 +90703,12 @@ var l3e = () => void 0, u3e = Y([
F4,
_2,
L4,
- d3e,
+ f3e,
I4,
O2,
- p3e,
+ m3e,
P$
-], y$e), m3e = Y([R4], (e) => {
+], b$e), h3e = Y([R4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -90679,19 +90716,19 @@ var l3e = () => void 0, u3e = Y([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), h3e = Y([
+}), g3e = Y([
DQ,
F4,
L4,
I4,
O2,
- p3e,
+ m3e,
P$
-], x$e), g3e = Y([(e, t) => R4(e, "angleAxis", t, !1)], (e) => {
+], S$e), _3e = Y([(e, t) => R4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), _3e = Y([(e, t) => R4(e, "radiusAxis", t, !1)], (e) => {
+}), v3e = Y([(e, t) => R4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), v3e = [
+}), y3e = [
"gridType",
"radialLines",
"angleAxisId",
@@ -90704,16 +90741,16 @@ var l3e = () => void 0, u3e = Y([
"polarRadius",
"zIndex"
];
-function y3e(e, t) {
+function b3e(e, t) {
if (e == null) return {};
- var n, r, i = b3e(e, t);
+ var n, r, i = x3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function b3e(e, t) {
+function x3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90731,7 +90768,7 @@ function z4() {
return e;
}, z4.apply(null, arguments);
}
-function x3e(e, t) {
+function S3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90744,27 +90781,27 @@ function x3e(e, t) {
function B4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? x3e(Object(n), !0).forEach(function(t) {
- S3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x3e(Object(n)).forEach(function(t) {
+ t % 2 ? S3e(Object(n), !0).forEach(function(t) {
+ C3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function S3e(e, t, n) {
- return (t = C3e(t)) in e ? Object.defineProperty(e, t, {
+function C3e(e, t, n) {
+ return (t = w3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function C3e(e) {
- var t = w3e(e, "string");
+function w3e(e) {
+ var t = T3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function w3e(e, t) {
+function T3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90774,16 +90811,16 @@ function w3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var T3e = (e, t, n, r) => {
+var E3e = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = n$(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, E3e = (e) => {
+}, D3e = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = B4({}, eJ(e));
+ var s = B4({}, tJ(e));
return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = n$(t, n, r, e), o = n$(t, n, i, e);
return /*#__PURE__*/ S.createElement("line", z4({ key: `line-${e}` }, s, {
@@ -90793,35 +90830,35 @@ var T3e = (e, t, n, r) => {
y2: o.y
}));
}));
-}, D3e = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = B4({}, eJ(e));
+}, O3e = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = B4({}, tJ(e));
return /*#__PURE__*/ S.createElement("circle", z4({}, i, {
- className: ry("recharts-polar-grid-concentric-circle", e.className),
+ className: ny("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, O3e = (e) => {
- var t = e.radius, n = B4({}, eJ(e));
+}, k3e = (e) => {
+ var t = e.radius, n = B4({}, tJ(e));
return /*#__PURE__*/ S.createElement("path", z4({}, n, {
- className: ry("recharts-polar-grid-concentric-polygon", e.className),
- d: T3e(t, e.cx, e.cy, e.polarAngles)
+ className: ny("recharts-polar-grid-concentric-polygon", e.className),
+ d: E3e(t, e.cx, e.cy, e.polarAngles)
}));
-}, k3e = (e) => {
+}, A3e = (e) => {
var t = e.polarRadius, n = e.gridType;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ S.createElement(D3e, z4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ S.createElement(O3e, z4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ S.createElement(O3e, z4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ S.createElement(k3e, z4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ S.createElement(D3e, z4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ S.createElement(O3e, z4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ S.createElement(O3e, z4({ key: i }, e, {
+ })) : /*#__PURE__*/ S.createElement(k3e, z4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, A3e = {
+}, j3e = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
@@ -90830,8 +90867,8 @@ var T3e = (e, t, n, r) => {
stroke: "#ccc",
strokeWidth: 1,
fill: "none"
-}, j3e = (e) => {
- var t = IY(e, A3e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = y3e(t, v3e), m = jX(N$), h = jX((e) => g3e(e, i)), g = jX((e) => _3e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, M3e = (e) => {
+ var t = LY(e, j3e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = b3e(t, y3e), m = MX(N$), h = MX((e) => _3e(e, i)), g = MX((e) => v3e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = B4({
cx: m?.cx ?? o ?? 0,
@@ -90842,13 +90879,13 @@ var T3e = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p);
- return y.outerRadius <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: y.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ S.createElement(k3e, z4({
+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: y.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ S.createElement(A3e, z4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ S.createElement(E3e, z4({
+ })), /*#__PURE__*/ S.createElement(D3e, z4({
gridType: n,
radialLines: r
}, y, {
@@ -90856,7 +90893,7 @@ var T3e = (e, t, n, r) => {
polarRadius: v
}))));
};
-j3e.displayName = "PolarGrid";
+M3e.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
function V4(e) {
@@ -90864,11 +90901,11 @@ function V4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function M3e(e, t = VY) {
+function N3e(e, t = HY) {
if (e == null) return;
let n = V4(e);
if (n.length === 0) return;
- let r = TX(t), i, a;
+ let r = EX(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -90877,11 +90914,11 @@ function M3e(e, t = VY) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function N3e(e, t = VY) {
+function P3e(e, t = HY) {
if (e == null) return;
let n = V4(e);
if (n.length === 0) return;
- let r = TX(t), i, a;
+ let r = EX(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -90890,7 +90927,7 @@ function N3e(e, t = VY) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var P3e = LZ({
+var F3e = LZ({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -90910,7 +90947,7 @@ var P3e = LZ({
delete e.angleAxis[t.payload.id];
}
}
-}), H4 = P3e.actions, F3e = H4.addRadiusAxis, I3e = H4.removeRadiusAxis, L3e = H4.addAngleAxis, R3e = H4.removeAngleAxis, z3e = P3e.reducer;
+}), H4 = F3e.actions, I3e = H4.addRadiusAxis, L3e = H4.removeRadiusAxis, R3e = H4.addAngleAxis, z3e = H4.removeAngleAxis, B3e = F3e.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function U4(e) {
@@ -90918,12 +90955,12 @@ function U4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var B3e = ["type"], V3e = [
+var V3e = ["type"], H3e = [
"cx",
"cy",
"angle",
"axisLine"
-], H3e = [
+], U3e = [
"angle",
"tickFormatter",
"stroke",
@@ -90938,7 +90975,7 @@ function W4() {
return e;
}, W4.apply(null, arguments);
}
-function U3e(e, t) {
+function W3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90951,27 +90988,27 @@ function U3e(e, t) {
function G4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U3e(Object(n), !0).forEach(function(t) {
- W3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U3e(Object(n)).forEach(function(t) {
+ t % 2 ? W3e(Object(n), !0).forEach(function(t) {
+ G3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function W3e(e, t, n) {
- return (t = G3e(t)) in e ? Object.defineProperty(e, t, {
+function G3e(e, t, n) {
+ return (t = K3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function G3e(e) {
- var t = K3e(e, "string");
+function K3e(e) {
+ var t = q3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function K3e(e, t) {
+function q3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90983,14 +91020,14 @@ function K3e(e, t) {
}
function K4(e, t) {
if (e == null) return {};
- var n, r, i = q3e(e, t);
+ var n, r, i = J3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function q3e(e, t) {
+function J3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90999,20 +91036,20 @@ function q3e(e, t) {
}
return n;
}
-var J3e = "radiusAxis";
-function Y3e(e) {
- var t = kX(), n = jQ(), r = (0, S.useMemo)(() => {
- var t = e.type, r = K4(e, B3e), i = D$(n, "radiusAxis", t);
+var Y3e = "radiusAxis";
+function X3e(e) {
+ var t = AX(), n = jQ(), r = (0, S.useMemo)(() => {
+ var t = e.type, r = K4(e, V3e), i = D$(n, "radiusAxis", t);
if (i != null) return G4(G4({}, r), {}, { type: i });
}, [e, n]);
- return (0, S.useEffect)(() => r == null ? kJ : (t(F3e(r)), () => {
- t(I3e(r));
+ return (0, S.useEffect)(() => r == null ? AJ : (t(I3e(r)), () => {
+ t(L3e(r));
}), [t, r]), null;
}
-var X3e = (e, t, n, r) => {
+var Z3e = (e, t, n, r) => {
var i = e.coordinate;
return n$(n, r, i, t);
-}, Z3e = (e) => {
+}, Q3e = (e) => {
var t;
switch (e) {
case "left":
@@ -91024,49 +91061,49 @@ var X3e = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, Q3e = (e, t, n, r) => {
- var i = M3e(r, (e) => e.coordinate || 0);
+}, $3e = (e, t, n, r) => {
+ var i = N3e(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: N3e(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: P3e(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, $3e = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = K4(e, V3e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = n$(n, r, s[0], i), l = n$(n, r, s[1], i), u = G4(G4(G4({}, eJ(o)), {}, { fill: "none" }, eJ(a)), {}, {
+}, e6e = (e, t) => {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = K4(e, H3e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = n$(n, r, s[0], i), l = n$(n, r, s[1], i), u = G4(G4(G4({}, tJ(o)), {}, { fill: "none" }, tJ(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ S.createElement("line", W4({ className: "recharts-polar-radius-axis-line" }, u));
-}, e6e = (e, t, n) => /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ S.createElement(v4, W4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), t6e = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = K4(e, H3e), s = Z3e(e.orientation), c = eJ(o), l = tJ(a), u = t.map((t, o) => {
- var u = X3e(t, e.angle, e.cx, e.cy), d = G4(G4(G4(G4({
+}, t6e = (e, t, n) => /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ S.createElement(v4, W4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), n6e = (e, t) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = K4(e, U3e), s = Q3e(e.orientation), c = tJ(o), l = nJ(a), u = t.map((t, o) => {
+ var u = Z3e(t, e.angle, e.cx, e.cy), d = G4(G4(G4(G4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ S.createElement(oJ, W4({
- className: ry("recharts-polar-radius-axis-tick", U4(a)),
+ return /*#__PURE__*/ S.createElement(sJ, W4({
+ className: ny("recharts-polar-radius-axis-tick", U4(a)),
key: `tick-${t.coordinate}`
- }, PY(e, t, o)), e6e(a, d, r ? r(t.value, o) : t.value));
+ }, FY(e, t, o)), t6e(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ S.createElement(oJ, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, n6e = (e) => {
- var t = e.radiusAxisId, n = jX(N$), r = jX((e) => L4(e, "radiusAxis", t)), i = jX((e) => R4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ S.createElement(sJ, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, r6e = (e) => {
+ var t = e.radiusAxisId, n = MX(N$), r = MX((e) => L4(e, "radiusAxis", t)), i = MX((e) => R4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = G4(G4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ S.createElement(r4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(oJ, { className: ry("recharts-polar-radius-axis", J3e, a.className) }, s && $3e(a, i), o && t6e(a, i), /*#__PURE__*/ S.createElement(M4e, Q3e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(H4e, { label: a.label }), a.children)));
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(sJ, { className: ny("recharts-polar-radius-axis", Y3e, a.className) }, s && e6e(a, i), o && n6e(a, i), /*#__PURE__*/ S.createElement(N4e, $3e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(U4e, { label: a.label }), a.children)));
};
-function r6e(e) {
- var t = IY(e, T$);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Y3e, {
+function i6e(e) {
+ var t = LY(e, T$);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(X3e, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -91083,12 +91120,12 @@ function r6e(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ S.createElement(n6e, t));
+ }), /*#__PURE__*/ S.createElement(r6e, t));
}
-r6e.displayName = "PolarRadiusAxis";
+i6e.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var i6e = ["children", "type"], a6e = ["ref"];
+var a6e = ["children", "type"], o6e = ["ref"];
function q4() {
return q4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -91098,7 +91135,7 @@ function q4() {
return e;
}, q4.apply(null, arguments);
}
-function o6e(e, t) {
+function s6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91111,27 +91148,27 @@ function o6e(e, t) {
function J4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? o6e(Object(n), !0).forEach(function(t) {
- s6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o6e(Object(n)).forEach(function(t) {
+ t % 2 ? s6e(Object(n), !0).forEach(function(t) {
+ c6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function s6e(e, t, n) {
- return (t = c6e(t)) in e ? Object.defineProperty(e, t, {
+function c6e(e, t, n) {
+ return (t = l6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function c6e(e) {
- var t = l6e(e, "string");
+function l6e(e) {
+ var t = u6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function l6e(e, t) {
+function u6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91141,16 +91178,16 @@ function l6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function u6e(e, t) {
+function d6e(e, t) {
if (e == null) return {};
- var n, r, i = d6e(e, t);
+ var n, r, i = f6e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function d6e(e, t) {
+function f6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91159,18 +91196,18 @@ function d6e(e, t) {
}
return n;
}
-var f6e = 1e-5, p6e = Math.cos(t$(45)), m6e = "angleAxis";
-function h6e(e) {
- var t = kX(), n = jQ(), r = (0, S.useMemo)(() => {
+var p6e = 1e-5, m6e = Math.cos(t$(45)), h6e = "angleAxis";
+function g6e(e) {
+ var t = AX(), n = jQ(), r = (0, S.useMemo)(() => {
e.children;
- var t = e.type, r = u6e(e, i6e), i = D$(n, "angleAxis", t);
+ var t = e.type, r = d6e(e, a6e), i = D$(n, "angleAxis", t);
if (i != null) return J4(J4({}, r), {}, { type: i });
- }, [e, n]), i = r === jX((e) => k$(e, r?.id));
- return (0, S.useEffect)(() => r == null ? kJ : (t(L3e(r)), () => {
- t(R3e(r));
+ }, [e, n]), i = r === MX((e) => k$(e, r?.id));
+ return (0, S.useEffect)(() => r == null ? AJ : (t(R3e(r)), () => {
+ t(z3e(r));
}), [t, r]), i ? e.children : null;
}
-var g6e = (e, t) => {
+var _6e = (e, t) => {
var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = n$(n, r, i, e.coordinate), c = n$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
return {
x1: s.x,
@@ -91178,31 +91215,31 @@ var g6e = (e, t) => {
x2: c.x,
y2: c.y
};
-}, _6e = (e, t) => {
+}, v6e = (e, t) => {
var n = Math.cos(t$(-e.coordinate));
- return n > f6e ? t === "outer" ? "start" : "end" : n < -f6e ? t === "outer" ? "end" : "start" : "middle";
-}, v6e = (e) => {
- var t = Math.cos(t$(-e.coordinate)), n = Math.sin(t$(-e.coordinate));
- return Math.abs(t) <= p6e ? n > 0 ? "start" : "end" : "middle";
+ return n > p6e ? t === "outer" ? "start" : "end" : n < -p6e ? t === "outer" ? "end" : "start" : "middle";
}, y6e = (e) => {
+ var t = Math.cos(t$(-e.coordinate)), n = Math.sin(t$(-e.coordinate));
+ return Math.abs(t) <= m6e ? n > 0 ? "start" : "end" : "middle";
+}, b6e = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = J4(J4({}, eJ(e)), {}, { fill: "none" }, eJ(a));
+ var s = J4(J4({}, tJ(e)), {}, { fill: "none" }, tJ(a));
if (i === "circle") return /*#__PURE__*/ S.createElement(j4, q4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
var c = o.map((e) => n$(t, n, r, e.coordinate));
- return /*#__PURE__*/ S.createElement(s3e, q4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, b6e = (e) => {
+ return /*#__PURE__*/ S.createElement(c3e, q4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, x6e = (e) => {
var t = e.tick, n = e.tickProps, r = e.value;
return t ? /*#__PURE__*/ S.isValidElement(t) ? /*#__PURE__*/ S.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ S.createElement(v4, q4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, x6e = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = eJ(e);
+}, S6e = (e) => {
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = tJ(e);
o.ref;
- var s = u6e(o, a6e), c = tJ(t), l = J4(J4({}, s), {}, { fill: "none" }, eJ(n)), u = a.map((a, o) => {
- var u = g6e(a, e), d = _6e(a, e.orientation), f = v6e(a), p = J4(J4(J4({}, s), {}, {
+ var s = d6e(o, o6e), c = nJ(t), l = J4(J4({}, s), {}, { fill: "none" }, tJ(n)), u = a.map((a, o) => {
+ var u = _6e(a, e), d = v6e(a, e.orientation), f = y6e(a), p = J4(J4(J4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -91213,28 +91250,28 @@ var g6e = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ S.createElement(oJ, q4({
- className: ry("recharts-polar-angle-axis-tick", U4(t)),
+ return /*#__PURE__*/ S.createElement(sJ, q4({
+ className: ny("recharts-polar-angle-axis-tick", U4(t)),
key: `tick-${a.coordinate}`
- }, PY(e, a, o)), n && /*#__PURE__*/ S.createElement("line", q4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(b6e, {
+ }, FY(e, a, o)), n && /*#__PURE__*/ S.createElement("line", q4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(x6e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ S.createElement(oJ, { className: "recharts-polar-angle-axis-ticks" }, u);
-}, S6e = (e) => {
- var t = e.angleAxisId, n = jX(N$), r = jX((e) => L4(e, "angleAxis", t)), i = gQ(), a = jX((e) => m3e(e, "angleAxis", t, i));
+ return /*#__PURE__*/ S.createElement(sJ, { className: "recharts-polar-angle-axis-ticks" }, u);
+}, C6e = (e) => {
+ var t = e.angleAxisId, n = MX(N$), r = MX((e) => L4(e, "angleAxis", t)), i = gQ(), a = MX((e) => h3e(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = J4(J4(J4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ S.createElement(r4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(oJ, { className: ry("recharts-polar-angle-axis", m6e, o.className) }, /*#__PURE__*/ S.createElement(y6e, o), /*#__PURE__*/ S.createElement(x6e, o)));
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(sJ, { className: ny("recharts-polar-angle-axis", h6e, o.className) }, /*#__PURE__*/ S.createElement(b6e, o), /*#__PURE__*/ S.createElement(S6e, o)));
};
function Y4(e) {
- var t = IY(e, w$);
- return /*#__PURE__*/ S.createElement(h6e, {
+ var t = LY(e, w$);
+ return /*#__PURE__*/ S.createElement(g6e, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -91251,12 +91288,12 @@ function Y4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ S.createElement(S6e, t));
+ }, /*#__PURE__*/ S.createElement(C6e, t));
}
Y4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var C6e = /* @__PURE__ */ o(((e) => {
+var w6e = /* @__PURE__ */ o(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -91285,26 +91322,26 @@ var C6e = /* @__PURE__ */ o(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), w6e = (/* @__PURE__ */ o(((e, t) => {
- t.exports = C6e();
-})))(), T6e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", E6e = null, X4 = null, D6e = (e) => {
- if (e === E6e && Array.isArray(X4)) return X4;
+})), T6e = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = w6e();
+})))(), E6e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", D6e = null, X4 = null, O6e = (e) => {
+ if (e === D6e && Array.isArray(X4)) return X4;
var t = [];
return S.Children.forEach(e, (e) => {
- EJ(e) || ((0, w6e.isFragment)(e) ? t = t.concat(D6e(e.props.children)) : t.push(e));
- }), X4 = t, E6e = e, t;
+ DJ(e) || ((0, T6e.isFragment)(e) ? t = t.concat(O6e(e.props.children)) : t.push(e));
+ }), X4 = t, D6e = e, t;
};
-function O6e(e, t) {
+function k6e(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => T6e(e)) : [T6e(t)], D6e(e).forEach((e) => {
- var t = pJ(e, "type.displayName") || pJ(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => E6e(e)) : [E6e(t)], O6e(e).forEach((e) => {
+ var t = mJ(e, "type.displayName") || mJ(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var Z4 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/recharts/es6/util/ActiveShapeUtils.js
-function k6e(e, t) {
+function A6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91314,30 +91351,30 @@ function k6e(e, t) {
}
return n;
}
-function A6e(e) {
+function j6e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k6e(Object(n), !0).forEach(function(t) {
- j6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k6e(Object(n)).forEach(function(t) {
+ t % 2 ? A6e(Object(n), !0).forEach(function(t) {
+ M6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function j6e(e, t, n) {
- return (t = M6e(t)) in e ? Object.defineProperty(e, t, {
+function M6e(e, t, n) {
+ return (t = N6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function M6e(e) {
- var t = N6e(e, "string");
+function N6e(e) {
+ var t = P6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function N6e(e, t) {
+function P6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91347,34 +91384,34 @@ function N6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function P6e(e, t) {
- return A6e(A6e({}, t), e);
+function F6e(e, t) {
+ return j6e(j6e({}, t), e);
}
-function F6e(e) {
+function I6e(e) {
return /*#__PURE__*/ (0, S.isValidElement)(e) ? e.props : e;
}
-function I6e(e, t) {
- return /*#__PURE__*/ (0, S.cloneElement)(e, P6e(F6e(e), t));
+function L6e(e, t) {
+ return /*#__PURE__*/ (0, S.cloneElement)(e, F6e(I6e(e), t));
}
-function L6e(e) {
+function R6e(e) {
if ("index" in e) {
var t = e.index;
return typeof t == "number" || typeof t == "string" ? t : void 0;
}
}
-function R6e(e) {
+function z6e(e) {
return "isActive" in e && e.isActive === !0;
}
function Q4(e) {
- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = L6e(r), l = /*#__PURE__*/ (0, S.isValidElement)(t) ? I6e(t, r) : t === n ? /*#__PURE__*/ S.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ S.createElement(n, P6e(t, r)) : /*#__PURE__*/ S.createElement(n, r);
- return R6e(r) ? /*#__PURE__*/ S.createElement(oJ, { className: a }, l) : /*#__PURE__*/ S.createElement(oJ, { className: s }, l);
+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = R6e(r), l = /*#__PURE__*/ (0, S.isValidElement)(t) ? L6e(t, r) : t === n ? /*#__PURE__*/ S.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ S.createElement(n, F6e(t, r)) : /*#__PURE__*/ S.createElement(n, r);
+ return z6e(r) ? /*#__PURE__*/ S.createElement(sJ, { className: a }, l) : /*#__PURE__*/ S.createElement(sJ, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var $4 = (e, t, n) => {
- var r = kX();
+ var r = AX();
return (i, a) => (o) => {
- e?.(i, a, o), r(P$e({
+ e?.(i, a, o), r(F$e({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -91382,14 +91419,14 @@ var $4 = (e, t, n) => {
}));
};
}, e3 = (e) => {
- var t = kX();
+ var t = AX();
return (n, r) => (i) => {
- e?.(n, r, i), t(F$e());
+ e?.(n, r, i), t(I$e());
};
}, t3 = (e, t, n) => {
- var r = kX();
+ var r = AX();
return (i, a) => (o) => {
- e?.(i, a, o), r(L$e({
+ e?.(i, a, o), r(R$e({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -91400,9 +91437,9 @@ var $4 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function n3(e) {
- var t = e.tooltipEntrySettings, n = kX(), r = gQ(), i = (0, S.useRef)(null);
+ var t = e.tooltipEntrySettings, n = AX(), r = gQ(), i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- r || (i.current === null ? n(A$e(t)) : i.current !== t && n(j$e({
+ r || (i.current === null ? n(j$e(t)) : i.current !== t && n(M$e({
prev: i.current,
next: t
})), i.current = t);
@@ -91411,15 +91448,15 @@ function n3(e) {
n,
r
]), (0, S.useLayoutEffect)(() => () => {
- i.current &&= (n(M$e(i.current)), null);
+ i.current &&= (n(N$e(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function r3(e) {
- var t = e.legendPayload, n = kX(), r = gQ(), i = (0, S.useRef)(null);
+ var t = e.legendPayload, n = AX(), r = gQ(), i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- r || (i.current === null ? n(PUe(t)) : i.current !== t && n(FUe({
+ r || (i.current === null ? n(FUe(t)) : i.current !== t && n(IUe({
prev: i.current,
next: t
})), i.current = t);
@@ -91428,13 +91465,13 @@ function r3(e) {
r,
t
]), (0, S.useLayoutEffect)(() => () => {
- i.current &&= (n(IUe(i.current)), null);
+ i.current &&= (n(LUe(i.current)), null);
}, [n]), null;
}
-function z6e(e) {
- var t = e.legendPayload, n = kX(), r = jX(DQ), i = (0, S.useRef)(null);
+function B6e(e) {
+ var t = e.legendPayload, n = AX(), r = MX(DQ), i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(PUe(t)) : i.current !== t && n(FUe({
+ (r === "centric" || r === "radial") && (i.current === null ? n(FUe(t)) : i.current !== t && n(IUe({
prev: i.current,
next: t
})), i.current = t);
@@ -91443,30 +91480,30 @@ function z6e(e) {
r,
t
]), (0, S.useLayoutEffect)(() => () => {
- i.current &&= (n(IUe(i.current)), null);
+ i.current &&= (n(LUe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/animation/matchBy.js
-function B6e(e, t) {
- return G6e(e) || W6e(e, t) || H6e(e, t) || V6e();
+function V6e(e, t) {
+ return K6e(e) || G6e(e, t) || U6e(e, t) || H6e();
}
-function V6e() {
+function H6e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function H6e(e, t) {
+function U6e(e, t) {
if (e) {
- if (typeof e == "string") return U6e(e, t);
+ if (typeof e == "string") return W6e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? U6e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? W6e(e, t) : void 0;
}
}
-function U6e(e, t) {
+function W6e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function W6e(e, t) {
+function G6e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -91487,10 +91524,10 @@ function W6e(e, t) {
return s;
}
}
-function G6e(e) {
+function K6e(e) {
if (Array.isArray(e)) return e;
}
-var i3 = "index", K6e = "append";
+var i3 = "index", q6e = "append";
function a3(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];
for (var i of n) r.push({
@@ -91510,14 +91547,14 @@ function a3(e, t) {
}
return r;
}
-function q6e(e, t) {
+function J6e(e, t) {
var n = e.length / t.length;
return a3(t.map((t, r) => e[Math.floor(r * n)]), t);
}
-function J6e(e, t) {
+function Y6e(e, t) {
return a3(t.map((t, n) => e[n]), t);
}
-function Y6e(e, t) {
+function X6e(e, t) {
for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {
var i = e[r];
if (i != null) {
@@ -91527,8 +91564,8 @@ function Y6e(e, t) {
}
return n;
}
-function X6e(e, t, n) {
- var r = Y6e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
+function Z6e(e, t, n) {
+ var r = X6e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
var a = n(e, t);
if (a != null) {
var o = r.get(a);
@@ -91536,7 +91573,7 @@ function X6e(e, t, n) {
}
}), o = [];
for (var s of r) {
- var c = B6e(s, 2), l = c[0], u = c[1];
+ var c = V6e(s, 2), l = c[0], u = c[1];
i.has(l) || o.push(u);
}
return a3(a, t, o);
@@ -91545,7 +91582,7 @@ function o3(e, t, n) {
return t == null ? null : e == null ? t.map((e) => ({
status: "added",
next: e
- })) : n === "index" ? q6e(e, t) : n === "append" ? J6e(e, t) : X6e(e, t, n);
+ })) : n === "index" ? J6e(e, t) : n === "append" ? Y6e(e, t) : Z6e(e, t, n);
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js
@@ -91563,25 +91600,25 @@ function s3(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimatedItems.js
-function Z6e(e, t) {
- return n8e(e) || t8e(e, t) || $6e(e, t) || Q6e();
+function Q6e(e, t) {
+ return r8e(e) || n8e(e, t) || e8e(e, t) || $6e();
}
-function Q6e() {
+function $6e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function $6e(e, t) {
+function e8e(e, t) {
if (e) {
- if (typeof e == "string") return e8e(e, t);
+ if (typeof e == "string") return t8e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? e8e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? t8e(e, t) : void 0;
}
}
-function e8e(e, t) {
+function t8e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function t8e(e, t) {
+function n8e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -91602,11 +91639,11 @@ function t8e(e, t) {
return s;
}
}
-function n8e(e) {
+function r8e(e) {
if (Array.isArray(e)) return e;
}
function c3(e, t) {
- var n = Z6e((0, S.useState)(!1), 2), r = n[0], i = n[1];
+ var n = Q6e((0, S.useState)(!1), 2), r = n[0], i = n[1];
return {
isAnimating: r,
handleAnimationStart: (0, S.useCallback)(() => {
@@ -91618,8 +91655,8 @@ function c3(e, t) {
};
}
function l3(e) {
- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = fKe(t, n), _ = s3(g, i), v = _.startValue ?? null, y = o3(v, r, f ?? i3);
- return /*#__PURE__*/ S.createElement(dKe, {
+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = pKe(t, n), _ = s3(g, i), v = _.startValue ?? null, y = o3(v, r, f ?? i3);
+ return /*#__PURE__*/ S.createElement(fKe, {
animationId: g,
begin: o,
duration: s,
@@ -91633,25 +91670,25 @@ function l3(e) {
return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);
});
}
-function r8e(e, t) {
- return c8e(e) || s8e(e, t) || a8e(e, t) || i8e();
+function i8e(e, t) {
+ return l8e(e) || c8e(e, t) || o8e(e, t) || a8e();
}
-function i8e() {
+function a8e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function a8e(e, t) {
+function o8e(e, t) {
if (e) {
- if (typeof e == "string") return o8e(e, t);
+ if (typeof e == "string") return s8e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o8e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s8e(e, t) : void 0;
}
}
-function o8e(e, t) {
+function s8e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function s8e(e, t) {
+function c8e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -91672,22 +91709,22 @@ function s8e(e, t) {
return s;
}
}
-function c8e(e) {
+function l8e(e) {
if (Array.isArray(e)) return e;
}
-var l8e = S.useId ?? (() => r8e(S.useState(() => xJ("uid-")), 1)[0]);
+var u8e = S.useId ?? (() => i8e(S.useState(() => SJ("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function u8e(e, t) {
- var n = l8e();
+function d8e(e, t) {
+ var n = u8e();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var d8e = /*#__PURE__*/ (0, S.createContext)(void 0), u3 = (e) => {
- var t = e.id, n = e.type, r = e.children, i = u8e(`recharts-${n}`, t);
- return /*#__PURE__*/ S.createElement(d8e.Provider, { value: i }, r(i));
-}, f8e = LZ({
+var f8e = /*#__PURE__*/ (0, S.createContext)(void 0), u3 = (e) => {
+ var t = e.id, n = e.type, r = e.children, i = d8e(`recharts-${n}`, t);
+ return /*#__PURE__*/ S.createElement(f8e.Provider, { value: i }, r(i));
+}, p8e = LZ({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -91735,41 +91772,41 @@ var d8e = /*#__PURE__*/ (0, S.createContext)(void 0), u3 = (e) => {
prepare: IZ()
}
}
-}), d3 = f8e.actions, p8e = d3.addCartesianGraphicalItem, m8e = d3.replaceCartesianGraphicalItem, h8e = d3.removeCartesianGraphicalItem, g8e = d3.addPolarGraphicalItem, _8e = d3.removePolarGraphicalItem, v8e = d3.replacePolarGraphicalItem, y8e = f8e.reducer, f3 = /*#__PURE__*/ (0, S.memo)((e) => {
- var t = kX(), n = (0, S.useRef)(null);
+}), d3 = p8e.actions, m8e = d3.addCartesianGraphicalItem, h8e = d3.replaceCartesianGraphicalItem, g8e = d3.removeCartesianGraphicalItem, _8e = d3.addPolarGraphicalItem, v8e = d3.removePolarGraphicalItem, y8e = d3.replacePolarGraphicalItem, b8e = p8e.reducer, f3 = /*#__PURE__*/ (0, S.memo)((e) => {
+ var t = AX(), n = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- n.current === null ? t(p8e(e)) : n.current !== e && t(m8e({
+ n.current === null ? t(m8e(e)) : n.current !== e && t(h8e({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(h8e(n.current)), null);
+ n.current &&= (t(g8e(n.current)), null);
}, [t]), null;
-}), b8e = /*#__PURE__*/ (0, S.memo)((e) => {
- var t = kX(), n = (0, S.useRef)(null);
+}), x8e = /*#__PURE__*/ (0, S.memo)((e) => {
+ var t = AX(), n = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- n.current === null ? t(g8e(e)) : n.current !== e && t(v8e({
+ n.current === null ? t(_8e(e)) : n.current !== e && t(y8e({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(_8e(n.current)), null);
+ n.current &&= (t(v8e(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function x8e(e) {
+function S8e(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function S8e(e) {
- if (HY(e) && e.length !== 0) return x8e(V4(e));
+function C8e(e) {
+ if (UY(e) && e.length !== 0) return S8e(V4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var C8e = ["points"];
-function w8e(e, t) {
+var w8e = ["points"];
+function T8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91782,27 +91819,27 @@ function w8e(e, t) {
function p3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w8e(Object(n), !0).forEach(function(t) {
- T8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w8e(Object(n)).forEach(function(t) {
+ t % 2 ? T8e(Object(n), !0).forEach(function(t) {
+ E8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function T8e(e, t, n) {
- return (t = E8e(t)) in e ? Object.defineProperty(e, t, {
+function E8e(e, t, n) {
+ return (t = D8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function E8e(e) {
- var t = D8e(e, "string");
+function D8e(e) {
+ var t = O8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function D8e(e, t) {
+function O8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91821,16 +91858,16 @@ function m3() {
return e;
}, m3.apply(null, arguments);
}
-function O8e(e, t) {
+function k8e(e, t) {
if (e == null) return {};
- var n, r, i = k8e(e, t);
+ var n, r, i = A8e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function k8e(e, t) {
+function A8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91839,21 +91876,21 @@ function k8e(e, t) {
}
return n;
}
-function A8e(e) {
+function j8e(e) {
var t = e.option, n = e.dotProps, r = e.className;
if (/*#__PURE__*/ (0, S.isValidElement)(t)) return /*#__PURE__*/ (0, S.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = ry(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
+ var i = ny(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
- var o = O8e(a, C8e);
+ var o = k8e(a, w8e);
return /*#__PURE__*/ S.createElement(j4, m3({}, o, { className: i }));
}
-function j8e(e, t) {
+function M8e(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function h3(e) {
var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? C$.scatter : l;
- if (!j8e(t, n)) return null;
+ if (!M8e(t, n)) return null;
var d = Z4(n), f = pRe(n), p = t.map((e, r) => {
var s = p3(p3(p3({ r: 3 }, o), f), {}, {
index: r,
@@ -91864,18 +91901,18 @@ function h3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ S.createElement(A8e, {
+ return /*#__PURE__*/ S.createElement(j8e, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(r4, { zIndex: u }, /*#__PURE__*/ S.createElement(oJ, m3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(r4, { zIndex: u }, /*#__PURE__*/ S.createElement(sJ, m3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function M8e(e, t) {
+function N8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91888,27 +91925,27 @@ function M8e(e, t) {
function g3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? M8e(Object(n), !0).forEach(function(t) {
- N8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8e(Object(n)).forEach(function(t) {
+ t % 2 ? N8e(Object(n), !0).forEach(function(t) {
+ P8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function N8e(e, t, n) {
- return (t = P8e(t)) in e ? Object.defineProperty(e, t, {
+function P8e(e, t, n) {
+ return (t = F8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function P8e(e) {
- var t = F8e(e, "string");
+function F8e(e) {
+ var t = I8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function F8e(e, t) {
+function I8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91918,7 +91955,7 @@ function F8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var I8e = LZ({
+var L8e = LZ({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -92008,9 +92045,9 @@ var I8e = LZ({
}
}
}
-}), _3 = I8e.actions, L8e = _3.addXAxis, R8e = _3.replaceXAxis, z8e = _3.removeXAxis, B8e = _3.addYAxis, V8e = _3.replaceYAxis, H8e = _3.removeYAxis;
+}), _3 = L8e.actions, R8e = _3.addXAxis, z8e = _3.replaceXAxis, B8e = _3.removeXAxis, V8e = _3.addYAxis, H8e = _3.replaceYAxis, U8e = _3.removeYAxis;
_3.addZAxis, _3.replaceZAxis, _3.removeZAxis;
-var U8e = _3.updateYAxisWidth, W8e = _3.updateXAxisHeight, G8e = I8e.reducer, K8e = Y([
+var W8e = _3.updateYAxisWidth, G8e = _3.updateXAxisHeight, K8e = L8e.reducer, q8e = Y([
Y([mQ], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -92026,10 +92063,10 @@ var U8e = _3.updateYAxisWidth, W8e = _3.updateXAxisHeight, G8e = I8e.reducer, K8
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), v3 = () => jX(K8e), q8e = () => jX(N1e);
+}), v3 = () => MX(q8e), J8e = () => MX(P1e);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function J8e(e, t) {
+function Y8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92042,27 +92079,27 @@ function J8e(e, t) {
function y3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? J8e(Object(n), !0).forEach(function(t) {
- Y8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J8e(Object(n)).forEach(function(t) {
+ t % 2 ? Y8e(Object(n), !0).forEach(function(t) {
+ X8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Y8e(e, t, n) {
- return (t = X8e(t)) in e ? Object.defineProperty(e, t, {
+function X8e(e, t, n) {
+ return (t = Z8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function X8e(e) {
- var t = Z8e(e, "string");
+function Z8e(e) {
+ var t = Q8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Z8e(e, t) {
+function Q8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92072,7 +92109,7 @@ function Z8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Q8e = (e) => {
+var $8e = (e) => {
var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;
if (i === !1 || t.x == null || t.y == null) return null;
var s = y3(y3(y3({}, {
@@ -92086,17 +92123,17 @@ var Q8e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), tJ(i)), NY(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(j4, s);
- return /*#__PURE__*/ S.createElement(oJ, {
+ }), nJ(i)), PY(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(j4, s);
+ return /*#__PURE__*/ S.createElement(sJ, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function b3(e) {
- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? C$.activeDot : o, c = jX(J2), l = q8e();
+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? C$.activeDot : o, c = MX(J2), l = J8e();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return EJ(u) ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s }, /*#__PURE__*/ S.createElement(Q8e, {
+ return DJ(u) ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s }, /*#__PURE__*/ S.createElement($8e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -92107,7 +92144,7 @@ function b3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function $8e(e, t) {
+function e5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92120,27 +92157,27 @@ function $8e(e, t) {
function x3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $8e(Object(n), !0).forEach(function(t) {
- e5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $8e(Object(n)).forEach(function(t) {
+ t % 2 ? e5e(Object(n), !0).forEach(function(t) {
+ t5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function e5e(e, t, n) {
- return (t = t5e(t)) in e ? Object.defineProperty(e, t, {
+function t5e(e, t, n) {
+ return (t = n5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function t5e(e) {
- var t = n5e(e, "string");
+function n5e(e) {
+ var t = r5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function n5e(e, t) {
+function r5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92150,15 +92187,15 @@ function n5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var r5e = (e, t) => L4(e, "radiusAxis", t), i5e = Y([r5e], (e) => {
+var i5e = (e, t) => L4(e, "radiusAxis", t), a5e = Y([i5e], (e) => {
if (e != null) return { scale: e };
-}), a5e = Y([A$, r5e], (e, t) => {
+}), o5e = Y([A$, i5e], (e, t) => {
if (e != null && t != null) return x3(x3({}, e), {}, { scale: t });
-}), o5e = (e, t, n, r) => R4(e, "radiusAxis", t, r), s5e = (e, t, n) => k$(e, n), c5e = (e, t, n) => L4(e, "angleAxis", n), l5e = Y([s5e, c5e], (e, t) => {
+}), s5e = (e, t, n, r) => R4(e, "radiusAxis", t, r), c5e = (e, t, n) => k$(e, n), l5e = (e, t, n) => L4(e, "angleAxis", n), u5e = Y([c5e, l5e], (e, t) => {
if (e != null && t != null) return x3(x3({}, e), {}, { scale: t });
-}), u5e = (e, t, n, r) => R4(e, "angleAxis", n, r), d5e = Y([
- s5e,
+}), d5e = (e, t, n, r) => R4(e, "angleAxis", n, r), f5e = Y([
c5e,
+ l5e,
N$
], (e, t, n) => {
if (n != null && t != null) return {
@@ -92168,30 +92205,30 @@ var r5e = (e, t) => L4(e, "radiusAxis", t), i5e = Y([r5e], (e) => {
cx: n.cx,
cy: n.cy
};
-}), f5e = (e, t, n, r, i) => i, p5e = Y([
+}), p5e = (e, t, n, r, i) => i, m5e = Y([
DQ,
- a5e,
o5e,
- l5e,
- u5e
-], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), m5e = Y([
- i5e,
- d5e,
+ s5e,
+ u5e,
+ d5e
+], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), h5e = Y([
+ a5e,
+ f5e,
l$,
- Y([M4, f5e], (e, t) => {
+ Y([M4, p5e], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- p5e
+ m5e
], (e, t, n, r, i) => {
var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;
- if (e != null && t != null && a != null && i != null && r != null) return T5e({
+ if (e != null && t != null && a != null && i != null && r != null) return E5e({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), h5e = ["id"];
+}), g5e = ["id"];
function S3() {
return S3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -92201,7 +92238,7 @@ function S3() {
return e;
}, S3.apply(null, arguments);
}
-function g5e(e, t) {
+function _5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92214,27 +92251,27 @@ function g5e(e, t) {
function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g5e(Object(n), !0).forEach(function(t) {
- _5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g5e(Object(n)).forEach(function(t) {
+ t % 2 ? _5e(Object(n), !0).forEach(function(t) {
+ v5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _5e(e, t, n) {
- return (t = v5e(t)) in e ? Object.defineProperty(e, t, {
+function v5e(e, t, n) {
+ return (t = y5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function v5e(e) {
- var t = y5e(e, "string");
+function y5e(e) {
+ var t = b5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function y5e(e, t) {
+function b5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92244,16 +92281,16 @@ function y5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function b5e(e, t) {
+function x5e(e, t) {
if (e == null) return {};
- var n, r, i = x5e(e, t);
+ var n, r, i = S5e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function x5e(e, t) {
+function S5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -92265,7 +92302,7 @@ function x5e(e, t) {
function w3(e, t) {
return e && e !== "none" ? e : t;
}
-var S5e = (e) => {
+var C5e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
@@ -92275,10 +92312,10 @@ var S5e = (e) => {
value: sQ(n, t),
payload: e
}];
-}, C5e = /*#__PURE__*/ S.memo((e) => {
+}, w5e = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
- getPosition: kJ,
+ getPosition: AJ,
settings: {
stroke: n,
strokeWidth: r,
@@ -92295,10 +92332,10 @@ var S5e = (e) => {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: l });
});
-function w5e(e) {
+function T5e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = eJ(b5e(n, h5e));
+ var a = tJ(x5e(n, g5e));
return /*#__PURE__*/ S.createElement(h3, {
points: t,
dot: r,
@@ -92308,10 +92345,10 @@ function w5e(e) {
baseProps: a
});
}
-function T5e(e) {
+function E5e(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = tQ(e, n.dataKey, r), d = tQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? S8e(d) : d, m = EJ(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = tQ(e, n.dataKey, r), d = tQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? C8e(d) : d, m = DJ(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(C3(C3({}, n$(o, s, m, f)), {}, {
name: a,
value: d,
@@ -92325,7 +92362,7 @@ function T5e(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = EJ(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = DJ(n) ? 0 : t.scale.map(n) ?? 0;
d.push(C3(C3({}, e), {}, { radius: r }, n$(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -92334,7 +92371,7 @@ function T5e(e) {
baseLinePoints: d
};
}
-function E5e(e) {
+function D5e(e) {
var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {
var t = {
x: e.x,
@@ -92354,10 +92391,10 @@ function E5e(e) {
});
return /*#__PURE__*/ S.createElement(T4, { value: t ? i : void 0 }, r);
}
-function D5e(e) {
+function O5e(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, C3(C3({}, r), {}, { points: t })) : typeof i == "function" ? i(C3(C3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(s3e, S3({}, nJ(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, C3(C3({}, r), {}, { points: t })) : typeof i == "function" ? i(C3(C3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(c3e, S3({}, rJ(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -92370,21 +92407,21 @@ function D5e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ S.createElement(oJ, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(w5e, {
+ return /*#__PURE__*/ S.createElement(sJ, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(T5e, {
props: r,
points: t
}));
}
-var O5e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [C3(C3({}, e.next), {}, {
- x: wJ(e.prev.x, e.next.x, t),
- y: wJ(e.prev.y, e.next.y, t)
+var k5e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [C3(C3({}, e.next), {}, {
+ x: TJ(e.prev.x, e.next.x, t),
+ y: TJ(e.prev.y, e.next.y, t)
})] : [C3(C3({}, e.next), {}, {
- x: wJ(e.next.cx, e.next.x, t),
- y: wJ(e.next.cy, e.next.y, t)
+ x: TJ(e.next.cx, e.next.x, t),
+ y: TJ(e.next.cy, e.next.y, t)
})]);
-function k5e(e) {
+function A5e(e) {
var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = s3(t, r), h = m.startValue, g = o3(h ?? null, a, u), _ = c3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = jQ();
- return x == null ? null : /*#__PURE__*/ S.createElement(E5e, {
+ return x == null ? null : /*#__PURE__*/ S.createElement(D5e, {
showLabels: !v,
points: i
}, /*#__PURE__*/ S.createElement(l3, {
@@ -92403,29 +92440,29 @@ function k5e(e) {
layout: x
}, (e, n) => {
var r = n === 1 ? a : d(g, n, x);
- return m.syncStepValue(r, n), /*#__PURE__*/ S.createElement(D5e, {
+ return m.syncStepValue(r, n), /*#__PURE__*/ S.createElement(O5e, {
points: e,
baseLinePoints: r,
props: t
});
}), /*#__PURE__*/ S.createElement(D4, { label: t.label }), t.children);
}
-function A5e(e) {
+function j5e(e) {
var t = (0, S.useRef)(void 0), n = (0, S.useRef)(void 0);
- return /*#__PURE__*/ S.createElement(k5e, {
+ return /*#__PURE__*/ S.createElement(A5e, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var j5e = {
+var M5e = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
animationMatchBy: i3,
- animationInterpolateFn: O5e,
+ animationInterpolateFn: k5e,
dot: !1,
hide: !1,
isAnimationActive: "auto",
@@ -92434,31 +92471,31 @@ var j5e = {
radiusAxisId: 0,
zIndex: C$.area
};
-function M5e(e) {
+function N5e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
- var i = ry("recharts-radar", n);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(oJ, { className: i }, /*#__PURE__*/ S.createElement(A5e, e)), /*#__PURE__*/ S.createElement(b3, {
+ var i = ny("recharts-radar", n);
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(sJ, { className: i }, /*#__PURE__*/ S.createElement(j5e, e)), /*#__PURE__*/ S.createElement(b3, {
points: r,
mainColor: w3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function N5e(e) {
- var t = gQ(), n = jX((n) => m5e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ S.createElement(M5e, S3({}, e, {
+function P5e(e) {
+ var t = gQ(), n = MX((n) => h5e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ S.createElement(N5e, S3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function T3(e) {
- var t = IY(e, j5e);
+ var t = LY(e, M5e);
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(b8e, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(x8e, {
type: "radar",
id: e,
data: void 0,
@@ -92466,7 +92503,7 @@ function T3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ S.createElement(z6e, { legendPayload: S5e(t) }), /*#__PURE__*/ S.createElement(C5e, {
+ }), /*#__PURE__*/ S.createElement(B6e, { legendPayload: C5e(t) }), /*#__PURE__*/ S.createElement(w5e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -92475,22 +92512,22 @@ function T3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ S.createElement(N5e, S3({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(P5e, S3({}, t, { id: e }))));
}
T3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-var P5e = ["option"];
-function F5e(e, t) {
+var F5e = ["option"];
+function I5e(e, t) {
if (e == null) return {};
- var n, r, i = I5e(e, t);
+ var n, r, i = L5e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function I5e(e, t) {
+function L5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -92499,39 +92536,39 @@ function I5e(e, t) {
}
return n;
}
-var L5e = o$;
-function R5e(e) {
+var R5e = o$;
+function z5e(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
function E3(e) {
- var t = e.option, n = F5e(e, P5e);
+ var t = e.option, n = I5e(e, F5e);
return /*#__PURE__*/ S.createElement(Q4, {
option: t,
- DefaultShape: L5e,
+ DefaultShape: R5e,
shapeProps: n
});
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-function z5e(e, t) {
- return W5e(e) || U5e(e, t) || V5e(e, t) || B5e();
+function B5e(e, t) {
+ return G5e(e) || W5e(e, t) || H5e(e, t) || V5e();
}
-function B5e() {
+function V5e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function V5e(e, t) {
+function H5e(e, t) {
if (e) {
- if (typeof e == "string") return H5e(e, t);
+ if (typeof e == "string") return U5e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? H5e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? U5e(e, t) : void 0;
}
}
-function H5e(e, t) {
+function U5e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function U5e(e, t) {
+function W5e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -92552,33 +92589,33 @@ function U5e(e, t) {
return s;
}
}
-function W5e(e) {
+function G5e(e) {
if (Array.isArray(e)) return e;
}
-var G5e = (e, t, n) => {
+var K5e = (e, t, n) => {
var r = n ?? e;
- if (!EJ(r)) return SJ(r, t, 0);
-}, K5e = (e, t, n) => {
+ if (!DJ(r)) return CJ(r, t, 0);
+}, q5e = (e, t, n) => {
var r = {}, i = e.filter(R$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
- var r = z5e(e, 2), i = r[0], a = r[1];
+ var r = B5e(e, 2), i = r[0], a = r[1];
return {
stackId: i,
dataKeys: a.map((e) => e.dataKey),
- barSize: G5e(t, n, a[0]?.barSize)
+ barSize: K5e(t, n, a[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: G5e(t, n, e.barSize)
+ barSize: K5e(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function q5e(e, t) {
+function J5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92591,27 +92628,27 @@ function q5e(e, t) {
function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q5e(Object(n), !0).forEach(function(t) {
- J5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5e(Object(n)).forEach(function(t) {
+ t % 2 ? J5e(Object(n), !0).forEach(function(t) {
+ Y5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function J5e(e, t, n) {
- return (t = Y5e(t)) in e ? Object.defineProperty(e, t, {
+function Y5e(e, t, n) {
+ return (t = X5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Y5e(e) {
- var t = X5e(e, "string");
+function X5e(e) {
+ var t = Z5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function X5e(e, t) {
+function Z5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92621,10 +92658,10 @@ function X5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Z5e(e, t, n, r, i) {
+function Q5e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = SJ(e, n, 0, !0), s, c = [];
+ var o = CJ(e, n, 0, !0), s, c = [];
if (QZ(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
@@ -92644,7 +92681,7 @@ function Z5e(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = SJ(t, n, 0, !0);
+ var p = CJ(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m = Math.round(m));
@@ -92661,10 +92698,10 @@ function Z5e(e, t, n, r, i) {
return s;
}
}
-var Q5e = (e, t, n, r, i, a, o) => {
- var s = EJ(o) ? t : o, c = Z5e(n, r, i === a ? a : i, e, s);
+var $5e = (e, t, n, r, i, a, o) => {
+ var s = DJ(o) ? t : o, c = Q5e(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => D3(D3({}, e), {}, { position: D3(D3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, $5e = (e, t) => {
+}, e7e = (e, t) => {
var n = I$(t);
if (e && n != null && t != null) {
var r = t.stackId;
@@ -92676,7 +92713,7 @@ var Q5e = (e, t, n, r, i, a, o) => {
}
}
}
-}, e7e = (e, t) => {
+}, t7e = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -92684,7 +92721,7 @@ var Q5e = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function t7e(e, t) {
+function n7e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92697,27 +92734,27 @@ function t7e(e, t) {
function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? t7e(Object(n), !0).forEach(function(t) {
- n7e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t7e(Object(n)).forEach(function(t) {
+ t % 2 ? n7e(Object(n), !0).forEach(function(t) {
+ r7e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n7e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function n7e(e, t, n) {
- return (t = r7e(t)) in e ? Object.defineProperty(e, t, {
+function r7e(e, t, n) {
+ return (t = i7e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r7e(e) {
- var t = i7e(e, "string");
+function i7e(e) {
+ var t = a7e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i7e(e, t) {
+function a7e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92729,36 +92766,36 @@ function i7e(e, t) {
}
var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return O3(O3({}, e), {}, { scale: t });
-}), A3 = (e, t) => h3e(e, "radiusAxis", t, !1), j3 = Y([(e, t, n) => k$(e, n), (e, t, n) => L4(e, "angleAxis", n)], (e, t) => {
+}), A3 = (e, t) => g3e(e, "radiusAxis", t, !1), j3 = Y([(e, t, n) => k$(e, n), (e, t, n) => L4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return O3(O3({}, e), {}, { scale: t });
}), M3 = (e, t, n) => R4(e, "angleAxis", n, !1), N3 = Y([M4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), a7e = Y([
+}), o7e = Y([
DQ,
k3,
A3,
j3,
M3
-], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), o7e = Y([
+], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), s7e = Y([
j3,
k3,
DQ
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return jHe({ numericAxis: r });
-}), s7e = (e, t, n, r, i) => i, c7e = (e, t, n, r, i) => n, l7e = (e, t, n, r, i) => t, u7e = (e, t, n, r, i) => r.maxBarSize, d7e = (e) => e.type === "radialBar", f7e = Y([Y([
+ if (r != null && r.scale != null) return MHe({ numericAxis: r });
+}), c7e = (e, t, n, r, i) => i, l7e = (e, t, n, r, i) => n, u7e = (e, t, n, r, i) => t, d7e = (e, t, n, r, i) => r.maxBarSize, f7e = (e) => e.type === "radialBar", p7e = Y([Y([
Y([
Y([
DQ,
M4,
- c7e,
- l7e
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(d7e)),
- Vqe,
+ l7e,
+ u7e
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(f7e)),
+ Hqe,
() => void 0
- ], K5e),
+ ], q5e),
g$,
- Bqe,
+ Vqe,
_$,
Y([
DQ,
@@ -92767,41 +92804,41 @@ var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
M3,
k3,
A3,
- u7e
+ d7e
], (e, t, n, r, i, a, o) => {
- var s = EJ(o) ? t : o;
+ var s = DJ(o) ? t : o;
return e === "centric" ? oQ(n, r, !0) ?? s ?? 0 : oQ(i, a, !0) ?? s ?? 0;
}),
- a7e,
- u7e
-], Q5e), N3], e7e), p7e = Y([N4], (e) => e.filter(d7e).filter(R$)), m7e = Y([
+ o7e,
+ d7e
+], $5e), N3], t7e), m7e = Y([N4], (e) => e.filter(f7e).filter(R$)), h7e = Y([
Y([
- p7e,
+ m7e,
l$,
r2
], L$),
- p7e,
+ m7e,
v$,
y$
-], a2), h7e = Y([
+], a2), g7e = Y([
j3,
M3,
k3,
A3,
c$,
N3,
- a7e,
- DQ,
o7e,
- N$,
+ DQ,
s7e,
- f7e,
- Y([(e, t, n) => DQ(e) === "centric" ? m7e(e, "radiusAxis", t) : m7e(e, "angleAxis", n), N3], $5e)
+ N$,
+ c7e,
+ p7e,
+ Y([(e, t, n) => DQ(e) === "centric" ? h7e(e, "radiusAxis", t) : h7e(e, "angleAxis", n), N3], e7e)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;
- return I7e({
+ return L7e({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -92822,7 +92859,7 @@ var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), g7e = Y([l$, (e, t) => t], (e, t) => {
+}), _7e = Y([l$, (e, t) => t], (e, t) => {
var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -92835,21 +92872,21 @@ var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function _7e(e, t) {
+function v7e(e, t) {
return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && QZ(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var v7e = [
+var y7e = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], y7e = [
+], b7e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], b7e = ["value", "background"];
+], x7e = ["value", "background"];
function P3() {
return P3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -92859,7 +92896,7 @@ function P3() {
return e;
}, P3.apply(null, arguments);
}
-function x7e(e, t) {
+function S7e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92872,27 +92909,27 @@ function x7e(e, t) {
function F3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? x7e(Object(n), !0).forEach(function(t) {
- S7e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x7e(Object(n)).forEach(function(t) {
+ t % 2 ? S7e(Object(n), !0).forEach(function(t) {
+ C7e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S7e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function S7e(e, t, n) {
- return (t = C7e(t)) in e ? Object.defineProperty(e, t, {
+function C7e(e, t, n) {
+ return (t = w7e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function C7e(e) {
- var t = w7e(e, "string");
+function w7e(e) {
+ var t = T7e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function w7e(e, t) {
+function T7e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92904,14 +92941,14 @@ function w7e(e, t) {
}
function I3(e, t) {
if (e == null) return {};
- var n, r, i = T7e(e, t);
+ var n, r, i = E7e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function T7e(e, t) {
+function E7e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -92920,8 +92957,8 @@ function T7e(e, t) {
}
return n;
}
-var E7e = [];
-function D7e(e) {
+var D7e = [];
+function O7e(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -92938,15 +92975,15 @@ function D7e(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ S.createElement(X4e, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ S.createElement(Z4e, { value: t ? i : void 0 }, r);
}
-function O7e(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = I3(n, v7e), f = eJ(d), p = jX(J2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = I3(n, y7e), v = $4(m, n.dataKey, u), y = e3(g), b = t3(h, n.dataKey, u);
- return t == null ? null : /*#__PURE__*/ S.createElement(D7e, {
+function k7e(e) {
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = I3(n, y7e), f = tJ(d), p = MX(J2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = I3(n, b7e), v = $4(m, n.dataKey, u), y = e3(g), b = t3(h, n.dataKey, u);
+ return t == null ? null : /*#__PURE__*/ S.createElement(O7e, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = F3(F3(F3(F3({}, f), {}, { cornerRadius: R5e(l) }, e), PY(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = F3(F3(F3(F3({}, f), {}, { cornerRadius: z5e(l) }, e), FY(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -92966,11 +93003,11 @@ function O7e(e) {
}, /*#__PURE__*/ S.createElement(E3, h)) : /*#__PURE__*/ S.createElement(E3, P3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
}), /*#__PURE__*/ S.createElement(D4, { label: n.label }), n.children);
}
-var k7e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [F3(F3({}, e.next), {}, {
- startAngle: wJ(e.prev.startAngle, e.next.startAngle, t),
- endAngle: wJ(e.prev.endAngle, e.next.endAngle, t)
-})] : [F3(F3({}, e.next), {}, { endAngle: wJ(e.next.startAngle, e.next.endAngle, t) })]);
-function A7e(e) {
+var A7e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [F3(F3({}, e.next), {}, {
+ startAngle: TJ(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: TJ(e.prev.endAngle, e.next.endAngle, t)
+})] : [F3(F3({}, e.next), {}, { endAngle: TJ(e.next.startAngle, e.next.endAngle, t) })]);
+function j7e(e) {
var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = c3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = jQ();
return m == null ? null : /*#__PURE__*/ S.createElement(l3, {
animationInput: t,
@@ -92986,7 +93023,7 @@ function A7e(e) {
animationInterpolateFn: t.animationInterpolateFn,
animationMatchBy: t.animationMatchBy,
layout: m
- }, (e, n, r) => /*#__PURE__*/ S.createElement(O7e, {
+ }, (e, n, r) => /*#__PURE__*/ S.createElement(k7e, {
sectors: e,
allOtherRadialBarProps: t,
showLabels: !d,
@@ -92995,21 +93032,21 @@ function A7e(e) {
isEntrance: r
}));
}
-function j7e(e) {
+function M7e(e) {
var t = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(A7e, {
+ return /*#__PURE__*/ S.createElement(j7e, {
props: e,
previousSectorsRef: t
});
}
-function M7e(e) {
- var t = jX((t) => g7e(t, e.legendType));
- return /*#__PURE__*/ S.createElement(z6e, { legendPayload: t ?? [] });
+function N7e(e) {
+ var t = MX((t) => _7e(t, e.legendType));
+ return /*#__PURE__*/ S.createElement(B6e, { legendPayload: t ?? [] });
}
-var N7e = /*#__PURE__*/ S.memo((e) => {
+var P7e = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
- getPosition: kJ,
+ getPosition: AJ,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -93026,17 +93063,17 @@ var N7e = /*#__PURE__*/ S.memo((e) => {
}
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: u });
-}), P7e = class extends S.PureComponent {
+}), F7e = class extends S.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = tJ(this.props.background);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: _7e(this.props.background, C$.barBackground) }, e.map((e, r) => {
+ var t = this.props.cornerRadius, n = nJ(this.props.background);
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: v7e(this.props.background, C$.barBackground) }, e.map((e, r) => {
e.value;
- var i = e.background, a = I3(e, b7e);
+ var i = e.background, a = I3(e, x7e);
if (!i) return null;
- var o = F3(F3(F3(F3(F3({ cornerRadius: R5e(t) }, a), {}, { fill: "#eee" }, i), n), PY(this.props, e, r)), {}, {
+ var o = F3(F3(F3(F3(F3({ cornerRadius: z5e(t) }, a), {}, { fill: "#eee" }, i), n), FY(this.props, e, r)), {}, {
index: r,
- className: ry("recharts-radial-bar-background-sector", String(n?.className)),
+ className: ny("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
@@ -93046,12 +93083,12 @@ var N7e = /*#__PURE__*/ S.memo((e) => {
render() {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
- var a = ry("recharts-area", r);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(oJ, { className: a }, i && /*#__PURE__*/ S.createElement(oJ, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(oJ, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement(j7e, this.props))));
+ var a = ny("recharts-area", r);
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(sJ, { className: a }, i && /*#__PURE__*/ S.createElement(sJ, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(sJ, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement(M7e, this.props))));
}
};
-function F7e(e) {
- var t = S.useMemo(() => O6e(e.children, d4), [e.children]), n = S.useMemo(() => ({
+function I7e(e) {
+ var t = S.useMemo(() => k6e(e.children, d4), [e.children]), n = S.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
@@ -93072,8 +93109,8 @@ function F7e(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = jX((r) => h7e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? E7e;
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(N7e, {
+ ]), r = MX((r) => g7e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? D7e;
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(P7e, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -93084,15 +93121,15 @@ function F7e(e) {
tooltipType: e.tooltipType,
formatter: e.formatter,
id: e.id
- }), /*#__PURE__*/ S.createElement(P7e, P3({}, e, { sectors: r })));
+ }), /*#__PURE__*/ S.createElement(F7e, P3({}, e, { sectors: r })));
}
var L3 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: K6e,
- animationInterpolateFn: k7e,
+ animationMatchBy: q6e,
+ animationInterpolateFn: A7e,
background: !1,
cornerIsExternal: !1,
cornerRadius: 0,
@@ -93103,14 +93140,14 @@ var L3 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- shape: L5e,
+ shape: R5e,
zIndex: C$.bar
};
-function I7e(e) {
+function L7e(e) {
var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;
- return g == null || l == null ? E7e : (t ?? []).map((e, t) => {
+ return g == null || l == null ? D7e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = OHe(n[r + t], i) : (b = tQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (n ? b = kHe(n[r + t], i) : (b = tQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = aQ({
axis: c,
ticks: l,
@@ -93122,7 +93159,7 @@ function I7e(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = gJ(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = _J(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -93145,7 +93182,7 @@ function I7e(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = gJ(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = _J(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -93162,11 +93199,11 @@ function I7e(e) {
});
}
function R3(e) {
- var t = IY(e, L3);
+ var t = LY(e, L3);
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(b8e, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(x8e, {
type: "radialBar",
id: e,
data: void 0,
@@ -93178,21 +93215,21 @@ function R3(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ S.createElement(M7e, t), /*#__PURE__*/ S.createElement(F7e, P3({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(N7e, t), /*#__PURE__*/ S.createElement(I7e, P3({}, t, { id: e }))));
}
R3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var L7e = (e) => {
- var t = e.chartData, n = kX(), r = gQ();
- return (0, S.useEffect)(() => r ? () => {} : (n(R0e(t)), () => {
- n(R0e(void 0));
+var R7e = (e) => {
+ var t = e.chartData, n = AX(), r = gQ();
+ return (0, S.useEffect)(() => r ? () => {} : (n(z0e(t)), () => {
+ n(z0e(void 0));
}), [
t,
n,
r
]), null;
-}, R7e = {
+}, z7e = {
x: 0,
y: 0,
width: 0,
@@ -93203,15 +93240,15 @@ var L7e = (e) => {
bottom: 0,
left: 0
}
-}, z7e = LZ({
+}, B7e = LZ({
name: "brush",
- initialState: R7e,
+ initialState: z7e,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? R7e : t.payload;
+ return t.payload == null ? z7e : t.payload;
} }
});
-z7e.actions.setBrushSettings;
-var B7e = z7e.reducer, V7e = (e, t) => {
+B7e.actions.setBrushSettings;
+var V7e = B7e.reducer, H7e = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return {
x: Math.min(n, i),
@@ -93219,9 +93256,9 @@ var B7e = z7e.reducer, V7e = (e, t) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, H7e = (e) => {
+}, U7e = (e) => {
var t = e.x1, n = e.y1, r = e.x2, i = e.y2;
- return V7e({
+ return H7e({
x: t,
y: n
}, {
@@ -93229,13 +93266,13 @@ var B7e = z7e.reducer, V7e = (e, t) => {
y: i
});
};
-function U7e(e) {
+function W7e(e) {
return (e % 180 + 180) % 180;
}
-var W7e = function(e) {
- var t = e.width, n = e.height, r = U7e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var G7e = function(e) {
+ var t = e.width, n = e.height, r = W7e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, G7e = LZ({
+}, K7e = LZ({
name: "referenceElements",
initialState: {
dots: [],
@@ -93265,30 +93302,30 @@ var W7e = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), z3 = G7e.actions;
+}), z3 = K7e.actions;
z3.addDot, z3.removeDot, z3.addArea, z3.removeArea;
-var K7e = z3.addLine, q7e = z3.removeLine, J7e = G7e.reducer;
+var q7e = z3.addLine, J7e = z3.removeLine, Y7e = K7e.reducer;
//#endregion
//#region node_modules/recharts/es6/container/ClipPathProvider.js
-function Y7e(e, t) {
- return e9e(e) || $7e(e, t) || Z7e(e, t) || X7e();
+function X7e(e, t) {
+ return t9e(e) || e9e(e, t) || Q7e(e, t) || Z7e();
}
-function X7e() {
+function Z7e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Z7e(e, t) {
+function Q7e(e, t) {
if (e) {
- if (typeof e == "string") return Q7e(e, t);
+ if (typeof e == "string") return $7e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Q7e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? $7e(e, t) : void 0;
}
}
-function Q7e(e, t) {
+function $7e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function $7e(e, t) {
+function e9e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -93309,20 +93346,20 @@ function $7e(e, t) {
return s;
}
}
-function e9e(e) {
+function t9e(e) {
if (Array.isArray(e)) return e;
}
-var t9e = /*#__PURE__*/ (0, S.createContext)(void 0), n9e = (e) => {
- var t = e.children, n = Y7e((0, S.useState)(`${xJ("recharts")}-clip`), 1)[0], r = v3();
+var n9e = /*#__PURE__*/ (0, S.createContext)(void 0), r9e = (e) => {
+ var t = e.children, n = X7e((0, S.useState)(`${SJ("recharts")}-clip`), 1)[0], r = v3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
- return /*#__PURE__*/ S.createElement(t9e.Provider, { value: n }, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: n }, /*#__PURE__*/ S.createElement("rect", {
+ return /*#__PURE__*/ S.createElement(n9e.Provider, { value: n }, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: n }, /*#__PURE__*/ S.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, r9e = () => (0, S.useContext)(t9e), i9e = class {
+}, i9e = () => (0, S.useContext)(n9e), a9e = class {
constructor(e) {
var t = e.x, n = e.y;
this.xAxisScale = t, this.yAxisScale = n;
@@ -93348,7 +93385,7 @@ var t9e = /*#__PURE__*/ (0, S.createContext)(void 0), n9e = (e) => {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function a9e(e, t) {
+function o9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93358,30 +93395,30 @@ function a9e(e, t) {
}
return n;
}
-function o9e(e) {
+function s9e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? a9e(Object(n), !0).forEach(function(t) {
- s9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a9e(Object(n)).forEach(function(t) {
+ t % 2 ? o9e(Object(n), !0).forEach(function(t) {
+ c9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function s9e(e, t, n) {
- return (t = c9e(t)) in e ? Object.defineProperty(e, t, {
+function c9e(e, t, n) {
+ return (t = l9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function c9e(e) {
- var t = l9e(e, "string");
+function l9e(e) {
+ var t = u9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function l9e(e, t) {
+function u9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93400,7 +93437,7 @@ function B3() {
return e;
}, B3.apply(null, arguments);
}
-var u9e = (e, t) => {
+var d9e = (e, t) => {
var n;
if (/*#__PURE__*/ S.isValidElement(e)) n = /*#__PURE__*/ S.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -93409,7 +93446,7 @@ var u9e = (e, t) => {
n = /*#__PURE__*/ S.createElement("line", B3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, d9e = (e, t, n, r, i, a) => {
+}, f9e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
if (!QZ(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -93420,7 +93457,7 @@ var u9e = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, f9e = (e, t, n, r, i, a) => {
+}, p9e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
if (!QZ(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -93431,7 +93468,7 @@ var u9e = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, p9e = (e, t, n, r) => {
+}, m9e = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -93440,43 +93477,43 @@ var u9e = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, m9e = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = bJ(s);
- return bJ(c) ? d9e(c, u, r, a, t, n) : d ? f9e(s, u, r, i, e, n) : l != null && l.length === 2 ? p9e(l, u, r, new i9e({
+}, h9e = (e, t, n, r, i, a, o) => {
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = xJ(s);
+ return xJ(c) ? f9e(c, u, r, a, t, n) : d ? p9e(s, u, r, i, e, n) : l != null && l.length === 2 ? m9e(l, u, r, new a9e({
x: e,
y: t
})) : null;
};
-function h9e(e) {
- var t = kX();
- return (0, S.useEffect)(() => (t(K7e(e)), () => {
- t(q7e(e));
+function g9e(e) {
+ var t = AX();
+ return (0, S.useEffect)(() => (t(q7e(e)), () => {
+ t(J7e(e));
})), null;
}
-function g9e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = gQ(), s = r9e(), c = jX((e) => V0(e, t)), l = jX((e) => U0(e, n)), u = jX((e) => T2(e, "xAxis", t, o)), d = jX((e) => T2(e, "yAxis", n, o)), f = wQ();
+function _9e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = gQ(), s = i9e(), c = MX((e) => V0(e, t)), l = MX((e) => U0(e, n)), u = MX((e) => T2(e, "xAxis", t, o)), d = MX((e) => T2(e, "yAxis", n, o)), f = wQ();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = m9e(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = h9e(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var g = m.x, _ = m.y, v = h.x, y = h.y, b = o9e(o9e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, nJ(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, b = s9e(s9e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, rJ(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = H7e({
+ }), x = U7e({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(oJ, { className: ry("recharts-reference-line", i) }, u9e(r, b), /*#__PURE__*/ S.createElement(k4e, B3({}, x, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(sJ, { className: ny("recharts-reference-line", i) }, d9e(r, b), /*#__PURE__*/ S.createElement(A4e, B3({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ S.createElement(V4e, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ S.createElement(H4e, { label: e.label }), e.children)));
}
-var _9e = {
+var v9e = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -93488,31 +93525,31 @@ var _9e = {
position: "middle",
zIndex: C$.line
};
-function v9e(e) {
- var t = IY(e, _9e);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(h9e, {
+function y9e(e) {
+ var t = LY(e, v9e);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(g9e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ S.createElement(g9e, t));
+ }), /*#__PURE__*/ S.createElement(_9e, t));
}
-v9e.displayName = "ReferenceLine";
+y9e.displayName = "ReferenceLine";
//#endregion
//#region node_modules/es-toolkit/dist/function/noop.mjs
-function y9e() {}
+function b9e() {}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
-function b9e(e) {
+function x9e(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
-function x9e(e, t, n) {
+function S9e(e, t, n) {
return V3(e, t, void 0, void 0, void 0, void 0, n);
}
function V3(e, t, n, r, i, a, o) {
@@ -93532,15 +93569,15 @@ function V3(e, t, n, r, i, a, o) {
}
function H3(e, t, n, r) {
if (Object.is(e, t)) return !0;
- let i = GY(e), a = GY(t);
- if (i === "[object Arguments]" && (i = rX), a === "[object Arguments]" && (a = rX), i !== a) return !1;
+ let i = KY(e), a = KY(t);
+ if (i === "[object Arguments]" && (i = iX), a === "[object Arguments]" && (a = iX), i !== a) return !1;
switch (i) {
- case qY: return e.toString() === t.toString();
- case JY: return vX(e.valueOf(), t.valueOf());
- case YY:
- case QY:
- case ZY: return Object.is(e.valueOf(), t.valueOf());
- case KY: return e.source === t.source && e.flags === t.flags;
+ case JY: return e.toString() === t.toString();
+ case YY: return yX(e.valueOf(), t.valueOf());
+ case XY:
+ case $Y:
+ case QY: return Object.is(e.valueOf(), t.valueOf());
+ case qY: return e.source === t.source && e.flags === t.flags;
case Ize: return e === t;
}
n ??= /* @__PURE__ */ new Map();
@@ -93549,11 +93586,11 @@ function H3(e, t, n, r) {
n.set(e, t), n.set(t, e);
try {
switch (i) {
- case $Y:
+ case eX:
if (e.size !== t.size) return !1;
for (let [i, a] of e.entries()) if (!t.has(i) || !V3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
- case eX: {
+ case tX: {
if (e.size !== t.size) return !1;
let i = Array.from(e.values()), a = Array.from(t.values());
for (let o = 0; o < i.length; o++) {
@@ -93563,27 +93600,27 @@ function H3(e, t, n, r) {
}
return !0;
}
- case tX:
- case aX:
+ case nX:
case oX:
case sX:
case cX:
- case Rze:
case lX:
+ case Rze:
case uX:
case dX:
- case zze:
case fX:
+ case zze:
case pX:
- if (hX(e) !== hX(t) || e.length !== t.length) return !1;
+ case mX:
+ if (gX(e) !== gX(t) || e.length !== t.length) return !1;
for (let i = 0; i < e.length; i++) if (!V3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case nX: return e.byteLength === t.byteLength && H3(new Uint8Array(e), new Uint8Array(t), n, r);
- case iX: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : H3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case rX: return e.byteLength === t.byteLength && H3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case aX: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : H3(new Uint8Array(e), new Uint8Array(t), n, r);
case Lze: return e.name === t.name && e.message === t.message;
- case rX: {
- if (!(H3(e.constructor, t.constructor, n, r) || b9e(e) && b9e(t))) return !1;
- let i = [...Object.keys(e), ...WY(e)], a = [...Object.keys(t), ...WY(t)];
+ case iX: {
+ if (!(H3(e.constructor, t.constructor, n, r) || x9e(e) && x9e(t))) return !1;
+ let i = [...Object.keys(e), ...GY(e)], a = [...Object.keys(t), ...GY(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
@@ -93601,12 +93638,12 @@ function H3(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs
-function S9e(e, t) {
- return x9e(e, t, y9e);
+function C9e(e, t) {
+ return S9e(e, t, b9e);
}
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function C9e(e, t) {
+function w9e(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -93617,13 +93654,13 @@ function C9e(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function w9e(e, t, n) {
- return W7e({
+function T9e(e, t, n) {
+ return G7e({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function T9e(e, t, n) {
+function E9e(e, t, n) {
var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;
return t === 1 ? {
start: r ? i : a,
@@ -93638,21 +93675,21 @@ function U3(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function E9e(e, t) {
- return C9e(e, t + 1);
+function D9e(e, t) {
+ return w9e(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function D9e(e, t, n, r, i) {
+function O9e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: C9e(r, l) };
+ if (t === void 0) return { v: w9e(r, l) };
var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || U3(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function O9e(e, t, n, r, i) {
+function k9e(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var o = t.start, s = t.end, c = 1; c <= a; c++) {
@@ -93675,7 +93712,7 @@ function O9e(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function k9e(e, t) {
+function A9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93688,27 +93725,27 @@ function k9e(e, t) {
function W3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k9e(Object(n), !0).forEach(function(t) {
- A9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k9e(Object(n)).forEach(function(t) {
+ t % 2 ? A9e(Object(n), !0).forEach(function(t) {
+ j9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A9e(e, t, n) {
- return (t = j9e(t)) in e ? Object.defineProperty(e, t, {
+function j9e(e, t, n) {
+ return (t = M9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j9e(e) {
- var t = M9e(e, "string");
+function M9e(e) {
+ var t = N9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M9e(e, t) {
+function N9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93718,7 +93755,7 @@ function M9e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function N9e(e, t, n, r, i) {
+function P9e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -93731,7 +93768,7 @@ function N9e(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function P9e(e, t, n, r, i, a) {
+function F9e(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;
if (a) {
var u = r[s - 1];
@@ -93755,7 +93792,7 @@ function P9e(e, t, n, r, i, a) {
function G3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (yJ(c) || VQ.isSsr) return E9e(i, yJ(c) ? c : 0) ?? [];
+ if (bJ(c) || VQ.isSsr) return D9e(i, bJ(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? f4(u, {
fontSize: t,
letterSpacing: n
@@ -93764,19 +93801,19 @@ function G3(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? w9e(f4(i, {
+ return p === "width" ? T9e(f4(i, {
fontSize: t,
letterSpacing: n
}), m, d) : f4(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? gJ(_.coordinate - g.coordinate) : 1, y = T9e(a, v, p);
- return c === "equidistantPreserveStart" ? D9e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? O9e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? P9e(v, y, h, i, o, c === "preserveStartEnd") : N9e(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? _J(_.coordinate - g.coordinate) : 1, y = E9e(a, v, p);
+ return c === "equidistantPreserveStart" ? O9e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? k9e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? F9e(v, y, h, i, o, c === "preserveStartEnd") : P9e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var F9e = (e) => {
+var I9e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -93789,7 +93826,7 @@ var F9e = (e) => {
return Math.round(f);
}
return 0;
-}, I9e = (e) => {
+}, L9e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -93802,7 +93839,7 @@ var F9e = (e) => {
return Math.round(f);
}
return 0;
-}, L9e = LZ({
+}, R9e = LZ({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -93818,7 +93855,7 @@ var F9e = (e) => {
delete e[r][i];
}
}
-}), R9e = L9e.actions, z9e = R9e.setRenderedTicks, B9e = R9e.removeRenderedTicks, V9e = L9e.reducer, H9e = [
+}), z9e = R9e.actions, B9e = z9e.setRenderedTicks, V9e = z9e.removeRenderedTicks, H9e = R9e.reducer, U9e = [
"axisLine",
"width",
"height",
@@ -93828,25 +93865,25 @@ var F9e = (e) => {
"axisType",
"axisId"
];
-function U9e(e, t) {
- return J9e(e) || q9e(e, t) || G9e(e, t) || W9e();
+function W9e(e, t) {
+ return Y9e(e) || J9e(e, t) || K9e(e, t) || G9e();
}
-function W9e() {
+function G9e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function G9e(e, t) {
+function K9e(e, t) {
if (e) {
- if (typeof e == "string") return K9e(e, t);
+ if (typeof e == "string") return q9e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? K9e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? q9e(e, t) : void 0;
}
}
-function K9e(e, t) {
+function q9e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function q9e(e, t) {
+function J9e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -93867,19 +93904,19 @@ function q9e(e, t) {
return s;
}
}
-function J9e(e) {
+function Y9e(e) {
if (Array.isArray(e)) return e;
}
-function Y9e(e, t) {
+function X9e(e, t) {
if (e == null) return {};
- var n, r, i = X9e(e, t);
+ var n, r, i = Z9e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function X9e(e, t) {
+function Z9e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93897,7 +93934,7 @@ function K3() {
return e;
}, K3.apply(null, arguments);
}
-function Z9e(e, t) {
+function Q9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93910,27 +93947,27 @@ function Z9e(e, t) {
function q3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Z9e(Object(n), !0).forEach(function(t) {
- Q9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z9e(Object(n)).forEach(function(t) {
+ t % 2 ? Q9e(Object(n), !0).forEach(function(t) {
+ $9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Q9e(e, t, n) {
- return (t = $9e(t)) in e ? Object.defineProperty(e, t, {
+function $9e(e, t, n) {
+ return (t = eet(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $9e(e) {
- var t = eet(e, "string");
+function eet(e) {
+ var t = tet(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eet(e, t) {
+function tet(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93964,10 +94001,10 @@ var J3 = {
interval: "preserveEnd",
zIndex: C$.axis
};
-function tet(e) {
+function net(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = q3(q3(q3({}, c), eJ(s)), {}, { fill: "none" });
+ var l = q3(q3(q3({}, c), tJ(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = q3(q3({}, l), {}, {
@@ -93985,10 +94022,10 @@ function tet(e) {
y2: n + i
});
}
- return /*#__PURE__*/ S.createElement("line", K3({}, l, { className: ry("recharts-cartesian-axis-line", pJ(s, "className")) }));
+ return /*#__PURE__*/ S.createElement("line", K3({}, l, { className: ny("recharts-cartesian-axis-line", mJ(s, "className")) }));
}
-function net(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = yJ(e.tickCoord) ? e.tickCoord : e.coordinate;
+function ret(e, t, n, r, i, a, o, s, c) {
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = bJ(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -94014,14 +94051,14 @@ function net(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ret(e, t) {
+function iet(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function iet(e, t) {
+function aet(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -94029,18 +94066,18 @@ function iet(e, t) {
default: return t ? "end" : "start";
}
}
-function aet(e) {
- var t = e.option, n = e.tickProps, r = e.value, i, a = ry(n.className, "recharts-cartesian-axis-tick-value");
+function oet(e) {
+ var t = e.option, n = e.tickProps, r = e.value, i, a = ny(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ S.isValidElement(t)) i = /*#__PURE__*/ S.cloneElement(t, q3(q3({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(q3(q3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = ry(o, U4(t))), i = /*#__PURE__*/ S.createElement(v4, K3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = ny(o, U4(t))), i = /*#__PURE__*/ S.createElement(v4, K3({}, n, { className: o }), r);
}
return i;
}
-function oet(e) {
- var t = e.ticks, n = e.axisType, r = e.axisId, i = kX(), a = (0, S.useRef)(null);
+function set(e) {
+ var t = e.ticks, n = e.axisType, r = e.axisId, i = AX(), a = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
if (r != null && n != null) {
var e = t.map((e) => ({
@@ -94049,11 +94086,11 @@ function oet(e) {
offset: e.offset,
index: e.index
})), o = a.current;
- o != null && o.axisId === r && o.axisType === n && S9e(o.ticks, e) || (a.current = {
+ o != null && o.axisId === r && o.axisType === n && C9e(o.ticks, e) || (a.current = {
ticks: e,
axisId: r,
axisType: n
- }, i(z9e({
+ }, i(B9e({
ticks: e,
axisId: r,
axisType: n
@@ -94064,8 +94101,8 @@ function oet(e) {
t,
r,
n
- ]), (0, S.useEffect)(() => r == null || n == null ? kJ : () => {
- i(B9e({
+ ]), (0, S.useEffect)(() => r == null || n == null ? AJ : () => {
+ i(V9e({
axisId: r,
axisType: n
}));
@@ -94075,15 +94112,15 @@ function oet(e) {
n
]), null;
}
-var set = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = G3(q3(q3({}, x), {}, { ticks: r }), y, b), D = eJ(x), O = tJ(i), k = l4e(D.textAnchor) ? D.textAnchor : ret(d, f), A = iet(d, f), j = {};
+var cet = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = G3(q3(q3({}, x), {}, { ticks: r }), y, b), D = tJ(x), O = nJ(i), k = u4e(D.textAnchor) ? D.textAnchor : iet(d, f), A = aet(d, f), j = {};
typeof a == "object" && (j = a);
- var M = q3(q3({}, D), {}, { fill: "none" }, j), N = E.map((e) => q3({ entry: e }, net(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
+ var M = q3(q3({}, D), {}, { fill: "none" }, j), N = E.map((e) => q3({ entry: e }, ret(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ S.createElement(oJ, {
+ return /*#__PURE__*/ S.createElement(sJ, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ S.createElement("line", K3({}, M, n, { className: ry("recharts-cartesian-axis-tick-line", pJ(a, "className")) })));
+ }, a && /*#__PURE__*/ S.createElement("line", K3({}, M, n, { className: ny("recharts-cartesian-axis-tick-line", mJ(a, "className")) })));
}), F = N.map((e, t) => {
var n = e.entry, r = e.tick, a = q3(q3({}, q3(q3(q3(q3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
@@ -94096,16 +94133,16 @@ var set = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ S.createElement(oJ, K3({
+ return /*#__PURE__*/ S.createElement(sJ, K3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, PY(C, n, t)), i && /*#__PURE__*/ S.createElement(aet, {
+ }, FY(C, n, t)), i && /*#__PURE__*/ S.createElement(oet, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
}));
});
- return /*#__PURE__*/ S.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ S.createElement(oet, {
+ return /*#__PURE__*/ S.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ S.createElement(set, {
ticks: E,
axisId: T,
axisType: w
@@ -94113,17 +94150,17 @@ var set = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,
ref: t
}, F)), P.length > 0 && /*#__PURE__*/ S.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));
-}), cet = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = Y9e(e, H9e), d = U9e((0, S.useState)(""), 2), f = d[0], p = d[1], m = U9e((0, S.useState)(""), 2), h = m[0], g = m[1], _ = (0, S.useRef)(null);
+}), uet = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = X9e(e, U9e), d = W9e((0, S.useState)(""), 2), f = d[0], p = d[1], m = W9e((0, S.useState)(""), 2), h = m[0], g = m[1], _ = (0, S.useRef)(null);
(0, S.useImperativeHandle)(t, () => ({
- getCalculatedWidth: () => F9e({
+ getCalculatedWidth: () => I9e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
tickSize: e.tickSize,
tickMargin: e.tickMargin
}),
- getCalculatedHeight: () => I9e({
+ getCalculatedHeight: () => L9e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -94142,7 +94179,7 @@ var set = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(oJ, { className: ry("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(tet, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(sJ, { className: ny("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(net, {
x: e.x,
y: e.y,
width: r,
@@ -94150,8 +94187,8 @@ var set = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: eJ(e)
- }), /*#__PURE__*/ S.createElement(set, {
+ otherSvgProps: tJ(e)
+ }), /*#__PURE__*/ S.createElement(cet, {
ref: v,
axisType: c,
events: u,
@@ -94175,37 +94212,37 @@ var set = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ S.createElement(k4e, {
+ }), /*#__PURE__*/ S.createElement(A4e, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ S.createElement(V4e, {
+ }, /*#__PURE__*/ S.createElement(H4e, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
}), Y3 = /*#__PURE__*/ S.forwardRef((e, t) => {
- var n = IY(e, J3);
- return /*#__PURE__*/ S.createElement(cet, K3({}, n, { ref: t }));
+ var n = LY(e, J3);
+ return /*#__PURE__*/ S.createElement(uet, K3({}, n, { ref: t }));
});
Y3.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/theme/RechartsThemeContext.js
-var uet = /*#__PURE__*/ (0, S.createContext)({ grid: {
+var det = /*#__PURE__*/ (0, S.createContext)({ grid: {
stroke: "#ccc",
fill: "none"
} });
-uet.Provider;
-var det = () => (0, S.useContext)(uet), fet = [
+det.Provider;
+var fet = () => (0, S.useContext)(det), pet = [
"x1",
"y1",
"x2",
"y2",
"key"
-], pet = ["offset"], met = ["xAxisId", "yAxisId"], het = ["xAxisId", "yAxisId"];
-function get(e, t) {
+], met = ["offset"], het = ["xAxisId", "yAxisId"], get = ["xAxisId", "yAxisId"];
+function _et(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -94218,27 +94255,27 @@ function get(e, t) {
function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? get(Object(n), !0).forEach(function(t) {
- _et(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : get(Object(n)).forEach(function(t) {
+ t % 2 ? _et(Object(n), !0).forEach(function(t) {
+ vet(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _et(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _et(e, t, n) {
- return (t = vet(t)) in e ? Object.defineProperty(e, t, {
+function vet(e, t, n) {
+ return (t = yet(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vet(e) {
- var t = yet(e, "string");
+function yet(e) {
+ var t = bet(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yet(e, t) {
+function bet(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -94259,14 +94296,14 @@ function Z3() {
}
function Q3(e, t) {
if (e == null) return {};
- var n, r, i = bet(e, t);
+ var n, r, i = xet(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function bet(e, t) {
+function xet(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94275,7 +94312,7 @@ function bet(e, t) {
}
return n;
}
-var xet = (e) => {
+var Cet = (e) => {
var t = e.fill;
if (!t || t === "none") return null;
var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;
@@ -94291,14 +94328,14 @@ var xet = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function Cet(e) {
+function wet(e) {
var t = e.option, n = e.lineItemProps, r;
if (/*#__PURE__*/ S.isValidElement(t)) r = /*#__PURE__*/ S.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = eJ(Q3(n, fet)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = tJ(Q3(n, pet)) ?? {};
l.offset;
- var u = Q3(l, pet), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
+ var u = Q3(l, met), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
r = /*#__PURE__*/ S.createElement("line", Z3({}, u, {
strokeDasharray: d,
x1: i,
@@ -94311,11 +94348,11 @@ function Cet(e) {
}
return r;
}
-function wet(e) {
+function Tet(e) {
var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = Q3(e, met), s = a.map((e, r) => {
+ var o = Q3(e, het), s = a.map((e, r) => {
var a = X3(X3({}, o), {}, {
x1: t,
y1: e,
@@ -94324,7 +94361,7 @@ function wet(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ S.createElement(Cet, {
+ return /*#__PURE__*/ S.createElement(wet, {
key: `line-${r}`,
option: i,
lineItemProps: a
@@ -94332,11 +94369,11 @@ function wet(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);
}
-function Tet(e) {
+function Eet(e) {
var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = Q3(e, het), s = a.map((e, r) => {
+ var o = Q3(e, get), s = a.map((e, r) => {
var a = X3(X3({}, o), {}, {
x1: e,
y1: t,
@@ -94345,7 +94382,7 @@ function Tet(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ S.createElement(Cet, {
+ return /*#__PURE__*/ S.createElement(wet, {
option: i,
lineItemProps: a,
key: `line-${r}`
@@ -94353,7 +94390,7 @@ function Tet(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);
}
-function Eet(e) {
+function Det(e) {
var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;
if (!(c === void 0 || c) || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -94376,7 +94413,7 @@ function Eet(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function Det(e) {
+function Oet(e) {
var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;
if (!n || !r || !r.length) return null;
var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);
@@ -94399,10 +94436,10 @@ function Det(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);
}
-var Oet = (e, t) => {
+var ket = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return EHe(G3(X3(X3(X3({}, J3), n), {}, {
- ticks: DHe(n, !0),
+ return DHe(G3(X3(X3(X3({}, J3), n), {}, {
+ ticks: OHe(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -94410,10 +94447,10 @@ var Oet = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, ket = (e, t) => {
+}, Aet = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return EHe(G3(X3(X3(X3({}, J3), n), {}, {
- ticks: DHe(n, !0),
+ return DHe(G3(X3(X3(X3({}, J3), n), {}, {
+ ticks: OHe(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -94421,7 +94458,7 @@ var Oet = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, Aet = {
+}, jet = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -94433,20 +94470,20 @@ var Oet = (e, t) => {
syncWithTicks: !1,
zIndex: C$.grid
};
-function jet(e) {
- var t = TQ(), n = EQ(), r = OUe(), i = X3(X3({}, IY(e, Aet)), {}, {
- x: yJ(e.x) ? e.x : r.left,
- y: yJ(e.y) ? e.y : r.top,
- width: yJ(e.width) ? e.width : r.width,
- height: yJ(e.height) ? e.height : r.height
- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = gQ(), h = jX((e) => v$e(e, "xAxis", a, m)), g = jX((e) => v$e(e, "yAxis", o, m)), _ = det(), v = {
+function Met(e) {
+ var t = TQ(), n = EQ(), r = kUe(), i = X3(X3({}, LY(e, jet)), {}, {
+ x: bJ(e.x) ? e.x : r.left,
+ y: bJ(e.y) ? e.y : r.top,
+ width: bJ(e.width) ? e.width : r.width,
+ height: bJ(e.height) ? e.height : r.height
+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = gQ(), h = MX((e) => y$e(e, "xAxis", a, m)), g = MX((e) => y$e(e, "yAxis", o, m)), _ = fet(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!$Z(l) || !$Z(u) || !yJ(s) || !yJ(c)) return null;
- var y = i.verticalCoordinatesGenerator || Oet, b = i.horizontalCoordinatesGenerator || ket, x = i.horizontalPoints, C = i.verticalPoints;
+ if (!$Z(l) || !$Z(u) || !bJ(s) || !bJ(c)) return null;
+ var y = i.verticalCoordinatesGenerator || ket, b = i.horizontalCoordinatesGenerator || Aet, x = i.horizontalPoints, C = i.verticalPoints;
if ((!x || !x.length) && typeof b == "function") {
var w = f && f.length, T = b({
yAxis: g ? X3(X3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
@@ -94465,7 +94502,7 @@ function jet(e) {
}, E ? !0 : d);
yQ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
- return /*#__PURE__*/ S.createElement(r4, { zIndex: i.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ S.createElement(xet, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: i.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ S.createElement(Cet, {
fill: i.fill ?? _.grid.fill,
fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,
x: i.x,
@@ -94473,22 +94510,22 @@ function jet(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ S.createElement(Eet, Z3({}, i, { horizontalPoints: x })), /*#__PURE__*/ S.createElement(Det, Z3({}, i, { verticalPoints: C })), /*#__PURE__*/ S.createElement(wet, Z3({}, i, v, {
+ }), /*#__PURE__*/ S.createElement(Det, Z3({}, i, { horizontalPoints: x })), /*#__PURE__*/ S.createElement(Oet, Z3({}, i, { verticalPoints: C })), /*#__PURE__*/ S.createElement(Tet, Z3({}, i, v, {
offset: r,
horizontalPoints: x,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ S.createElement(Tet, Z3({}, i, v, {
+ })), /*#__PURE__*/ S.createElement(Eet, Z3({}, i, v, {
offset: r,
verticalPoints: C,
xAxis: h,
yAxis: g
}))));
}
-jet.displayName = "CartesianGrid";
+Met.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/cartesian/LineDrawShape.js
-var Met = [
+var Net = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -94505,16 +94542,16 @@ function $3() {
return e;
}, $3.apply(null, arguments);
}
-function Net(e, t) {
+function Pet(e, t) {
if (e == null) return {};
- var n, r, i = Pet(e, t);
+ var n, r, i = Fet(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Pet(e, t) {
+function Fet(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94523,26 +94560,26 @@ function Pet(e, t) {
}
return n;
}
-function Fet(e) {
+function Iet(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Iet(e, t) {
+function Let(e, t) {
return `${t}px ${e}px`;
}
-function Let(e) {
+function Ret(e) {
return e.length % 2 == 0 ? e : [...e, ...e];
}
-function Ret(e, t) {
+function zet(e, t) {
for (var n = [], r = 0; r < t; ++r) n.push(...e);
return n;
}
-function zet(e, t, n) {
- var r = Let(n), i = r.reduce((e, t) => e + t, 0);
- if (!i) return Iet(t, e);
+function Bet(e, t, n) {
+ var r = Ret(n), i = r.reduce((e, t) => e + t, 0);
+ if (!i) return Let(t, e);
for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {
var u, d = r[c];
if (d != null && l + d > o) {
@@ -94552,20 +94589,20 @@ function zet(e, t, n) {
}
var f = s.length % 2 == 0 ? [0, t] : [t];
return [
- ...Ret(r, a),
+ ...zet(r, a),
...s,
...f
].map((e) => `${e}px`).join(", ");
}
-function Bet(e, t, n) {
- return e ? zet(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : Iet(t, n);
+function Vet(e, t, n) {
+ return e ? Bet(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : Let(t, n);
}
-function Vet(e) {
+function Het(e) {
e.animationElapsedTime, e.isAnimating, e.isEntrance;
- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = Net(e, Met), a = r ?? !1, o;
+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = Pet(e, Net), a = r ?? !1, o;
if (t != null) {
var s = i.pathRef;
- o = Bet(n, Fet(s?.current ?? null), t);
+ o = Vet(n, Iet(s?.current ?? null), t);
} else n != null && (o = String(n));
return /*#__PURE__*/ S.createElement(qQ, $3({}, i, {
connectNulls: a,
@@ -94574,17 +94611,17 @@ function Vet(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js
-function Het(e) {
+function Uet(e) {
var t = (0, S.useRef)(0), n = (0, S.useRef)(0), r = (0, S.useRef)(!1), i = (0, S.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, S.useCallback)((e, i) => {
if (r.current) return null;
- var a = Math.min(mJ(t.current + e * i), i);
+ var a = Math.min(hJ(t.current + e * i), i);
return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;
}, []);
}
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var Uet = LZ({
+var Wet = LZ({
name: "errorBars",
initialState: {},
reducers: {
@@ -94601,19 +94638,19 @@ var Uet = LZ({
e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));
}
}
-}), e6 = Uet.actions;
+}), e6 = Wet.actions;
e6.addErrorBar, e6.replaceErrorBar, e6.removeErrorBar;
-var Wet = Uet.reducer, Get = ["children"];
-function Ket(e, t) {
+var Get = Wet.reducer, Ket = ["children"];
+function qet(e, t) {
if (e == null) return {};
- var n, r, i = qet(e, t);
+ var n, r, i = Jet(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function qet(e, t) {
+function Jet(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94622,7 +94659,7 @@ function qet(e, t) {
}
return n;
}
-var Jet = /*#__PURE__*/ (0, S.createContext)({
+var Yet = /*#__PURE__*/ (0, S.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -94633,14 +94670,14 @@ var Jet = /*#__PURE__*/ (0, S.createContext)({
}),
errorBarOffset: 0
});
-function Yet(e) {
- var t = e.children, n = Ket(e, Get);
- return /*#__PURE__*/ S.createElement(Jet.Provider, { value: n }, t);
+function Xet(e) {
+ var t = e.children, n = qet(e, Ket);
+ return /*#__PURE__*/ S.createElement(Yet.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
function t6(e, t) {
- var n = jX((t) => V0(t, e)), r = jX((e) => U0(e, t)), i = n?.allowDataOverflow ?? B0.allowDataOverflow, a = r?.allowDataOverflow ?? H0.allowDataOverflow;
+ var n = MX((t) => V0(t, e)), r = MX((e) => U0(e, t)), i = n?.allowDataOverflow ?? B0.allowDataOverflow, a = r?.allowDataOverflow ?? H0.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
@@ -94648,7 +94685,7 @@ function t6(e, t) {
};
}
function n6(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = v3(), a = t6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = jX((e) => e$e(e, t, !1)), u = jX((e) => t$e(e, n, !1));
+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = v3(), a = t6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = MX((e) => t$e(e, t, !1)), u = MX((e) => n$e(e, n, !1));
if (!c || !i) return null;
var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;
return /*#__PURE__*/ S.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ S.createElement("rect", {
@@ -94660,30 +94697,30 @@ function n6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Xet = (e, t, n, r) => A2(e, "xAxis", t, r), Zet = (e, t, n, r) => k2(e, "xAxis", t, r), Qet = (e, t, n, r) => A2(e, "yAxis", n, r), $et = (e, t, n, r) => k2(e, "yAxis", n, r), ett = Y([
+var Zet = (e, t, n, r) => A2(e, "xAxis", t, r), Qet = (e, t, n, r) => k2(e, "xAxis", t, r), $et = (e, t, n, r) => A2(e, "yAxis", n, r), ett = (e, t, n, r) => k2(e, "yAxis", n, r), ttt = Y([
DQ,
- Xet,
- Qet,
Zet,
- $et
-], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), ttt = (e, t, n, r, i) => i;
-function ntt(e) {
+ $et,
+ Qet,
+ ett
+], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), ntt = (e, t, n, r, i) => i;
+function rtt(e) {
return e.type === "line";
}
-var rtt = Y([
+var itt = Y([
DQ,
- Xet,
- Qet,
Zet,
$et,
- Y([J0, ttt], (e, t) => e.filter(ntt).find((e) => e.id === t)),
+ Qet,
ett,
+ Y([J0, ntt], (e, t) => e.filter(rtt).find((e) => e.id === t)),
+ ttt,
u$
], (e, t, n, r, i, a, o, s) => {
var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return Ttt({
+ if (p != null) return Ett({
layout: e,
xAxis: t,
yAxis: n,
@@ -94697,8 +94734,8 @@ var rtt = Y([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function itt(e) {
- var t = tJ(e), n = 3, r = 2;
+function att(e) {
+ var t = nJ(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -94713,14 +94750,14 @@ function itt(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var att = ["id"], ott = [
+var ott = ["id"], stt = [
"type",
"layout",
"connectNulls",
"needClip",
"shape",
"strokeDasharray"
-], stt = [
+], ctt = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -94747,14 +94784,14 @@ function r6() {
}
function i6(e, t) {
if (e == null) return {};
- var n, r, i = ctt(e, t);
+ var n, r, i = ltt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ctt(e, t) {
+function ltt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94763,7 +94800,7 @@ function ctt(e, t) {
}
return n;
}
-function ltt(e, t) {
+function utt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -94776,27 +94813,27 @@ function ltt(e, t) {
function a6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ltt(Object(n), !0).forEach(function(t) {
- utt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ltt(Object(n)).forEach(function(t) {
+ t % 2 ? utt(Object(n), !0).forEach(function(t) {
+ dtt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : utt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function utt(e, t, n) {
- return (t = dtt(t)) in e ? Object.defineProperty(e, t, {
+function dtt(e, t, n) {
+ return (t = ftt(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dtt(e) {
- var t = ftt(e, "string");
+function ftt(e) {
+ var t = ptt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ftt(e, t) {
+function ptt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -94806,14 +94843,14 @@ function ftt(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ptt(e) {
+function mtt(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function mtt(e) {
+function htt(e) {
var t = 0, n = 0;
for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);
return n > 0 ? t / n : 0;
@@ -94827,23 +94864,23 @@ var o6 = {
animationInterpolateFn: (e, t) => {
if (e == null) return [];
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
- var n = mtt(e), r = [];
+ var n = htt(e), r = [];
for (var i of e) if (i.status === "matched") r.push(a6(a6({}, i.next), {}, {
- x: wJ(i.prev.x, i.next.x, t),
- y: wJ(i.prev.y, i.next.y, t)
+ x: TJ(i.prev.x, i.next.x, t),
+ y: TJ(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
r.push(a6(a6({}, i.next), {}, {
- x: wJ(a, i.next.x, t),
+ x: TJ(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
r.push(a6(a6({}, i.prev), {}, {
- x: wJ(i.prev.x, o, t),
+ x: TJ(i.prev.x, o, t),
y: i.prev.y
}));
}
@@ -94857,14 +94894,14 @@ var o6 = {
isAnimationActive: "auto",
label: !1,
legendType: "line",
- shape: Vet,
+ shape: Het,
stroke: "#3182bd",
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
zIndex: C$.line,
type: "linear"
-}, htt = (e) => {
+}, gtt = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;
return [{
inactive: e.hide,
@@ -94874,10 +94911,10 @@ var o6 = {
value: sQ(n, t),
payload: e
}];
-}, gtt = /*#__PURE__*/ S.memo((e) => {
+}, _tt = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: kJ,
+ getPosition: AJ,
settings: {
stroke: r,
strokeWidth: i,
@@ -94895,10 +94932,10 @@ var o6 = {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: f });
});
-function _tt(e) {
+function vtt(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = eJ(i6(r, att));
+ var s = tJ(i6(r, ott));
return /*#__PURE__*/ S.createElement(h3, {
points: n,
dot: i,
@@ -94910,7 +94947,7 @@ function _tt(e) {
clipPathId: t
});
}
-function vtt(e) {
+function ytt(e) {
var t = e.showLabels, n = e.children, r = e.points, i = (0, S.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -94930,8 +94967,8 @@ function vtt(e) {
}), [r]);
return /*#__PURE__*/ S.createElement(T4, { value: t ? i : void 0 }, n);
}
-function ytt(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = a6(a6({}, nJ(i6(i, ott))), {}, {
+function btt(e) {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = a6(a6({}, rJ(i6(i, stt))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -94950,15 +94987,15 @@ function ytt(e) {
option: p,
DefaultShape: o6.shape,
shapeProps: h
- }), /*#__PURE__*/ S.createElement(_tt, {
+ }), /*#__PURE__*/ S.createElement(vtt, {
points: r,
clipPathId: t,
props: i
}));
}
-function btt(e) {
- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = ptt(r.current), m = c3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = Het(a), b = (0, S.useCallback)((e) => e > 0 && p > 0, [p]);
- return /*#__PURE__*/ S.createElement(vtt, {
+function xtt(e) {
+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = mtt(r.current), m = c3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = Uet(a), b = (0, S.useCallback)((e) => e > 0 && p > 0, [p]);
+ return /*#__PURE__*/ S.createElement(ytt, {
points: a,
showLabels: v
}, n.children, /*#__PURE__*/ S.createElement(l3, {
@@ -94978,7 +95015,7 @@ function btt(e) {
layout: f
}, (e, i, a) => {
var o = h || i < 1, s = o ? y(i, p) : null;
- return /*#__PURE__*/ S.createElement(ytt, {
+ return /*#__PURE__*/ S.createElement(btt, {
props: n,
points: e,
clipPathId: t,
@@ -94990,26 +95027,26 @@ function btt(e) {
});
}), /*#__PURE__*/ S.createElement(D4, { label: n.label }));
}
-function xtt(e) {
+function Stt(e) {
var t = e.clipPathId, n = e.props, r = (0, S.useRef)(null), i = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(btt, {
+ return /*#__PURE__*/ S.createElement(xtt, {
props: n,
clipPathId: t,
previousPointsRef: r,
pathRef: i
});
}
-var Stt = (e, t) => ({
+var Ctt = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: tQ(e.payload, t)
-}), Ctt = class extends S.Component {
+}), wtt = class extends S.Component {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
- var m = ry("recharts-line", i), h = d, g = itt(n), _ = g.r, v = g.strokeWidth, y = Z4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ S.createElement(r4, { zIndex: p }, /*#__PURE__*/ S.createElement(oJ, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
+ var m = ny("recharts-line", i), h = d, g = att(n), _ = g.r, v = g.strokeWidth, y = Z4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: p }, /*#__PURE__*/ S.createElement(sJ, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -95018,13 +95055,13 @@ var Stt = (e, t) => ({
y: s - b / 2,
width: l + b,
height: u + b
- }))), /*#__PURE__*/ S.createElement(Yet, {
+ }))), /*#__PURE__*/ S.createElement(Xet, {
xAxisId: a,
yAxisId: o,
data: r,
- dataPointFormatter: Stt,
+ dataPointFormatter: Ctt,
errorBarOffset: 0
- }, /*#__PURE__*/ S.createElement(xtt, {
+ }, /*#__PURE__*/ S.createElement(Stt, {
props: this.props,
clipPathId: h
}))), /*#__PURE__*/ S.createElement(b3, {
@@ -95036,11 +95073,11 @@ var Stt = (e, t) => ({
}));
}
};
-function wtt(e) {
- var t = IY(e, o6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = i6(t, stt), _ = t6(p, m).needClip, v = v3(), y = OQ(), b = gQ(), x = jX((e) => rtt(e, p, m, b, h));
+function Ttt(e) {
+ var t = LY(e, o6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = i6(t, ctt), _ = t6(p, m).needClip, v = v3(), y = OQ(), b = gQ(), x = MX((e) => itt(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var C = v.height, w = v.width, T = v.x, E = v.y;
- return /*#__PURE__*/ S.createElement(Ctt, r6({}, g, {
+ return /*#__PURE__*/ S.createElement(wtt, r6({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -95064,7 +95101,7 @@ function wtt(e) {
needClip: _
}));
}
-function Ttt(e) {
+function Ett(e) {
var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;
return e.displayedData.map((e, c) => {
var l = tQ(e, o);
@@ -95076,11 +95113,11 @@ function Ttt(e) {
entry: e,
index: c
}),
- y: (EJ(l) ? null : r.scale.map(l)) ?? null,
+ y: (DJ(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = EJ(l) ? null : n.scale.map(l), d = iQ({
+ var u = DJ(l) ? null : n.scale.map(l), d = iQ({
axis: r,
ticks: a,
bandSize: s,
@@ -95095,12 +95132,12 @@ function Ttt(e) {
};
}).filter(Boolean);
}
-function Ett(e) {
- var t = IY(e, o6), n = gQ();
+function Dtt(e) {
+ var t = LY(e, o6), n = gQ();
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: htt(t) }), /*#__PURE__*/ S.createElement(gtt, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: gtt(t) }), /*#__PURE__*/ S.createElement(_tt, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -95122,10 +95159,10 @@ function Ett(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ S.createElement(wtt, r6({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(Ttt, r6({}, t, { id: e }))));
}
-var Dtt = /*#__PURE__*/ S.memo(Ett, PQ);
-Dtt.displayName = "Line";
+var Ott = /*#__PURE__*/ S.memo(Dtt, PQ);
+Ott.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
function s6(e, t) {
@@ -95136,19 +95173,19 @@ function c6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var Ott = (e, t, n) => A2(e, "xAxis", s6(e, t), n), ktt = (e, t, n) => k2(e, "xAxis", s6(e, t), n), Att = (e, t, n) => A2(e, "yAxis", c6(e, t), n), jtt = (e, t, n) => k2(e, "yAxis", c6(e, t), n), Mtt = Y([
+var ktt = (e, t, n) => A2(e, "xAxis", s6(e, t), n), Att = (e, t, n) => k2(e, "xAxis", s6(e, t), n), jtt = (e, t, n) => A2(e, "yAxis", c6(e, t), n), Mtt = (e, t, n) => k2(e, "yAxis", c6(e, t), n), Ntt = Y([
DQ,
- Ott,
- Att,
ktt,
- jtt
-], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), l6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), Ntt = (e) => nQ(DQ(e), "xAxis") ? "yAxis" : "xAxis", Ptt = (e, t) => Ntt(e) === "yAxis" ? c6(e, t) : s6(e, t), Ftt = (e, t, n) => o2(e, Ntt(e), Ptt(e, t), n), Itt = Y([
- DQ,
- Ott,
+ jtt,
Att,
+ Mtt
+], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), l6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), Ptt = (e) => nQ(DQ(e), "xAxis") ? "yAxis" : "xAxis", Ftt = (e, t) => Ptt(e) === "yAxis" ? c6(e, t) : s6(e, t), Itt = (e, t, n) => o2(e, Ptt(e), Ftt(e, t), n), Ltt = Y([
+ DQ,
ktt,
jtt,
- Y([l6, Ftt], (e, t) => {
+ Att,
+ Mtt,
+ Y([l6, Itt], (e, t) => {
if (e != null && t != null) {
var n = e.stackId, r = I$(e);
if (n != null && r != null) {
@@ -95157,21 +95194,21 @@ var Ott = (e, t, n) => A2(e, "xAxis", s6(e, t), n), ktt = (e, t, n) => k2(e, "xA
}
}
}),
- hqe,
- Mtt,
+ gqe,
+ Ntt,
l6,
- Uqe,
- Y([l6, Ftt], (e, t) => {
+ Wqe,
+ Y([l6, Itt], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(OJ);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(kJ);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);
- if (h != null) return dnt({
+ if (h != null) return fnt({
layout: e,
xAxis: t,
yAxis: n,
@@ -95186,7 +95223,7 @@ var Ott = (e, t, n) => A2(e, "xAxis", s6(e, t), n), ktt = (e, t, n) => k2(e, "xA
stackDataKeys: u
});
}
-}), Ltt = [
+}), Rtt = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -95194,7 +95231,7 @@ var Ott = (e, t, n) => A2(e, "xAxis", s6(e, t), n), ktt = (e, t, n) => k2(e, "xA
"isRange",
"stroke",
"connectNulls"
-], Rtt = ["id", "baseLine"];
+], ztt = ["id", "baseLine"];
function u6() {
return u6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -95204,16 +95241,16 @@ function u6() {
return e;
}, u6.apply(null, arguments);
}
-function ztt(e, t) {
+function Btt(e, t) {
if (e == null) return {};
- var n, r, i = Btt(e, t);
+ var n, r, i = Vtt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Btt(e, t) {
+function Vtt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95222,44 +95259,44 @@ function Btt(e, t) {
}
return n;
}
-function Vtt(e) {
+function Htt(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!QZ(a) || !QZ(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return yJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), yJ(c) ? /*#__PURE__*/ S.createElement("rect", {
+ return bJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), bJ(c) ? /*#__PURE__*/ S.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function Htt(e) {
+function Utt(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!QZ(a) || !QZ(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return yJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), yJ(c) ? /*#__PURE__*/ S.createElement("rect", {
+ return bJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), bJ(c) ? /*#__PURE__*/ S.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
height: Math.floor(s)
}) : null;
}
-function Utt(e) {
+function Wtt(e) {
var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;
- return n === "vertical" ? /*#__PURE__*/ S.createElement(Htt, {
+ return n === "vertical" ? /*#__PURE__*/ S.createElement(Utt, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ S.createElement(Vtt, {
+ }) : /*#__PURE__*/ S.createElement(Htt, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function Wtt(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = ztt(e, Ltt), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = l8e(), h = d.id, g = d.baseLine, _ = eJ(ztt(d, Rtt)), v = /*#__PURE__*/ S.createElement(qQ, u6({}, d, {
+function Gtt(e) {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = Btt(e, Rtt), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = u8e(), h = d.id, g = d.baseLine, _ = tJ(Btt(d, ztt)), v = /*#__PURE__*/ S.createElement(qQ, u6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
@@ -95283,17 +95320,17 @@ function Wtt(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(oJ, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(Utt, {
+ return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(sJ, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(Wtt, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ S.createElement(oJ, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);
+ }))), /*#__PURE__*/ S.createElement(sJ, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
-var Gtt = ["id"], Ktt = [
+var Ktt = ["id"], qtt = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -95318,16 +95355,16 @@ function d6() {
return e;
}, d6.apply(null, arguments);
}
-function qtt(e, t) {
+function Jtt(e, t) {
if (e == null) return {};
- var n, r, i = Jtt(e, t);
+ var n, r, i = Ytt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Jtt(e, t) {
+function Ytt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95336,7 +95373,7 @@ function Jtt(e, t) {
}
return n;
}
-function Ytt(e, t) {
+function Xtt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -95349,27 +95386,27 @@ function Ytt(e, t) {
function f6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Ytt(Object(n), !0).forEach(function(t) {
- Xtt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ytt(Object(n)).forEach(function(t) {
+ t % 2 ? Xtt(Object(n), !0).forEach(function(t) {
+ Ztt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xtt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xtt(e, t, n) {
- return (t = Ztt(t)) in e ? Object.defineProperty(e, t, {
+function Ztt(e, t, n) {
+ return (t = Qtt(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ztt(e) {
- var t = Qtt(e, "string");
+function Qtt(e) {
+ var t = $tt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qtt(e, t) {
+function $tt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -95379,15 +95416,15 @@ function Qtt(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $tt = {
+var ent = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
animationMatchBy: i3,
animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [f6(f6({}, e.next), {}, {
- x: wJ(e.prev.x, e.next.x, t),
- y: wJ(e.prev.y, e.next.y, t)
+ x: TJ(e.prev.x, e.next.x, t),
+ y: TJ(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -95400,7 +95437,7 @@ var $tt = {
strokeWidth: 1,
type: "linear",
label: !1,
- shape: Wtt,
+ shape: Gtt,
xAxisId: 0,
yAxisId: 0,
zIndex: C$.area
@@ -95408,7 +95445,7 @@ var $tt = {
function p6(e, t) {
return e && e !== "none" ? e : t;
}
-var ent = (e) => {
+var tnt = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
@@ -95418,10 +95455,10 @@ var ent = (e) => {
value: sQ(n, t),
payload: e
}];
-}, tnt = /*#__PURE__*/ S.memo((e) => {
+}, nnt = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: kJ,
+ getPosition: AJ,
settings: {
stroke: r,
strokeWidth: i,
@@ -95439,8 +95476,8 @@ var ent = (e) => {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: f });
});
-function nnt(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = eJ(r);
+function rnt(e) {
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = tJ(r);
return /*#__PURE__*/ S.createElement(h3, {
points: n,
dot: a,
@@ -95452,7 +95489,7 @@ function nnt(e) {
clipPathId: t
});
}
-function rnt(e) {
+function int(e) {
var t = e.showLabels, n = e.children, r = e.points.map((e) => {
var t = {
x: e.x ?? 0,
@@ -95472,8 +95509,8 @@ function rnt(e) {
});
return /*#__PURE__*/ S.createElement(T4, { value: t ? r : void 0 }, n);
}
-function int(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = qtt(a, Gtt), _ = f6(f6({}, nJ(g)), {}, {
+function ant(e) {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Jtt(a, Ktt), _ = f6(f6({}, rJ(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -95486,20 +95523,20 @@ function int(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(oJ, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement(Q4, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(sJ, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement(Q4, {
option: m,
- DefaultShape: $tt.shape,
+ DefaultShape: ent.shape,
shapeProps: _
- })), /*#__PURE__*/ S.createElement(nnt, {
+ })), /*#__PURE__*/ S.createElement(rnt, {
points: t,
props: g,
clipPathId: i
}));
}
-function ant(e, t, n) {
- return yJ(e) ? wJ(yJ(t) ? t : void 0, e, n) : EJ(e) || _J(e) ? wJ(yJ(t) ? t : void 0, 0, n) : e;
+function ont(e, t, n) {
+ return bJ(e) ? TJ(bJ(t) ? t : void 0, e, n) : DJ(e) || vJ(e) ? TJ(bJ(t) ? t : void 0, 0, n) : e;
}
-function ont(e) {
+function snt(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, S.useMemo)(() => ({
points: o,
baseLine: s
@@ -95521,11 +95558,11 @@ function ont(e) {
animationMatchBy: f,
layout: g
}, (e, i, a) => {
- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : ant(s, x, i);
- return h.syncStepValue(c, i), /*#__PURE__*/ S.createElement(rnt, {
+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : ont(s, x, i);
+ return h.syncStepValue(c, i), /*#__PURE__*/ S.createElement(int, {
showLabels: !v,
points: o
- }, r.children, /*#__PURE__*/ S.createElement(int, {
+ }, r.children, /*#__PURE__*/ S.createElement(ant, {
points: e,
baseLine: c,
needClip: t,
@@ -95537,9 +95574,9 @@ function ont(e) {
}), /*#__PURE__*/ S.createElement(D4, { label: r.label }));
});
}
-function snt(e) {
+function cnt(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, S.useRef)(null), a = (0, S.useRef)();
- return /*#__PURE__*/ S.createElement(ont, {
+ return /*#__PURE__*/ S.createElement(snt, {
needClip: t,
clipPathId: n,
props: r,
@@ -95547,12 +95584,12 @@ function snt(e) {
previousBaselineRef: a
});
}
-var cnt = class extends S.PureComponent {
+var lnt = class extends S.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
- var h = ry("recharts-area", i), g = f, _ = itt(n), v = _.r, y = _.strokeWidth, b = Z4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ S.createElement(r4, { zIndex: m }, /*#__PURE__*/ S.createElement(oJ, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
+ var h = ny("recharts-area", i), g = f, _ = att(n), v = _.r, y = _.strokeWidth, b = Z4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: m }, /*#__PURE__*/ S.createElement(sJ, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -95561,7 +95598,7 @@ var cnt = class extends S.PureComponent {
y: a - x / 2,
width: u + x,
height: d + x
- }))), /*#__PURE__*/ S.createElement(snt, {
+ }))), /*#__PURE__*/ S.createElement(cnt, {
needClip: s,
clipPathId: g,
props: this.props
@@ -95580,11 +95617,11 @@ var cnt = class extends S.PureComponent {
}));
}
};
-function lnt(e) {
- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = qtt(e, Ktt), g = OQ(), _ = Y1e(), v = t6(p, m).needClip, y = gQ(), b = jX((t) => Itt(t, e.id, y)) ?? {}, x = b.points, C = b.isRange, w = b.baseLine, T = v3();
+function unt(e) {
+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = Jtt(e, qtt), g = OQ(), _ = X1e(), v = t6(p, m).needClip, y = gQ(), b = MX((t) => Ltt(t, e.id, y)) ?? {}, x = b.points, C = b.isRange, w = b.baseLine, T = v3();
if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var E = T.height, D = T.width, O = T.x, k = T.y;
- return !x || !x.length ? null : /*#__PURE__*/ S.createElement(cnt, d6({}, h, {
+ return !x || !x.length ? null : /*#__PURE__*/ S.createElement(lnt, d6({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -95610,9 +95647,9 @@ function lnt(e) {
yAxisId: m
}));
}
-var unt = (e, t, n, r, i) => {
+var dnt = (e, t, n, r, i) => {
var a = n ?? t;
- if (yJ(a)) return a;
+ if (bJ(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -95620,8 +95657,8 @@ var unt = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function dnt(e) {
- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = unt(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
+function fnt(e) {
+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = dnt(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
var r;
if (g) r = a[d + t];
else {
@@ -95670,12 +95707,12 @@ function dnt(e) {
isRange: y
};
}
-function fnt(e) {
- var t = IY(e, $tt), n = gQ();
+function pnt(e) {
+ var t = LY(e, ent), n = gQ();
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: ent(t) }), /*#__PURE__*/ S.createElement(tnt, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: tnt(t) }), /*#__PURE__*/ S.createElement(nnt, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -95701,29 +95738,29 @@ function fnt(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ S.createElement(lnt, d6({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(unt, d6({}, t, { id: e }))));
}
-var pnt = /*#__PURE__*/ S.memo(fnt, PQ);
-pnt.displayName = "Area";
+var mnt = /*#__PURE__*/ S.memo(pnt, PQ);
+mnt.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var mnt = "Invariant failed";
-function hnt(e, t) {
- if (!e) throw Error(mnt);
+var hnt = "Invariant failed";
+function gnt(e, t) {
+ if (!e) throw Error(hnt);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-var gnt = ["option"];
-function _nt(e, t) {
+var _nt = ["option"];
+function vnt(e, t) {
if (e == null) return {};
- var n, r, i = vnt(e, t);
+ var n, r, i = ynt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function vnt(e, t) {
+function ynt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95734,7 +95771,7 @@ function vnt(e, t) {
}
var m6 = $Q;
function h6(e) {
- var t = e.option, n = _nt(e, gnt);
+ var t = e.option, n = vnt(e, _nt);
return /*#__PURE__*/ S.createElement(Q4, {
option: t,
DefaultShape: m6,
@@ -95743,43 +95780,43 @@ function h6(e) {
inActiveClassName: "recharts-inactive-bar"
});
}
-var ynt = function(e) {
+var bnt = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (yJ(e)) return e;
- var i = yJ(n) || EJ(n);
- return i ? e(n, r) : (!i && hnt(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ if (bJ(e)) return e;
+ var i = bJ(n) || DJ(n);
+ return i ? e(n, r) : (!i && gnt(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, bnt = (e, t, n) => n, g6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), xnt = Y([g6], (e) => e?.maxBarSize), Snt = (e, t, n, r) => r, Cnt = Y([
+}, xnt = (e, t, n) => n, g6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Snt = Y([g6], (e) => e?.maxBarSize), Cnt = (e, t, n, r) => r, wnt = Y([
DQ,
J0,
s6,
c6,
- bnt
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), wnt = (e, t, n) => {
+ xnt
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), Tnt = (e, t, n) => {
var r = DQ(e), i = s6(e, t), a = c6(e, t);
if (i != null && a != null) return r === "horizontal" ? o2(e, "yAxis", a, n) : o2(e, "xAxis", i, n);
-}, Tnt = Y([
- Cnt,
- Vqe,
+}, Ent = Y([
+ wnt,
+ Hqe,
(e, t) => {
var n = DQ(e), r = s6(e, t), i = c6(e, t);
- if (r != null && i != null) return n === "horizontal" ? g$e(e, "xAxis", r) : g$e(e, "yAxis", i);
+ if (r != null && i != null) return n === "horizontal" ? _$e(e, "xAxis", r) : _$e(e, "yAxis", i);
}
-], K5e), Ent = (e, t, n) => {
+], q5e), Dnt = (e, t, n) => {
var r = g6(e, t);
if (r == null) return 0;
var i = s6(e, t), a = c6(e, t);
if (i == null || a == null) return 0;
- var o = DQ(e), s = g$(e), c = r.maxBarSize, l = EJ(c) ? s : c, u, d;
+ var o = DQ(e), s = g$(e), c = r.maxBarSize, l = DJ(c) ? s : c, u, d;
return o === "horizontal" ? (u = A2(e, "xAxis", i, n), d = k2(e, "xAxis", i, n)) : (u = A2(e, "yAxis", a, n), d = k2(e, "yAxis", a, n)), oQ(u, d, !0) ?? l ?? 0;
-}, Dnt = (e, t, n) => {
+}, Ont = (e, t, n) => {
var r = DQ(e), i = s6(e, t), a = c6(e, t);
if (i != null && a != null) {
var o, s;
return r === "horizontal" ? (o = A2(e, "xAxis", i, n), s = k2(e, "xAxis", i, n)) : (o = A2(e, "yAxis", a, n), s = k2(e, "yAxis", a, n)), oQ(o, s);
}
-}, Ont = Y([
+}, knt = Y([
mQ,
hQ,
(e, t, n) => {
@@ -95799,25 +95836,25 @@ var ynt = function(e) {
if (r != null) return k2(e, "yAxis", r, n);
},
Y([Y([
- Tnt,
+ Ent,
g$,
- Bqe,
+ Vqe,
_$,
- Ent,
Dnt,
- xnt
- ], Q5e), g6], e7e),
+ Ont,
+ Snt
+ ], $5e), g6], t7e),
DQ,
- hqe,
- Dnt,
- Y([wnt, g6], $5e),
+ gqe,
+ Ont,
+ Y([Tnt, g6], e7e),
g6,
- Snt
+ Cnt
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return prt({
+ if (_ != null) return mrt({
layout: s,
barSettings: d,
pos: o,
@@ -95834,7 +95871,7 @@ var ynt = function(e) {
dataStartIndex: m
});
}
-}), knt = ["index"];
+}), Ant = ["index"];
function _6() {
return _6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -95844,16 +95881,16 @@ function _6() {
return e;
}, _6.apply(null, arguments);
}
-function Ant(e, t) {
+function jnt(e, t) {
if (e == null) return {};
- var n, r, i = jnt(e, t);
+ var n, r, i = Mnt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function jnt(e, t) {
+function Mnt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95862,54 +95899,54 @@ function jnt(e, t) {
}
return n;
}
-var Mnt = /*#__PURE__*/ (0, S.createContext)(void 0), Nnt = (e) => {
- var t = (0, S.useContext)(Mnt);
+var Nnt = /*#__PURE__*/ (0, S.createContext)(void 0), Pnt = (e) => {
+ var t = (0, S.useContext)(Nnt);
if (t != null) return t.stackId;
if (e != null) return rQ(e);
-}, Pnt = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Fnt = (e) => {
- var t = (0, S.useContext)(Mnt);
+}, Fnt = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Int = (e) => {
+ var t = (0, S.useContext)(Nnt);
if (t != null) {
var n = t.stackId;
- return `url(#${Pnt(n, e)})`;
+ return `url(#${Fnt(n, e)})`;
}
-}, Int = (e) => {
- var t = e.index, n = Ant(e, knt), r = Fnt(t);
- return /*#__PURE__*/ S.createElement(oJ, _6({
+}, Lnt = (e) => {
+ var t = e.index, n = jnt(e, Ant), r = Int(t);
+ return /*#__PURE__*/ S.createElement(sJ, _6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, Lnt = [
+}, Rnt = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], Rnt = [
+], znt = [
"value",
"background",
"tooltipPosition"
-], znt = ["id"], Bnt = [
+], Bnt = ["id"], Vnt = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function Vnt(e, t) {
- return Knt(e) || Gnt(e, t) || Unt(e, t) || Hnt();
+function Hnt(e, t) {
+ return qnt(e) || Knt(e, t) || Wnt(e, t) || Unt();
}
-function Hnt() {
+function Unt() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Unt(e, t) {
+function Wnt(e, t) {
if (e) {
- if (typeof e == "string") return Wnt(e, t);
+ if (typeof e == "string") return Gnt(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Wnt(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Gnt(e, t) : void 0;
}
}
-function Wnt(e, t) {
+function Gnt(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Gnt(e, t) {
+function Knt(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -95930,7 +95967,7 @@ function Gnt(e, t) {
return s;
}
}
-function Knt(e) {
+function qnt(e) {
if (Array.isArray(e)) return e;
}
function v6() {
@@ -95942,7 +95979,7 @@ function v6() {
return e;
}, v6.apply(null, arguments);
}
-function qnt(e, t) {
+function Jnt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -95955,27 +95992,27 @@ function qnt(e, t) {
function y6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? qnt(Object(n), !0).forEach(function(t) {
- Jnt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qnt(Object(n)).forEach(function(t) {
+ t % 2 ? Jnt(Object(n), !0).forEach(function(t) {
+ Ynt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Jnt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Jnt(e, t, n) {
- return (t = Ynt(t)) in e ? Object.defineProperty(e, t, {
+function Ynt(e, t, n) {
+ return (t = Xnt(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ynt(e) {
- var t = Xnt(e, "string");
+function Xnt(e) {
+ var t = Znt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Xnt(e, t) {
+function Znt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -95987,14 +96024,14 @@ function Xnt(e, t) {
}
function b6(e, t) {
if (e == null) return {};
- var n, r, i = Znt(e, t);
+ var n, r, i = Qnt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Znt(e, t) {
+function Qnt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -96003,7 +96040,7 @@ function Znt(e, t) {
}
return n;
}
-var Qnt = (e) => {
+var $nt = (e) => {
var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;
return [{
inactive: e.hide,
@@ -96013,10 +96050,10 @@ var Qnt = (e) => {
value: sQ(n, t),
payload: e
}];
-}, $nt = /*#__PURE__*/ S.memo((e) => {
+}, ert = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
- getPosition: kJ,
+ getPosition: AJ,
settings: {
stroke: n,
strokeWidth: r,
@@ -96034,20 +96071,20 @@ var Qnt = (e) => {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: d });
});
-function ert(e) {
- var t = jX(J2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = b6(a, Lnt), u = $4(o, r, a.id), d = e3(s), f = t3(c, r, a.id);
+function trt(e) {
+ var t = MX(J2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = b6(a, Rnt), u = $4(o, r, a.id), d = e3(s), f = t3(c, r, a.id);
if (!i || n == null) return null;
- var p = tJ(i);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: _7e(i, C$.barBackground) }, n.map((e, n) => {
+ var p = nJ(i);
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: v7e(i, C$.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
e.tooltipPosition;
- var o = b6(e, Rnt);
+ var o = b6(e, znt);
if (!a) return null;
var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = y6(y6(y6(y6(y6({
option: i,
isActive: String(e.originalDataIndex) === t
- }, o), {}, { fill: "#eee" }, a), p), PY(l, e, n)), {}, {
+ }, o), {}, { fill: "#eee" }, a), p), FY(l, e, n)), {}, {
onMouseEnter: s,
onMouseLeave: c,
onClick: m,
@@ -96058,7 +96095,7 @@ function ert(e) {
return /*#__PURE__*/ S.createElement(h6, v6({ key: `background-bar-${n}` }, h));
}));
}
-function trt(e) {
+function nrt(e) {
var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {
var t = {
x: e.x,
@@ -96078,8 +96115,8 @@ function trt(e) {
});
return /*#__PURE__*/ S.createElement(T4, { value: t ? r : void 0 }, n);
}
-function nrt(e) {
- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = jX(J2), c = jX(O1e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = Vnt((0, S.useState)(!1), 2), f = d[0], p = d[1], m = Vnt((0, S.useState)(!1), 2), h = m[0], g = m[1];
+function rrt(e) {
+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = MX(J2), c = MX(k1e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = Hnt((0, S.useState)(!1), 2), f = d[0], p = d[1], m = Hnt((0, S.useState)(!1), 2), h = m[0], g = m[1];
(0, S.useEffect)(() => {
var e;
return l ? (p(!0), e = requestAnimationFrame(() => {
@@ -96100,9 +96137,9 @@ function nrt(e) {
isEntrance: e.isEntrance,
onTransitionEnd: _
}));
- return y ? /*#__PURE__*/ S.createElement(r4, { zIndex: C$.activeBar }, /*#__PURE__*/ S.createElement(Int, { index: i.originalDataIndex }, x)) : x;
+ return y ? /*#__PURE__*/ S.createElement(r4, { zIndex: C$.activeBar }, /*#__PURE__*/ S.createElement(Lnt, { index: i.originalDataIndex }, x)) : x;
}
-function rrt(e) {
+function irt(e) {
var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;
return /*#__PURE__*/ S.createElement(h6, v6({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -96114,17 +96151,17 @@ function rrt(e) {
isEntrance: e.isEntrance
}));
}
-function irt(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = eJ(n) ?? {}, s = o.id, c = b6(o, znt), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = b6(n, Bnt), g = $4(f, u, s), _ = e3(m), v = t3(p, u, s);
- return t ? /*#__PURE__*/ S.createElement(S.Fragment, null, t.map((e, t) => /*#__PURE__*/ S.createElement(Int, v6({
+function art(e) {
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = tJ(n) ?? {}, s = o.id, c = b6(o, Bnt), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = b6(n, Vnt), g = $4(f, u, s), _ = e3(m), v = t3(p, u, s);
+ return t ? /*#__PURE__*/ S.createElement(S.Fragment, null, t.map((e, t) => /*#__PURE__*/ S.createElement(Lnt, v6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, PY(h, e, t), {
+ }, FY(h, e, t), {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
- }), d ? /*#__PURE__*/ S.createElement(nrt, {
+ }), d ? /*#__PURE__*/ S.createElement(rrt, {
shape: l,
activeBar: d,
baseProps: c,
@@ -96134,7 +96171,7 @@ function irt(e) {
animationElapsedTime: r,
isAnimating: i,
isEntrance: a
- }) : /*#__PURE__*/ S.createElement(rrt, {
+ }) : /*#__PURE__*/ S.createElement(irt, {
shape: l,
baseProps: c,
entry: e,
@@ -96145,29 +96182,29 @@ function irt(e) {
isEntrance: a
})))) : null;
}
-var art = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
+var ort = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
if (e.status === "removed") return n === "horizontal" ? [y6(y6({}, e.prev), {}, {
- height: wJ(e.prev.height, 0, t),
- y: wJ(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [y6(y6({}, e.prev), {}, { width: wJ(e.prev.width, 0, t) })];
+ height: TJ(e.prev.height, 0, t),
+ y: TJ(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [y6(y6({}, e.prev), {}, { width: TJ(e.prev.width, 0, t) })];
if (e.status === "matched") return [y6(y6({}, e.next), {}, {
- x: wJ(e.prev.x, e.next.x, t),
- y: wJ(e.prev.y, e.next.y, t),
- width: wJ(e.prev.width, e.next.width, t),
- height: wJ(e.prev.height, e.next.height, t)
+ x: TJ(e.prev.x, e.next.x, t),
+ y: TJ(e.prev.y, e.next.y, t),
+ width: TJ(e.prev.width, e.next.width, t),
+ height: TJ(e.prev.height, e.next.height, t)
})];
var r = e.next;
return n === "horizontal" ? [y6(y6({}, r), {}, {
- height: wJ(0, r.height, t),
- y: wJ(r.stackedBarStart, r.y, t)
+ height: TJ(0, r.height, t),
+ y: TJ(r.stackedBarStart, r.y, t)
})] : [y6(y6({}, r), {}, {
- width: wJ(0, r.width, t),
- x: wJ(r.stackedBarStart, r.x, t)
+ width: TJ(0, r.width, t),
+ x: TJ(r.stackedBarStart, r.x, t)
})];
});
-function ort(e) {
+function srt(e) {
var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = c3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
- return /*#__PURE__*/ S.createElement(trt, {
+ return /*#__PURE__*/ S.createElement(nrt, {
showLabels: !d,
rects: r
}, /*#__PURE__*/ S.createElement(l3, {
@@ -96184,7 +96221,7 @@ function ort(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ S.createElement(oJ, null, /*#__PURE__*/ S.createElement(irt, {
+ }, (e, n, r) => /*#__PURE__*/ S.createElement(sJ, null, /*#__PURE__*/ S.createElement(art, {
props: t,
data: e,
animationElapsedTime: n,
@@ -96192,14 +96229,14 @@ function ort(e) {
isEntrance: r
}))), /*#__PURE__*/ S.createElement(D4, { label: t.label }), t.children);
}
-function srt(e) {
+function crt(e) {
var t = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(ort, {
+ return /*#__PURE__*/ S.createElement(srt, {
previousRectanglesRef: t,
props: e
});
}
-var crt = 0, lrt = (e, t) => {
+var lrt = 0, urt = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -96207,57 +96244,57 @@ var crt = 0, lrt = (e, t) => {
value: n,
errorVal: tQ(e, t)
};
-}, urt = class extends S.PureComponent {
+}, drt = class extends S.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
- var u = ry("recharts-bar", i), d = l;
- return /*#__PURE__*/ S.createElement(oJ, {
+ var u = ny("recharts-bar", i), d = l;
+ return /*#__PURE__*/ S.createElement(sJ, {
className: u,
id: l
}, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ S.createElement(oJ, {
+ })), /*#__PURE__*/ S.createElement(sJ, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
- }, /*#__PURE__*/ S.createElement(ert, {
+ }, /*#__PURE__*/ S.createElement(trt, {
data: n,
dataKey: r,
background: c,
allOtherBarProps: this.props
- }), /*#__PURE__*/ S.createElement(srt, this.props)));
+ }), /*#__PURE__*/ S.createElement(crt, this.props)));
}
-}, drt = {
+}, frt = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
animationEasing: "ease",
- animationInterpolateFn: art,
- animationMatchBy: K6e,
+ animationInterpolateFn: ort,
+ animationMatchBy: q6e,
background: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: crt,
+ minPointSize: lrt,
shape: m6,
xAxisId: 0,
yAxisId: 0,
zIndex: C$.bar
};
-function frt(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = t6(t, n).needClip, f = OQ(), p = gQ(), m = O6e(e.children, d4), h = jX((t) => Ont(t, e.id, p, m));
+function prt(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = t6(t, n).needClip, f = OQ(), p = gQ(), m = k6e(e.children, d4), h = MX((t) => knt(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ S.createElement(Yet, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ S.createElement(Xet, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: lrt,
+ dataPointFormatter: urt,
errorBarOffset: g
- }, /*#__PURE__*/ S.createElement(urt, v6({}, e, {
+ }, /*#__PURE__*/ S.createElement(drt, v6({}, e, {
layout: f,
needClip: d,
data: h,
@@ -96273,16 +96310,16 @@ function frt(e) {
isAnimationActive: u
})));
}
-function prt(e) {
- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = jHe({ numericAxis: v }), x = v.scale.map(b);
+function mrt(e) {
+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = MHe({ numericAxis: v }), x = v.scale.map(b);
return p.map((e, n) => {
var p, v, S, C, w, T;
if (f) {
var E = f[n + _];
if (E == null) return null;
- p = OHe(E, y);
+ p = kHe(E, y);
} else p = tQ(e, r), Array.isArray(p) || (p = [b, p]);
- var D = ynt(i, crt)(p[1], n);
+ var D = bnt(i, lrt)(p[1], n);
if (t === "horizontal") {
var O = l.scale.map(p[0]), k = l.scale.map(p[1]);
if (O == null || k == null) return null;
@@ -96295,13 +96332,13 @@ function prt(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = _J(A) ? 0 : A, T = {
+ if (w = vJ(A) ? 0 : A, T = {
x: v,
y: m.top,
width: C,
height: m.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = gJ(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = _J(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
@@ -96320,7 +96357,7 @@ function prt(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = gJ(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = _J(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -96342,12 +96379,12 @@ function prt(e) {
}, h && h[n] && h[n].props);
}).filter(Boolean);
}
-function mrt(e) {
- var t = IY(e, drt), n = Nnt(t.stackId), r = gQ();
+function hrt(e) {
+ var t = LY(e, frt), n = Pnt(t.stackId), r = gQ();
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: Qnt(t) }), /*#__PURE__*/ S.createElement($nt, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: $nt(t) }), /*#__PURE__*/ S.createElement(ert, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -96373,23 +96410,23 @@ function mrt(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null && t.shape !== m6
- }), /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(frt, v6({}, t, { id: e })))));
+ }), /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(prt, v6({}, t, { id: e })))));
}
-var x6 = /*#__PURE__*/ S.memo(mrt, PQ);
+var x6 = /*#__PURE__*/ S.memo(hrt, PQ);
x6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var hrt = ["domain", "range"], grt = ["domain", "range"];
-function _rt(e, t) {
+var grt = ["domain", "range"], _rt = ["domain", "range"];
+function vrt(e, t) {
if (e == null) return {};
- var n, r, i = vrt(e, t);
+ var n, r, i = yrt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function vrt(e, t) {
+function yrt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -96398,21 +96435,21 @@ function vrt(e, t) {
}
return n;
}
-function yrt(e, t) {
+function brt(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function brt(e, t) {
+function xrt(e, t) {
if (e === t) return !0;
- var n = e.domain, r = e.range, i = _rt(e, hrt), a = t.domain, o = t.range, s = _rt(t, grt);
- return !yrt(n, a) || !yrt(r, o) ? !1 : PQ(i, s);
+ var n = e.domain, r = e.range, i = vrt(e, grt), a = t.domain, o = t.range, s = vrt(t, _rt);
+ return !brt(n, a) || !brt(r, o) ? !1 : PQ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var xrt = ["type"], Srt = [
+var Srt = ["type"], Crt = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Crt = ["id", "scale"];
+], wrt = ["id", "scale"];
function S6() {
return S6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -96422,7 +96459,7 @@ function S6() {
return e;
}, S6.apply(null, arguments);
}
-function wrt(e, t) {
+function Trt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -96432,30 +96469,30 @@ function wrt(e, t) {
}
return n;
}
-function Trt(e) {
+function Ert(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wrt(Object(n), !0).forEach(function(t) {
- Ert(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wrt(Object(n)).forEach(function(t) {
+ t % 2 ? Trt(Object(n), !0).forEach(function(t) {
+ Drt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Trt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ert(e, t, n) {
- return (t = Drt(t)) in e ? Object.defineProperty(e, t, {
+function Drt(e, t, n) {
+ return (t = Ort(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Drt(e) {
- var t = Ort(e, "string");
+function Ort(e) {
+ var t = krt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ort(e, t) {
+function krt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -96467,14 +96504,14 @@ function Ort(e, t) {
}
function C6(e, t) {
if (e == null) return {};
- var n, r, i = krt(e, t);
+ var n, r, i = Art(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function krt(e, t) {
+function Art(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -96483,27 +96520,27 @@ function krt(e, t) {
}
return n;
}
-function Art(e) {
- var t = kX(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = C6(e, xrt), o = D$(r, "xAxis", i), s = (0, S.useMemo)(() => {
- if (o != null) return Trt(Trt({}, a), {}, { type: o });
+function jrt(e) {
+ var t = AX(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = C6(e, Srt), o = D$(r, "xAxis", i), s = (0, S.useMemo)(() => {
+ if (o != null) return Ert(Ert({}, a), {}, { type: o });
}, [a, o]);
return (0, S.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(L8e(s)) : n.current !== s && t(R8e({
+ s != null && (n.current === null ? t(R8e(s)) : n.current !== s && t(z8e({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(z8e(n.current)), null);
+ n.current &&= (t(B8e(n.current)), null);
}, [t]), null;
}
-var jrt = (e) => {
- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = jX(hQ), c = gQ(), l = kX(), u = "xAxis", d = jX((e) => b$e(e, u, t, c)), f = jX((e) => c$e(e, t)), p = jX((e) => p$e(e, t)), m = jX((e) => oQe(e, t));
+var Mrt = (e) => {
+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = MX(hQ), c = gQ(), l = AX(), u = "xAxis", d = MX((e) => x$e(e, u, t, c)), f = MX((e) => l$e(e, t)), p = MX((e) => m$e(e, t)), m = MX((e) => sQe(e, t));
if ((0, S.useLayoutEffect)(() => {
if (!(r !== "auto" || !f || x4(i) || /*#__PURE__*/ (0, S.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedHeight();
- Math.round(f.height) !== Math.round(n) && l(W8e({
+ Math.round(f.height) !== Math.round(n) && l(G8e({
id: t,
height: n
}));
@@ -96519,9 +96556,9 @@ var jrt = (e) => {
m
]), f == null || p == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = C6(e, Srt);
+ var h = C6(e, Crt);
m.id, m.scale;
- var g = C6(m, Crt);
+ var g = C6(m, wrt);
return /*#__PURE__*/ S.createElement(Y3, S6({}, h, g, {
ref: a,
labelRef: o,
@@ -96529,13 +96566,13 @@ var jrt = (e) => {
y: p.y,
width: f.width,
height: f.height,
- className: ry(`recharts-${u} ${u}`, n),
+ className: ny(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: d,
axisType: u,
axisId: t
}));
-}, Mrt = {
+}, Nrt = {
allowDataOverflow: B0.allowDataOverflow,
allowDecimals: B0.allowDecimals,
allowDuplicatedCategory: B0.allowDuplicatedCategory,
@@ -96559,9 +96596,9 @@ var jrt = (e) => {
type: B0.type,
niceTicks: B0.niceTicks,
xAxisId: 0
-}, Nrt = /*#__PURE__*/ S.memo((e) => {
- var t = IY(e, Mrt);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Art, {
+}, Prt = /*#__PURE__*/ S.memo((e) => {
+ var t = LY(e, Nrt);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(jrt, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -96587,16 +96624,16 @@ var jrt = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ S.createElement(jrt, t));
-}, brt);
-Nrt.displayName = "XAxis";
+ }), /*#__PURE__*/ S.createElement(Mrt, t));
+}, xrt);
+Prt.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var Prt = ["type"], Frt = [
+var Frt = ["type"], Irt = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Irt = ["id", "scale"];
+], Lrt = ["id", "scale"];
function w6() {
return w6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -96606,7 +96643,7 @@ function w6() {
return e;
}, w6.apply(null, arguments);
}
-function Lrt(e, t) {
+function Rrt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -96616,30 +96653,30 @@ function Lrt(e, t) {
}
return n;
}
-function Rrt(e) {
+function zrt(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Lrt(Object(n), !0).forEach(function(t) {
- zrt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lrt(Object(n)).forEach(function(t) {
+ t % 2 ? Rrt(Object(n), !0).forEach(function(t) {
+ Brt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rrt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zrt(e, t, n) {
- return (t = Brt(t)) in e ? Object.defineProperty(e, t, {
+function Brt(e, t, n) {
+ return (t = Vrt(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Brt(e) {
- var t = Vrt(e, "string");
+function Vrt(e) {
+ var t = Hrt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vrt(e, t) {
+function Hrt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -96651,14 +96688,14 @@ function Vrt(e, t) {
}
function T6(e, t) {
if (e == null) return {};
- var n, r, i = Hrt(e, t);
+ var n, r, i = Urt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Hrt(e, t) {
+function Urt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -96667,27 +96704,27 @@ function Hrt(e, t) {
}
return n;
}
-function Urt(e) {
- var t = kX(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = T6(e, Prt), o = D$(r, "yAxis", i), s = (0, S.useMemo)(() => {
- if (o != null) return Rrt(Rrt({}, a), {}, { type: o });
+function Wrt(e) {
+ var t = AX(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = T6(e, Frt), o = D$(r, "yAxis", i), s = (0, S.useMemo)(() => {
+ if (o != null) return zrt(zrt({}, a), {}, { type: o });
}, [o, a]);
return (0, S.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(B8e(s)) : n.current !== s && t(V8e({
+ s != null && (n.current === null ? t(V8e(s)) : n.current !== s && t(H8e({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(H8e(n.current)), null);
+ n.current &&= (t(U8e(n.current)), null);
}, [t]), null;
}
-function Wrt(e) {
- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = jX(hQ), c = gQ(), l = kX(), u = "yAxis", d = jX((e) => h$e(e, t)), f = jX((e) => m$e(e, t)), p = jX((e) => b$e(e, u, t, c)), m = jX((e) => sQe(e, t));
+function Grt(e) {
+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = MX(hQ), c = gQ(), l = AX(), u = "yAxis", d = MX((e) => g$e(e, t)), f = MX((e) => h$e(e, t)), p = MX((e) => x$e(e, u, t, c)), m = MX((e) => cQe(e, t));
if ((0, S.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || x4(i) || /*#__PURE__*/ (0, S.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(U8e({
+ Math.round(d.width) !== Math.round(n) && l(W8e({
id: t,
width: n
}));
@@ -96703,9 +96740,9 @@ function Wrt(e) {
m
]), d == null || f == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = T6(e, Frt);
+ var h = T6(e, Irt);
m.id, m.scale;
- var g = T6(m, Irt);
+ var g = T6(m, Lrt);
return /*#__PURE__*/ S.createElement(Y3, w6({}, h, g, {
ref: a,
labelRef: o,
@@ -96714,14 +96751,14 @@ function Wrt(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: ry(`recharts-${u} ${u}`, n),
+ className: ny(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
axisId: t
}));
}
-var Grt = {
+var Krt = {
allowDataOverflow: H0.allowDataOverflow,
allowDecimals: H0.allowDecimals,
allowDuplicatedCategory: H0.allowDuplicatedCategory,
@@ -96745,9 +96782,9 @@ var Grt = {
niceTicks: H0.niceTicks,
width: H0.width,
yAxisId: 0
-}, Krt = /*#__PURE__*/ S.memo((e) => {
- var t = IY(e, Grt);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Urt, {
+}, qrt = /*#__PURE__*/ S.memo((e) => {
+ var t = LY(e, Krt);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Wrt, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -96773,27 +96810,27 @@ var Grt = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ S.createElement(Wrt, t));
-}, brt);
-Krt.displayName = "YAxis";
+ }), /*#__PURE__*/ S.createElement(Grt, t));
+}, xrt);
+qrt.displayName = "YAxis";
var E6 = Y([
(e, t) => t,
DQ,
N$,
V$,
- w1e,
+ T1e,
W2,
- Z1e,
+ Q1e,
mQ
-], o0e);
+], s0e);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function qrt(e) {
+function Jrt(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function D6(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (qrt(e)) {
+ if (Jrt(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -96808,20 +96845,20 @@ function D6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Jrt = PZ("mouseClick"), Yrt = YZ();
-Yrt.startListening({
- actionCreator: Jrt,
+var Yrt = PZ("mouseClick"), Xrt = YZ();
+Xrt.startListening({
+ actionCreator: Yrt,
effect: (e, t) => {
var n = e.payload, r = E6(t.getState(), D6(n));
- r?.activeIndex != null && t.dispatch(z$e({
+ r?.activeIndex != null && t.dispatch(B$e({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var O6 = PZ("mouseMove"), Xrt = YZ(), k6 = null, A6 = null, j6 = null;
-Xrt.startListening({
+var O6 = PZ("mouseMove"), Zrt = YZ(), k6 = null, A6 = null, j6 = null;
+Zrt.startListening({
actionCreator: O6,
effect: (e, t) => {
var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");
@@ -96832,7 +96869,7 @@ Xrt.startListening({
else {
if (n === "axis") {
var r = E6(e, j6);
- r?.activeIndex == null ? t.dispatch(I$e()) : t.dispatch(R$e({
+ r?.activeIndex == null ? t.dispatch(L$e()) : t.dispatch(z$e({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -96846,12 +96883,12 @@ Xrt.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Zrt(e, t) {
+function Qrt(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var Qrt = {
+var $rt = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -96863,19 +96900,19 @@ var Qrt = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, $rt = LZ({
+}, eit = LZ({
name: "rootProps",
- initialState: Qrt,
+ initialState: $rt,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Qrt.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? $rt.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), eit = $rt.reducer, tit = $rt.actions.updateOptions, nit = LZ({
+}), tit = eit.reducer, nit = eit.actions.updateOptions, rit = LZ({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), rit = nit.actions.updatePolarOptions, iit = nit.reducer, ait = PZ("keyDown"), oit = PZ("focus"), sit = PZ("blur"), M6 = YZ(), N6 = null, P6 = null, F6 = null;
+}), iit = rit.actions.updatePolarOptions, ait = rit.reducer, oit = PZ("keyDown"), sit = PZ("focus"), cit = PZ("blur"), M6 = YZ(), N6 = null, P6 = null, F6 = null;
M6.startListening({
- actionCreator: ait,
+ actionCreator: oit,
effect: (e, t) => {
F6 = e.payload, N6 !== null && (cancelAnimationFrame(N6), N6 = null);
var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");
@@ -96897,7 +96934,7 @@ M6.startListening({
}));
return;
}
- var d = S$e(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
+ var d = C$e(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
if (o) {
var m = i2(e), h = U2(e), g = f * d, _ = (e) => ({
active: !1,
@@ -96936,7 +96973,7 @@ M6.startListening({
}, r)) : o();
}
}), M6.startListening({
- actionCreator: oit,
+ actionCreator: sit,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -96952,7 +96989,7 @@ M6.startListening({
}
}
}), M6.startListening({
- actionCreator: sit,
+ actionCreator: cit,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -96967,7 +97004,7 @@ M6.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function cit(e) {
+function lit(e) {
e.persist();
var t = e.currentTarget;
return new Proxy(e, { get: (e, n) => {
@@ -96978,13 +97015,13 @@ function cit(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var I6 = PZ("externalEvent"), lit = YZ(), L6 = /* @__PURE__ */ new Map(), R6 = /* @__PURE__ */ new Map(), z6 = /* @__PURE__ */ new Map();
-lit.startListening({
+var I6 = PZ("externalEvent"), uit = YZ(), L6 = /* @__PURE__ */ new Map(), R6 = /* @__PURE__ */ new Map(), z6 = /* @__PURE__ */ new Map();
+uit.startListening({
actionCreator: I6,
effect: (e, t) => {
var n = e.payload, r = n.handler, i = n.reactEvent;
if (r != null) {
- var a = i.type, o = cit(i);
+ var a = i.type, o = lit(i);
z6.set(a, {
handler: r,
reactEvent: o
@@ -96998,12 +97035,12 @@ lit.startListening({
try {
if (!e) return;
var n = e.handler, r = e.reactEvent, i = t.getState(), o = {
- activeCoordinate: j1e(i),
- activeDataKey: O1e(i),
+ activeCoordinate: M1e(i),
+ activeDataKey: k1e(i),
activeIndex: J2(i),
- activeLabel: D1e(i),
+ activeLabel: O1e(i),
activeTooltipIndex: J2(i),
- isTooltipActive: M1e(i)
+ isTooltipActive: N1e(i)
};
n && n(o, r);
} finally {
@@ -97024,7 +97061,7 @@ lit.startListening({
}
}
});
-var uit = Y([
+var dit = Y([
Y([R2], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -97036,15 +97073,15 @@ var uit = Y([
if (i != null) return i(t);
}
}
-}), dit = PZ("touchMove"), fit = YZ(), B6 = null, V6 = null, pit = null, H6 = null;
-fit.startListening({
- actionCreator: dit,
+}), fit = PZ("touchMove"), pit = YZ(), B6 = null, V6 = null, mit = null, H6 = null;
+pit.startListening({
+ actionCreator: fit,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- H6 = cit(n);
+ H6 = lit(n);
var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");
- B6 !== null && (cancelAnimationFrame(B6), B6 = null), V6 !== null && (typeof i != "number" || !o) && (clearTimeout(V6), V6 = null), pit = Array.from(n.touches).map((e) => D6({
+ B6 !== null && (cancelAnimationFrame(B6), B6 = null), V6 !== null && (typeof i != "number" || !o) && (clearTimeout(V6), V6 = null), mit = Array.from(n.touches).map((e) => D6({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
@@ -97053,13 +97090,13 @@ fit.startListening({
if (H6 != null) {
var e = t.getState(), n = j2(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = pit?.[0];
+ var r = mit?.[0];
if (r == null) {
B6 = null, V6 = null;
return;
}
var i = E6(e, r);
- i?.activeIndex != null && t.dispatch(R$e({
+ i?.activeIndex != null && t.dispatch(z$e({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
@@ -97069,10 +97106,10 @@ fit.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(VHe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = B2(e).find((e) => e.id === c);
+ var s = o.getAttribute(HHe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = B2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var u = l.dataKey, d = uit(e, s, c);
- t.dispatch(P$e({
+ var u = l.dataKey, d = dit(e, s, c);
+ t.dispatch(F$e({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
@@ -97099,33 +97136,33 @@ var U6 = {
"scroll",
"wheel"
]
-}, mit = LZ({
+}, hit = LZ({
name: "eventSettings",
initialState: U6,
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = NZ(t.payload.throttledEvents));
} }
-}), hit = mit.actions.setEventSettings, git = mit.reducer, _it = IBe({
- brush: B7e,
- cartesianAxis: G8e,
- chartData: B0e,
- errorBars: Wet,
- eventSettings: git,
- graphicalItems: y8e,
- layout: yHe,
- legend: LUe,
- options: P0e,
- polarAxis: z3e,
- polarOptions: iit,
- referenceElements: J7e,
- renderedTicks: V9e,
- rootProps: eit,
- tooltip: B$e,
- zIndex: x0e
-}), vit = function(e) {
+}), git = hit.actions.setEventSettings, _it = hit.reducer, vit = LBe({
+ brush: V7e,
+ cartesianAxis: K8e,
+ chartData: V0e,
+ errorBars: Get,
+ eventSettings: _it,
+ graphicalItems: b8e,
+ layout: bHe,
+ legend: RUe,
+ options: F0e,
+ polarAxis: B3e,
+ polarOptions: ait,
+ referenceElements: Y7e,
+ renderedTicks: H9e,
+ rootProps: tit,
+ tooltip: V$e,
+ zIndex: S0e
+}), yit = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return AVe({
- reducer: _it,
+ return jVe({
+ reducer: vit,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -97135,40 +97172,40 @@ var U6 = {
"production"
].includes("es6")
}).concat([
- Yrt.middleware,
Xrt.middleware,
+ Zrt.middleware,
M6.middleware,
- lit.middleware,
- fit.middleware
+ uit.middleware,
+ pit.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(OVe({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(kVe({ type: "raf" }));
},
devTools: VQ.devToolsEnabled && {
- serialize: { replacer: Zrt },
+ serialize: { replacer: Qrt },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function yit(e) {
+function bit(e) {
var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = gQ(), a = (0, S.useRef)(null);
if (i) return n;
- a.current ??= vit(t, r);
- var o = OX;
- return /*#__PURE__*/ S.createElement($Ue, {
+ a.current ??= yit(t, r);
+ var o = kX;
+ return /*#__PURE__*/ S.createElement(eWe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function bit(e) {
- var t = e.layout, n = e.margin, r = kX(), i = gQ();
+function xit(e) {
+ var t = e.layout, n = e.margin, r = AX(), i = gQ();
return (0, S.useEffect)(() => {
- i || (r(gHe(t)), r(hHe(n)));
+ i || (r(_He(t)), r(gHe(n)));
}, [
r,
i,
@@ -97176,31 +97213,31 @@ function bit(e) {
n
]), null;
}
-var xit = /*#__PURE__*/ (0, S.memo)(bit, PQ);
+var Sit = /*#__PURE__*/ (0, S.memo)(xit, PQ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function Sit(e) {
- var t = kX();
+function Cit(e) {
+ var t = AX();
return (0, S.useEffect)(() => {
- t(tit(e));
+ t(nit(e));
}, [t, e]), null;
}
-var Cit = /*#__PURE__*/ (0, S.memo)((e) => {
- var t = kX();
+var wit = /*#__PURE__*/ (0, S.memo)((e) => {
+ var t = AX();
return (0, S.useEffect)(() => {
- t(hit(e));
+ t(git(e));
}, [t, e]), null;
}, PQ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function wit(e) {
- var t = e.zIndex, n = e.isPanorama, r = (0, S.useRef)(null), i = kX();
- return (0, S.useLayoutEffect)(() => (r.current && i(y0e({
+function Tit(e) {
+ var t = e.zIndex, n = e.isPanorama, r = (0, S.useRef)(null), i = AX();
+ return (0, S.useLayoutEffect)(() => (r.current && i(b0e({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(b0e({
+ i(x0e({
zIndex: t,
isPanorama: n
}));
@@ -97214,15 +97251,15 @@ function wit(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function Tit(e) {
- var t = e.children, n = e.isPanorama, r = jX(c0e);
+function Eit(e) {
+ var t = e.children, n = e.isPanorama, r = MX(l0e);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, i.map((e) => /*#__PURE__*/ S.createElement(wit, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, i.map((e) => /*#__PURE__*/ S.createElement(Tit, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ S.createElement(wit, {
+ })), t, a.map((e) => /*#__PURE__*/ S.createElement(Tit, {
key: e,
zIndex: e,
isPanorama: n
@@ -97230,17 +97267,17 @@ function Tit(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var Eit = ["children"];
-function Dit(e, t) {
+var Dit = ["children"];
+function Oit(e, t) {
if (e == null) return {};
- var n, r, i = Oit(e, t);
+ var n, r, i = kit(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Oit(e, t) {
+function kit(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -97258,59 +97295,59 @@ function W6() {
return e;
}, W6.apply(null, arguments);
}
-var kit = {
+var Ait = {
width: "100%",
height: "100%",
display: "block"
-}, Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = TQ(), r = EQ(), i = pGe();
+}, jit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = TQ(), r = EQ(), i = mGe();
if (!$Z(n) || !$Z(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(iJ, W6({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(aJ, W6({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: kit,
+ style: Ait,
ref: t
}), a);
-}), jit = (e) => {
- var t = e.children, n = jX(vQ);
+}), Mit = (e) => {
+ var t = e.children, n = MX(vQ);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ S.createElement(iJ, {
+ return /*#__PURE__*/ S.createElement(aJ, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, Mit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.children, r = Dit(e, Eit);
- return gQ() ? /*#__PURE__*/ S.createElement(jit, null, /*#__PURE__*/ S.createElement(Tit, { isPanorama: !0 }, n)) : /*#__PURE__*/ S.createElement(Ait, W6({ ref: t }, r), /*#__PURE__*/ S.createElement(Tit, { isPanorama: !1 }, n));
+}, Nit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.children, r = Oit(e, Dit);
+ return gQ() ? /*#__PURE__*/ S.createElement(Mit, null, /*#__PURE__*/ S.createElement(Eit, { isPanorama: !0 }, n)) : /*#__PURE__*/ S.createElement(jit, W6({ ref: t }, r), /*#__PURE__*/ S.createElement(Eit, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function Nit(e, t) {
- return Rit(e) || Lit(e, t) || Fit(e, t) || Pit();
+function Pit(e, t) {
+ return zit(e) || Rit(e, t) || Iit(e, t) || Fit();
}
-function Pit() {
+function Fit() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Fit(e, t) {
+function Iit(e, t) {
if (e) {
- if (typeof e == "string") return Iit(e, t);
+ if (typeof e == "string") return Lit(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Iit(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Lit(e, t) : void 0;
}
}
-function Iit(e, t) {
+function Lit(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Lit(e, t) {
+function Rit(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -97331,15 +97368,15 @@ function Lit(e, t) {
return s;
}
}
-function Rit(e) {
+function zit(e) {
if (Array.isArray(e)) return e;
}
-function zit() {
- var e = kX(), t = Nit((0, S.useState)(null), 2), n = t[0], r = t[1], i = jX(BHe);
+function Bit() {
+ var e = AX(), t = Pit((0, S.useState)(null), 2), n = t[0], r = t[1], i = MX(VHe);
return (0, S.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- QZ(t) && t !== i && e(vHe(t));
+ QZ(t) && t !== i && e(yHe(t));
}
}, [
n,
@@ -97349,7 +97386,7 @@ function zit() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function Bit(e, t) {
+function Vit(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97359,30 +97396,30 @@ function Bit(e, t) {
}
return n;
}
-function Vit(e) {
+function Hit(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Bit(Object(n), !0).forEach(function(t) {
- Hit(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Bit(Object(n)).forEach(function(t) {
+ t % 2 ? Vit(Object(n), !0).forEach(function(t) {
+ Uit(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Vit(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Hit(e, t, n) {
- return (t = Uit(t)) in e ? Object.defineProperty(e, t, {
+function Uit(e, t, n) {
+ return (t = Wit(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Uit(e) {
- var t = Wit(e, "string");
+function Wit(e) {
+ var t = Git(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Wit(e, t) {
+function Git(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97402,24 +97439,24 @@ function G6() {
}, G6.apply(null, arguments);
}
function K6(e, t) {
- return Yit(e) || Jit(e, t) || Kit(e, t) || Git();
+ return Xit(e) || Yit(e, t) || qit(e, t) || Kit();
}
-function Git() {
+function Kit() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Kit(e, t) {
+function qit(e, t) {
if (e) {
- if (typeof e == "string") return qit(e, t);
+ if (typeof e == "string") return Jit(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qit(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Jit(e, t) : void 0;
}
}
-function qit(e, t) {
+function Jit(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Jit(e, t) {
+function Yit(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -97440,10 +97477,10 @@ function Jit(e, t) {
return s;
}
}
-function Yit(e) {
+function Xit(e) {
if (Array.isArray(e)) return e;
}
-var Xit = () => (X0e(), null);
+var Zit = () => (Z0e(), null);
function q6(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -97452,7 +97489,7 @@ function q6(e) {
}
return 0;
}
-var Zit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+var Qit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = (0, S.useRef)(null), r = K6((0, S.useState)({
containerWidth: q6(e.style?.width),
containerHeight: q6(e.style?.height)
@@ -97484,7 +97521,7 @@ var Zit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ S.createElement("div", G6({ ref: s }, e)));
-}), Qit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+}), $it = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = e.width, r = e.height, i = K6((0, S.useState)({
containerWidth: q6(n),
containerHeight: q6(r)
@@ -97506,15 +97543,15 @@ var Zit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
width: a.containerWidth,
height: a.containerHeight
}), /*#__PURE__*/ S.createElement("div", G6({ ref: c }, e)));
-}), $it = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+}), eat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = e.width, r = e.height;
return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: n,
height: r
}), /*#__PURE__*/ S.createElement("div", G6({ ref: t }, e)));
-}), eat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+}), tat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ S.createElement(Qit, G6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ S.createElement($it, G6({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ S.createElement($it, G6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ S.createElement(eat, G6({}, e, {
width: n,
height: r,
ref: t
@@ -97523,11 +97560,11 @@ var Zit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ S.createElement("div", G6({ ref: t }, e)));
});
-function tat(e) {
- return e ? Zit : eat;
+function nat(e) {
+ return e ? Qit : tat;
}
-var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, S.useRef)(null), C = kX(), w = K6((0, S.useState)(null), 2), T = w[0], E = w[1], D = K6((0, S.useState)(null), 2), O = D[0], k = D[1], A = zit(), j = SQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, S.useCallback)((e) => {
+var rat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, S.useRef)(null), C = AX(), w = K6((0, S.useState)(null), 2), T = w[0], E = w[1], D = K6((0, S.useState)(null), 2), O = D[0], k = D[1], A = Bit(), j = SQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, S.useCallback)((e) => {
A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (x.current = e);
}, [
A,
@@ -97535,7 +97572,7 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
E,
k
]), F = (0, S.useCallback)((e) => {
- C(Jrt(e)), C(I6({
+ C(Yrt(e)), C(I6({
handler: a,
reactEvent: e
}));
@@ -97545,7 +97582,7 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, l]), ee = (0, S.useCallback)((e) => {
- C(I$e()), C(I6({
+ C(L$e()), C(I6({
handler: u,
reactEvent: e
}));
@@ -97555,11 +97592,11 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, d]), te = (0, S.useCallback)(() => {
- C(oit());
- }, [C]), ne = (0, S.useCallback)(() => {
C(sit());
+ }, [C]), ne = (0, S.useCallback)(() => {
+ C(cit());
}, [C]), re = (0, S.useCallback)((e) => {
- C(ait(e.key));
+ C(oit(e.key));
}, [C]), ie = (0, S.useCallback)((e) => {
C(I6({
handler: o,
@@ -97586,7 +97623,7 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, h]), le = (0, S.useCallback)((e) => {
- b && C(dit(e)), C(I6({
+ b && C(fit(e)), C(I6({
handler: m,
reactEvent: e
}));
@@ -97599,12 +97636,12 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [C, p]), de = tat(v);
- return /*#__PURE__*/ S.createElement(k0e.Provider, { value: T }, /*#__PURE__*/ S.createElement(FJ.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {
+ }, [C, p]), de = nat(v);
+ return /*#__PURE__*/ S.createElement(A0e.Provider, { value: T }, /*#__PURE__*/ S.createElement(IJ.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {
width: M ?? g?.width,
height: N ?? g?.height,
- className: ry("recharts-wrapper", r),
- style: Vit({
+ className: ny("recharts-wrapper", r),
+ style: Hit({
position: "relative",
cursor: "default",
width: M,
@@ -97625,8 +97662,8 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
onTouchMove: le,
onTouchStart: ce,
ref: P
- }, /*#__PURE__*/ S.createElement(Xit, null), n)));
-}), rat = [
+ }, /*#__PURE__*/ S.createElement(Zit, null), n)));
+}), iat = [
"width",
"height",
"responsive",
@@ -97637,16 +97674,16 @@ var nat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
"title",
"desc"
];
-function iat(e, t) {
+function aat(e, t) {
if (e == null) return {};
- var n, r, i = aat(e, t);
+ var n, r, i = oat(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function aat(e, t) {
+function oat(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -97655,16 +97692,16 @@ function aat(e, t) {
}
return n;
}
-var oat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = eJ(iat(e, rat));
+var sat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = tJ(aat(e, iat));
return c ? /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: n,
height: r
- }), /*#__PURE__*/ S.createElement(Mit, {
+ }), /*#__PURE__*/ S.createElement(Nit, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ S.createElement(nat, {
+ }, a)) : /*#__PURE__*/ S.createElement(rat, {
className: o,
style: s,
width: n,
@@ -97681,12 +97718,12 @@ var oat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ S.createElement(Mit, {
+ }, /*#__PURE__*/ S.createElement(Nit, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ S.createElement(n9e, null, a)));
+ }, /*#__PURE__*/ S.createElement(r9e, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -97699,7 +97736,7 @@ function J6() {
return e;
}, J6.apply(null, arguments);
}
-function sat(e, t) {
+function cat(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97709,30 +97746,30 @@ function sat(e, t) {
}
return n;
}
-function cat(e) {
+function lat(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sat(Object(n), !0).forEach(function(t) {
- lat(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sat(Object(n)).forEach(function(t) {
+ t % 2 ? cat(Object(n), !0).forEach(function(t) {
+ uat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cat(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lat(e, t, n) {
- return (t = uat(t)) in e ? Object.defineProperty(e, t, {
+function uat(e, t, n) {
+ return (t = dat(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uat(e) {
- var t = dat(e, "string");
+function dat(e) {
+ var t = fat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dat(e, t) {
+function fat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97742,7 +97779,7 @@ function dat(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fat = cat({
+var pat = lat({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -97758,23 +97795,23 @@ var fat = cat({
stackOffset: "none",
syncMethod: "index"
}, U6), Y6 = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- var n = IY(e.categoricalChartProps, fat), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+ var n = LY(e.categoricalChartProps, pat), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ S.createElement(yit, {
+ return /*#__PURE__*/ S.createElement(bit, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ S.createElement(L7e, { chartData: s.data }), /*#__PURE__*/ S.createElement(xit, {
+ }, /*#__PURE__*/ S.createElement(R7e, { chartData: s.data }), /*#__PURE__*/ S.createElement(Sit, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ S.createElement(Cit, {
+ }), /*#__PURE__*/ S.createElement(wit, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ S.createElement(Sit, {
+ }), /*#__PURE__*/ S.createElement(Cit, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -97786,33 +97823,33 @@ var fat = cat({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ S.createElement(oat, J6({}, n, { ref: t })));
-}), pat = ["axis"], mat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
+ }), /*#__PURE__*/ S.createElement(sat, J6({}, n, { ref: t })));
+}), mat = ["axis"], hat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: pat,
+ validateTooltipEventTypes: mat,
tooltipPayloadSearcher: c4,
categoricalChartProps: e,
ref: t
-})), hat = ["axis", "item"], gat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
+})), gat = ["axis", "item"], _at = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: hat,
+ validateTooltipEventTypes: gat,
tooltipPayloadSearcher: c4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function _at(e) {
- var t = kX();
+function vat(e) {
+ var t = AX();
return (0, S.useEffect)(() => {
- t(rit(e));
+ t(iit(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var vat = ["layout"];
+var yat = ["layout"];
function X6() {
return X6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -97822,16 +97859,16 @@ function X6() {
return e;
}, X6.apply(null, arguments);
}
-function yat(e, t) {
+function bat(e, t) {
if (e == null) return {};
- var n, r, i = bat(e, t);
+ var n, r, i = xat(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function bat(e, t) {
+function xat(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -97840,7 +97877,7 @@ function bat(e, t) {
}
return n;
}
-function xat(e, t) {
+function Sat(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97850,30 +97887,30 @@ function xat(e, t) {
}
return n;
}
-function Sat(e) {
+function Cat(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xat(Object(n), !0).forEach(function(t) {
- Cat(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xat(Object(n)).forEach(function(t) {
+ t % 2 ? Sat(Object(n), !0).forEach(function(t) {
+ wat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Sat(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cat(e, t, n) {
- return (t = wat(t)) in e ? Object.defineProperty(e, t, {
+function wat(e, t, n) {
+ return (t = Tat(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wat(e) {
- var t = Tat(e, "string");
+function Tat(e) {
+ var t = Eat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tat(e, t) {
+function Eat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97883,7 +97920,7 @@ function Tat(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Z6 = Sat({
+var Z6 = Cat({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -97902,24 +97939,24 @@ var Z6 = Sat({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, U6), Eat = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- var n = IY(e.categoricalChartProps, Z6), r = n.layout, i = yat(n, vat), a = e.chartName, o = {
+}, U6), Dat = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ var n = LY(e.categoricalChartProps, Z6), r = n.layout, i = bat(n, yat), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
tooltipPayloadSearcher: e.tooltipPayloadSearcher,
eventEmitter: void 0
};
- return /*#__PURE__*/ S.createElement(yit, {
+ return /*#__PURE__*/ S.createElement(bit, {
preloadedState: { options: o },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ S.createElement(L7e, { chartData: n.data }), /*#__PURE__*/ S.createElement(xit, {
+ }, /*#__PURE__*/ S.createElement(R7e, { chartData: n.data }), /*#__PURE__*/ S.createElement(Sit, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ S.createElement(Cit, {
+ }), /*#__PURE__*/ S.createElement(wit, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ S.createElement(Sit, {
+ }), /*#__PURE__*/ S.createElement(Cit, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -97931,18 +97968,18 @@ var Z6 = Sat({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ S.createElement(_at, {
+ }), /*#__PURE__*/ S.createElement(vat, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ S.createElement(oat, X6({}, i, { ref: t })));
+ }), /*#__PURE__*/ S.createElement(sat, X6({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function Dat(e, t) {
+function Oat(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97952,30 +97989,30 @@ function Dat(e, t) {
}
return n;
}
-function Oat(e) {
+function kat(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Dat(Object(n), !0).forEach(function(t) {
- kat(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Dat(Object(n)).forEach(function(t) {
+ t % 2 ? Oat(Object(n), !0).forEach(function(t) {
+ Aat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Oat(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kat(e, t, n) {
- return (t = Aat(t)) in e ? Object.defineProperty(e, t, {
+function Aat(e, t, n) {
+ return (t = jat(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Aat(e) {
- var t = jat(e, "string");
+function jat(e) {
+ var t = Mat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jat(e, t) {
+function Mat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97985,31 +98022,31 @@ function jat(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Mat = ["axis"], Nat = Oat(Oat({}, Z6), {}, {
+var Nat = ["axis"], Pat = kat(kat({}, Z6), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), Pat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = IY(e, Nat);
- return /*#__PURE__*/ S.createElement(Eat, {
+}), Fat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = LY(e, Pat);
+ return /*#__PURE__*/ S.createElement(Dat, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Mat,
+ validateTooltipEventTypes: Nat,
tooltipPayloadSearcher: c4,
categoricalChartProps: n,
ref: t
});
-}), Fat = ["axis"], Iat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
+}), Iat = ["axis"], Lat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Fat,
+ validateTooltipEventTypes: Iat,
tooltipPayloadSearcher: c4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function Lat(e, t) {
+function Rat(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -98019,30 +98056,30 @@ function Lat(e, t) {
}
return n;
}
-function Rat(e) {
+function zat(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Lat(Object(n), !0).forEach(function(t) {
- zat(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lat(Object(n)).forEach(function(t) {
+ t % 2 ? Rat(Object(n), !0).forEach(function(t) {
+ Bat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rat(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zat(e, t, n) {
- return (t = Bat(t)) in e ? Object.defineProperty(e, t, {
+function Bat(e, t, n) {
+ return (t = Vat(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bat(e) {
- var t = Vat(e, "string");
+function Vat(e) {
+ var t = Hat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vat(e, t) {
+function Hat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -98052,16 +98089,16 @@ function Vat(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Hat = ["axis", "item"], Uat = Rat(Rat({}, Z6), {}, {
+var Uat = ["axis", "item"], Wat = zat(zat({}, Z6), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), Wat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = IY(e, Uat);
- return /*#__PURE__*/ S.createElement(Eat, {
+}), Gat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = LY(e, Wat);
+ return /*#__PURE__*/ S.createElement(Dat, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Hat,
+ validateTooltipEventTypes: Uat,
tooltipPayloadSearcher: c4,
categoricalChartProps: n,
ref: t
@@ -98070,20 +98107,20 @@ var Hat = ["axis", "item"], Uat = Rat(Rat({}, Z6), {}, {
//#endregion
//#region src/react/charts/cn.ts
function Q6(...e) {
- return dA(ry(e));
+ return dA(ny(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var Gat = {
+var Kat = {
light: "",
dark: ".dark"
-}, $6 = Object.keys(Gat);
-function Kat(e) {
+}, $6 = Object.keys(Kat);
+function qat(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !$6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${$6.join(", ")}). Received empty object or invalid keys.`);
}
-var qat = S.createContext(null);
+var Jat = S.createContext(null);
function e8() {
- let e = S.useContext(qat);
+ let e = S.useContext(Jat);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
@@ -98092,7 +98129,7 @@ function t8({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = S.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return Kat(t), /* @__PURE__ */ (0, C.jsx)(qat.Provider, {
+ return qat(t), /* @__PURE__ */ (0, C.jsx)(Jat.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-slot": "chart",
@@ -98100,7 +98137,7 @@ function t8({ id: e, config: t, initialDimension: n = {
className: Q6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, C.jsx)(Yat, {
+ /* @__PURE__ */ (0, C.jsx)(Xat, {
id: c,
config: t
}),
@@ -98123,7 +98160,7 @@ function n8({ isLoading: e }) {
})
}) : null;
}
-function Jat(e, t) {
+function Yat(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -98133,13 +98170,13 @@ function Jat(e, t) {
}
return r;
}
-var Yat = ({ id: e, config: t }) => {
+var Xat = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : Jat(r, i8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(Gat).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : Yat(r, i8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(Kat).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, C.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
function r8(e, t, n) {
@@ -98152,15 +98189,15 @@ function i8(e) {
let t = $6.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var Xat = (e = 10, t = 0, n = 70) => {
+var Zat = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, Zat = {
+}, Qat = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, Qat = {
+}, $at = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -98187,7 +98224,7 @@ function a8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, C.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: Q6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Zat[p], Qat[m], n),
+ className: Q6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Qat[p], $at[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, C.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -98201,7 +98238,7 @@ function a8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: $at(n, o)
+ style: eot(n, o)
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: Q6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -98220,10 +98257,10 @@ function a8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function $at(e, t) {
+function eot(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var o8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, C.jsx)(p2e, {
+var o8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, C.jsx)(m2e, {
animationDuration: e,
...t
});
@@ -98240,7 +98277,7 @@ function s8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, C.jsx)(i.icon, {}) : /* @__PURE__ */ (0, C.jsx)(eot, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, C.jsx)(i.icon, {}) : /* @__PURE__ */ (0, C.jsx)(tot, {
variant: l,
dataKey: r,
colorsCount: d
@@ -98249,8 +98286,8 @@ function s8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function eot({ variant: e, dataKey: t, colorsCount: n }) {
- let r = tot(t, n), i = not(t, n);
+function tot({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = not(t, n), i = rot(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, C.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -98282,10 +98319,10 @@ function eot({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function tot(e, t) {
+function not(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function not(e, t) {
+function rot(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -98300,12 +98337,12 @@ function not(e, t) {
...n
};
}
-var c8 = OWe, l8 = () => null, rot = {
+var c8 = kWe, l8 = () => null, iot = {
stiffness: 300,
damping: 35,
mass: .8
};
-function iot({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function aot({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = S.useRef(null), [a, o] = S.useState(!1), s = (0, S.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, S.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -98351,7 +98388,7 @@ function iot({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function oot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = S.useRef(null), w = S.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = S.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = S.useState(() => ({
startIndex: Math.max(0, Math.min(p, T - 1)),
endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))
@@ -98385,7 +98422,7 @@ function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [T, v]), { isDragging: M, bind: N } = iot({
+ }, [T, v]), { isDragging: M, bind: N } = aot({
range: O,
totalPoints: T,
containerRef: x,
@@ -98410,16 +98447,16 @@ function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
M
]);
- let F = T > 1 ? P.startIndex / (T - 1) * 100 : 0, I = T > 1 ? P.endIndex / (T - 1) * 100 : 100, ee = z_(F), L = z_(I);
+ let F = T > 1 ? P.startIndex / (T - 1) * 100 : 0, I = T > 1 ? P.endIndex / (T - 1) * 100 : 100, ee = R_(F), L = R_(I);
ee.get() !== F && ee.set(F), L.get() !== I && L.set(I);
- let te = tie(ee, rot), ne = tie(L, rot), re = B_(te, (e) => `${e}%`), ie = B_(ne, (e) => `${e}%`), ae = B_(te, (e) => `${e}%`), oe = B_(ne, (e) => `${Math.max(0, 100 - e)}%`), se = z_(`${Math.max(0, I - F)}%`), ce = (0, S.useCallback)(() => {
+ let te = nie(ee, iot), ne = nie(L, iot), re = z_(te, (e) => `${e}%`), ie = z_(ne, (e) => `${e}%`), ae = z_(te, (e) => `${e}%`), oe = z_(ne, (e) => `${Math.max(0, 100 - e)}%`), se = R_(`${Math.max(0, I - F)}%`), ce = (0, S.useCallback)(() => {
se.set(`${Math.max(0, ne.get() - te.get())}%`);
}, [
te,
ne,
se
]);
- Yre(te, "change", ce), Yre(ne, "change", ce);
+ Xre(te, "change", ce), Xre(ne, "change", ce);
let le = (0, S.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -98435,13 +98472,13 @@ function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
className: Q6("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, C.jsx)(Yat, {
+ !b && /* @__PURE__ */ (0, C.jsx)(Xat, {
id: E,
config: t
}),
/* @__PURE__ */ (0, C.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, C.jsx)(sot, {
+ children: /* @__PURE__ */ (0, C.jsx)(cot, {
data: e,
keys: w,
chartConfig: t,
@@ -98454,15 +98491,15 @@ function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, C.jsx)(U_.div, {
+ /* @__PURE__ */ (0, C.jsx)(H_.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: ae }
}),
- /* @__PURE__ */ (0, C.jsx)(U_.div, {
+ /* @__PURE__ */ (0, C.jsx)(H_.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: oe }
}),
- /* @__PURE__ */ (0, C.jsx)(U_.div, {
+ /* @__PURE__ */ (0, C.jsx)(H_.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: re,
@@ -98470,13 +98507,13 @@ function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, C.jsx)(oot, {
+ /* @__PURE__ */ (0, C.jsx)(sot, {
side: "left",
position: re,
label: y ? le(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, C.jsx)(oot, {
+ /* @__PURE__ */ (0, C.jsx)(sot, {
side: "right",
position: ie,
label: y ? le(P.endIndex) : void 0,
@@ -98485,9 +98522,9 @@ function aot({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function oot({ side: e, position: t, label: n, bind: r }) {
+function sot({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, C.jsxs)(U_.div, {
+ return /* @__PURE__ */ (0, C.jsxs)(H_.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, C.jsx)("div", {
@@ -98510,7 +98547,7 @@ function oot({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function cot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = S.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: i8(t)
@@ -98570,7 +98607,7 @@ function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, C.jsx)(CQ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, C.jsxs)(mat, {
+ children: /* @__PURE__ */ (0, C.jsxs)(hat, {
data: e,
margin: {
top: 4,
@@ -98578,7 +98615,7 @@ function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(Dtt, {
+ children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(Ott, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -98597,7 +98634,7 @@ function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, C.jsx)(CQ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, C.jsxs)(gat, {
+ children: /* @__PURE__ */ (0, C.jsxs)(_at, {
data: e,
margin: {
top: 2,
@@ -98626,7 +98663,7 @@ function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, C.jsx)(CQ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, C.jsxs)(Iat, {
+ children: /* @__PURE__ */ (0, C.jsxs)(Lat, {
data: e,
margin: {
top: 4,
@@ -98634,7 +98671,7 @@ function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(pnt, {
+ children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(mnt, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -98652,7 +98689,7 @@ function sot({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function cot({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function lot({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = S.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -98676,7 +98713,7 @@ function cot({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var lot = {
+var uot = {
dots: ({ id: e }) => /* @__PURE__ */ (0, C.jsx)("pattern", {
id: e,
x: "0",
@@ -98849,7 +98886,7 @@ var lot = {
})
};
function u8({ variant: e }) {
- let t = (0, S.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = lot[e];
+ let t = (0, S.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = uot[e];
return /* @__PURE__ */ (0, C.jsxs)(r4, {
zIndex: -1,
children: [/* @__PURE__ */ (0, C.jsxs)("defs", { children: [
@@ -98880,19 +98917,19 @@ function u8({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var uot = 2, dot = "loading", fot = 2e3, pot = "evil-stacked", mot = .5, hot = .05, got = [
+var dot = 2, fot = "loading", pot = 2e3, mot = "evil-stacked", hot = .5, got = .05, _ot = [
0,
.7,
.5,
1
-], _ot = (0, S.createContext)(null);
+], vot = (0, S.createContext)(null);
function d8() {
- let e = (0, S.use)(_ot);
+ let e = (0, S.use)(vot);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function f8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = uot, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, S.useId)().replace(/:/g, ""), [v] = (0, S.useState)(() => Date.now()), [y, b] = (0, S.useState)(f), [x, w] = (0, S.useState)(!1), { loadingData: T, onShimmerExit: E } = Lot(m, h), { visibleData: D, brushProps: O } = cot({ data: t }), k = (0, S.useMemo)(() => {
+function f8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = dot, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+ let _ = (0, S.useId)().replace(/:/g, ""), [v] = (0, S.useState)(() => Date.now()), [y, b] = (0, S.useState)(f), [x, w] = (0, S.useState)(!1), { loadingData: T, onShimmerExit: E } = Rot(m, h), { visibleData: D, brushProps: O } = lot({ data: t }), k = (0, S.useMemo)(() => {
let e = S.Children.toArray(n), t = e.find((e) => (0, S.isValidElement)(e) && e.type === l8), r = (0, S.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -98930,12 +98967,12 @@ function f8({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
x
]);
- return /* @__PURE__ */ (0, C.jsx)(_ot, {
+ return /* @__PURE__ */ (0, C.jsx)(vot, {
value: F,
children: /* @__PURE__ */ (0, C.jsxs)(t8, {
className: r,
config: e,
- footer: A && !m && /* @__PURE__ */ (0, C.jsx)(aot, {
+ footer: A && !m && /* @__PURE__ */ (0, C.jsx)(oot, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -98951,7 +98988,7 @@ function f8({ config: e, data: t, children: n, className: r, chartProps: i, stac
O.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: m }), /* @__PURE__ */ (0, C.jsxs)(gat, {
+ children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: m }), /* @__PURE__ */ (0, C.jsxs)(_at, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -98964,9 +99001,9 @@ function f8({ config: e, data: t, children: n, className: r, chartProps: i, stac
...i,
children: [
d && /* @__PURE__ */ (0, C.jsx)(u8, { variant: d }),
- /* @__PURE__ */ (0, C.jsx)(v9e, { color: "white" }),
+ /* @__PURE__ */ (0, C.jsx)(y9e, { color: "white" }),
k.chartChildren,
- m && /* @__PURE__ */ (0, C.jsx)(Rot, {
+ m && /* @__PURE__ */ (0, C.jsx)(zot, {
chartId: _,
onShimmerExit: E
})
@@ -98975,8 +99012,8 @@ function f8({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function vot({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = d8(), b = (0, S.useId)().replace(/:/g, ""), x = V_();
+function yot({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = d8(), b = (0, S.useId)().replace(/:/g, ""), x = B_();
if (f) return null;
let w = n ?? p, T = _ === e, E = x ? "none" : r ?? m, D = {
id: b,
@@ -98998,63 +99035,63 @@ function vot({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(x6, {
dataKey: e,
- stackId: u ? pot : void 0,
+ stackId: u ? mot : void 0,
fill: `url(#${b}-colors-${e})`,
radius: w,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, C.jsx)(wot, {
+ shape: (e) => /* @__PURE__ */ (0, C.jsx)(Tot, {
...e,
...D,
animationType: E
}),
- activeBar: (e) => /* @__PURE__ */ (0, C.jsx)(wot, {
+ activeBar: (e) => /* @__PURE__ */ (0, C.jsx)(Tot, {
...e,
...D,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, C.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, C.jsx)(Oot, {
+ /* @__PURE__ */ (0, C.jsx)(kot, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, C.jsx)(kot, {
+ t === "hatched" && /* @__PURE__ */ (0, C.jsx)(Aot, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, C.jsx)(jot, {
+ t === "duotone" && /* @__PURE__ */ (0, C.jsx)(Mot, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, C.jsx)(Mot, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, C.jsx)(Not, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, C.jsx)(Not, {
+ t === "gradient" && /* @__PURE__ */ (0, C.jsx)(Pot, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, C.jsx)(Pot, {
+ t === "stripped" && /* @__PURE__ */ (0, C.jsx)(Fot, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, C.jsx)(Aot, {
+ s && /* @__PURE__ */ (0, C.jsx)(jot, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, C.jsx)(Fot, {
+ o && /* @__PURE__ */ (0, C.jsx)(Iot, {
id: b,
dataKey: e
})
] })] });
}
-function yot({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function bot({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = d8();
- return o ? null : /* @__PURE__ */ (0, C.jsx)(Nrt, {
+ return o ? null : /* @__PURE__ */ (0, C.jsx)(Prt, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -99063,9 +99100,9 @@ function yot({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function bot({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function xot({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = d8();
- return s ? null : /* @__PURE__ */ (0, C.jsx)(Krt, {
+ return s ? null : /* @__PURE__ */ (0, C.jsx)(qrt, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -99075,16 +99112,16 @@ function bot({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function xot({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function Sot({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = d8();
- return /* @__PURE__ */ (0, C.jsx)(jet, {
+ return /* @__PURE__ */ (0, C.jsx)(Met, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function Sot({ variant: e, roundness: t, defaultIndex: n }) {
+function Cot({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = d8();
return r ? null : /* @__PURE__ */ (0, C.jsx)(o8, {
cursor: !1,
@@ -99096,7 +99133,7 @@ function Sot({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Cot({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function wot({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = d8();
return /* @__PURE__ */ (0, C.jsx)(c8, {
verticalAlign: n,
@@ -99109,8 +99146,8 @@ function Cot({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var wot = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, w = s === "stripped", T = Tot(h, x, y, m, g), E = S ? `url(#${a}-buffer-hatched-${o})` : Eot(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = Dot({
+var Tot = (e) => {
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, w = s === "stripped", T = Eot(h, x, y, m, g), E = S ? `url(#${a}-buffer-hatched-${o})` : Dot(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = Oot({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -99147,7 +99184,7 @@ var wot = (e) => {
children: [/* @__PURE__ */ (0, C.jsx)($Q, {
...e,
fill: "transparent"
- }), T ? /* @__PURE__ */ (0, C.jsx)(U_.g, {
+ }), T ? /* @__PURE__ */ (0, C.jsx)(H_.g, {
initial: T.initial,
animate: T.animate,
transition: T.transition,
@@ -99155,7 +99192,7 @@ var wot = (e) => {
children: j
}) : j]
});
-}, Tot = (e, t, n, r, i) => {
+}, Eot = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -99170,11 +99207,11 @@ var wot = (e) => {
break;
default: s = t;
}
- let c = s * hot * 1e3, l = mot * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * got * 1e3, l = hot * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: got,
+ ease: _ot,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -99188,7 +99225,7 @@ var wot = (e) => {
transition: p,
style: { originY: 1 }
};
-}, Eot = (e, t, n) => {
+}, Dot = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -99197,10 +99234,10 @@ var wot = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, Dot = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, Oot = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, Oot = ({ id: e, dataKey: t, config: n }) => {
+}, kot = ({ id: e, dataKey: t, config: n }) => {
let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -99222,7 +99259,7 @@ var wot = (e) => {
}, i);
})
});
-}, kot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+}, Aot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -99263,7 +99300,7 @@ var wot = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), Aot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+] }), jot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -99304,7 +99341,7 @@ var wot = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), jot = ({ id: e, dataKey: t, config: n }) => {
+] }), Mot = ({ id: e, dataKey: t, config: n }) => {
let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
@@ -99372,7 +99409,7 @@ var wot = (e) => {
})
})
] });
-}, Mot = ({ id: e, dataKey: t, config: n }) => {
+}, Not = ({ id: e, dataKey: t, config: n }) => {
let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
@@ -99440,7 +99477,7 @@ var wot = (e) => {
})
})
] });
-}, Not = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+}, Pot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -99477,7 +99514,7 @@ var wot = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), Pot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+] }), Fot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -99514,7 +99551,7 @@ var wot = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), Fot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
+] }), Iot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -99534,35 +99571,35 @@ var wot = (e) => {
}),
/* @__PURE__ */ (0, C.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), Iot = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), Lot = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function Lot(e, t = 12) {
+function Rot(e, t = 12) {
let [n, r] = (0, S.useState)(!1), i = (0, S.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, S.useMemo)(() => Xat(t, 20, 80), [t, n]),
+ loadingData: (0, S.useMemo)(() => Zat(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var Rot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(x6, {
- dataKey: dot,
+var zot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(x6, {
+ dataKey: fot,
fill: "currentColor",
fillOpacity: .15,
- radius: uot,
+ radius: dot,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(zot, {
+}), /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(Bot, {
chartId: e,
onShimmerExit: t
-}) })] }), zot = ({ chartId: e, onShimmerExit: t }) => {
- let n = Iot(), r = (0, S.useRef)(-1);
+}) })] }), Bot = ({ chartId: e, onShimmerExit: t }) => {
+ let n = Lot(), r = (0, S.useRef)(-1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -99585,7 +99622,7 @@ var Rot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, C.jsx)(U_.rect, {
+ children: /* @__PURE__ */ (0, C.jsx)(H_.rect, {
y: "0",
width: "1",
height: "1",
@@ -99593,7 +99630,7 @@ var Rot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: fot / 1e3,
+ duration: pot / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -99615,7 +99652,7 @@ var Rot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fr
})
] });
};
-f8.Bar = vot, f8.XAxis = yot, f8.YAxis = bot, f8.Grid = xot, f8.Tooltip = Sot, f8.Legend = Cot, f8.Brush = l8;
+f8.Bar = yot, f8.XAxis = bot, f8.YAxis = xot, f8.Grid = Sot, f8.Tooltip = Cot, f8.Legend = wot, f8.Brush = l8;
//#endregion
//#region src/react/charts/chart-card.tsx
var p8 = `${_A({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
@@ -99632,8 +99669,8 @@ function m8({ title: e, children: t }) {
})]
});
}
-var Bot = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, Vot = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), h8;
-function Hot(e) {
+var Vot = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, Hot = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), h8;
+function Uot(e) {
if (h8 === void 0) try {
h8 = document.createElement("canvas").getContext("2d"), h8 && (h8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
} catch {
@@ -99641,19 +99678,19 @@ function Hot(e) {
}
return h8 ? h8.measureText(e).width : null;
}
-var g8 = (e) => Hot(e) ?? Vot(e).reduce((e, t) => e + Bot(t), 0);
-function Uot(e, t) {
+var g8 = (e) => Uot(e) ?? Hot(e).reduce((e, t) => e + Vot(t), 0);
+function Wot(e, t) {
if (g8(e) <= t) return e;
- let n = Vot(e), r = 0;
+ let n = Hot(e), r = 0;
for (; r < n.length && g8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
return `${n.slice(0, r).join("")}…`;
}
-var Wot = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(g8)) + 12);
+var Got = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(g8)) + 12);
function _8(e) {
let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;
return /* @__PURE__ */ (0, C.jsxs)("g", { children: [/* @__PURE__ */ (0, C.jsx)("title", { children: o }), /* @__PURE__ */ (0, C.jsx)(v4, {
...a,
- children: Uot(o, s)
+ children: Wot(o, s)
})] });
}
function v8({ title: e, figure: t, note: n }) {
@@ -99682,7 +99719,7 @@ var y8 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], b8 = (e) => ({ light: [e] }), x8 = (e) => `s${e}`;
-function Got(e) {
+function Kot(e) {
return Object.fromEntries(e.map((e, t) => [x8(t), {
label: e,
colors: b8(y8[t % y8.length])
@@ -99690,8 +99727,8 @@ function Got(e) {
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var Kot = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function qot({ swatch: e, name: t, value: n }) {
+var qot = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function Jot({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -99706,23 +99743,23 @@ function qot({ swatch: e, name: t, value: n }) {
})]
});
}
-var Jot = "size-2.5 shrink-0 rounded-xs";
-function Yot({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+var Yot = "size-2.5 shrink-0 rounded-xs";
+function Xot({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = e8(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, C.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: Kot,
+ className: qot,
children: [c ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = r8(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, C.jsx)(qot, {
+ return /* @__PURE__ */ (0, C.jsx)(Jot, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, C.jsx)("i", {
- className: Jot,
+ className: Yot,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
@@ -99732,7 +99769,7 @@ function Yot({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function S8({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, C.jsx)(o8, {
cursor: !1,
- content: /* @__PURE__ */ (0, C.jsx)(Yot, {
+ content: /* @__PURE__ */ (0, C.jsx)(Xot, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -99742,17 +99779,17 @@ function S8({ nameKey: e, valueKey: t, hideLabel: n }) {
//#endregion
//#region src/react/charts/bar-card.tsx
var C8 = [0, (e) => e * 1.2];
-function Xot(e) {
+function Zot(e) {
let t = Math.abs(e), n = (t, n) => {
let r = e / t;
return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;
};
return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();
}
-var Zot = (e) => ({
+var Qot = (e) => ({
position: e,
className: "fill-text-secondary",
- formatter: (e) => Xot(Number(e))
+ formatter: (e) => Zot(Number(e))
});
function w8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
@@ -99792,7 +99829,7 @@ function w8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
dataKey: "name",
interval: 0,
tick: /* @__PURE__ */ (0, C.jsx)(_8, { along: "y" }),
- width: Wot(s.map((e) => e.name))
+ width: Got(s.map((e) => e.name))
}) : /* @__PURE__ */ (0, C.jsx)(f8.XAxis, {
dataKey: "name",
interval: 0,
@@ -99810,7 +99847,7 @@ function w8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: Zot(l ? "right" : "top")
+ label: Qot(l ? "right" : "top")
}
}),
/* @__PURE__ */ (0, C.jsx)(S8, {})
@@ -99820,7 +99857,7 @@ function w8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
}
//#endregion
//#region src/react/charts/heat.ts
-var Qot = [
+var $ot = [
"周一",
"周二",
"周三",
@@ -99828,8 +99865,8 @@ var Qot = [
"周五",
"周六",
"周日"
-], $ot = (e, t) => e ? Math.max(.12, e / t) : 0;
-function est(e) {
+], est = (e, t) => e ? Math.max(.12, e / t) : 0;
+function tst(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -99839,14 +99876,14 @@ function est(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${Qot[t]} ${n}:00`,
+ label: `${$ot[t]} ${n}:00`,
count: e,
- share: $ot(e, r)
+ share: est(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function tst(e) {
+function nst(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -99864,7 +99901,7 @@ function tst(e) {
key: r,
label: r,
count: s,
- share: $ot(s, o)
+ share: est(s, o)
};
});
return {
@@ -99876,7 +99913,7 @@ function tst(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var T8 = 14, E8 = 17, nst = {
+var T8 = 14, E8 = 17, rst = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -99885,30 +99922,30 @@ var T8 = 14, E8 = 17, nst = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, rst = {
+}, ist = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function ist({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function ast({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${Kot} ${rst[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${qot} ${ist[a]}`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, C.jsx)(qot, {
+ }), /* @__PURE__ */ (0, C.jsx)(Jot, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, C.jsx)("i", { className: `${Jot} ${nst[n].dot}` })
+ swatch: /* @__PURE__ */ (0, C.jsx)("i", { className: `${Yot} ${rst[n].dot}` })
})]
});
}
-function ast({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+function ost({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
let [l, u] = (0, S.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * E8, m = f + a * E8, h = (e) => ({
x: d + e % i * E8,
y: f + Math.floor(e / i) * E8
@@ -99948,14 +99985,14 @@ function ast({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${nst[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${rst[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, C.jsx)(ist, {
+ }), g && _ ? /* @__PURE__ */ (0, C.jsx)(ast, {
cell: g,
series: t.series,
tone: c,
@@ -99971,7 +100008,7 @@ function ast({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
]
});
}
-var ost = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [Qot.map((e, t) => /* @__PURE__ */ (0, C.jsx)("text", {
+var sst = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [$ot.map((e, t) => /* @__PURE__ */ (0, C.jsx)("text", {
x: 0,
y: 18 + t * E8 + 7,
dominantBaseline: "middle",
@@ -99984,11 +100021,11 @@ var ost = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [Qot.map((e, t) =>
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function sst({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = est(e), s = tst(e);
+function cst({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = tst(e), s = nst(e);
return s.cells.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, C.jsx)(ast, {
+ children: [/* @__PURE__ */ (0, C.jsx)(ost, {
title: t,
words: r,
tone: i,
@@ -99996,9 +100033,9 @@ function sst({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: ost,
+ axis: sst,
footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, C.jsx)(ast, {
+ }), /* @__PURE__ */ (0, C.jsx)(ost, {
title: n,
words: r,
tone: i,
@@ -100015,7 +100052,7 @@ function sst({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function cst({ children: e, className: t = "", previewCount: n = 10 }) {
+function lst({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, S.useId)(), i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(!1), l = S.Children.toArray(e), u = l.length > n;
(0, S.useLayoutEffect)(() => {
let e = i.current;
@@ -100062,14 +100099,14 @@ function cst({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var lst = "30%", ust = "100%", dst = 5, fst = 14, pst = 5, mst = 1500, hst = (0, S.createContext)(null);
+var ust = "30%", dst = "100%", fst = 5, pst = 14, mst = 5, hst = 1500, gst = (0, S.createContext)(null);
function D8() {
- let e = (0, S.use)(hst);
+ let e = (0, S.use)(gst);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function O8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = lst, outerRadius: l = ust, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, S.useId)().replace(/:/g, ""), [h, g] = (0, S.useState)(u), _ = Sst(f), v = yst(o), y = (0, S.useCallback)((e, t) => {
+function O8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = ust, outerRadius: l = dst, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, S.useId)().replace(/:/g, ""), [h, g] = (0, S.useState)(u), _ = Cst(f), v = bst(o), y = (0, S.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -100096,12 +100133,12 @@ function O8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, C.jsx)(hst, {
+ return /* @__PURE__ */ (0, C.jsx)(gst, {
value: x,
children: /* @__PURE__ */ (0, C.jsxs)(t8, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: f }), /* @__PURE__ */ (0, C.jsxs)(Wat, {
+ children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: f }), /* @__PURE__ */ (0, C.jsxs)(Gat, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -100120,8 +100157,8 @@ function O8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, C.jsx)(u8, { variant: p }),
r,
- f && /* @__PURE__ */ (0, C.jsx)(Cst, {}),
- /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(bst, {
+ f && /* @__PURE__ */ (0, C.jsx)(wst, {}),
+ /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(xst, {
config: e,
chartId: m
}) })
@@ -100130,7 +100167,7 @@ function O8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function gst({ dataKey: e, cornerRadius: t = dst, barSize: n = fst, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function _st({ dataKey: e, cornerRadius: t = fst, barSize: n = pst, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = D8();
return s ? null : /* @__PURE__ */ (0, C.jsx)(R3, {
dataKey: e,
@@ -100155,7 +100192,7 @@ function gst({ dataKey: e, cornerRadius: t = dst, barSize: n = fst, showBackgrou
...a
});
}
-function _st({ variant: e, roundness: t, defaultIndex: n }) {
+function vst({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = D8();
return i ? null : /* @__PURE__ */ (0, C.jsx)(o8, {
defaultIndex: n,
@@ -100168,7 +100205,7 @@ function _st({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function vst({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function yst({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = D8();
return a ? null : /* @__PURE__ */ (0, C.jsx)(c8, {
verticalAlign: n,
@@ -100182,7 +100219,7 @@ function vst({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function yst(e) {
+function bst(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -100198,7 +100235,7 @@ function yst(e) {
};
}
}
-var bst = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var xst = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = i8(n);
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -100221,29 +100258,29 @@ var bst = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, C.jsx)(C.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function xst() {
- return Array.from({ length: pst }, (e, t) => ({
+function Sst() {
+ return Array.from({ length: mst }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function Sst(e) {
+function Cst(e) {
let [t, n] = (0, S.useState)(0);
return (0, S.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, mst);
+ }, hst);
return () => clearInterval(t);
- }, [e]), (0, S.useMemo)(() => xst(), [t]);
+ }, [e]), (0, S.useMemo)(() => Sst(), [t]);
}
-var Cst = () => /* @__PURE__ */ (0, C.jsx)(R3, {
+var wst = () => /* @__PURE__ */ (0, C.jsx)(R3, {
dataKey: "value",
- cornerRadius: dst,
- barSize: fst,
+ cornerRadius: fst,
+ barSize: pst,
background: !0,
isAnimationActive: !0,
- animationDuration: mst,
+ animationDuration: hst,
animationEasing: "ease-in-out",
shape: (e) => /* @__PURE__ */ (0, C.jsx)(o$, {
...e,
@@ -100251,17 +100288,17 @@ var Cst = () => /* @__PURE__ */ (0, C.jsx)(R3, {
fillOpacity: .25
})
});
-O8.RadialBar = gst, O8.Tooltip = _st, O8.Legend = vst;
+O8.RadialBar = _st, O8.Tooltip = vst, O8.Legend = yst;
//#endregion
//#region src/react/stats/radial-card.tsx
-var wst = [
+var Tst = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], Tst = [
+], Est = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -100269,7 +100306,7 @@ var wst = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function Est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
+function Dst({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = tRe(t);
if (!c.length) return /* @__PURE__ */ (0, C.jsx)(m8, {
title: e,
@@ -100306,7 +100343,7 @@ function Est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
children: /* @__PURE__ */ (0, C.jsxs)(O8, {
data: m,
nameKey: "slice",
- config: Got(c.map((e) => e.name)),
+ config: Kot(c.map((e) => e.name)),
max: p,
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
@@ -100339,13 +100376,13 @@ function Est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onPointerLeave: () => s(-1),
onFocus: () => s(t),
onBlur: () => s(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Tst[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Est[t % 6]}`,
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, C.jsx)("i", {
"aria-hidden": !0,
- className: `mt-0.5 size-3 shrink-0 rounded-sm ${wst[t % 6]}`
+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${Tst[t % 6]}`
}), /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(BA, { mark: e.mark }) : null, e.name]
@@ -100367,7 +100404,7 @@ function Est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var Dst = 10, k8 = y8[5], Ost = y8[4], kst = `${_A()} flex flex-col gap-4`, A8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Ast = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", jst = "开始播放后,这里会显示最近的真实观看证据。", Mst = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Nst = "添加媒体文件夹后,这里会显示存储空间。", Pst = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", Fst = "探测时长后,这里会显示时长分布。", Ist = "探测画质后,这里会显示画质分布。", Lst = "开始播放后,这里会显示播放落在一周的哪些时段。", Rst = "开始播放后,这里会显示每个作品播了几次。", j8 = (e, t) => Math.min(Math.max(e, 0), t);
+var Ost = 10, k8 = y8[5], kst = y8[4], Ast = `${_A()} flex flex-col gap-4`, A8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", jst = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Mst = "开始播放后,这里会显示最近的真实观看证据。", Nst = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Pst = "添加媒体文件夹后,这里会显示存储空间。", Fst = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", Ist = "探测时长后,这里会显示时长分布。", Lst = "探测画质后,这里会显示画质分布。", Rst = "开始播放后,这里会显示播放落在一周的哪些时段。", zst = "开始播放后,这里会显示每个作品播了几次。", j8 = (e, t) => Math.min(Math.max(e, 0), t);
function M8({ term: e, value: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -100376,7 +100413,7 @@ function M8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, C.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: Gq(t)
+ children: Kq(t)
})]
});
}
@@ -100388,14 +100425,14 @@ function N8({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e }), /* @__PURE__ */ (0, C.jsxs)("b", {
className: "tabular-nums",
- children: [Gq(t), Wq(t) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [Kq(t), Gq(t) ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: Kq(t, n)
+ children: qq(t, n)
}) : null]
})]
}), /* @__PURE__ */ (0, C.jsx)(SA, {
- label: `${e}:${Gq(t)} / ${n.toLocaleString()}`,
- value: Wq(t) ? j8(t, r) : 0,
+ label: `${e}:${Kq(t)} / ${n.toLocaleString()}`,
+ value: Gq(t) ? j8(t, r) : 0,
max: r
})]
});
@@ -100421,19 +100458,19 @@ function P8({ term: e, figure: t, unit: n }) {
}
function F8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: `${kst} md:flex-row md:gap-6`,
+ className: `${Ast} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function zst({ data: e, configurable: t, openMediaSettings: n }) {
+function Bst({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, C.jsx)(Est, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Dst, {
title: "网盘与本地",
empty: A8,
rows: e.by_loc.map((e) => ({
@@ -100442,9 +100479,9 @@ function zst({ data: e, configurable: t, openMediaSettings: n }) {
bytes: e.bytes,
mark: uo[e.k] || "database"
}))
- }), /* @__PURE__ */ (0, C.jsx)(Est, {
+ }), /* @__PURE__ */ (0, C.jsx)(Dst, {
title: "媒体库",
- empty: Pst,
+ empty: Fst,
rows: e.by_library.map((e) => ({
name: e.name,
value: e.videos,
@@ -100461,15 +100498,15 @@ function zst({ data: e, configurable: t, openMediaSettings: n }) {
series: "视频",
color: k8,
rows: cRe(e.by_length),
- empty: Fst
+ empty: Ist
}),
/* @__PURE__ */ (0, C.jsx)(w8, {
title: "画质",
unit: "个视频",
series: "视频",
color: k8,
- rows: Xq(e.by_quality),
- empty: Ist
+ rows: Zq(e.by_quality),
+ empty: Lst
}),
/* @__PURE__ */ (0, C.jsx)(w8, {
title: "文件类型",
@@ -100499,8 +100536,8 @@ function zst({ data: e, configurable: t, openMediaSettings: n }) {
children: A8
});
}
-function Bst({ data: e }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(sst, {
+function Vst({ data: e }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(cst, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -100510,17 +100547,17 @@ function Bst({ data: e }) {
cellUnit: "个作品"
},
tone: 5,
- empty: Lst
+ empty: Rst
}), /* @__PURE__ */ (0, C.jsx)(w8, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: Ost,
+ color: kst,
rows: uRe(e.replays),
- empty: Rst
+ empty: zst
})] });
}
-function Vst({ attribution: e }) {
+function Hst({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col",
@@ -100553,7 +100590,7 @@ function Vst({ attribution: e }) {
]
});
}
-function Hst({ volume: e }) {
+function Ust({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, C.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -100570,7 +100607,7 @@ function Hst({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [sn(n), /* @__PURE__ */ (0, C.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: Kq(n, t)
+ children: qq(n, t)
})]
})]
}),
@@ -100592,10 +100629,10 @@ function Hst({ volume: e }) {
]
});
}
-function Ust({ volumes: e, configurable: t, openMediaSettings: n }) {
+function Wst({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(Hst, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(Ust, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, C.jsx)(vA, {
shell: "plain",
icon: Rk,
@@ -100605,12 +100642,12 @@ function Ust({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: Nst
+ children: Pst
});
}
-function Wst({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, C.jsx)(cst, {
- previewCount: Dst,
+function Gst({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, C.jsx)(lst, {
+ previewCount: Ost,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, C.jsx)("li", {
className: "min-w-0",
@@ -100644,14 +100681,14 @@ function Wst({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: Ast
+ children: jst
});
}
-function Gst({ rows: e }) {
+function Kst({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = Jq(e);
+ let t = Yq(e);
return /* @__PURE__ */ (0, C.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -100678,7 +100715,7 @@ function Gst({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, C.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${Yq(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${Xq(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -100693,10 +100730,10 @@ function Gst({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: jst
+ children: Mst
});
}
-function Kst({ sources: e, videos: t }) {
+function qst({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("article", {
@@ -100736,17 +100773,17 @@ function Kst({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: Mst
+ children: Nst
});
}
function I8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, C.jsx)(rP, {
+ return /* @__PURE__ */ (0, C.jsx)(iP, {
id: e,
- className: Jz({
+ className: Yz({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, C.jsx)(Qz, {
+ children: /* @__PURE__ */ (0, C.jsx)($z, {
label: t,
icon: i,
accent: a,
@@ -100755,29 +100792,29 @@ function I8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function qst(e) {
+function Jst(e) {
let t = pt({
- queryKey: Hq,
- queryFn: ({ signal: e }) => Uq(e)
+ queryKey: Uq,
+ queryFn: ({ signal: e }) => Wq(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? V(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = Wq(n.tag_cov) ? Kq(n.tag_cov, n.attribution.videos) : "未取得", c = `${Gq(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = Gq(n.tag_cov) ? qq(n.tag_cov, n.attribution.videos) : "未取得", c = `${Kq(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
return /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${sn(o)}`
}),
- /* @__PURE__ */ (0, C.jsxs)(tP, {
+ /* @__PURE__ */ (0, C.jsxs)(nP, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, C.jsxs)(nP, {
+ /* @__PURE__ */ (0, C.jsxs)(rP, {
"aria-label": "统计视图",
- className: Yz,
+ className: Xz,
children: [
/* @__PURE__ */ (0, C.jsx)(I8, {
id: "inventory",
@@ -100792,8 +100829,8 @@ function qst(e) {
label: "看过",
icon: tge,
accent: 1,
- figure: Gq(r.played),
- detail: qq(r.play_seconds)
+ figure: Kq(r.played),
+ detail: Jq(r.play_seconds)
}),
/* @__PURE__ */ (0, C.jsx)(I8, {
id: "coverage",
@@ -100813,20 +100850,20 @@ function qst(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "inventory",
- children: /* @__PURE__ */ (0, C.jsx)(zst, {
+ children: /* @__PURE__ */ (0, C.jsx)(Bst, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, C.jsxs)(iP, {
+ /* @__PURE__ */ (0, C.jsxs)(aP, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, C.jsx)(F8, {
headline: /* @__PURE__ */ (0, C.jsx)(P8, {
term: "观看",
- figure: Gq(r.played),
+ figure: Kq(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -100866,9 +100903,9 @@ function qst(e) {
})
]
})
- }), /* @__PURE__ */ (0, C.jsx)(Bst, { data: n })]
+ }), /* @__PURE__ */ (0, C.jsx)(Vst, { data: n })]
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "coverage",
children: /* @__PURE__ */ (0, C.jsx)(F8, {
headline: /* @__PURE__ */ (0, C.jsx)(P8, {
@@ -100876,10 +100913,10 @@ function qst(e) {
figure: s,
unit: c
}),
- children: /* @__PURE__ */ (0, C.jsx)(Vst, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, C.jsx)(Hst, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "storage",
children: /* @__PURE__ */ (0, C.jsx)(F8, {
headline: /* @__PURE__ */ (0, C.jsx)(P8, {
@@ -100887,7 +100924,7 @@ function qst(e) {
figure: i.measured.toLocaleString(),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, C.jsx)(Ust, {
+ children: /* @__PURE__ */ (0, C.jsx)(Wst, {
volumes: n.storage_volumes,
...e
})
@@ -100895,51 +100932,51 @@ function qst(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(tP, {
+ /* @__PURE__ */ (0, C.jsxs)(nP, {
defaultSelectedKey: "tags",
className: `${_A({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, C.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, C.jsxs)(nF, {
+ children: /* @__PURE__ */ (0, C.jsxs)(rF, {
"aria-label": "统计维度",
- className: iF,
+ className: aF,
children: [
- /* @__PURE__ */ (0, C.jsx)(rP, {
+ /* @__PURE__ */ (0, C.jsx)(iP, {
id: "tags",
- className: aF,
+ className: oF,
children: "内容标签"
}),
- /* @__PURE__ */ (0, C.jsx)(rP, {
+ /* @__PURE__ */ (0, C.jsx)(iP, {
id: "recent",
- className: aF,
+ className: oF,
children: "最近看过"
}),
- /* @__PURE__ */ (0, C.jsx)(rP, {
+ /* @__PURE__ */ (0, C.jsx)(iP, {
id: "sources",
- className: aF,
+ className: oF,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(Wst, {
+ children: /* @__PURE__ */ (0, C.jsx)(Gst, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(Gst, { rows: n.recent })
+ children: /* @__PURE__ */ (0, C.jsx)(Kst, { rows: n.recent })
}),
- /* @__PURE__ */ (0, C.jsx)(iP, {
+ /* @__PURE__ */ (0, C.jsx)(aP, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(Kst, {
+ children: /* @__PURE__ */ (0, C.jsx)(qst, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -100950,7 +100987,7 @@ function qst(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function Jst(e, t) {
+function Yst(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -100962,10 +100999,10 @@ function L8(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function Yst(e, t) {
+function Xst(e, t) {
return R8(e.source, t.source) || e.index - t.index;
}
-function Xst(e, t) {
+function Zst(e, t) {
return R8(e.target, t.target) || e.index - t.index;
}
function R8(e, t) {
@@ -100974,38 +101011,38 @@ function R8(e, t) {
function z8(e) {
return e.value;
}
-function Zst(e) {
+function Qst(e) {
return e.index;
}
-function Qst(e) {
+function $st(e) {
return e.nodes;
}
-function $st(e) {
+function ect(e) {
return e.links;
}
-function ect(e, t) {
+function tct(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function tct({ nodes: e }) {
+function nct({ 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 nct() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Zst, c = Jst, l, u, d = Qst, f = $st, p = 6;
+function rct() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Qst, c = Yst, l, u, d = $st, f = ect, 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), tct(e), e;
+ return h(e), g(e), _(e), v(e), x(e), nct(e), e;
}
m.update = function(e) {
- return tct(e), e;
+ return nct(e), e;
}, m.nodeId = function(e) {
return arguments.length ? (s = typeof e == "function" ? e : L8(e), m) : s;
}, m.nodeAlign = function(e) {
@@ -101035,7 +101072,7 @@ function nct() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = ect(n, t)), typeof i != "object" && (i = r.target = ect(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = tct(n, t)), typeof i != "object" && (i = r.target = tct(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);
}
@@ -101147,12 +101184,12 @@ function nct() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(Xst);
- for (let { target: { targetLinks: t } } of e) t.sort(Yst);
+ for (let { source: { sourceLinks: e } } of t) e.sort(Zst);
+ for (let { target: { targetLinks: t } } of e) t.sort(Xst);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(Xst), n.sort(Yst);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(Zst), n.sort(Xst);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -101182,14 +101219,14 @@ function nct() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var B8 = Math.PI, V8 = 2 * B8, H8 = 1e-6, rct = V8 - H8;
+var B8 = Math.PI, V8 = 2 * B8, H8 = 1e-6, ict = V8 - H8;
function U8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function ict() {
+function act() {
return new U8();
}
-U8.prototype = ict.prototype = {
+U8.prototype = act.prototype = {
constructor: U8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
@@ -101223,7 +101260,7 @@ U8.prototype = ict.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) > H8 || Math.abs(this._y1 - l) > H8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % V8 + V8), d > rct ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > H8 && (this._ += "A" + n + "," + n + ",0," + +(d >= B8) + "," + 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) > H8 || Math.abs(this._y1 - l) > H8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % V8 + V8), d > ict ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > H8 && (this._ += "A" + n + "," + n + ",0," + +(d >= B8) + "," + 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";
@@ -101234,93 +101271,93 @@ U8.prototype = ict.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function act(e) {
+function oct(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function oct(e) {
+function sct(e) {
return e[0];
}
-function sct(e) {
+function cct(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var cct = Array.prototype.slice;
+var lct = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function lct(e) {
+function uct(e) {
return e.source;
}
-function uct(e) {
+function dct(e) {
return e.target;
}
-function dct(e) {
- var t = lct, n = uct, r = oct, i = sct, a = null;
+function fct(e) {
+ var t = uct, n = dct, r = sct, i = cct, a = null;
function o() {
- var o, s = cct.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = ict(), 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 = lct.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = act(), 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 : act(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : oct(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : act(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : oct(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function fct(e, t, n, r, i) {
+function pct(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function pct() {
- return dct(fct);
+function mct() {
+ return fct(pct);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function mct(e) {
+function hct(e) {
return [e.source.x1, e.y0];
}
-function hct(e) {
+function gct(e) {
return [e.target.x0, e.y1];
}
-function gct() {
- return pct().source(mct).target(hct);
+function _ct() {
+ return mct().source(hct).target(gct);
}
//#endregion
//#region src/react/taste/taste.ts
-var _ct = "/api/taste", vct = "/api/taste/refresh", yct = "/api/taste/import", bct = "/api/taste/source", W8 = (e) => ["taste", e], xct = ["taste", "refresh"], Sct = [
+var vct = "/api/taste", yct = "/api/taste/refresh", bct = "/api/taste/import", xct = "/api/taste/source", W8 = (e) => ["taste", e], Sct = ["taste", "refresh"], Cct = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], Cct = (e, t) => U(bct, {
+], wct = (e, t) => U(xct, {
...e,
window: t
-}), wct = (e, t) => H(`${_ct}?window=${e}`, t), Tct = (e) => H(vct, e);
-async function Ect(e, t) {
+}), Tct = (e, t) => H(`${vct}?window=${e}`, t), Ect = (e) => H(yct, e);
+async function Dct(e, t) {
await W.fetchQuery({
queryKey: W8(e),
- queryFn: () => wct(e, t)
+ queryFn: () => Tct(e, t)
});
}
-var Dct = (e) => U(vct, {
+var Oct = (e) => U(yct, {
window: e,
background: !0
-}), Oct = (e, t) => U(bct, {
+}), kct = (e, t) => U(xct, {
operation: "remove",
source_key: e,
window: t
});
-async function kct(e) {
- let t = await fetch(yct, {
+async function Act(e) {
+ let t = await fetch(bct, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -101338,47 +101375,47 @@ async function kct(e) {
}
return n;
}
-var Act = 1e4, G8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function jct(e) {
+var jct = 1e4, G8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function Mct(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
return !e.range_start && !e.range_end ? t : `${t} · ${G8(e.range_start)}—${G8(e.range_end)}`;
}
-var Mct = qq, Nct = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Pct = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function Fct(e) {
+var Nct = Jq, Pct = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Fct = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function Ict(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function Ict(e) {
- let t = e.map(Pct), n = Math.max(1, ...t);
+function Lct(e) {
+ let t = e.map(Fct), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var Lct = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var Rct = (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 Rct(e) {
- let t = Lct(e, 6);
+function zct(e) {
+ let t = Rct(e, 6);
return t.length < 3 ? [] : t;
}
-var zct = {
+var Bct = {
width: 720,
height: 435
-}, Bct = {
+}, Vct = {
source: 145,
target: 545
-}, Vct = 30, Hct = 240;
-function Uct(e, t, n) {
+}, Hct = 30, Uct = 240;
+function Wct(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 Wct(e = []) {
+function Gct(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = Uct(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Uct(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = Wct(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Wct(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, {
@@ -101387,7 +101424,7 @@ function Wct(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) * Vct + Hct), u = nct().nodeId((e) => e.id).nodeWidth(10).nodePadding(Vct).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) * Hct + Uct), u = rct().nodeId((e) => e.id).nodeWidth(10).nodePadding(Hct).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -101402,7 +101439,7 @@ function Wct(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = gct();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = _ct();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -101430,14 +101467,14 @@ function Wct(e = []) {
};
}),
total: d,
- height: l + zct.height - 404
+ height: l + Bct.height - 404
};
}
-var Gct = (e) => fn(e, 17), Kct = S.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var Kct = (e) => fn(e, 17), qct = S.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = S.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, C.jsx)(Jct, {
+ case "border": return /* @__PURE__ */ (0, C.jsx)(Yct, {
cx: e,
cy: t,
dotId: c,
@@ -101446,7 +101483,7 @@ var Gct = (e) => fn(e, 17), Kct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, C.jsx)(Yct, {
+ case "colored-border": return /* @__PURE__ */ (0, C.jsx)(Xct, {
cx: e,
cy: t,
dotId: c,
@@ -101455,7 +101492,7 @@ var Gct = (e) => fn(e, 17), Kct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, C.jsx)(qct, {
+ default: return /* @__PURE__ */ (0, C.jsx)(Jct, {
cx: e,
cy: t,
dotId: c,
@@ -101465,7 +101502,7 @@ var Gct = (e) => fn(e, 17), Kct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
maskId: s
});
}
-}), qct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
+}), Jct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)("clipPath", {
@@ -101485,8 +101522,8 @@ var Gct = (e) => fn(e, 17), Kct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
clipPath: `url(#dot-clip-${n})`
})]
}));
-qct.displayName = "DefaultDot";
-var Jct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
+Jct.displayName = "DefaultDot";
+var Yct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
className: Q6(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
@@ -101523,8 +101560,8 @@ var Jct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
}) })
]
}));
-Jct.displayName = "PrimaryBorderDot";
-var Yct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
+Yct.displayName = "PrimaryBorderDot";
+var Xct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
className: Q6(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
@@ -101553,17 +101590,17 @@ var Yct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
})
]
}));
-Yct.displayName = "ColoredBorderDot";
+Xct.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var Xct = 1, Zct = .3, Qct = 6, $ct = 1500, elt = "value", tlt = (0, S.createContext)(null);
+var Zct = 1, Qct = .3, $ct = 6, elt = 1500, tlt = "value", nlt = (0, S.createContext)(null);
function K8() {
- let e = (0, S.use)(tlt);
+ let e = (0, S.use)(nlt);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function q8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, S.useId)().replace(/:/g, ""), [d, f] = (0, S.useState)(o), p = glt(c, l), m = (0, S.useCallback)((e) => {
+ let u = (0, S.useId)().replace(/:/g, ""), [d, f] = (0, S.useState)(o), p = _lt(c, l), m = (0, S.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, S.useMemo)(() => ({
config: e,
@@ -101576,37 +101613,37 @@ function q8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, C.jsx)(tlt, {
+ return /* @__PURE__ */ (0, C.jsx)(nlt, {
value: h,
children: /* @__PURE__ */ (0, C.jsxs)(t8, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: c }), /* @__PURE__ */ (0, C.jsxs)(Pat, {
+ children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: c }), /* @__PURE__ */ (0, C.jsxs)(Fat, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, C.jsx)(u8, { variant: a }),
n,
- c && /* @__PURE__ */ (0, C.jsx)(_lt, {})
+ c && /* @__PURE__ */ (0, C.jsx)(vlt, {})
]
})]
})
});
}
-function nlt({ dataKey: e, variant: t = "filled", fillOpacity: n = Zct, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function rlt({ dataKey: e, variant: t = "filled", fillOpacity: n = Qct, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = K8(), d = (0, S.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = ult(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = dlt(a, d, e, p.dot);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(T3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: Xct,
+ strokeWidth: Zct,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -101619,30 +101656,30 @@ function nlt({ dataKey: e, variant: t = "filled", fillOpacity: n = Zct, isGlowin
},
...o
}), /* @__PURE__ */ (0, C.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, C.jsx)(dlt, {
+ /* @__PURE__ */ (0, C.jsx)(flt, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, C.jsx)(flt, {
+ /* @__PURE__ */ (0, C.jsx)(plt, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, C.jsx)(plt, {
+ m && /* @__PURE__ */ (0, C.jsx)(mlt, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, C.jsx)(mlt, {
+ r && /* @__PURE__ */ (0, C.jsx)(hlt, {
id: d,
dataKey: e
})
] })] });
}
-var rlt = () => null, ilt = () => null;
-function alt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, C.jsx)(j3e, {
+var ilt = () => null, alt = () => null;
+function olt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, C.jsx)(M3e, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -101650,7 +101687,7 @@ function alt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function olt({ tick: e = {
+function slt({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -101661,19 +101698,19 @@ function olt({ tick: e = {
...n
});
}
-function slt({ tick: e = {
+function clt({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
let { isLoading: i } = K8();
- return i ? null : /* @__PURE__ */ (0, C.jsx)(r6e, {
+ return i ? null : /* @__PURE__ */ (0, C.jsx)(i6e, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function clt({ variant: e, roundness: t, defaultIndex: n }) {
+function llt({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = K8();
return r ? null : /* @__PURE__ */ (0, C.jsx)(o8, {
defaultIndex: n,
@@ -101685,7 +101722,7 @@ function clt({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function llt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function ult({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = K8();
return i ? null : /* @__PURE__ */ (0, C.jsx)(c8, {
verticalAlign: n,
@@ -101698,22 +101735,22 @@ function llt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var ult = (e, t, n, r) => {
+var dlt = (e, t, n, r) => {
let i = !1, a = !1;
return S.Children.forEach(e, (e) => {
if ((0, S.isValidElement)(e)) {
- if (e.type === rlt) {
+ if (e.type === ilt) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, C.jsx)(Kct, {
+ i = /* @__PURE__ */ (0, C.jsx)(qct, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === ilt) {
+ if (e.type === alt) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, C.jsx)(Kct, {
+ a = /* @__PURE__ */ (0, C.jsx)(qct, {
type: i,
dataKey: n,
chartId: t,
@@ -101740,7 +101777,7 @@ var ult = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), dlt = ({ id: e, dataKey: t, config: n }) => {
+}) }), flt = ({ id: e, dataKey: t, config: n }) => {
let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -101753,7 +101790,7 @@ var ult = (e, t, n, r) => {
colorsCount: r
})
});
-}, flt = ({ id: e, dataKey: t, config: n }) => {
+}, plt = ({ id: e, dataKey: t, config: n }) => {
let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -101766,7 +101803,7 @@ var ult = (e, t, n, r) => {
colorsCount: r
})
});
-}, plt = ({ id: e, dataKey: t, config: n }) => {
+}, mlt = ({ id: e, dataKey: t, config: n }) => {
let r = i8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, C.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -101779,7 +101816,7 @@ var ult = (e, t, n, r) => {
opacities: i
})
});
-}, mlt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
+}, hlt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -101799,7 +101836,7 @@ var ult = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, C.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), hlt = (e) => [
+}), glt = (e) => [
"A",
"B",
"C",
@@ -101808,20 +101845,20 @@ var ult = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [elt]: 30 + Math.random() * 70
+ [tlt]: 30 + Math.random() * 70
}));
-function glt(e, t = Qct) {
+function _lt(e, t = $ct) {
let [n, r] = (0, S.useState)(0);
return (0, S.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, $ct);
+ }, elt);
return () => clearInterval(t);
- }, [e]), (0, S.useMemo)(() => hlt(t), [t, n]);
+ }, [e]), (0, S.useMemo)(() => glt(t), [t, n]);
}
-var _lt = () => /* @__PURE__ */ (0, C.jsx)(T3, {
- dataKey: elt,
+var vlt = () => /* @__PURE__ */ (0, C.jsx)(T3, {
+ dataKey: tlt,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -101829,13 +101866,13 @@ var _lt = () => /* @__PURE__ */ (0, C.jsx)(T3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: $ct,
+ animationDuration: elt,
animationEasing: "ease-in-out"
});
-q8.Radar = nlt, q8.Dot = rlt, q8.ActiveDot = ilt, q8.PolarGrid = alt, q8.PolarAngleAxis = olt, q8.PolarRadiusAxis = slt, q8.Tooltip = clt, q8.Legend = llt;
+q8.Radar = rlt, q8.Dot = ilt, q8.ActiveDot = alt, q8.PolarGrid = olt, q8.PolarAngleAxis = slt, q8.PolarRadiusAxis = clt, q8.Tooltip = llt, q8.Legend = ult;
//#endregion
//#region src/react/taste/charts.tsx
-function vlt(e) {
+function ylt(e) {
let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;
return /* @__PURE__ */ (0, C.jsxs)("g", { children: [/* @__PURE__ */ (0, C.jsx)("title", { children: o }), /* @__PURE__ */ (0, C.jsx)(v4, {
...a,
@@ -101843,27 +101880,27 @@ function vlt(e) {
textAnchor: r,
fill: "currentColor",
fontSize: 12,
- children: Uot(o, c - 4)
+ children: Wot(o, c - 4)
})] });
}
-var ylt = [
+var blt = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], blt = [
+], xlt = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], xlt = { value: {
+], Slt = { value: {
label: "标签命中",
colors: b8(y8[3])
-} }, Slt = [
+} }, Clt = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -101873,27 +101910,27 @@ var ylt = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Clt = 26, wlt = { radius: xlt.value }, Tlt = (e, t) => Math.sqrt(e / t);
-function Elt({ rows: e, label: t }) {
- let n = Rct(e);
+], wlt = 26, Tlt = { radius: Slt.value }, Elt = (e, t) => Math.sqrt(e / t);
+function Dlt({ rows: e, label: t }) {
+ let n = zct(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: Tlt(e.value, r)
+ radius: Elt(e.value, r)
}));
return /* @__PURE__ */ (0, C.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, C.jsxs)(q8, {
data: i,
- config: wlt,
+ config: Tlt,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
/* @__PURE__ */ (0, C.jsx)(q8.PolarGrid, {}),
/* @__PURE__ */ (0, C.jsx)(q8.PolarAngleAxis, {
dataKey: "name",
- tick: /* @__PURE__ */ (0, C.jsx)(vlt, {})
+ tick: /* @__PURE__ */ (0, C.jsx)(ylt, {})
}),
/* @__PURE__ */ (0, C.jsx)(q8.PolarRadiusAxis, {
domain: [0, 1],
@@ -101906,18 +101943,18 @@ function Elt({ rows: e, label: t }) {
})
});
}
-function Dlt({ rows: e, label: t }) {
- let n = Lct(e, 8);
+function Olt({ rows: e, label: t }) {
+ let n = Rct(e, 8);
return n.length ? /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${Slt[n.length]}`,
+ className: `flex grow flex-col ${Clt[n.length]}`,
children: /* @__PURE__ */ (0, C.jsxs)(f8, {
data: n,
- config: xlt,
+ config: Slt,
layout: "horizontal",
barRadius: 4,
chartProps: {
- maxBarSize: Clt,
+ maxBarSize: wlt,
margin: {
top: 5,
right: 56,
@@ -101931,7 +101968,7 @@ function Dlt({ rows: e, label: t }) {
dataKey: "name",
interval: 0,
tick: /* @__PURE__ */ (0, C.jsx)(_8, { along: "y" }),
- width: Wot(n.map((e) => e.name))
+ width: Got(n.map((e) => e.name))
}),
/* @__PURE__ */ (0, C.jsx)(f8.XAxis, {
hide: !0,
@@ -101942,7 +101979,7 @@ function Dlt({ rows: e, label: t }) {
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: Zot("right")
+ label: Qot("right")
}
}),
/* @__PURE__ */ (0, C.jsx)(S8, {})
@@ -101950,8 +101987,8 @@ function Dlt({ rows: e, label: t }) {
})
}) : null;
}
-function Olt({ flows: e }) {
- let [t, n] = (0, S.useState)(null), r = Wct(e);
+function klt({ flows: e }) {
+ let [t, n] = (0, S.useState)(null), r = Gct(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, C.jsxs)("section", {
@@ -101979,7 +102016,7 @@ function Olt({ flows: e }) {
/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 max-sm:hidden",
children: /* @__PURE__ */ (0, C.jsxs)("svg", {
- viewBox: `0 0 ${zct.width} ${r.height}`,
+ viewBox: `0 0 ${Bct.width} ${r.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -101993,7 +102030,7 @@ function Olt({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${ylt[e.color]}`,
+ className: `outline-none transition-opacity ${blt[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -102027,15 +102064,15 @@ function Olt({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? blt[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? xlt[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, C.jsxs)("text", {
- x: Bct[e.side],
+ x: Vct[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [Gct(e.name), /* @__PURE__ */ (0, C.jsx)("tspan", {
- x: Bct[e.side],
+ children: [Kct(e.name), /* @__PURE__ */ (0, C.jsx)("tspan", {
+ x: Vct[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -102052,9 +102089,9 @@ function Olt({ flows: e }) {
}
//#endregion
//#region src/react/taste/browser-sources.tsx
-function klt({ browsers: e, range: t }) {
+function Alt({ browsers: e, range: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), c = mt({
- mutationFn: (e) => Cct(e, t),
+ mutationFn: (e) => wct(e, t),
onSuccess: (e) => {
W.setQueryData(W8(t), e.dashboard), r(!1), a(""), s("");
}
@@ -102094,7 +102131,7 @@ function klt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -102102,7 +102139,7 @@ function klt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, C.jsx)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(mP, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -102179,11 +102216,11 @@ function klt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var Alt = 10, jlt = dA(FP, IP, "text-body-2-medium"), Y8 = `${_A()} flex flex-col gap-4`, X8 = "rounded-xl bg-background-primary-default p-3", Mlt = "读取运行 Peach 的这台电脑上的浏览记录", Nlt = "导入或读取浏览记录后,这里会列出已采集设备。", Plt = "馆藏里暂时没有对得上浏览信号的标签。", Flt = "采集浏览记录后,这里会显示聚合后的口味证据。", Ilt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", Llt = "采集浏览记录后,这里会列出浏览过的标签。", Rlt = "采集浏览记录后,这里会列出浏览过的创作者。", zlt = "采集浏览记录后,这里会列出常访问的网站。", Blt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Vlt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Hlt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Ult = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Wlt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Glt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Klt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", qlt = "peach-taste-guide-dismissed";
+var jlt = 10, Mlt = dA(IP, LP, "text-body-2-medium"), Y8 = `${_A()} flex flex-col gap-4`, X8 = "rounded-xl bg-background-primary-default p-3", Nlt = "读取运行 Peach 的这台电脑上的浏览记录", Plt = "导入或读取浏览记录后,这里会列出已采集设备。", Flt = "馆藏里暂时没有对得上浏览信号的标签。", Ilt = "采集浏览记录后,这里会显示聚合后的口味证据。", Llt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", Rlt = "采集浏览记录后,这里会列出浏览过的标签。", zlt = "采集浏览记录后,这里会列出浏览过的创作者。", Blt = "采集浏览记录后,这里会列出常访问的网站。", Vlt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Hlt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Ult = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Wlt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Glt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Klt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", qlt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Jlt = "peach-taste-guide-dismissed";
function Z8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- className: Jz(),
- children: /* @__PURE__ */ (0, C.jsx)(Qz, {
+ className: Yz(),
+ children: /* @__PURE__ */ (0, C.jsx)($z, {
label: t,
icon: e,
accent: i,
@@ -102192,7 +102229,7 @@ function Z8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function Jlt({ name: e, domain: t }) {
+function Ylt({ name: e, domain: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
children: [dn(e).toUpperCase(), /* @__PURE__ */ (0, C.jsx)("img", {
@@ -102206,22 +102243,22 @@ function Jlt({ name: e, domain: t }) {
})]
});
}
-function Ylt({ html: e }) {
+function Xlt({ html: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${HH}`,
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${UH}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function Xlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+function Zlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
if (!e.length) return /* @__PURE__ */ (0, C.jsx)(vA, {
shell: "plain",
icon: Hk,
title: "暂无足够证据",
children: r
});
- let a = Ict(e);
- return /* @__PURE__ */ (0, C.jsx)(cst, {
- previewCount: Alt,
+ let a = Lct(e);
+ return /* @__PURE__ */ (0, C.jsx)(lst, {
+ previewCount: jlt,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -102240,15 +102277,15 @@ function Xlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, C.jsx)(Jlt, {
+ n === "domain" ? /* @__PURE__ */ (0, C.jsx)(Ylt, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, C.jsx)(Jlt, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, C.jsx)(Ylt, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, C.jsx)(Ylt, { html: va(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, C.jsx)(Xlt, { html: va(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -102262,7 +102299,7 @@ function Xlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: Fct(e)
+ children: Ict(e)
})]
}),
o ? /* @__PURE__ */ (0, C.jsx)(jk, {
@@ -102285,31 +102322,31 @@ function Xlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function Zlt({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, C.jsxs)(tP, {
+function Qlt({ label: e, panels: t, onSignal: n }) {
+ return /* @__PURE__ */ (0, C.jsxs)(nP, {
className: `${_A({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, C.jsx)(nF, {
+ children: /* @__PURE__ */ (0, C.jsx)(rF, {
"aria-label": e,
- className: iF,
- children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(rP, {
+ className: aF,
+ children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(iP, {
id: e.id,
- className: aF,
+ className: oF,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(iP, {
+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(aP, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(Xlt, {
+ children: /* @__PURE__ */ (0, C.jsx)(Zlt, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function Qlt({ data: e, onSignal: t, navigate: n }) {
+function $lt({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -102387,15 +102424,15 @@ function Qlt({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: Hk,
title: "还没有可探索的入口",
- children: Plt
+ children: Flt
})
]
});
}
-function $lt({ onboarding: e, done: t }) {
+function eut({ onboarding: e, done: t }) {
let [n, r] = (0, S.useState)(() => {
try {
- return localStorage.getItem(qlt) === "1";
+ return localStorage.getItem(Jlt) === "1";
} catch {
return !1;
}
@@ -102411,11 +102448,11 @@ function $lt({ onboarding: e, done: t }) {
children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Ult
+ children: Wlt
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Wlt
+ children: Glt
}),
/* @__PURE__ */ (0, C.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -102445,7 +102482,7 @@ function $lt({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Glt
+ children: Klt
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "self-start",
@@ -102454,7 +102491,7 @@ function $lt({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(qlt, "1");
+ localStorage.setItem(Jlt, "1");
} catch {}
r(!0);
},
@@ -102465,7 +102502,7 @@ function $lt({ onboarding: e, done: t }) {
})
});
}
-function eut({ busy: e, onRefresh: t, onImport: n }) {
+function tut({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -102475,7 +102512,7 @@ function eut({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, C.jsx)(K, {
leadingIcon: Nk,
- title: Mlt,
+ title: Nlt,
onClick: t,
...J(e),
children: "读取浏览器历史"
@@ -102491,19 +102528,19 @@ function eut({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, C.jsx)(aN, {
+ }), /* @__PURE__ */ (0, C.jsx)(oN, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: PP,
- children: /* @__PURE__ */ (0, C.jsxs)(kI, {
+ className: FP,
+ children: /* @__PURE__ */ (0, C.jsxs)(AI, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: jlt,
+ className: Mlt,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, C.jsx)(Nk, {
"aria-hidden": !0,
@@ -102511,7 +102548,7 @@ function eut({ busy: e, onRefresh: t, onImport: n }) {
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: jlt,
+ className: Mlt,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, C.jsx)(wge, {
"aria-hidden": !0,
@@ -102521,9 +102558,9 @@ function eut({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function tut({ sources: e, window: t, toast: n }) {
+function nut({ sources: e, window: t, toast: n }) {
let r = mt({
- mutationFn: (e) => Oct(e, t),
+ mutationFn: (e) => kct(e, t),
onSuccess: (e) => {
W.setQueryData(W8(t), e.dashboard), n("已移除口味数据源");
}
@@ -102576,7 +102613,7 @@ function tut({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || Vs({
title: "移除口味数据源",
- body: Klt,
+ body: qlt,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -102588,26 +102625,26 @@ function tut({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: Pk,
title: "还没有数据源",
- children: Nlt
+ children: Plt
})
]
});
}
-function nut(e) {
+function rut(e) {
let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, S.useState)("all"), [s, c] = (0, S.useState)("browser"), l = (0, S.useRef)(null), u = pt({
queryKey: W8(a),
- queryFn: ({ signal: e }) => wct(a, e),
+ queryFn: ({ signal: e }) => Tct(a, e),
placeholderData: de
- }), { job: d, running: f, outcome: p, start: m } = hB({
- queryKey: xct,
- queryFn: ({ signal: e }) => Tct(e),
- start: () => Dct(a),
- idlePollMs: Act,
+ }), { job: d, running: f, outcome: p, start: m } = gB({
+ queryKey: Sct,
+ queryFn: ({ signal: e }) => Ect(e),
+ start: () => Oct(a),
+ idlePollMs: jct,
onFinish: (e) => {
e.status !== "failed" && (W.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));
}
}), h = mt({
- mutationFn: (e) => kct(e),
+ mutationFn: (e) => Act(e),
onSuccess: (e) => {
W.setQueryData(W8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
@@ -102622,42 +102659,42 @@ function nut(e) {
title: "口味分析读取失败",
children: u.error ? V(u.error) : "读取口味分析失败"
}) });
- let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, w = v.storage || {}, T = Nct(x.browser_categories || []), E = Rct(T).length > 0, D = v.gaps || [], O = b.tagged || 0, k = b.identified || 0, A = m.error ? V(m.error) : h.error ? V(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
+ let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, w = v.storage || {}, T = Pct(x.browser_categories || []), E = zct(T).length > 0, D = v.gaps || [], O = b.tagged || 0, k = b.identified || 0, A = m.error ? V(m.error) : h.error ? V(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
return /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- /* @__PURE__ */ (0, C.jsxs)(tP, {
+ /* @__PURE__ */ (0, C.jsxs)(nP, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, C.jsxs)(nF, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(rF, {
"aria-label": "口味证据来源",
- className: iF,
- children: [/* @__PURE__ */ (0, C.jsx)(rP, {
+ className: aF,
+ children: [/* @__PURE__ */ (0, C.jsx)(iP, {
id: "browser",
- className: aF,
+ className: oF,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, C.jsx)(rP, {
+ }), /* @__PURE__ */ (0, C.jsx)(iP, {
id: "peach",
- className: aF,
+ className: oF,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(XP, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Sct.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ZP, {
+ children: Cct.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(QP, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(eut, {
+ /* @__PURE__ */ (0, C.jsx)(tut, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -102673,7 +102710,7 @@ function nut(e) {
]
})]
}),
- /* @__PURE__ */ (0, C.jsx)($lt, {
+ /* @__PURE__ */ (0, C.jsx)(eut, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -102681,12 +102718,12 @@ function nut(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, C.jsx)(dB, {
+ f ? /* @__PURE__ */ (0, C.jsx)(fB, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, C.jsx)(dB, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, C.jsx)(fB, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
children: A
@@ -102697,19 +102734,19 @@ function nut(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsxs)(iP, {
+ /* @__PURE__ */ (0, C.jsxs)(aP, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: Yz,
+ className: Xz,
children: [
/* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 0,
icon: zk,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
- detail: jct(y)
+ detail: Mct(y)
}),
/* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 1,
@@ -102743,7 +102780,7 @@ function nut(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- E ? /* @__PURE__ */ (0, C.jsx)(Elt, {
+ E ? /* @__PURE__ */ (0, C.jsx)(Dlt, {
rows: T,
label: "主要口味维度"
}) : null,
@@ -102754,18 +102791,18 @@ function nut(e) {
]
}), /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, C.jsx)(Dlt, {
+ children: T.length ? /* @__PURE__ */ (0, C.jsx)(Olt, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, C.jsx)(vA, {
shell: "plain",
icon: Hk,
title: "暂无口味维度",
- children: Flt
+ children: Ilt
})
})]
}),
- /* @__PURE__ */ (0, C.jsx)(sst, {
+ /* @__PURE__ */ (0, C.jsx)(cst, {
activity: v.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -102777,8 +102814,8 @@ function nut(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, C.jsx)(Olt, { flows: v.creator_flows }),
- /* @__PURE__ */ (0, C.jsx)(Zlt, {
+ /* @__PURE__ */ (0, C.jsx)(klt, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, C.jsx)(Qlt, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -102789,7 +102826,7 @@ function nut(e) {
rows: x.browser_tags || [],
kind: "tag",
visual: "none",
- empty: Llt
+ empty: Rlt
}
},
{
@@ -102799,7 +102836,7 @@ function nut(e) {
rows: x.browser_creators || [],
kind: "creator",
visual: "creator",
- empty: Rlt
+ empty: zlt
}
},
{
@@ -102819,7 +102856,7 @@ function nut(e) {
rows: x.domains || [],
kind: "",
visual: "domain",
- empty: zlt
+ empty: Blt
}
},
{
@@ -102829,26 +102866,26 @@ function nut(e) {
rows: D,
kind: "",
visual: "none",
- empty: Ilt
+ empty: Llt
}
}
]
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(iP, {
+ /* @__PURE__ */ (0, C.jsxs)(aP, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: Yz,
+ className: Xz,
children: [
/* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 0,
icon: tge,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: Mct(y.peach_seconds || 0)
+ detail: Nct(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 1,
@@ -102891,18 +102928,18 @@ function nut(e) {
]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, C.jsx)(rut, {
+ children: [/* @__PURE__ */ (0, C.jsx)(iut, {
term: "有标签",
value: O,
rest: b.untagged || 0
- }), /* @__PURE__ */ (0, C.jsx)(rut, {
+ }), /* @__PURE__ */ (0, C.jsx)(iut, {
term: "有身份",
value: k,
rest: b.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, C.jsx)(Zlt, {
+ /* @__PURE__ */ (0, C.jsx)(Qlt, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -102913,7 +102950,7 @@ function nut(e) {
rows: x.peach_tags || [],
kind: "tag",
visual: "none",
- empty: Blt
+ empty: Vlt
}
},
{
@@ -102923,7 +102960,7 @@ function nut(e) {
rows: x.peach_creators || [],
kind: "creator",
visual: "creator",
- empty: Vlt
+ empty: Hlt
}
},
{
@@ -102933,7 +102970,7 @@ function nut(e) {
rows: x.peach_performers || [],
kind: "performer",
visual: "entity",
- empty: Hlt
+ empty: Ult
}
}
]
@@ -102942,23 +102979,23 @@ function nut(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(Qlt, {
+ /* @__PURE__ */ (0, C.jsx)($lt, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, C.jsx)(tut, {
+ /* @__PURE__ */ (0, C.jsx)(nut, {
sources: v.sources || [],
window: a,
toast: r
}),
- /* @__PURE__ */ (0, C.jsx)(klt, {
+ /* @__PURE__ */ (0, C.jsx)(Alt, {
browsers: v.browsers || [],
range: a
})
] });
}
-function rut({ term: e, value: t, rest: n }) {
+function iut({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -102986,7 +103023,7 @@ var Q8 = {
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, iut = [[
+}, aut = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -102994,7 +103031,7 @@ var Q8 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], aut = [[
+]], out = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -103002,7 +103039,7 @@ var Q8 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], out = [[
+]], sut = [[
"studios",
"厂牌",
"clapperboard"
@@ -103010,7 +103047,7 @@ var Q8 = {
"agencies",
"事务所",
"briefcase"
-]], sut = [[
+]], cut = [[
"local",
"本地",
"hard-drive"
@@ -103018,7 +103055,7 @@ var Q8 = {
"online",
"在线",
"rss"
-]], cut = [
+]], lut = [
[
"performers",
"艺人",
@@ -103034,7 +103071,7 @@ var Q8 = {
"在线",
"rss"
]
-], lut = [[
+], uut = [[
"cloud",
"标签云",
"tags"
@@ -103042,8 +103079,8 @@ var Q8 = {
"alphabet",
"字母表",
"text-aa"
-]], uut = (e) => e === "compact" ? "compact" : "big";
-function dut(e, t) {
+]], dut = (e) => e === "compact" ? "compact" : "big";
+function fut(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -103061,20 +103098,20 @@ var $8 = (e, t, n) => Fo(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), fut = (e) => `<div class="board-filter-frame" data-filter-frame>
+}), put = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${js("tag-view", "标签视图", lut, e)}</div></div>`;
-function put({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = Q8[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? js("people-layout", o + "索引版式", c ? aut : iut, a) : "";
+ ${js("tag-view", "标签视图", uut, e)}</div></div>`;
+function mut({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = Q8[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? js("people-layout", o + "索引版式", c ? out : aut, 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}
${yo()}
<div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${bo("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? $8(sut, n, "词表") : e === "performers" || e === "creators" ? $8(cut, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? $8(out, e, "公司类型") : ""}
- ${e === "tags" ? fut(r) : ""}
+ ${e === "tags" ? $8(cut, n, "词表") : e === "performers" || e === "creators" ? $8(lut, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? $8(sut, e, "公司类型") : ""}
+ ${e === "tags" ? put(r) : ""}
${e === "performers" && n !== "online" ? GDe(i) : ""}
${Yo({
kind: e,
@@ -103082,16 +103119,16 @@ function put({ kind: e, q: t, scope: n, view: r, category: i }, a) {
mode: r
})}`;
}
-var mut = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function hut(e, t, n) {
- let r = put(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== mut(r) && (e.innerHTML = r, ns(e));
+var hut = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function gut(e, t, n) {
+ let r = mut(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== hut(r) && (e.innerHTML = r, ns(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var gut = () => al, _ut = () => Wc, e5 = () => document.getElementById("index");
+var _ut = () => al, vut = () => Wc, e5 = () => document.getElementById("index");
function t5(e, t, n = {}) {
- let r = (0, S.useSyncExternalStore)(gl, gut);
+ let r = (0, S.useSyncExternalStore)(gl, _ut);
LO();
let i = YO(Ck.navigation.location.pathname), a = (0, S.useRef)({
mounted: !0,
@@ -103139,13 +103176,13 @@ function t5(e, t, n = {}) {
i
]);
}
-async function vut(e, t, n, r) {
+async function yut(e, t, n, r) {
let i = e5();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = dut(t, n), s = uut(SE().value.peopleLayout);
- hut(i, o, s), await pk(a, {
+ let o = fut(t, n), s = dut(SE().value.peopleLayout);
+ gut(i, o, s), await pk(a, {
...o,
layout: s,
selectMode: Wc,
@@ -103155,23 +103192,23 @@ async function vut(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function yut(e) {
+function but(e) {
let t = e5(), n = t ? lk(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function but({ epoch: e }) {
- let t = (0, S.useContext)(JP), n = LO(), r = n.pathname.split("/").filter(Boolean)[0];
+function xut({ epoch: e }) {
+ let t = (0, S.useContext)(YP), n = LO(), r = n.pathname.split("/").filter(Boolean)[0];
return t5(e, (e, i) => {
- t && vut(t, r, n.search, i);
- }, { shown: () => yut(`/${r}`) }), null;
+ t && yut(t, r, n.search, i);
+ }, { shown: () => but(`/${r}`) }), null;
}
-function xut() {
- let e = qP(), t = (0, S.useSyncExternalStore)(gl, _ut), n = (0, S.useRef)(t);
+function Sut() {
+ let e = JP(), t = (0, S.useSyncExternalStore)(gl, vut), n = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
n.current !== t && (n.current = t, window.location.pathname === "/tags" && mk(e5(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, C.jsx)(but, { epoch: e }, e);
+ }, [t]), /* @__PURE__ */ (0, C.jsx)(xut, { epoch: e }, e);
}
-function Sut(e) {
+function Cut(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -103185,9 +103222,9 @@ function Sut(e) {
name: a
} : null;
}
-var Cut = /* @__PURE__ */ new WeakMap();
-function wut(e) {
- let t = Cut.get(e);
+var wut = /* @__PURE__ */ new WeakMap();
+function Tut(e) {
+ let t = wut.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -103197,13 +103234,13 @@ function wut(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, Cut.set(e, t)), t;
+ }, wut.set(e, t)), t;
}
-function n5() {
+function Eut() {
let e = e5(), t = e ? lk(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function Tut(e, t, n, r, i, a, o) {
+async function Dut(e, t, n, r, i, a, o) {
let s = e5();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
@@ -103218,7 +103255,7 @@ async function Tut(e, t, n, r, i, a, o) {
}, h = t.props(l, u, i), g = {
...h,
hosts: m,
- card: wut(e),
+ card: Tut(e),
resolvedEntity: o,
actions: {
...h.actions,
@@ -103231,13 +103268,13 @@ async function Tut(e, t, n, r, i, a, o) {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && n5() && (e.surfaceShown?.("entity", r), window.scrollTo({
+ }) && a() && Eut() && (e.surfaceShown?.("entity", r), window.scrollTo({
top: 0,
behavior: "smooth"
}));
}
-function Eut({ target: e }) {
- let t = (0, S.useContext)(JP), n = qP(), r = LO();
+function Out({ target: e }) {
+ let t = (0, S.useContext)(YP), n = JP(), r = LO();
return t5(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
@@ -103265,7 +103302,7 @@ function Eut({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Wt(e.kind, c, Number(s.id));
- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Tut(t, a, {
+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Dut(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : wk(l + r.search + r.hash, {
@@ -103273,28 +103310,28 @@ function Eut({ target: e }) {
state: Ck.navigation.location.state
});
})();
- }, { shown: () => n5() && !e5()?.hidden }), null;
+ }, { shown: () => Eut() && !e5()?.hidden }), null;
}
-function Dut() {
- let e = Sut(LO().pathname);
- return e ? /* @__PURE__ */ (0, C.jsx)(Eut, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function kut() {
+ let e = Cut(LO().pathname);
+ return e ? /* @__PURE__ */ (0, C.jsx)(Out, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var Out = () => al, kut = Ck.navigation.seq, Aut = Ck.navigation.openEpoch, r5 = Ck.navigation.location.pathname, i5 = {
- seq: kut,
+var Aut = () => al, jut = Ck.navigation.seq, Mut = Ck.navigation.openEpoch, n5 = Ck.navigation.location.pathname, r5 = {
+ seq: jut,
claimed: !0,
- from: r5
+ from: n5
};
Ck.listen((e) => {
- i5 = {
+ r5 = {
seq: e.seq,
- claimed: e.openEpoch === Aut,
- from: r5
- }, Aut = e.openEpoch, r5 = e.location.pathname;
+ claimed: e.openEpoch === Mut,
+ from: n5
+ }, Mut = e.openEpoch, n5 = e.location.pathname;
});
-var a5 = !1;
-function jut(e) {
+var i5 = !1;
+function Nut(e) {
let { seq: t, openEpoch: n, location: r } = Ck.navigation, i = YO(r.pathname), a = Ek() ?? r, o = G ?? {};
return {
seq: t,
@@ -103306,7 +103343,7 @@ function jut(e) {
opened: e
};
}
-function Mut(e, t, n, r) {
+function Put(e, t, n, r) {
let i = { ...G };
if (e === "/trash") return {
...i,
@@ -103342,8 +103379,8 @@ function Mut(e, t, n, r) {
folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""
};
}
-function Nut(e, t) {
- let n = { ...e }, r = jut(n.opened);
+function Fut(e, t) {
+ let n = { ...e }, r = Nut(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -103358,41 +103395,41 @@ function Nut(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = Ck.navigation.action === "POP" && i5.from !== "/");
+ r.epoch !== n.epoch && (a = Ck.navigation.action === "POP" && r5.from !== "/");
}
let { pathname: o, search: s } = Ck.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = oU(s);
- a5 = !0, wk(sU(e, t), { replace: !0 });
+ let { kind: e, view: t } = sU(s);
+ i5 = !0, wk(cU(e, t), { replace: !0 });
return;
}
- let c = a5;
- a5 = !1, a &&= o === "/", e.opened = !0, ml({ state: Mut(o, s, a, i) }), i.open(o, {
+ let c = i5;
+ i5 = !1, a &&= o === "/", e.opened = !0, ml({ state: Put(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function Put(e) {
- return Vt(e) || e === "/trash" || YO(e) || e === "/immerse" || !!Sut(e);
+function Iut(e) {
+ return Vt(e) || e === "/trash" || YO(e) || e === "/immerse" || !!Cut(e);
}
-function Fut() {
- let e = (0, S.useContext)(JP), t = qP(), n = (0, S.useSyncExternalStore)(gl, Out), r = LO(), i = (0, S.useRef)(null), a = (0, S.useRef)({
+function Lut() {
+ let e = (0, S.useContext)(YP), t = JP(), n = (0, S.useSyncExternalStore)(gl, Aut), r = LO(), i = (0, S.useRef)(null), a = (0, S.useRef)({
mounted: !0,
queued: !1
});
return (0, S.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = jut(!YO(Ck.navigation.location.pathname));
- return !n.covered && n.opens > 0 && (a5 || i5.seq === kut ? n.opens = -1 : i5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
+ let n = Nut(!YO(Ck.navigation.location.pathname));
+ return !n.covered && n.opens > 0 && (i5 || r5.seq === jut ? n.opens = -1 : r5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !Put(Ck.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !Iut(Ck.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, S.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && Nut(i.current, e);
+ t.queued = !1, t.mounted && i.current && Fut(i.current, e);
}));
}, [
t,
@@ -103401,7 +103438,7 @@ function Fut() {
e
]), null;
}
-function Iut() {
+function Rut() {
let { pathname: e, search: t } = LO();
(0, S.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -103415,13 +103452,13 @@ function Iut() {
});
};
}, [e]);
- let n = (0, S.useContext)(JP), r = document.getElementById("javLibraryHeader"), i = Vt(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, S.useContext)(YP), r = document.getElementById("javLibraryHeader"), i = Vt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, S.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
}, [r, i]), YO(e) && !Dhe(e) ? null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(Fut, {}, e === "/junk-files" ? "/junk-files" : "/"),
+ /* @__PURE__ */ (0, C.jsx)(Lut, {}, e === "/junk-files" ? "/junk-files" : "/"),
Vt(e) ? /* @__PURE__ */ (0, C.jsx)(hxe, {}) : null,
i && r && n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(dMe, {
navigate: n.navigate,
@@ -103431,21 +103468,21 @@ function Iut() {
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var o5 = () => document.getElementById("stats"), Lut = () => dl;
-function Rut(e) {
+var a5 = () => document.getElementById("stats"), zut = () => dl;
+function But(e) {
let t = document.createElement("div");
return t.className = "peach-react", Ko(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function zut(e, t) {
- let n = o5(), r = e.follow;
+async function Vut(e, t) {
+ let n = a5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = ul;
- e.surfaceChanged("follow", "/follow"), uK(n, r.skeleton()), await pk("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), dK(n, r.skeleton()), await pk("/follow", r.props(), {
container: n,
isCurrent: t,
- place: Rut
+ place: But
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -103454,28 +103491,28 @@ async function zut(e, t) {
behavior: "smooth"
});
}
-function But() {
- let e = o5(), t = e ? lk(e) : null;
+function Hut() {
+ let e = a5(), t = e ? lk(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function Vut() {
- let e = (0, S.useContext)(JP);
- return t5(qP(), (t, n) => {
- e && zut(e, n);
+function Uut() {
+ let e = (0, S.useContext)(YP);
+ return t5(JP(), (t, n) => {
+ e && Vut(e, n);
}, {
- shown: But,
+ shown: Hut,
onCovered: () => {
Ck.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function Hut(e) {
+function Wut(e) {
let t = e ? lk(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function Uut(e, t) {
- let n = o5();
- n && (e.surfaceChanged("playlists", "/playlists"), uK(n, cK("/playlists", {
+async function Gut(e, t) {
+ let n = a5();
+ n && (e.surfaceChanged("playlists", "/playlists"), dK(n, lK("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -103487,68 +103524,68 @@ async function Uut(e, t) {
behavior: "smooth"
}));
}
-function Wut() {
- let e = (0, S.useContext)(JP), t = (0, S.useSyncExternalStore)(gl, Lut), n = (0, S.useRef)(t);
+function Kut() {
+ let e = (0, S.useContext)(YP), t = (0, S.useSyncExternalStore)(gl, zut), n = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = o5();
- Hut(e) && mk(e, { revision: t });
- }, [t]), t5(qP(), (t, n) => {
- e && Uut(e, n);
+ let e = a5();
+ Wut(e) && mk(e, { revision: t });
+ }, [t]), t5(JP(), (t, n) => {
+ e && Gut(e, n);
}, { shown: () => {
- let e = o5();
- return Hut(e) && !e.hidden;
+ let e = a5();
+ return Wut(e) && !e.hidden;
} }), null;
}
//#endregion
//#region src/react/router/pages/immerse.tsx
-function Gut() {
+function qut() {
let e = new URLSearchParams(Ck.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function Kut() {
- let e = (0, S.useContext)(JP);
- return GP(() => {
- e?.openImmerse(Gut());
+function Jut() {
+ let e = (0, S.useContext)(YP);
+ return KP(() => {
+ e?.openImmerse(qut());
}, !0), null;
}
-function qut() {
- return /* @__PURE__ */ (0, C.jsx)(Kut, {}, qP());
+function Yut() {
+ return /* @__PURE__ */ (0, C.jsx)(Jut, {}, JP());
}
//#endregion
//#region src/react/router/pages/managed.tsx
-var Jut = [
+var Xut = [
"list",
"add",
"feeds"
-], Yut = () => al > 0, Xut = () => (0, S.useSyncExternalStore)(gl, Yut), s5 = !1, Zut = () => SE().value.followLayout === "table" ? "table" : "default", c5 = () => new URLSearchParams(window.location.search);
-function Qut(e) {
- let t = c5();
- return cK(e, {
- followLayout: Zut(),
+], Zut = () => al > 0, Qut = () => (0, S.useSyncExternalStore)(gl, Zut), o5 = !1, $ut = () => SE().value.followLayout === "table" ? "table" : "default", s5 = () => new URLSearchParams(window.location.search);
+function edt(e) {
+ let t = s5();
+ return lK(e, {
+ followLayout: $ut(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
}
-function l5(e) {
+function c5(e) {
return It("/healthz", { signal: e.controller.signal }).catch((e) => {
if (Lt(e)) return null;
throw e;
});
}
-function $ut(e, t) {
+function tdt(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 edt(e, t) {
+async function ndt(e, t) {
if (e === "/jav") {
- let e = await l5(t);
+ let e = await c5(t);
return t.live ? {
- tab: mU(c5().get("tab")),
+ tab: hU(s5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -103559,57 +103596,57 @@ async function edt(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && ml({ configurationRequestedSection: "网络与访问" });
- let t = c5().get("section") || nl || Che(e);
+ let t = s5().get("section") || nl || Che(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = c5().get("category") || "", n = await l5(t);
+ let e = s5().get("category") || "", n = await c5(t);
return t.live ? {
- category: JR(e) ? e : "",
- ...$ut(n, "/review")
+ category: YR(e) ? e : "",
+ ...tdt(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = c5(), n = e.get("tab") || "", r = {
- tab: Jut.includes(n) ? n : "list",
+ let e = s5(), n = e.get("tab") || "", r = {
+ tab: Xut.includes(n) ? n : "list",
page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),
sort: e.get("sort") || "",
dir: e.get("dir") || ""
- }, i = await l5(t);
+ }, i = await c5(t);
if (!t.live) return null;
let a = SE().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
- layout: Zut(),
- ...$ut(i, "/subscriptions")
+ layout: $ut(),
+ ...tdt(i, "/subscriptions")
};
}
return {};
}
-var u5 = () => {
+var l5 = () => {
window.scrollTo({
top: 0,
behavior: "smooth"
});
-}, d5 = (e) => {
+}, u5 = (e) => {
document.getElementById(e)?.scrollIntoView({ block: "start" });
-}, tdt = /* @__PURE__ */ new Set(["/stats", "/taste"]), ndt = /* @__PURE__ */ new Set([
+}, rdt = /* @__PURE__ */ new Set(["/stats", "/taste"]), idt = /* @__PURE__ */ new Set([
"/review",
"/quality-goals",
"/tasks",
"/subscriptions"
]);
-async function rdt(e, t, n) {
- if (e === "/jav" && mU(c5().get("tab")) === "library") {
+async function adt(e, t, n) {
+ if (e === "/jav" && hU(s5().get("tab")) === "library") {
Ck.replace(Fje(window.location.search));
return;
}
- if (e === "/subscriptions" && c5().get("tab") === "wants") {
+ if (e === "/subscriptions" && s5().get("tab") === "wants") {
wk("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && c5().get("tab") === "source") {
+ if (e === "/subscriptions" && s5().get("tab") === "source") {
wk("/settings/subscriptions", { replace: !0 });
return;
}
@@ -103633,38 +103670,38 @@ async function rdt(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let i = e === "/data-cleanup" && s5;
- i && (s5 = !1), uK(r, Qut(e));
- let a = await edt(e, n);
+ let i = e === "/data-cleanup" && o5;
+ i && (o5 = !1), dK(r, edt(e));
+ let a = await ndt(e, n);
if (!a) return;
let o = await pk(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = lk(r)?.revision ?? 0), e.startsWith("/settings/") && o && ml({ configurationRequestedSection: "" }), tdt.has(e) && u5(), n.live) {
+ if (o && (n.revision = lk(r)?.revision ?? 0), e.startsWith("/settings/") && o && ml({ configurationRequestedSection: "" }), rdt.has(e) && l5(), n.live) {
let { hash: t } = window.location;
- ndt.has(e) && u5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
+ idt.has(e) && l5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
n.live && wk("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
- }) : t === "#peachProxy" ? d5("peachProxy") : u5()), e === "/data-cleanup" && t === "#libraryProcessing" && d5("libraryProcessing");
+ }) : t === "#peachProxy" ? u5("peachProxy") : l5()), e === "/data-cleanup" && t === "#libraryProcessing" && u5("libraryProcessing");
}
- i && d5("resource-sync");
+ i && u5("resource-sync");
}
-function f5({ path: e }) {
- let t = qP();
+function d5({ path: e }) {
+ let t = JP();
LO();
let n = YO(Ck.navigation.location.pathname), r = (0, S.useRef)(n ? null : t), i = (0, S.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, C.jsx)(idt, {
+ return /* @__PURE__ */ (0, C.jsx)(odt, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function idt({ path: e, covered: t }) {
- let n = (0, S.useContext)(JP), r = Xut(), i = (0, S.useRef)(null);
+function odt({ path: e, covered: t }) {
+ let n = (0, S.useContext)(YP), r = Qut(), i = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
e.startsWith("/settings/") && mk(document.getElementById("stats"), { section: Che(e) });
}, [e]), (0, S.useEffect)(() => {
@@ -103675,7 +103712,7 @@ function idt({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && rdt(e, n, a);
+ a.live && adt(e, n, a);
});
}, [r]), (0, S.useEffect)(() => () => {
let e = i.current;
@@ -103687,14 +103724,14 @@ function idt({ path: e, covered: t }) {
});
}, []), null;
}
-function adt() {
- let e = Xut(), t = (0, S.useRef)(!1);
+function sdt() {
+ let e = Qut(), t = (0, S.useRef)(!1);
return (0, S.useEffect)(() => {
if (!e || t.current || YO(Ck.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (s5 = !0, wk("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (o5 = !0, wk("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -103702,25 +103739,25 @@ function adt() {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function odt(e, t, n) {
+function cdt(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- h5(r) ? n(r) : t.openManage(e);
+ m5(r) ? n(r) : t.openManage(e);
}
-var p5 = (e) => ({
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: e }),
+var f5 = (e) => ({
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: e }),
prefetch: (e, t) => kNe(t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(YPe, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
})
-}), m5 = {
+}), p5 = {
"/jav": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/jav" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/jav" }),
prefetch: (e, t) => uMe(e.tab, t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(hMe, {
...e,
@@ -103729,9 +103766,9 @@ var p5 = (e) => ({
})
},
"/stats": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/stats" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/stats" }),
prefetch: (e, t) => ZLe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(qst, {
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(Jst, {
tagLabel: kc,
onTag: t.openTag,
configurable: e.configurable,
@@ -103741,9 +103778,9 @@ var p5 = (e) => ({
})
},
"/taste": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/taste" }),
- prefetch: (e, t) => Ect("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(nut, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/taste" }),
+ prefetch: (e, t) => Dct("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(rut, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -103751,7 +103788,7 @@ var p5 = (e) => ({
})
},
"/review": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/review" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/review" }),
prefetch: (e, t) => GTe(t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(QMe, {
...e,
@@ -103763,16 +103800,16 @@ var p5 = (e) => ({
})
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/data-cleanup" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/data-cleanup" }),
prefetch: (e, t) => kEe(t),
page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(FDe, {
failure: t.failure,
- open: (e) => odt(e, t, n),
+ open: (e) => cdt(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/duplicates" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/duplicates" }),
prefetch: (e, t) => gTe(t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(dAe, {
openItem: t.openItem,
@@ -103781,7 +103818,7 @@ var p5 = (e) => ({
})
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/quality-goals" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/quality-goals" }),
prefetch: (e, t) => ETe(t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(FMe, {
openItem: t.openItem,
@@ -103792,17 +103829,17 @@ var p5 = (e) => ({
})
},
"/sources": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/sources" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/sources" }),
prefetch: (e, t) => aNe(t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(yNe, { toast: (e) => t.toast(e) })
},
- "/settings/library": p5("/settings/library"),
- "/settings/subscriptions": p5("/settings/subscriptions"),
- "/settings/downloads": p5("/settings/downloads"),
- "/settings/network": p5("/settings/network"),
- "/settings/maintenance": p5("/settings/maintenance"),
+ "/settings/library": f5("/settings/library"),
+ "/settings/subscriptions": f5("/settings/subscriptions"),
+ "/settings/downloads": f5("/settings/downloads"),
+ "/settings/network": f5("/settings/network"),
+ "/settings/maintenance": f5("/settings/maintenance"),
"/diagnostics": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/diagnostics" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/diagnostics" }),
prefetch: (e, t) => fAe(t),
page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(gAe, {
navigate: n,
@@ -103814,12 +103851,12 @@ var p5 = (e) => ({
})
},
"/tasks": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/tasks" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/tasks" }),
prefetch: (e, t) => nve(t),
page: () => /* @__PURE__ */ (0, C.jsx)(Cve, {})
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/subscriptions" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/subscriptions" }),
prefetch: (e, t) => Hr(t, e.tab),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(QAe, {
...e,
@@ -103830,9 +103867,9 @@ var p5 = (e) => ({
openServiceConfiguration: () => t.navigate("/settings/subscriptions")
})
}
-}, h5 = (e) => Object.hasOwn(m5, e), sdt = { "/resource-sync": { element: /* @__PURE__ */ (0, C.jsx)(adt, {}) } }, cdt = { "/immerse": { element: /* @__PURE__ */ (0, C.jsx)(qut, {}) } }, g5 = {
+}, m5 = (e) => Object.hasOwn(p5, e), ldt = { "/resource-sync": { element: /* @__PURE__ */ (0, C.jsx)(sdt, {}) } }, udt = { "/immerse": { element: /* @__PURE__ */ (0, C.jsx)(Yut, {}) } }, h5 = {
"/playlists": {
- element: /* @__PURE__ */ (0, C.jsx)(Wut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(Kut, {}),
prefetch: (e, t) => xMe(t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(NMe, {
revision: e.revision,
@@ -103843,12 +103880,12 @@ var p5 = (e) => ({
})
},
"/follow": {
- element: /* @__PURE__ */ (0, C.jsx)(Vut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(Uut, {}),
prefetch: (e, t) => ui(e, t),
page: (e) => /* @__PURE__ */ (0, C.jsx)(LOe, { ...e })
}
-}, ldt = (e) => Object.hasOwn(g5, e), _5 = {
- element: /* @__PURE__ */ (0, C.jsx)(xut, {}),
+}, ddt = (e) => Object.hasOwn(h5, e), g5 = {
+ element: /* @__PURE__ */ (0, C.jsx)(Sut, {}),
prefetch: (e, t) => nOe(e, t),
page: (e, t) => /* @__PURE__ */ (0, C.jsx)(mje, {
...e,
@@ -103863,35 +103900,35 @@ var p5 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
+}, _5 = {
+ "/performers": g5,
+ "/creators": g5,
+ "/studios": g5,
+ "/agencies": g5,
+ "/tags": g5
}, v5 = {
- "/performers": _5,
- "/creators": _5,
- "/studios": _5,
- "/agencies": _5,
- "/tags": _5
-}, y5 = {
- element: /* @__PURE__ */ (0, C.jsx)(Dut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(kut, {}),
prefetch: (e) => WDe(e),
page: (e) => /* @__PURE__ */ (0, C.jsx)(tAe, { ...e })
+}, y5 = {
+ "/performers/*": v5,
+ "/studios/*": v5,
+ "/creators/*": v5,
+ "/series/*": v5,
+ "/agencies/*": v5,
+ "/tags/*": v5
}, b5 = {
- "/performers/*": y5,
- "/studios/*": y5,
- "/creators/*": y5,
- "/series/*": y5,
- "/agencies/*": y5,
- "/tags/*": y5
-}, x5 = {
"/": {
- element: /* @__PURE__ */ (0, C.jsx)(Iut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(Rut, {}),
prefetch: (e, t) => Vde(e, t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(ER, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(DR, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, C.jsx)(Iut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(Rut, {}),
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, C.jsx)(kje, { ...e })
}
-}, udt = (e) => Object.hasOwn(x5, e), ddt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(yMe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(pB, { ...e }), fdt = {
+}, fdt = (e) => Object.hasOwn(b5, e), pdt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(yMe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(mB, { ...e }), mdt = {
"catalog-filter": {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, C.jsx)(Pxe, { ...e })
@@ -103901,14 +103938,14 @@ var p5 = (e) => ({
page: (e) => /* @__PURE__ */ (0, C.jsx)(_Ae, { ...e })
},
"library-processing": {
- prefetch: (e, t) => CI(t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(ddt, { ...e })
+ prefetch: (e, t) => wI(t),
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(pdt, { ...e })
},
search: {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, C.jsx)(wNe, { ...e })
}
-}, pdt = (e) => Object.hasOwn(fdt, e), mdt = {
+}, hdt = (e) => Object.hasOwn(mdt, e), x5 = {
"batch-dock": {
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, C.jsx)(sle, {})
@@ -103937,7 +103974,7 @@ var p5 = (e) => ({
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, C.jsx)(YLe, {})
}
-}, hdt = (e) => Object.hasOwn(mdt, e), gdt = [
+}, gdt = (e) => Object.hasOwn(x5, e), _dt = [
"/",
"/wall",
"/unseen",
@@ -103947,44 +103984,44 @@ var p5 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(m5),
- ...Object.keys(g5),
- ...Object.keys(v5),
- ...Object.keys(b5),
- ...gdt
+ ...Object.keys(p5),
+ ...Object.keys(h5),
+ ...Object.keys(_5),
+ ...Object.keys(y5),
+ ..._dt
];
-var _dt = (e) => h5(e) || ldt(e) || Object.hasOwn(v5, e) || Object.hasOwn(b5, e) || udt(e) || pdt(e) || hdt(e);
-function vdt(e) {
- return h5(e) ? m5[e] : ldt(e) ? g5[e] : udt(e) ? x5[e] : pdt(e) ? fdt[e] : hdt(e) ? mdt[e] : Object.hasOwn(v5, e) ? v5[e] : b5[e];
+var vdt = (e) => m5(e) || ddt(e) || Object.hasOwn(_5, e) || Object.hasOwn(y5, e) || fdt(e) || hdt(e) || gdt(e);
+function ydt(e) {
+ return m5(e) ? p5[e] : ddt(e) ? h5[e] : fdt(e) ? b5[e] : hdt(e) ? mdt[e] : gdt(e) ? x5[e] : Object.hasOwn(_5, e) ? _5[e] : y5[e];
}
-function ydt(e, t, n) {
- return _dt(e) ? vdt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function bdt(e, t, n) {
+ return vdt(e) ? ydt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function bdt(e, t, n, r) {
- return vdt(e).page(t, n, r);
+function xdt(e, t, n, r) {
+ return ydt(e).page(t, n, r);
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function xdt(e) {
+function Sdt(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var Sdt = (e) => {
+var Cdt = (e) => {
switch (e) {
- case "success": return Tdt;
- case "info": return Ddt;
- case "warning": return Edt;
- case "error": return Odt;
+ case "success": return Edt;
+ case "info": return Odt;
+ case "warning": return Ddt;
+ case "error": return kdt;
default: return null;
}
-}, Cdt = Array(12).fill(0), wdt = ({ visible: e, className: t }) => /*#__PURE__*/ S.createElement("div", {
+}, wdt = Array(12).fill(0), Tdt = ({ visible: e, className: t }) => /*#__PURE__*/ S.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ S.createElement("div", { className: "sonner-spinner" }, Cdt.map((e, t) => /*#__PURE__*/ S.createElement("div", {
+}, /*#__PURE__*/ S.createElement("div", { className: "sonner-spinner" }, wdt.map((e, t) => /*#__PURE__*/ S.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Tdt = /*#__PURE__*/ S.createElement("svg", {
+})))), Edt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -103995,7 +104032,7 @@ var Sdt = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), Edt = /*#__PURE__*/ S.createElement("svg", {
+})), Ddt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -104006,7 +104043,7 @@ var Sdt = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), Ddt = /*#__PURE__*/ S.createElement("svg", {
+})), Odt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -104017,7 +104054,7 @@ var Sdt = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), Odt = /*#__PURE__*/ S.createElement("svg", {
+})), kdt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -104028,7 +104065,7 @@ var Sdt = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), kdt = /*#__PURE__*/ S.createElement("svg", {
+})), Adt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -104049,7 +104086,7 @@ var Sdt = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), Adt = () => {
+})), jdt = () => {
let [e, t] = S.useState(document.hidden);
return S.useEffect(() => {
let e = () => {
@@ -104057,7 +104094,7 @@ var Sdt = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, jdt = 1, Mdt = 100, Ndt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : jdt++, S5 = new class {
+}, Mdt = 1, Ndt = 100, Pdt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Mdt++, S5 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -104067,10 +104104,10 @@ var Sdt = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - Mdt;
+ let e = this.toasts.length - Ndt;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
- let { message: t, ...n } = e, r = Ndt(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = Pdt(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -104145,7 +104182,7 @@ var Sdt = (e) => {
type: "default",
message: e
});
- else if (Fdt(e) && !e.ok) {
+ else if (Idt(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !S.isValidElement(r) ? r : { message: r };
this.create({
@@ -104189,7 +104226,7 @@ var Sdt = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = Ndt(t);
+ let n = Pdt(t);
return this.create({
...t,
jsx: e(n),
@@ -104198,7 +104235,7 @@ var Sdt = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), Pdt = (e, t) => S5.message(e, t), Fdt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Idt = Object.assign(Pdt, {
+}(), Fdt = (e, t) => S5.message(e, t), Idt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Ldt = Object.assign(Fdt, {
success: S5.success,
info: S5.info,
warning: S5.warning,
@@ -104212,20 +104249,20 @@ var Sdt = (e) => {
getHistory: () => S5.toasts,
getToasts: () => S5.getActiveToasts()
});
-xdt("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+Sdt("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function C5(e) {
return e.label !== void 0;
}
-var Ldt = 3, Rdt = "24px", zdt = "16px", Bdt = 4e3, Vdt = 356, Hdt = 14, Udt = 45, Wdt = 200;
+var Rdt = 3, zdt = "24px", Bdt = "16px", Vdt = 4e3, Hdt = 356, Udt = 14, Wdt = 45, Gdt = 200;
function w5(...e) {
return e.filter(Boolean).join(" ");
}
-function Gdt(e) {
+function Kdt(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var Kdt = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = S.useState(null), [k, A] = S.useState(null), [j, M] = S.useState(!1), [N, P] = S.useState(!1), [F, I] = S.useState(!1), [ee, L] = S.useState(!1), [te, ne] = S.useState(!1), [re, ie] = S.useState(0), [ae, oe] = S.useState(0), se = S.useRef(n.duration || y || Bdt), ce = S.useRef(null), le = S.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = S.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = S.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = S.useMemo(() => n.duration || y || Bdt, [n.duration, y]), be = S.useRef(0), xe = S.useRef(0), Se = S.useRef(0), Ce = S.useRef(null), [we, Te] = b.split("-"), Ee = S.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = Adt(), Oe = S.useMemo(() => e.swipeDirections ?? Gdt(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
+var qdt = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = S.useState(null), [k, A] = S.useState(null), [j, M] = S.useState(!1), [N, P] = S.useState(!1), [F, I] = S.useState(!1), [ee, L] = S.useState(!1), [te, ne] = S.useState(!1), [re, ie] = S.useState(0), [ae, oe] = S.useState(0), se = S.useRef(n.duration || y || Vdt), ce = S.useRef(null), le = S.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = S.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = S.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = S.useMemo(() => n.duration || y || Vdt, [n.duration, y]), be = S.useRef(0), xe = S.useRef(0), Se = S.useRef(0), Ce = S.useRef(null), [we, Te] = b.split("-"), Ee = S.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = jdt(), Oe = S.useMemo(() => e.swipeDirections ?? Kdt(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
xe.current = S.useMemo(() => _e * x + Ee, [_e, Ee]), S.useEffect(() => {
se.current = ye;
}, [ye]), S.useEffect(() => {
@@ -104266,7 +104303,7 @@ var Kdt = (e) => {
let je = S.useCallback(() => {
P(!0), ie(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, Wdt);
+ }, Gdt);
}, [
n,
d,
@@ -104299,12 +104336,12 @@ var Kdt = (e) => {
return T?.loading ? /*#__PURE__*/ S.createElement("div", {
className: w5(w?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": fe === "loading"
- }, T.loading) : /*#__PURE__*/ S.createElement(wdt, {
+ }, T.loading) : /*#__PURE__*/ S.createElement(Tdt, {
className: w5(w?.loader, n?.classNames?.loader),
visible: fe === "loading"
});
}
- let Ne = n.icon || T?.[fe] || Sdt(fe);
+ let Ne = n.icon || T?.[fe] || Cdt(fe);
return /*#__PURE__*/ S.createElement("li", {
tabIndex: 0,
ref: le,
@@ -104351,7 +104388,7 @@ var Kdt = (e) => {
if (ee || !me) return;
Ce.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;
- if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Udt || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);
+ if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Wdt || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);
else {
var o, s;
(o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ne(!1), I(!1), O(null);
@@ -104391,7 +104428,7 @@ var Kdt = (e) => {
je(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: w5(w?.closeButton, n?.classNames?.closeButton)
- }, T?.close ?? kdt) : null, (fe || n.icon || n.promise) && n.icon !== null && (T?.[fe] !== null || n.icon) ? /*#__PURE__*/ S.createElement("div", {
+ }, T?.close ?? Adt) : null, (fe || n.icon || n.promise) && n.icon !== null && (T?.[fe] !== null || n.icon) ? /*#__PURE__*/ S.createElement("div", {
"data-icon": "",
className: w5(w?.icon, n?.classNames?.icon)
}, fe === "loading" ? n.icon || Me() : n.promise ? Me() : null, fe === "loading" ? null : Ne) : null, /*#__PURE__*/ S.createElement("div", {
@@ -104421,15 +104458,15 @@ var Kdt = (e) => {
className: w5(w?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function qdt() {
+function Jdt() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function Jdt(e, t) {
+function Ydt(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? zdt : Rdt;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Bdt : zdt;
function o(e) {
[
"top",
@@ -104450,8 +104487,8 @@ function Jdt(e, t) {
}) : o(a);
}), n;
}
-var Ydt = /*#__PURE__*/ S.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Ldt, toastOptions: g, dir: _ = qdt(), gap: v = Hdt, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = S.useState([]), T = S.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = S.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = S.useState([]), [k, A] = S.useState(!1), [j, M] = S.useState(!1), [N, P] = S.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = S.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = S.useRef(null), L = S.useRef(!1), te = S.useCallback((e) => {
+var Xdt = /*#__PURE__*/ S.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Rdt, toastOptions: g, dir: _ = Jdt(), gap: v = Udt, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = S.useState([]), T = S.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = S.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = S.useState([]), [k, A] = S.useState(!1), [j, M] = S.useState(!1), [N, P] = S.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = S.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = S.useRef(null), L = S.useRef(!1), te = S.useCallback((e) => {
w((t) => (t.find((t) => t.id === e.id)?.delete || S5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return S.useEffect(() => S5.subscribe((e) => {
@@ -104523,7 +104560,7 @@ var Ydt = /*#__PURE__*/ S.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return T.length ? /*#__PURE__*/ S.createElement("ol", {
key: t,
- dir: _ === "auto" ? qdt() : _,
+ dir: _ === "auto" ? Jdt() : _,
tabIndex: -1,
ref: F,
className: c,
@@ -104533,10 +104570,10 @@ var Ydt = /*#__PURE__*/ S.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${D[0]?.height || 0}px`,
- "--width": `${Vdt}px`,
+ "--width": `${Hdt}px`,
"--gap": `${v}px`,
...m,
- ...Jdt(l, u)
+ ...Ydt(l, u)
},
onBlur: (e) => {
L.current && !e.currentTarget.contains(e.relatedTarget) && (L.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
@@ -104554,7 +104591,7 @@ var Ydt = /*#__PURE__*/ S.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ S.createElement(Kdt, {
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ S.createElement(qdt, {
key: n.id,
icons: y,
index: i,
@@ -104584,23 +104621,23 @@ var Ydt = /*#__PURE__*/ S.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), Xdt = (e, t) => /* @__PURE__ */ (0, C.jsx)("span", {
+}), Zdt = (e, t) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
}), T5 = null;
-function Zdt() {
+function Qdt() {
let e = T5;
T5 = null, e?.root.unmount();
}
-var Qdt = (e, t) => {
+var $dt = (e, t) => {
if (T5?.host === e) return;
- Zdt();
+ Qdt();
let n = (0, _t.createRoot)(e);
T5 = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, C.jsx)(Ydt, {
+ }, n.render(/* @__PURE__ */ (0, C.jsx)(Xdt, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -104617,16 +104654,16 @@ var Qdt = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: Xdt(t.success, !0),
- error: Xdt(t.error, !1)
+ success: Zdt(t.success, !0),
+ error: Zdt(t.error, !1)
}
}));
-}, $dt = 6e3, eft = (e, t) => {
+}, eft = 6e3, tft = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? Idt.error : Idt.success, r = t.action;
+ let n = t.alert ? Ldt.error : Ldt.success, r = t.action;
n(/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
- duration: t.timeout > 0 ? t.timeout : $dt,
+ duration: t.timeout > 0 ? t.timeout : eft,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -104635,13 +104672,13 @@ var Qdt = (e, t) => {
} : void 0
});
}, E5 = null, D5 = null, O5 = 0, k5 = /* @__PURE__ */ new Set();
-function tft(e) {
+function nft(e) {
return E5 = e, D5 && e(D5), () => {
E5 === e && (E5 = null);
};
}
-function nft(e) {
- return E5 && (D5 = e, E5(e), Nhe(Promise.resolve(ydt))), Promise.resolve();
+function rft(e) {
+ return E5 && (D5 = e, E5(e), Nhe(Promise.resolve(bdt))), Promise.resolve();
}
async function A5(e, t, n = (e) => e) {
let r = O5;
@@ -104652,10 +104689,10 @@ async function A5(e, t, n = (e) => e) {
place: () => n(t)
}) || r !== O5 || !E5) throw new DOMException("应用已卸载", "AbortError");
}
-function rft() {
+function ift() {
O5 += 1, E5 = null, D5 = null, j5 = null, M5 = null, F5 = null, I5 = null, R5 = null, z5 = null, B5 = null, V5 = null, U5 = null, W5 = null, G5 = null, K5 = null, q5 = null;
for (let e of k5) e.remove();
- k5.clear(), Zdt();
+ k5.clear(), Qdt();
}
var j5 = null, M5 = null;
function N5(e) {
@@ -104665,52 +104702,52 @@ function N5(e) {
})(), j5;
}
var P5 = () => M5, F5 = null, I5 = null;
-function ift(e) {
+function aft(e) {
return F5 ??= (async () => {
let t = wpe(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await A5("immerse", n, (e) => (document.body.append(e), e)), I5 = t, t;
})(), F5;
}
var L5 = () => I5, R5 = null, z5 = null;
-function aft(e) {
+function oft(e) {
return R5 ??= (async () => {
let t = mFe(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await A5("settings-panel", n, (e) => (document.body.append(e), e)), z5 = t, t;
})(), R5;
}
-var oft = () => z5, B5 = null, V5 = null;
-function sft(e) {
+var sft = () => z5, B5 = null, V5 = null;
+function cft(e) {
return B5 ??= (async () => {
let t = OFe(e);
return await A5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), V5 = t, t;
})(), B5;
}
var H5 = () => V5, U5 = null, W5 = null;
-function cft(e) {
+function lft(e) {
return U5 ??= (async () => {
let t = Rpe(e);
return await A5("manage-header", e.root, (e) => (e.replaceChildren(), e)), W5 = t, t;
})(), U5;
}
-var lft = () => W5, G5 = null, K5 = null;
-function uft(e) {
+var uft = () => W5, G5 = null, K5 = null;
+function dft(e) {
return G5 ??= (async () => {
let t = ole(e);
return await A5("batch-dock", e.root), K5 = t, t;
})(), G5;
}
-var dft = () => K5, q5 = null;
-function fft(e) {
+var fft = () => K5, q5 = null;
+function pft(e) {
return q5 ??= (async () => {
Sue(e), await A5("glow-picker", e.root);
})(), q5;
}
-function pft(e, t, n, r) {
- Qdt(e, t), eft(n, r);
+function mft(e, t, n, r) {
+ $dt(e, t), tft(n, r);
}
//#endregion
//#region src/application/effects.ts
-var mft = class {
+var hft = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -104791,9 +104828,9 @@ var mft = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, J5 = new mft();
-function hft() {
- return J5.dispose(), J5 = new mft(), J5;
+}, J5 = new hft();
+function gft() {
+ return J5.dispose(), J5 = new hft(), J5;
}
//#endregion
//#region src/application/receipts.js
@@ -104807,10 +104844,10 @@ var Y5 = {
rollSeed: void 0,
seededSample: void 0
};
-function gft() {
+function _ft() {
Y5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), Y5.toastSeq = 0, Y5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
let a = `toast-${++Y5.toastSeq}`, o = (e, t, n, r) => {
- Ga(i || (t ? "error" : "success")), pft(R("#toasts"), {
+ Ga(i || (t ? "error" : "success")), mft(R("#toasts"), {
success: z("check"),
error: z("circle-alert")
}, a, {
@@ -104852,7 +104889,7 @@ function gft() {
}
//#endregion
//#region src/react/catalog-grid/catalog-state.ts
-var _ft = [
+var vft = [
"loc",
"creator",
"studio",
@@ -104872,10 +104909,10 @@ var _ft = [
"folder",
"folder_recursive"
];
-function vft(e, t, n, r = n.defaultSort) {
+function yft(e, t, n, r = n.defaultSort) {
return pE(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function yft(e, t, n) {
+function bft(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Vt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -104890,7 +104927,7 @@ function yft(e, t, n) {
orient: o("orient") || "",
region: o("region") || "",
state: Bt[r] || o("state") || "",
- ...vft(o("sort"), o("dir"), t),
+ ...yft(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -104900,18 +104937,18 @@ function yft(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function bft(e, t) {
+function xft(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function xft(e) {
+function Sft(e) {
let t = zt[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of _ft) {
+ for (let t of vft) {
let r = e[t];
r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== uE(e.sort ?? "")) && n.set(t, r);
}
return !zt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function Sft(e, t, n) {
+function Cft(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -104936,7 +104973,7 @@ function Sft(e, t, n) {
folder_recursive: ""
};
}
-function Cft(e) {
+function wft(e) {
return {
state: e,
barsContext: {
@@ -104948,7 +104985,7 @@ function Cft(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-controller.ts
-var wft = class {
+var Tft = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -104993,39 +105030,39 @@ var wft = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, X5 = 3e4, Z5 = 0, Tft = (e, t = Z5) => [
+}, X5 = 3e4, Z5 = 0, Eft = (e, t = Z5) => [
"facets",
e,
t
-], Eft = (e, t, n = Z5) => [
+], Dft = (e, t, n = Z5) => [
"tops",
e,
t,
n
-], Dft = (e, t = Z5) => [
+], Oft = (e, t = Z5) => [
"tops",
e,
t
];
-async function Oft(e) {
+async function kft(e) {
let t = String(e), n = await It(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await It(`/api/tops?${r}`));
}
-function kft(e, t) {
+function Aft(e, t) {
return Promise.all([W.fetchQuery({
- queryKey: Tft(e),
+ queryKey: Eft(e),
queryFn: () => It(`/api/facets${e ? `?${e}` : ""}`),
staleTime: X5
}), W.fetchQuery({
- queryKey: Eft(t, e),
- queryFn: () => Oft(t),
+ queryKey: Dft(t, e),
+ queryFn: () => kft(t),
staleTime: X5
})]);
}
-function Aft(e) {
+function jft(e) {
return W.fetchQuery({
- queryKey: Dft(e),
- queryFn: () => Oft(e),
+ queryKey: Oft(e),
+ queryFn: () => kft(e),
staleTime: X5
});
}
@@ -105042,7 +105079,7 @@ function Q5() {
}
//#endregion
//#region src/application/navigation-items.ts
-var jft = [
+var Mft = [
[
"",
"首页",
@@ -105139,18 +105176,18 @@ var jft = [
"Peach 配置",
"folder-cog"
]
-], Mft = [
+], Nft = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], Nft = (e) => $5.filter(([t]) => Mft.includes(t) && (t !== "configuration" || e)), Pft = $5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], Pft = (e) => $5.filter(([t]) => Nft.includes(t) && (t !== "configuration" || e)), Fft = $5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), Fft = [...jft, ...Pft], Ift = {
+]]), Ift = [...Mft, ...Fft], Lft = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -105161,11 +105198,11 @@ var jft = [
};
//#endregion
//#region src/react/index/index-controller.ts
-function Lft({ kind: e, q: t, scope: n, view: r, category: i }) {
+function Rft({ 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 Rft(e, t, n) {
+function zft(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: va(e.k, r ? {
@@ -105178,20 +105215,20 @@ function Rft(e, t, n) {
face: ba(e.avatar_focus)
};
}
-function zft(e) {
+function Bft(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" ${Gi({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${B(n)}</span>${r}`;
}
-function Bft(e) {
+function Vft(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Ni(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(Lft(t), n);
+ e.route(Rft(t), n);
},
- personAvatar: Rft,
- authorAvatar: zft,
+ personAvatar: zft,
+ authorAvatar: Bft,
openFollowAuthor(n) {
t(Pi(e.followView(), n));
},
@@ -105202,27 +105239,27 @@ function Bft(e) {
}
//#endregion
//#region src/react/follow-manage/manage-route.ts
-var Vft = [
+var Hft = [
"list",
"add",
"feeds"
];
-function Hft(e) {
+function Uft(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: Vft.find((e) => e === n) || "list",
+ tab: Hft.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function Uft(e) {
+function Wft(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");
}
-function Wft(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : Uft({
- tab: t || Hft(e).tab,
+function Gft(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : Wft({
+ tab: t || Uft(e).tab,
page: 1,
sort: "",
dir: ""
@@ -105230,7 +105267,7 @@ function Wft(e, t) {
}
//#endregion
//#region src/application/source-action.ts
-function Gft(e) {
+function Kft(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -105246,36 +105283,36 @@ function Gft(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var e7 = () => Object.fromEntries(LB.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function Kft(e, t) {
+var e7 = () => Object.fromEntries(RB.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function qft(e, t) {
let n = new URLSearchParams(e), r = e7();
- for (let e of LB) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of RB) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
...pE(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function qft(e) {
+function Jft(e) {
let t = new URLSearchParams();
- for (let n of LB) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== uE(e.sort || "")) && t.set(n, e[n]);
+ for (let n of RB) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== uE(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
-function Jft(e) {
+function Yft(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 Yft(e, t) {
- let n = new URLSearchParams(qft(e));
+function Xft(e, t) {
+ let n = new URLSearchParams(Jft(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 Xft(e, t, n, r) {
- let i = Yft(n, r);
+function Zft(e, t, n, r) {
+ let i = Xft(n, r);
return Wt(e, t) + (i ? `?${i}` : "");
}
-function Zft() {
+function Qft() {
let e = "";
return {
fresh(t, n) {
@@ -105284,23 +105321,23 @@ function Zft() {
read(t, n, r, i) {
let a = e === Wt(t, n) && !r;
e = "";
- let o = a ? e7() : { ...Kft(r, i) };
+ let o = a ? e7() : { ...qft(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : Jft(r)
+ } : Yft(r)
};
}
};
}
//#endregion
//#region src/react/entity-page/photo-surface.ts
-function Qft(e, t) {
+function $ft(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function $ft(e) {
+function ept(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);
@@ -105323,12 +105360,12 @@ function $ft(e) {
}
//#endregion
//#region src/react/entity-page/entity-controller.ts
-function ept(e, t, n) {
+function tpt(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(Xft(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(Zft(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -105407,7 +105444,7 @@ function ept(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-loading.ts
-function tpt(e) {
+function npt(e) {
return async (t, n, r) => {
!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -105416,7 +105453,7 @@ function tpt(e) {
}
//#endregion
//#region src/react/entity-page/entity-portrait.ts
-function npt(e, t) {
+function rpt(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? _a({
kind: e,
id: t.id,
@@ -105438,11 +105475,11 @@ function npt(e, t) {
}
//#endregion
//#region src/react/entity-page/entity-application.ts
-function rpt(e) {
- let t = Zft(), n = {
+function ipt(e) {
+ let t = Qft(), n = {
...e.helpers,
- portraitImg: npt
- }, r = ept(e.controller, n, e.actions);
+ portraitImg: rpt
+ }, r = tpt(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -105451,13 +105488,13 @@ function rpt(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: tpt(e.loading),
- photos: $ft(e.photos)
+ loading: npt(e.loading),
+ photos: ept(e.photos)
};
}
//#endregion
//#region src/card-art/feed-identity.ts
-function ipt(e) {
+function apt(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 ? "" : va(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${B(Wt("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;
@@ -105482,11 +105519,11 @@ var t7 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function apt(e) {
+function opt(e) {
return e.has_cover ? Ca(e, "big") : e.cover_url ? Ca(e, "big").replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"无封面\" data-drop-class=\"nopic\"") : e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Po("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>";
}
-function opt(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 = apt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? Ok({
+function spt(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 = opt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? Ok({
is_jav: !0,
code: e.code,
name: e.code,
@@ -105498,10 +105535,10 @@ function opt(e) {
<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">${ipt(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${apt(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function spt() {
+function cpt() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
@@ -105511,12 +105548,12 @@ function spt() {
}
async function n7() {
let e = J5, t = await It("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (t7.entityShapesComplete = !0, t7.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${$t(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), r7(location.pathname) && cpt(R("#feedNew"))), t7.entityShapes;
+ return e.isActive && t && !t.error && (t7.entityShapesComplete = !0, t7.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${$t(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), r7(location.pathname) && lpt(R("#feedNew"))), t7.entityShapes;
}
-function cpt(e) {
+function lpt(e) {
!e || uk(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = t7.feedNewSkeletonHtml())));
}
-function lpt(e, t) {
+function upt(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Mo(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -105524,22 +105561,22 @@ function lpt(e, t) {
actionHref: "/sources"
});
}
-function upt(e) {
+function dpt(e) {
let t = e && !e.error && e.items || [];
- return lpt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(opt).join("")}</div>`;
+ return upt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(spt).join("")}</div>`;
}
-function dpt(e) {
+function fpt(e) {
e && (_9(e), Z.appSettings.feedAutoScroll && bs(e));
}
function r7(e) {
return Vt(e) && e !== "/junk-files";
}
-function fpt(e) {
+function ppt(e) {
return Vt(e) && e !== "/junk-files";
}
-function ppt() {
+function mpt() {
let e = R("#feedNew");
- uk(e) ? mk(e, { revision: ++t7.feedRevision }) : (cpt(e), pk("feed-new", {
+ uk(e) ? mk(e, { revision: ++t7.feedRevision }) : (lpt(e), pk("feed-new", {
host: e,
revision: t7.feedRevision,
helpers: t7.feedNewHelpers,
@@ -105553,28 +105590,28 @@ function i7() {
let e = R("#feedNew");
e.querySelectorAll(".feednewrow").forEach(xs), hk(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
-function mpt() {
+function hpt() {
t7.feedRevision += 1, mk(R("#feedNew"), { revision: t7.feedRevision }), s7({ feedRevision: t7.feedRevision });
}
-function hpt() {
+function gpt() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? bs(e) : xs(e));
}
-function gpt([e]) {
+function _pt([e]) {
R("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= t7.HERO_WIDE_PX);
}
-function _pt() {
+function vpt() {
t7.FEED_SKELETON_CARDS = 8, t7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${EE}"></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(t7.FEED_SKELETON_CARDS)}</div>`, t7.entityShapes = null, t7.entityShapesComplete = !1, t7.hasEntityShape = (e, t) => t7.entityShapesComplete || !!t7.entityShapes?.has(`${e}/${$t(t)}`), t7.hasEntityPart = (e, t, n) => !!t && !!t7.entityShapes?.get(`${e}/${$t(t)}`)?.includes(n), t7.feedNewSkeletonSection = () => `<section class="feednew">${t7.feedNewSkeletonHtml()}</section>`, t7.COSTAR_SKELETON_PEOPLE = 12, t7.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(t7.COSTAR_SKELETON_PEOPLE)}</div></div>`, t7.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, t7.feedRevision = 0, t7.feedNewHelpers = {
- feedRowHtml: upt,
- wireFeedRow: (e) => dpt(e)
+ feedRowHtml: dpt,
+ wireFeedRow: (e) => fpt(e)
}, t7.feedNewActions = { settled: (e) => {
X.homeHasFeed = e;
- } }, t7.HERO_WIDE_PX = 900, J5.resize(gpt).observe(R("#index"));
+ } }, t7.HERO_WIDE_PX = 900, J5.resize(_pt).observe(R("#index"));
}
//#endregion
//#region src/entity-skeleton.ts
-function vpt(e, t, n, r = "") {
+function ypt(e, t, n, r = "") {
let i = e === "studio" || e === "agency";
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true"><div class="peach-react contents">
@@ -105589,8 +105626,8 @@ function vpt(e, t, n, r = "") {
}
//#endregion
//#region src/filter-controls-skeleton.ts
-function ypt(e, t) {
- let n = "disabled data-skeleton-action", r = t ? `<span data-entity-layout="" class="${oF}" role="radiogroup" aria-label="${B(t.label)}">${t.options.map(([e, r, i]) => `<button type="button" class="${sF}" role="radio" aria-label="${B(r)}" aria-checked="${e === t.value}" data-glass-segment=""${e === t.value ? " data-selected=\"\"" : ""} ${n}>${z(i)}</button>`).join("")}</span>` : "";
+function bpt(e, t) {
+ let n = "disabled data-skeleton-action", r = t ? `<span data-entity-layout="" class="${sF}" role="radiogroup" aria-label="${B(t.label)}">${t.options.map(([e, r, i]) => `<button type="button" class="${cF}" role="radio" aria-label="${B(r)}" aria-checked="${e === t.value}" data-glass-segment=""${e === t.value ? " data-selected=\"\"" : ""} ${n}>${z(i)}</button>`).join("")}</span>` : "";
return `<span data-entity-sorts=""><button type="button" data-entity-batch="" aria-label="换一批" ${n}>${z("shuffle")}</button>${r}${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${n}>${B(e.label)}${e.dir ? z(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
//#endregion
@@ -105642,7 +105679,7 @@ function c7() {
return Bc;
}
function l7(e, t, n = V7()) {
- return Omt(n).map(([n, r]) => {
+ return kmt(n).map(([n, r]) => {
let i = e === n, a = dE(n, e, t);
return {
key: n,
@@ -105657,7 +105694,7 @@ function u7(e, t, n, r = a7.EMPTY_ENTITY_MEDIA, i = {}) {
return a7.application.route(e, t, n, r, i);
}
function d7() {
- return Qft({
+ return $ft({
entityWall: a7.entityPageWall,
entityCurrent: a7.entityPageCurrent(),
indexVisible: !R("#index").hidden,
@@ -105669,13 +105706,13 @@ function d7() {
function f7() {
a7.photos.sync();
}
-function bpt() {
+function xpt() {
d7() ? uue(kE()) : PE();
}
-function xpt(e) {
+function Spt(e) {
a7.photos.setSize(e);
}
-var Spt = Gft({
+var Cpt = Kft({
request: (e) => It("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
@@ -105683,20 +105720,20 @@ var Spt = Gft({
success: () => Y5.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => a7.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function Cpt(e) {
+async function wpt(e) {
let t = { textContent: "" };
- return await Spt(e, t), t.textContent;
+ return await Cpt(e, t), t.textContent;
}
-async function wpt(e) {
+async function Tpt(e) {
let t = { textContent: "" }, n = [];
- return await Tpt(e, t, (e) => {
+ return await Ept(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function Tpt(e, t, n) {
+async function Ept(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await It("/api/purge-missing", {
@@ -105726,17 +105763,17 @@ async function Tpt(e, t, n) {
t.textContent = a7.sourceHint(e.message), Y5.actionFailure("核对目录", e);
}
}
-function Ept(e) {
+function Dpt(e) {
return `<div class="srctools">${a7.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function Dpt(e, t) {
+function Opt(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && J5.handler(r, "onclick", () => Spt(Number(r.dataset.reveal), n, { button: r })), i && J5.handler(i, "onclick", () => Tpt(Number(i.dataset.sync), n, t));
+ r && J5.handler(r, "onclick", () => Cpt(Number(r.dataset.reveal), n, { button: r })), i && J5.handler(i, "onclick", () => Ept(Number(i.dataset.sync), n, t));
}
-async function Opt(e, t) {
+async function kpt(e, t) {
let n = zs({
title: "添加别名",
description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",
@@ -105774,16 +105811,16 @@ async function Opt(e, t) {
});
} }) : Y5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
}
-function kpt(e, t) {
- let n = ["performer", "studio"].includes(e) && t7.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>${yo()}${e === "agency" ? "" : ypt(l7(G.sort, G.dir, n), n ? {
+function Apt(e, t) {
+ let n = ["performer", "studio"].includes(e) && t7.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>${yo()}${e === "agency" ? "" : bpt(l7(G.sort, G.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
value: OE(),
options: TE
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" disabled data-skeleton-action>${z("play")}</button><button type="button" data-media-view="photos" aria-label="照片" disabled data-skeleton-action>${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="${G.state === e.k}" disabled data-skeleton-action>${B(e.label)}</button>`).join("")}</div>`, a = vpt(e, r, e === "agency" ? Yo({
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" disabled data-skeleton-action>${z("play")}</button><button type="button" data-media-view="photos" aria-label="照片" disabled data-skeleton-action>${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="${G.state === e.k}" disabled data-skeleton-action>${B(e.label)}</button>`).join("")}</div>`, a = ypt(e, r, e === "agency" ? Yo({
kind: "performers",
layout: S7.peopleIndexLayout()
- }) : sK("正在读取作品", {
+ }) : cK("正在读取作品", {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
cardRatio: NE(ME({
@@ -105802,14 +105839,14 @@ function p7(e, t) {
};
r(n.querySelector(".entityfoot"), e !== "agency" && t7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", t7.costarSkeletonFoot())), r(n.querySelector(".feednew"), t7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", t7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && t7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", t7.factsSkeleton()));
}
-function Apt(e) {
+function jpt(e) {
let t = Ht[e] || e, n = Q8[t] || "条目", r = Q8[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
R("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
function m7(e, t) {
j9(a7.application.fresh(e, t));
}
-function jpt() {
+function Mpt() {
a7.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -105820,10 +105857,10 @@ function jpt() {
"orient",
"sort",
"dir"
- ], a7.emptyEntityFilters = e7, a7.parseEntityFilters = (e) => Kft(e, {
+ ], a7.emptyEntityFilters = e7, a7.parseEntityFilters = (e) => qft(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), a7.entityFilterSearch = qft, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), a7.entityFilterSearch = Jft, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, a7.activeFilterState = () => {
@@ -105831,28 +105868,28 @@ function jpt() {
return e.type === "home" ? G : e.filters;
}, R("#q").value = G.q, X.rememberSearchValue();
}
-function Mpt() {
+function Npt() {
a7.entityPageView = "", a7.entityPageWall = !1, a7.entityPageRevision = 0, a7.entityPageCurrent = () => !!o7(), a7.entityPageLive = (e, t) => {
let n = o7();
return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;
}, a7.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, a7.parseMediaView = Jft, a7.entityViewSearch = Yft, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => f9(), a7.entityPageHelpers = {
+ }, a7.parseMediaView = Yft, a7.entityViewSearch = Xft, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => f9(), a7.entityPageHelpers = {
wireDrag: (e) => {
e && _9(e);
},
wireScroller: (e) => {
e && ps(e);
},
- wireFeedRow: (e) => dpt(e),
- feedRowHtml: upt,
+ wireFeedRow: (e) => fpt(e),
+ feedRowHtml: dpt,
receipt: (e, t) => Y5.actionReceipt(e, t),
failure: (e, t) => Y5.actionFailure(e, t),
- aliasForm: (e, t) => Opt(e, t),
- sourceToolsHtml: (e) => Ept(e),
- wireSourceTools: (e, t) => Dpt(e, t),
- comboItems: (e) => uht(e),
+ aliasForm: (e, t) => kpt(e, t),
+ sourceToolsHtml: (e) => Dpt(e),
+ wireSourceTools: (e, t) => Opt(e, t),
+ comboItems: (e) => dht(e),
sortKeys: (e, t, n) => l7(e, t, n)
}, a7.entityFollowActions = {
...$.followFeedActions,
@@ -105876,8 +105913,8 @@ function Mpt() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${z("folder-sync")}</button>`;
}
-function Npt() {
- a7.application = rpt({
+function Ppt() {
+ a7.application = ipt({
controller: {
context: () => {
let e = c7();
@@ -105926,7 +105963,7 @@ function Npt() {
writeSeed: (e) => {
G.seed = e, hl();
},
- setJavLayout: Amt,
+ setJavLayout: jmt,
javLayout: OE,
setPhotoLayout: rue,
syncPhotoWalls: f7,
@@ -105935,16 +105972,16 @@ function Npt() {
recordPainted: (e, t) => {
a7.entityPageView = e, a7.entityPageWall = t;
},
- syncDensity: bpt,
+ syncDensity: xpt,
scheduleSticky: J7,
releasePage: () => hk(R("#index")),
- showMissing: Apt,
+ showMissing: jpt,
dropBars: Q5
},
loading: {
shapesReady: (e, t) => t7.hasEntityShape(e, t),
- waitShapes: fmt,
- paintSkeleton: kpt,
+ waitShapes: pmt,
+ paintSkeleton: Apt,
resetView: () => {
ml({ detailReturnBarsContext: null }), a7.entityPageView = "", a7.entityPageWall = !1;
},
@@ -105960,13 +105997,13 @@ function Npt() {
walls: () => document.querySelectorAll(".followphotowall"),
pushEntity: s7,
pushFollow: I9,
- syncDensity: bpt,
+ syncDensity: xpt,
storeSize: nue
},
helpers: a7.entityPageHelpers,
actions: {
toggleTag: i9,
- openFollowAuthor: cmt,
+ openFollowAuthor: lmt,
javContext: (e) => ml({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -105978,7 +106015,7 @@ function Npt() {
//#endregion
//#region src/application/playlists.js
var h7 = { playlistWrite: void 0 };
-function Ppt(e, t) {
+function Fpt(e, t) {
e === "tag" ? (ml({ state: {
...G,
tag: t,
@@ -105990,15 +106027,15 @@ function Ppt(e, t) {
orient: ""
} }), X.clearSearchField(), Q.route(X7()), M7(), r9()) : m7(e, t);
}
-function Fpt(e = "") {
+function Ipt(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;
}
-async function Ipt({ title: e, count: t, save: n }) {
+async function Lpt({ title: e, count: t, save: n }) {
let r = zs({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: Fpt(e),
+ body: Ipt(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -106008,19 +106045,19 @@ async function Ipt({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await zht(a.id, a.current_asset_id, !0), Y5.actionReceipt("已保存为播放列表", { undo: async () => {
+ i && (await Bht(a.id, a.current_asset_id, !0), Y5.actionReceipt("已保存为播放列表", { undo: async () => {
await h7.playlistWrite({
action: "delete",
id: a.id
}), j9("/playlists");
} }));
}
-async function Lpt(e) {
+async function Rpt(e) {
let t = ((await It("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Lo(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = zs({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: Fpt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Mo("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: Ipt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Mo("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
@@ -106059,18 +106096,18 @@ async function Lpt(e) {
});
} });
}
-function Rpt() {
+function zpt() {
wc(), y9(!1), j7();
let e = lk(R("#stats"));
e?.path !== "/playlists" || !e.host.isConnected ? ml({ pageOpens: al + 1 }) : (A7({ manage: !1 }), ml({ playlistsRevision: dl + 1 }));
}
-function zpt(e) {
+function Bpt(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
-function Bpt(e) {
+function Vpt(e) {
ml({ configurationRequestedSection: e }), Q.navigatePath(KO(e));
}
-function Vpt() {
+function Hpt() {
h7.playlistWrite = (e) => It("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
@@ -106081,7 +106118,7 @@ function Vpt() {
function g7(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function Hpt(e, t, n, r, i = !1) {
+function Upt(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -106089,19 +106126,19 @@ function Hpt(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function Upt(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = GR(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function Wpt(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = KR(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...Hpt(e, t, n, !0),
+ ...Upt(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function Wpt(e, t, n, r) {
+function Gpt(e, t, n, r) {
let i = g7(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: oU(n).view === "dismissed"
+ junkDismissed: sU(n).view === "dismissed"
};
}
//#endregion
@@ -106124,33 +106161,33 @@ function v7() {
}), I9({
selected: new Set(Uc),
selectMode: Wc
- }), _7.batchDockProps = emt(), dft() && (dft().render(_7.batchDockProps), Z.syncGlassOptics());
+ }), _7.batchDockProps = tmt(), fft() && (fft().render(_7.batchDockProps), Z.syncGlassOptics());
}
function y7(e, t = !1) {
- ml(Hpt({
+ ml(Upt({
selected: Hc,
followSelected: Uc
}, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Wc), Wc && wc(), R("#selectMode").setAttribute("aria-pressed", String(Wc)), v7();
}
-function Gpt() {
+function Kpt() {
return [...T7.gridCards()].map((e) => +e.dataset.id);
}
function b7(e, t = !1) {
- ml(Upt({
+ ml(Wpt({
selected: Hc,
followSelected: Uc
- }, x7(), g7(location.pathname), Gpt(), e, t)), y7(!0);
+ }, x7(), g7(location.pathname), Kpt(), e, t)), y7(!0);
}
-function Kpt() {
+function qpt() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function qpt(e, t = !1) {
- ml(Upt({
+function Jpt(e, t = !1) {
+ ml(Wpt({
selected: Hc,
followSelected: Uc
- }, x7(), "follow", Kpt(), e, t)), y7(!0);
+ }, x7(), "follow", qpt(), e, t)), y7(!0);
}
-async function Jpt(e, t) {
+async function Ypt(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -106219,7 +106256,7 @@ async function Jpt(e, t) {
}
});
}
-async function Ypt() {
+async function Xpt() {
let e = [...Hc];
if (!e.length) return;
let t = zs({
@@ -106251,7 +106288,7 @@ async function Ypt() {
let { confirmed: n, result: r } = await t.done;
n && (y7(!1, !0), await G7(), Y5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function Xpt(e, t) {
+async function Zpt(e, t) {
let n = [...Uc];
if (!n.length) return;
let r = {
@@ -106286,7 +106323,7 @@ async function Xpt(e, t) {
}
});
}
-async function Zpt(e, t) {
+async function Qpt(e, t) {
let n = [...Hc];
if (!n.length) return;
let r = {
@@ -106332,8 +106369,8 @@ async function Zpt(e, t) {
}
});
}
-function Qpt() {
- uft({
+function $pt() {
+ dft({
root: R("[data-batch-dock]"),
run: (e, t, n) => {
_7.BATCH_RUNNERS[e]?.(t, n);
@@ -106342,7 +106379,7 @@ function Qpt() {
e.render(_7.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function $pt() {
+function emt() {
_7.batchDockProps = {
count: 0,
context: "catalog",
@@ -106355,13 +106392,13 @@ function $pt() {
["other", "其他"],
["none", "撤回判定"]
], _7.BATCH_RUNNERS = {
- batch: Jpt,
- region: Ypt,
- follow: Xpt,
- junk: Zpt,
+ batch: Ypt,
+ region: Xpt,
+ follow: Zpt,
+ junk: Qpt,
clear: () => y7(!1, !0)
}, J5.handler(R("#density"), "onclick", () => {
- d7() ? xpt(kE() === "big" ? "small" : "big") : lue();
+ d7() ? Spt(kE() === "big" ? "small" : "big") : lue();
}), PE(), Sc({
selecting: () => Wc,
censored: () => g9(),
@@ -106382,8 +106419,8 @@ function x7() {
followLastSelectedId: Kc
};
}
-function emt() {
- return Wpt({
+function tmt() {
+ return Gpt({
selected: Hc,
followSelected: Uc
}, location.pathname, location.search, G.state);
@@ -106394,31 +106431,31 @@ var S7 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function tmt() {
- return Z.appSettings.followLayout === "table" ? "table" : "default";
-}
function nmt() {
- return Hft(location.search);
+ return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function rmt(e) {
- return Uft(e);
+function rmt() {
+ return Uft(location.search);
}
function imt(e) {
- Q.route(rmt(e));
-}
-function C7(e = "") {
- return Wft(location.search, e);
+ return Wft(e);
}
function amt(e) {
- return zft(e);
+ Q.route(imt(e));
+}
+function C7(e = "") {
+ return Gft(location.search, e);
}
function omt(e) {
- return Lft(e);
+ return Bft(e);
+}
+function smt(e) {
+ return Rft(e);
}
function w7() {
R("#stats").hidden = !0, R("#index").hidden = !1, s9(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;
}
-function smt(e, t) {
+function cmt(e, t) {
ml({ state: {
...G,
state: "",
@@ -106426,23 +106463,23 @@ function smt(e, t) {
tag_match: t
} }), y7(!1, !1), Q.route(X7()), M7(), D9(), r9();
}
-function cmt(e) {
+function lmt(e) {
S7.controller.openFollowAuthor(e);
}
-function lmt(e) {
+function umt(e) {
S7.controller.openFollowTag(e);
}
-function umt() {
+function dmt() {
$.FOLLOW_MANAGE_TABS = [
"list",
"add",
"feeds"
], J5.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") ? Bpt("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
- }), S7.peopleIndexLayout = () => uut(Z.appSettings.peopleLayout), S7.personAvatar = Rft;
+ e.target.closest?.("[data-empty-settings]") ? Vpt("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
+ }), S7.peopleIndexLayout = () => dut(Z.appSettings.peopleLayout), S7.personAvatar = zft;
}
-function dmt() {
- S7.controller = Bft({
+function fmt() {
+ S7.controller = Vft({
route: Q.route,
followView: N9,
adoptFollowView: P9,
@@ -106469,17 +106506,17 @@ function E7(e = "正在读取作品") {
return;
}
let t = R("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Tje(oU(location.search)), ns(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && n9({
+ 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 = Tje(sU(location.search)), ns(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && n9({
count: null,
- ...rht()
+ ...iht()
})), R("#loadSentinel").hidden = !0, l9()) return;
let r = R("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== lK(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== hht()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), ns(R("#grid")));
+ (a?.dataset.skeleton !== uK(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== ght()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), ns(R("#grid")));
}
function D7() {
R("#catalogFilter").style.display = "none", t9();
}
-function fmt() {
+function pmt() {
let e = new Promise((e) => {
let t = T7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
@@ -106489,28 +106526,28 @@ function fmt() {
});
return Promise.race([T7.entityShapesReady ||= n7(), e]);
}
-function pmt() {
+function mmt() {
let e = decodeURIComponent(location.pathname);
if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), D7();
else if (/^\/assets\/\d+$/.test(e)) D7();
else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) D7();
else if (e === "/junk-files") E7("正在读取垃圾文件");
- else if (e === "/jav" && mU(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
+ else if (e === "/jav" && hU(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
D7();
let t = R("#stats");
t.hidden = !1, s9(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : T7.managementPlaceholder(e), ns(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), hut(R("#index"), dut(e.slice(1), location.search), S7.peopleIndexLayout());
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), gut(R("#index"), fut(e.slice(1), location.search), S7.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
D7(), R("#index").hidden = !1, s9();
let t = Ut[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (t7.hasEntityShape(t, n) ? Promise.resolve() : fmt()).then(() => {
- R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (kpt(t, n), ns(R("#index")));
+ (t7.hasEntityShape(t, n) ? Promise.resolve() : pmt()).then(() => {
+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Apt(t, n), ns(R("#index")));
});
} else Q.routeMeta(e) ? E7() : (s9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
}
-function mmt() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => sK(t, {
+function hmt() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => cK(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -106524,16 +106561,16 @@ function mmt() {
<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 = Po("继续载入中…"), T7.setGridCards = (e) => Ko(R("#grid"), () => {
R("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), T7.managementPlaceholder = (e) => cK(e, {
- followLayout: tmt(),
+ }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), T7.managementPlaceholder = (e) => lK(e, {
+ followLayout: nmt(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(nmt())
+ }))(rmt())
}), T7.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = ak(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Kht();
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, qht();
};
}
//#endregion
@@ -106545,7 +106582,7 @@ var O7 = (e) => e.replace(/[&<>"']/g, (e) => ({
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function hmt(e, t, n) {
+function gmt(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${O7(r)}"/></svg>`;
@@ -106554,7 +106591,7 @@ function hmt(e, t, n) {
}
//#endregion
//#region src/application/filter-scroll.js
-function gmt(e, t, n, r = !1) {
+function _mt(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -106596,7 +106633,7 @@ var k7 = {
mobileFilterPath: void 0
};
function A7({ manage: e = !0, placeholder: t = "" } = {}) {
- R("#stats").hidden = !1, R("#index").hidden = !0, s9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && uK(R("#stats"), t);
+ R("#stats").hidden = !1, R("#index").hidden = !0, s9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && dK(R("#stats"), t);
}
function j7() {
X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
@@ -106604,10 +106641,10 @@ function j7() {
function M7() {
document.body.classList.remove("entity-open", "index-open"), hk(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, r7(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", t9(), L7(), z7();
}
-function _mt() {
+function vmt() {
Q.route("/"), M7();
}
-function vmt({ tags: e = [], providers: t = [], duration: n = !1 }) {
+function ymt({ tags: e = [], providers: t = [], duration: n = !1 }) {
E9({
content: e.length || t.length || n ? {
kind: "follow",
@@ -106631,8 +106668,8 @@ function vmt({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function ymt(e) {
- ngt({
+function bmt(e) {
+ rgt({
...N9(),
...e
}), E9({ filters: $.followSidebarFilters() });
@@ -106644,10 +106681,10 @@ function P7(e) {
let t = R("#drawer"), n = !e && t.contains(document.activeElement);
t.inert = !e && N7(), 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 bmt() {
+function xmt() {
N7() && P7(!1);
}
-function xmt() {
+function Smt() {
rl === null && (ml({ runtimeConfigurable: !1 }), It("/healthz").then((e) => {
ml({ runtimeConfigurable: !!e.configurable }), rl && I7() && L7();
}).catch(() => {}));
@@ -106665,18 +106702,18 @@ function F7(e = "", t = !1) {
replace: !0,
state: Ck.navigation.location.state
});
- return e ||= whe(location.pathname), aft(k7.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= whe(location.pathname), oft(k7.settingsHost()).then((t) => (t.open(e), t));
}
-function Smt() {
+function Cmt() {
GO(location.pathname) && (qO(Ck.navigation.location.state) ? Ck.go(-1) : Q.navigatePath("/", !0));
}
-function Cmt() {
+function wmt() {
return {
scroll: R("#drawerScroll"),
store: Z.settingsStore,
navCatalog: k7.NAV_CATALOG,
navOn: K7,
- navTo: Nmt,
+ navTo: Pmt,
toggleChip: (e, t, n) => e9((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
@@ -106692,8 +106729,8 @@ function Cmt() {
selectFollowTag: (e) => {
$.followTags = /* @__PURE__ */ new Set([e]), P7(!1), j9(M9());
},
- selectFollowProvider: (e) => ymt({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => ymt({
+ selectFollowProvider: (e) => bmt({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => bmt({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -106702,15 +106739,15 @@ function Cmt() {
}
};
}
-function wmt() {
+function Tmt() {
let e = R("#drawerScroll");
- e.innerHTML = hmt(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), J5.listen(e, "click", (e) => {
+ e.innerHTML = gmt(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), J5.listen(e, "click", (e) => {
if (H5()) return;
let t = e.target.closest?.("[data-nav]");
- t && Nmt(t.dataset.nav);
- }), sft(Cmt()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
+ t && Pmt(t.dataset.nav);
+ }), cft(wmt()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
}
-async function Tmt() {
+async function Emt() {
let e = J5, t = null;
try {
t = await It("/api/settings", { signal: e.signal });
@@ -106724,9 +106761,9 @@ function I7() {
}
function L7() {
let e = I7();
- xmt(), e && D7(), R("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);
+ Smt(), e && D7(), R("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);
}
-function Emt(e) {
+function Dmt(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
@@ -106737,7 +106774,7 @@ function Emt(e) {
}
function R7(e = I7()) {
z7();
- let t = Emt(e), n = lft();
+ let t = Dmt(e), n = uft();
if (n) n.render(t);
else {
let e = Mpe(t);
@@ -106746,21 +106783,21 @@ function R7(e = I7()) {
let r = fO(t)?.title || "";
r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && Go(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function Dmt() {
+function Omt() {
let e = k7.manageHeaderRoot();
J5.listen(e, "click", (e) => {
- if (lft()) return;
+ if (uft()) return;
let t = e.target.closest?.("[data-manage]");
if (t) B7(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]") && lht();
- }), cft({
+ } else e.target.closest?.("[data-empty-trash]") && uht();
+ }), lft({
root: e,
openManage: B7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: lht
+ emptyTrash: uht
}).then(() => R7()).catch(() => {});
}
function z7() {
@@ -106771,13 +106808,13 @@ function z7() {
}
function B7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (G.orient = "", G.state = "ads", hl(), Q.route(sU()), M7(), D9(), r9());
+ t ? Q.openRoutePath(t) : (G.orient = "", G.state = "ads", hl(), Q.route(cU()), M7(), D9(), r9());
}
function V7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? G.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? G.jav === "1" || sl : !1;
}
-function Omt(e = V7()) {
+function kmt(e = V7()) {
let t = ule.filter(([e]) => e !== "seed");
return e ? [cE, ...t] : t;
}
@@ -106787,24 +106824,24 @@ function H7() {
function U7() {
return Xle(H7());
}
-function kmt(e) {
+function Amt(e) {
$le(e), W7(), R("#grid").hidden || p9();
}
-function Amt(e) {
+function jmt(e) {
eue(e), W7(), p9();
}
function W7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
e.checked = e.value === U7();
- }), X.catalogFilterProps && n9({ layout: nht() });
+ }), X.catalogFilterProps && n9({ layout: rht() });
}
-function jmt(e) {
+function Mmt(e) {
tue(e), W7(), p9();
}
async function G7() {
- Q5(), X.mixRelatedCache.clear(), await Promise.all([Mmt(), r9()]);
+ Q5(), X.mixRelatedCache.clear(), await Promise.all([Nmt(), r9()]);
}
-async function Mmt() {
+async function Nmt() {
if (a7.entityPageCurrent() && !R("#index").hidden) {
s7({ revision: ++a7.entityPageRevision });
return;
@@ -106826,8 +106863,8 @@ function K7(e) {
}
return e === "jav" ? t === "/jav" || V7() : e === "shorts" ? G.orient === "竖屏" : e === "" ? t === "/" && !I7() && !G.state && !V7() && G.orient !== "竖屏" : zt[e] ? n === e && G.orient !== "竖屏" : n ? n === e : t === "/" && G.state === e && G.orient !== "竖屏";
}
-function Nmt(e) {
- if (bmt(), k7.DIRECT_MANAGE_NAV[e]) {
+function Pmt(e) {
+ if (xmt(), k7.DIRECT_MANAGE_NAV[e]) {
B7(k7.DIRECT_MANAGE_NAV[e]);
return;
}
@@ -106852,11 +106889,11 @@ function q7() {
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Ut, t[0]), r = Vt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
R("#selectMode").hidden = !i, R("#density").hidden = !a, f7(), !i && Wc && y7(!1, !0);
}
-function Pmt() {
+function Fmt() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
(t !== k7.mobileFilterHost || location.pathname !== k7.mobileFilterPath) && (k7.mobileFilterScroll = null), k7.mobileFilterHost = t, k7.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\"]");
- k7.mobileFilterScroll = gmt(k7.mobileFilterScroll, n, innerWidth <= 760, r);
+ k7.mobileFilterScroll = _mt(k7.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
let e = n === t && k7.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
@@ -106870,41 +106907,41 @@ function Pmt() {
});
}
}
-function Fmt() {
- Pmt(), [".board-filter-frame", "#count"].forEach((e) => {
+function Imt() {
+ Fmt(), [".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 J7() {
k7.stickyFrame ||= J5.frame(() => {
- k7.stickyFrame = 0, Fmt();
+ k7.stickyFrame = 0, Imt();
});
}
-function Imt() {
+function Lmt() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), J5.handler(R("#filterBtn"), "onclick", () => P7(!R("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = jft, k7.MANAGE_SECTIONS = $5, k7.MANAGE_MENU_SECTIONS = Mft, k7.manageMenuSections = () => Nft(rl === !0), k7.OPTIONAL_SIDEBAR_ITEMS = Pft, k7.NAV_CATALOG = Fft, k7.DIRECT_MANAGE_NAV = Ift, k7.settingsHost = () => ({
+ }), J5.handler(R("#filterBtn"), "onclick", () => P7(!R("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = Mft, k7.MANAGE_SECTIONS = $5, k7.MANAGE_MENU_SECTIONS = Nft, k7.manageMenuSections = () => Pft(rl === !0), k7.OPTIONAL_SIDEBAR_ITEMS = Fft, k7.NAV_CATALOG = Ift, k7.DIRECT_MANAGE_NAV = Lft, k7.settingsHost = () => ({
selectSection: (e) => wk(KO(e), {
replace: !0,
state: Ck.navigation.location.state
}),
- closed: Smt,
+ closed: Cmt,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Ga(e),
navCatalog: k7.NAV_CATALOG,
themeOptions: Vle,
videoLayouts: TE,
- followInitialRanges: eG,
+ followInitialRanges: tG,
videoLayout: () => U7(),
- setVideoLayout: jmt,
+ setVideoLayout: Mmt,
censored: g9,
- setCensored: Dht,
+ setCensored: Oht,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: Oht,
+ setHighContrast: kht,
receipt: (e) => Y5.actionReceipt(e),
failure: Y5.actionFailure,
syncRemote: (e) => zle(e, (e) => Z.settingsEffects[e]?.()),
@@ -106919,19 +106956,19 @@ function Imt() {
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var Lmt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var Rmt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), Rmt = (e) => e.repeat(Lmt);
-function zmt(e, t, n) {
+})[e]), zmt = (e) => e.repeat(Rmt);
+function Bmt(e, t, n) {
let r = e.map((e) => `<a href="${Y7(e.href)}" data-catalog-view="${Y7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Y7(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Rmt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + Rmt("<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(Lmt) + `</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>${yo()}</span>` + (n ? ypt(n.sorts, n.layout) : "") + "</div></div></div></div>";
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + zmt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + zmt("<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(Rmt) + `</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>${yo()}</span>` + (n ? bpt(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
//#endregion
//#region src/catalog-onboarding.ts
-var Bmt = [
+var Vmt = [
"loc",
"creator",
"performer",
@@ -106949,9 +106986,9 @@ var Bmt = [
"jav",
"thumb"
];
-async function Vmt(e, t) {
+async function Hmt(e, t) {
let n = new URLSearchParams();
- for (let t of Bmt) e[t] && n.set(t, e[t]);
+ for (let t of Vmt) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -106962,7 +106999,7 @@ async function Vmt(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function Hmt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function Umt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
if (t || n) return Io("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
@@ -107018,40 +107055,40 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function Umt() {
- X.initialParams.has("loc") || (G.loc = Wmt(G.loc), hl());
+function Wmt() {
+ X.initialParams.has("loc") || (G.loc = Gmt(G.loc), hl());
}
-function Wmt(e) {
- return bft(e, Z.sourceOnline);
+function Gmt(e) {
+ return xft(e, Z.sourceOnline);
}
function X7(e = G) {
- return xft(e);
+ return Sft(e);
}
-function Gmt() {
- ml(Cft(Sft(G, Z.appSettings, Y5.rollSeed))), Q5();
+function Kmt() {
+ ml(wft(Cft(G, Z.appSettings, Y5.rollSeed))), Q5();
}
function Z7(e = null, t = !1) {
- Gmt(), e && (Object.assign(G, e), hl()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({
+ Kmt(), e && (Object.assign(G, e), hl()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function Kmt(e, t = null) {
+function qmt(e, t = null) {
let n = e.id;
!e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);
}
-function qmt(e) {
+function Jmt(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, It("/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 Jmt(e, t) {
- P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : Ymt(e, t);
-}
function Ymt(e, t) {
- e.edition_group ? Lht(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Rht(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
+ P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : Xmt(e, t);
}
-async function Xmt(e, t) {
+function Xmt(e, t) {
+ e.edition_group ? Rht(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? zht(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
+}
+async function Zmt(e, t) {
try {
let n = await It("/api/watch-later", {
method: "POST",
@@ -107068,7 +107105,7 @@ async function Xmt(e, t) {
Y5.actionFailure("更新稍后看", e);
}
}
-async function Zmt(e, t) {
+async function Qmt(e, t) {
try {
await It("/api/batch", {
method: "POST",
@@ -107092,7 +107129,7 @@ async function Zmt(e, t) {
throw Y5.actionFailure("操作", e), e;
}
}
-async function Qmt(e) {
+async function $mt(e) {
let t = new URLSearchParams();
if (V7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && G.state && t.set("state", G.state), e.type !== "item") {
let e = a7.activeFilterState();
@@ -107115,9 +107152,9 @@ async function Qmt(e) {
e[n] && t.set(n, e[n]);
});
}
- return kft(t.toString(), X.topsQueryParams(e).toString());
+ return Aft(t.toString(), X.topsQueryParams(e).toString());
}
-function $mt() {
+function eht() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
@@ -107130,14 +107167,14 @@ function $mt() {
});
}
function Q7(e) {
- c7().type !== "entity" && n9({ tags: iht(e) }), E9({ filters: { ...e } }), a9();
+ c7().type !== "entity" && n9({ tags: aht(e) }), E9({ filters: { ...e } }), a9();
}
async function $7(e) {
- let t = ++X.facetCountsSeq, [n] = await Qmt(e);
- t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: wht(n, e) }));
+ let t = ++X.facetCountsSeq, [n] = await $mt(e);
+ t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: Tht(n, e) }));
}
function e9(e) {
- $mt();
+ eht();
let t = c7();
if (t.type === "entity") {
let n = { ...t.filters };
@@ -107154,7 +107191,7 @@ function e9(e) {
} }), Q.route(X7()), M7(), r9();
} else e(G), hl(), Q.route(X7()), Q7(G), $7(Bc);
}
-function eht() {
+function tht() {
return {
tiers: null,
empty: !1,
@@ -107171,7 +107208,7 @@ function eht() {
combo: [],
comboHidden: !0,
comboHost: R("#combo"),
- actions: tht(),
+ actions: nht(),
helpers: {
wireDrag: _9,
wireScroller: (e) => {
@@ -107189,16 +107226,16 @@ function n9(e) {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || eht(),
+ ...X.catalogFilterProps || tht(),
...e
- }, !X.catalogFilterMounting && (uk(t) ? mk(t, e) : (!t.firstChild && !n && (t.innerHTML = zmt(X.catalogViews(), X.catalogFilterProps.state, rht()), ns(t)), X.catalogFilterMounting = pk("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (uk(t) ? mk(t, e) : (!t.firstChild && !n && (t.innerHTML = Bmt(X.catalogViews(), X.catalogFilterProps.state, iht()), ns(t)), X.catalogFilterMounting = pk("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => mk(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function tht() {
+function nht() {
return {
currentHref: () => {
let e = new URL(X7(), location.origin);
@@ -107219,19 +107256,19 @@ function tht() {
let t = dE(e, G.sort, G.dir);
t && (G.sort = t.sort, G.dir = t.dir, hl(), h9());
},
- reshuffle: () => Tht(),
+ reshuffle: () => Eht(),
setLayout: (e) => {
- V7() ? Amt(e) : kmt(e);
+ V7() ? jmt(e) : Amt(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await Aft(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(aht) : n.map(oht);
+ let n = (await jft(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(oht) : n.map(sht);
}
};
}
-function nht() {
+function rht() {
return V7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
@@ -107244,21 +107281,21 @@ function nht() {
options: TE
} : null;
}
-function rht() {
+function iht() {
return {
sorts: l7(G.sort, G.dir),
- layout: nht(),
+ layout: rht(),
state: G.state || "",
trash: G.state === "trash"
};
}
-function iht(e) {
+function aht(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function aht(e) {
+function oht(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${B(dn(e.k))}</span>${_a({
@@ -107272,14 +107309,14 @@ function aht(e) {
})}`
};
}
-function oht(e) {
+function sht(e) {
return {
name: e.k,
fallback: un(e.k, 2),
logo: e.has_logo ? ma(e.k, "icon", e.logo_version) : ""
};
}
-function sht(e) {
+function cht(e) {
X.catalogFilterProps?.tiers || (X.barsRendered = "", n9({
tiers: null,
state: e.state || ""
@@ -107295,8 +107332,8 @@ async function r9() {
G.seed || "",
V7()
]);
- sht(n);
- let [i, a] = await Qmt(t);
+ cht(n);
+ let [i, a] = await $mt(t);
if (e !== X.barsRequestSeq) return;
let o = r + "\n" + JSON.stringify([i, a]);
if (o === X.barsRendered) {
@@ -107323,25 +107360,25 @@ async function r9() {
})), n9({
tiers: {
key: String(X.barsRequestSeq),
- performers: a.performers.map(aht),
- studios: a.studios.map(oht)
+ performers: a.performers.map(oht),
+ studios: a.studios.map(sht)
},
empty: c,
- tags: iht(n),
+ tags: aht(n),
tagFirst: d.length + p.length,
views: X.catalogViews(),
state: n.state || ""
}), a9(), k7.sidebarCatalog = {
kind: "catalog",
key: String(++k7.sidebarContentSeq),
- facets: wht(i, t)
+ facets: Tht(i, t)
}, E9({
content: k7.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function cht(e, t) {
+function lht(e, t) {
v9.total = e, G.state === "trash" && (_7.trashCount = {
total: v9.total,
shown: t
@@ -107350,7 +107387,7 @@ function cht(e, t) {
shown: t
} });
}
-function lht() {
+function uht() {
return Vs({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -107372,7 +107409,7 @@ function i9(e) {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function uht(e) {
+function dht(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -107394,13 +107431,13 @@ function uht(e) {
}
function a9() {
n9({
- combo: uht(G),
+ combo: dht(G),
comboHidden: !X.catalogOnScreen()
});
}
async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (fpt(location.pathname) && !uk(R("#libraryProcessingNotice")) && pk("library-processing", {
+ if (ppt(location.pathname) && !uk(R("#libraryProcessingNotice")) && pk("library-processing", {
toast: Y5.toast,
mode: "notice"
}, {
@@ -107412,25 +107449,25 @@ async function o9() {
filters: G
},
detailReturnBarsContext: null
- }), y9(!1), G.state === "ads") return _ht(e);
+ }), y9(!1), G.state === "ads") return vht(e);
if (X.controller.page === "/junk-files" && s9(), E7(), M7(), r7(location.pathname) && G.browse !== "folders") {
if (await T7.entityShapesReady, !Q.surfaceCurrent(e)) return;
- ppt();
+ mpt();
} else i7();
- return a9(), R("#count").classList.remove("manage-static", "junkcount"), fht(e);
+ return a9(), R("#count").classList.remove("manage-static", "junkcount"), pht(e);
}
-function dht(e) {
+function fht(e) {
X.controller.settle(e);
}
function s9() {
let e = R("#grid");
wc(e), hk(e), X.controller.clear(), e.innerHTML = "";
}
-function fht(e) {
- return mht("/", ght, e, { place: igt });
-}
function pht(e) {
- return mht("/junk-files", yht, e);
+ return hht("/", _ht, e, { place: agt });
+}
+function mht(e) {
+ return hht("/junk-files", bht, e);
}
function c9() {
return !!lk(R("#grid"));
@@ -107441,7 +107478,7 @@ function l9() {
function u9(e) {
mk(R("#grid"), e);
}
-function mht(e, t, n, r = {}) {
+function hht(e, t, n, r = {}) {
let i = R("#grid");
X.controller.page && X.controller.page !== e && s9();
let a = X.controller.begin(e, c9()), o = t();
@@ -107465,13 +107502,13 @@ function d9() {
});
}
function f9(e = "正在读取作品") {
- return sK(e, {
+ return cK(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
- cardRatio: hht()
+ cardRatio: ght()
});
}
-function hht() {
+function ght() {
return G ? NE(d9()) : 16 / 9;
}
function p9() {
@@ -107483,7 +107520,7 @@ function p9() {
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function ght() {
+function _ht() {
let e = decodeURIComponent(location.pathname), t = Vt(e), n = G.state === "trash";
return {
mode: "catalog",
@@ -107496,7 +107533,7 @@ function ght() {
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
wireDrag: _9,
- settled: dht,
+ settled: fht,
skeletonHtml: () => f9(),
filters: { ...G },
batchSize: Z.appSettings.batchSize,
@@ -107505,9 +107542,9 @@ function ght() {
mix: t && e !== "/wall" && !n && G.browse !== "folders",
shorts: t && e !== "/wall" && !V7() && G.orient !== "竖屏" && !n && G.browse !== "folders",
countRow: R("#count"),
- onCount: cht,
+ onCount: lht,
onCountFailed: () => n9({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Hmt({
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Umt({
jav: V7() && !t,
configurable: rl,
filtered: !t
@@ -107515,11 +107552,11 @@ function ght() {
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function _ht(e) {
+function vht(e) {
let t = R("#count");
- return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), pht(e);
+ return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), mht(e);
}
-async function vht(e, t) {
+async function yht(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await It("/api/batch", {
@@ -107544,9 +107581,9 @@ async function vht(e, t) {
throw Y5.actionFailure("操作", e), e;
}
}
-function yht() {
+function bht() {
return {
- ...oU(location.search),
+ ...sU(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -107554,16 +107591,16 @@ function yht() {
selectMode: Wc,
selected: new Set(Hc),
countRow: R("#count"),
- settled: dht,
- skeletonHtml: () => sK("正在读取垃圾文件", {
+ settled: fht,
+ skeletonHtml: () => cK("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function bht() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => vft(e, t, Z.appSettings, n), ml(Cft(yft(location, Z.appSettings, Y5.rollSeed))), X.searchValueSnapshot = {
+function xht() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => yft(e, t, Z.appSettings, n), ml(wft(bft(location, Z.appSettings, Y5.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = R("#q")) => {
@@ -107584,7 +107621,7 @@ function bht() {
};
};
}
-function xht() {
+function Sht() {
J5.handler(R("#wallBtn"), "onclick", () => {
y7(!1, !0);
let e = c7(), t = {
@@ -107605,12 +107642,12 @@ function xht() {
let r = await N5(v9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: Ymt,
- open: (e, t) => Jmt(e, t),
- openResource: (e, t) => P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : Kmt(e, t),
+ wallDetails: Xmt,
+ open: (e, t) => Ymt(e, t),
+ openResource: (e, t) => P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : qmt(e, t),
openShort: (e) => P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : C9(e.id),
openShorts: () => C9(),
- openMix: (e, t) => Iht(e, e, !0, t),
+ openMix: (e, t) => Lht(e, e, !0, t),
openEntity: (e, t) => m7(e, t),
openUnowned: () => Z7({ owner: "none" }, !0),
toggleTag: (e) => {
@@ -107622,9 +107659,9 @@ function xht() {
});
},
toggleSelection: (e, t) => b7(e, t),
- watchLater: (e, t) => Xmt(e, t),
- resourceOperation: (e, t) => Zmt(e, t),
- mixRelated: (e) => qmt(e),
+ watchLater: (e, t) => Zmt(e, t),
+ resourceOperation: (e, t) => Qmt(e, t),
+ mixRelated: (e) => Jmt(e),
canFlip: () => !Wc && !g9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
@@ -107654,7 +107691,7 @@ function xht() {
href: e.k ? zt[e.k] : "/"
})), X.TAGS_FIRST = 26, J5.listen(R("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), tht().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), nht().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
@@ -107663,7 +107700,7 @@ function xht() {
X.catalogFilterProps && n9({ comboHidden: !0 });
};
}
-function Sht() {
+function Cht() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
Wc && y7(!1, !0), Q.route(e);
@@ -107680,10 +107717,10 @@ function Sht() {
return a7.sourceHint(e.message);
}
},
- operate: (e, t) => vht(e, t)
+ operate: (e, t) => yht(e, t)
};
}
-X.controller = new wft();
+X.controller = new Tft();
//#endregion
//#region src/application/preferences.js
var Z = {
@@ -107717,7 +107754,7 @@ async function m9() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Umt(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Wmt(), Z.sourceOnline;
}
function h9() {
let e = Q.surfacePath();
@@ -107728,7 +107765,7 @@ function h9() {
state: Ck.navigation.location.state
}), t;
}
-function Cht(e) {
+function wht(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -107749,7 +107786,7 @@ function Cht(e) {
cost: "free"
};
}
-function wht(e, t) {
+function Tht(e, t) {
let n = (e, t = (e) => e.label || kc(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -107760,7 +107797,7 @@ function wht(e, t) {
value: e.k,
label: pn[e.k] || e.k,
n: e.n ?? null,
- dot: Cht(e.k),
+ dot: wht(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -107772,13 +107809,13 @@ function wht(e, t) {
duration: !!e.stats?.duration
};
}
-async function Tht(e = !1) {
+async function Eht(e = !1) {
if (e && (document.hidden || !Vt(decodeURIComponent(location.pathname)) || v9.stageOpen() || v9.immerseOpen() || Wc || Hc.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") {
- Rpt();
+ zpt();
return;
}
let n = t === "reopen" ? e : "/stats";
@@ -107800,26 +107837,26 @@ async function Tht(e = !1) {
function g9() {
return document.body.classList.contains("censor");
}
-function Eht(e) {
- document.body.classList.toggle("censor", e), Z.settingsStore.notify();
-}
function Dht(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Eht(e), e && wc();
+ document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
function Oht(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Dht(e), e && wc();
+}
+function kht(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function _9(e) {
return ps(e, { drag: !0 });
}
-function kht() {
+function Aht() {
["#nrow", "#count"].forEach((e) => _9(R(e))), document.querySelectorAll(".tier,.srow").forEach(_9);
}
-function Aht() {
+function jht() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function jht() {
+function Mht() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
@@ -107848,14 +107885,14 @@ function jht() {
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
seekSeconds: () => p9(),
- groupCollapse: () => Mmt(),
- feedAutoScroll: () => hpt(),
- feedCompilations: () => mpt(),
+ groupCollapse: () => Nmt(),
+ feedAutoScroll: () => gpt(),
+ feedCompilations: () => hpt(),
miniplayer: () => {
Z.appSettings.miniplayer || P5()?.closeMiniplayer();
},
javImage: () => {
- la(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(oc), Fht();
+ la(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(oc), Iht();
},
searchHistoryLimit: () => mk(R("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -107866,8 +107903,8 @@ function jht() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Io;
}
-function Mht() {
- Z.CENSOR_KEY = "peach-censor", Eht(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function Nht() {
+ Z.CENSOR_KEY = "peach-censor", Dht(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
//#endregion
//#region src/application/media.js
@@ -107882,14 +107919,14 @@ var v9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function Nht() {
+function Pht() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function Pht() {
+function Fht() {
return P5()?.exit() || Promise.resolve();
}
function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
@@ -107903,7 +107940,7 @@ function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailReturnNeedsRestore: !1
}), J7(), e && Q.route(Jc || "/");
}
-function Fht() {
+function Iht() {
P5()?.repaintPoster();
}
function b9(e, t, n, r, i = null, a = {}) {
@@ -107928,19 +107965,19 @@ function b9(e, t, n, r, i = null, a = {}) {
Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), ml({ queueOpens: ol + 1 });
} else return x9(n == null ? null : +n, !1, s, i, r);
}
-function Iht(e, t = e, n = !0, r = null) {
+function Lht(e, t = e, n = !0, r = null) {
return b9("mix", e, t, n, r);
}
-function Lht(e, t = e, n = !0, r = null) {
+function Rht(e, t = e, n = !0, r = null) {
return b9("editions", e, t, n, r);
}
-function Rht(e, t = e, n = !0, r = null) {
+function zht(e, t = e, n = !0, r = null) {
return b9("parts", e, t, n, r);
}
-function zht(e, t = null, n = !0) {
+function Bht(e, t = null, n = !0) {
return b9("playlist", e, t, n);
}
-function Bht() {
+function Vht() {
return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !R("#index").hidden || !R("#stats").hidden;
}
async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
@@ -107950,7 +107987,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
return;
}
wc(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : Yc?.isConnected ? Yc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Xc, c = Bht(), l = Zc || !t && !c, u = Bc.type === "item" ? Vc : a7.cloneBarsContext(c7());
+ let o = r?.isConnected ? r : Yc?.isConnected ? Yc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Xc, c = Vht(), l = Zc || !t && !c, u = Bc.type === "item" ? Vc : a7.cloneBarsContext(c7());
t ? ml({ detailReturnPath: location.pathname + location.search }) : i || ml({ detailReturnPath: tk() || Jc }), t && $O(), P5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
@@ -107989,12 +108026,12 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
selectMode: Wc,
selected: new Set(Hc),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : Nht()
+ resume: t || e == null ? null : Pht()
}), J7();
}
-async function Vht() {
+async function Hht() {
let e = a7.cloneBarsContext(Vc), t = Jc || "/", n = Zc;
- await Pht(), y9(!1, !1, { miniplayer: !1 }), ml({ detailReturnBarsContext: null }), ek(), ml({ barsContext: e || {
+ await Fht(), y9(!1, !1, { miniplayer: !1 }), ml({ detailReturnBarsContext: null }), ek(), ml({ barsContext: e || {
type: "home",
filters: G
} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? ml({ pageOpens: al + 1 }) : (r9(), location.pathname === "/playlists" && ml({ pageOpens: al + 1 })));
@@ -108004,7 +108041,7 @@ async function S9(e, t = !0) {
ml({ detailReturnPath: location.pathname + location.search }), k9("/works/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = Ck.navigation.seq, r = a7.cloneBarsContext(c7()), i = !Bht(), a = tk() || (i ? "/jav?tab=discover" : Jc) || "/jav?tab=discover";
+ let n = Ck.navigation.seq, r = a7.cloneBarsContext(c7()), i = !Vht(), a = tk() || (i ? "/jav?tab=discover" : Jc) || "/jav?tab=discover";
P5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), ml({
detailReturnPath: a,
detailReturnBarsContext: r,
@@ -108016,7 +108053,7 @@ async function S9(e, t = !0) {
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void Vht(),
+ close: () => void Hht(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
Ck.navigation.seq === n && t && t !== e && wk("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -108037,9 +108074,9 @@ async function S9(e, t = !0) {
}), J7());
}
async function C9(e = null, t = !0) {
- t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (P5()?.closeMiniplayer(), await (await ift(v9.immerseHost)).open(e));
+ t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (P5()?.closeMiniplayer(), await (await aft(v9.immerseHost)).open(e));
}
-function Hht() {
+function Uht() {
v9.total = 0, v9.facets = null, v9.stageHost = {
player: {
settings: () => Z.appSettings,
@@ -108055,7 +108092,7 @@ function Hht() {
openItem: (e) => void x9(e)
}, v9.stageOpen = () => !!P5()?.isOpen();
}
-function Uht() {
+function Wht() {
v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
titleHtml: (e) => Ok(e),
@@ -108066,15 +108103,15 @@ function Uht() {
tagCandidates: () => v9.facets && v9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => sK("正在读取推荐", {
+ relatedSkeletonHtml: () => cK("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => qmt(e),
+ mixRelated: (e) => Jmt(e),
wireDrag: (e) => _9(e),
wireDragReorder: (e, t) => Ls(e, t)
}, v9.itemDetailActions = {
- close: () => Vht(),
+ close: () => Hht(),
present: (e) => {
ml({ presentedItem: e });
let t = Vc;
@@ -108089,7 +108126,7 @@ function Uht() {
e.kind === "follow" ? (Q.queueOpenRequest = null, ml({
pendingQueueRoute: null,
followDetailReturnPath: Jc || "/"
- }), Q.route(`/posts/${e.id}`, !t, nk("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : Rpt() : y9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, nk("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : zpt() : y9(!1);
},
openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -108113,12 +108150,12 @@ function Uht() {
behavior: "smooth"
});
},
- addToPlaylist: (e) => Lpt(e),
- saveMix: (e) => Ipt(e),
+ addToPlaylist: (e) => Rpt(e),
+ saveMix: (e) => Lpt(e),
editPlaylist: () => j9("/playlists"),
openPlaylists: () => j9("/playlists"),
- reveal: (e) => Cpt(e),
- sync: (e) => wpt(e),
+ reveal: (e) => wpt(e),
+ sync: (e) => Tpt(e),
trashChanged: async (e, t) => {
G.state === "ads" && (t || e === "trash") && (t || (ek(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
@@ -108150,7 +108187,7 @@ var w9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function Wht() {
+async function Ght() {
rc(), await w9.writePostSetupTutorialDone(!1), await T9();
}
async function T9() {
@@ -108207,7 +108244,7 @@ async function T9() {
}), J5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function Ght() {
+function Kht() {
if (ml({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, il) {
Js("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
@@ -108332,7 +108369,7 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function Kht() {
+function qht() {
let e = H5();
e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(K7(e.dataset.nav))));
}
@@ -108348,7 +108385,7 @@ function E9(e = {}) {
}, H5()?.render(k7.sidebarProps);
}
function D9() {
- E9(), Kht(), q7();
+ E9(), qht(), q7();
}
function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, ml({ pendingQueueRoute: null });
@@ -108365,7 +108402,7 @@ function A9() {
function j9(e) {
Q.route(e), ml({ pageOpens: al + 1 });
}
-function qht() {
+function Jht() {
Q.routeMeta = (e) => {
let t = ak(e);
return t ? { route: t } : null;
@@ -108373,7 +108410,7 @@ function qht() {
let t = ak(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !YO(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? C9(Aht()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(omt({
+ e === "/immerse" ? C9(jht()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(smt({
kind: e.slice(1),
q: "",
scope: "local",
@@ -108382,12 +108419,12 @@ function qht() {
})));
};
}
-function Jht() {
+function Yht() {
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) => (fpt(e) || hk(R("#libraryProcessingNotice")), r7(e) || i7(), hk(R("#stats"), R("#index")), !Vt(e) && e !== "/trash" && s9(), 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) => (ppt(e) || hk(R("#libraryProcessingNotice")), r7(e) || i7(), hk(R("#stats"), R("#index")), !Vt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, wk(e, {
replace: t,
state: n
@@ -108402,15 +108439,15 @@ function Jht() {
}
//#endregion
//#region src/jobs.ts
-function Yht(e, t, n) {
+function Xht(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 Xht(e, t = 0, n = 0) {
- return n > 0 ? Yht(e, t, n) : Po(e);
+function Zht(e, t = 0, n = 0) {
+ return n > 0 ? Xht(e, t, n) : Po(e);
}
-async function Zht(e) {
+async function Qht(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -108425,14 +108462,14 @@ async function Zht(e) {
await t(2e3);
}
}
-function Qht(e) {
+function $ht(e) {
let t = e.note || ((e) => Mo(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Po, r = e.progress || ((e, t, n) => Xht(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 || Po, r = e.progress || ((e, t, n) => Zht(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;
- Zht({
+ Qht({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -108482,7 +108519,7 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function $ht(e) {
+function egt(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
Y5.toast({ text: Kr(e) }, {
warn: !!t,
@@ -108497,7 +108534,7 @@ function $ht(e) {
function M9() {
return Ni(N9());
}
-function egt() {
+function tgt() {
return $.controller.read();
}
function N9() {
@@ -108518,17 +108555,17 @@ function N9() {
function P9(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 tgt() {
+function ngt() {
let e = lk(R("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function F9() {
- return !!tgt();
+ return !!ngt();
}
function I9(e) {
F9() && mk(R("#stats"), e);
}
-function ngt(e, t = {}) {
+function rgt(e, t = {}) {
return $.controller.route(e, t);
}
function L9(e = !1) {
@@ -108549,19 +108586,19 @@ async function R9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : Nht()
+ resume: t ? null : Pht()
}), J7();
}
-async function rgt() {
- await Pht(), y9(!1, !1, { miniplayer: !1 }), ek(), Q.route(tl || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && F9() ? (egt(), I9({ view: N9() })) : ml({ pageOpens: al + 1 }));
+async function igt() {
+ await Fht(), y9(!1, !1, { miniplayer: !1 }), ek(), Q.route(tl || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && F9() ? (tgt(), I9({ view: N9() })) : ml({ pageOpens: al + 1 }));
}
-function igt(e) {
+function agt(e) {
let t = document.createElement("div");
return t.className = "peach-react", Ko(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function agt() {
+function ogt() {
$.followFeedHelpers = jc({
wireDrag: (e) => {
e && _9(e);
@@ -108570,13 +108607,13 @@ function agt() {
e && ps(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: Qht
+ jobProgress: $ht
}), $.followFeedActions = {
- loaded: (e) => vmt(e),
+ loaded: (e) => ymt(e),
openDetail: (e) => R9(e),
openAuthor: (e) => Q.navigatePath(Wt("creator", e)),
openManage: () => Q.navigatePath(C7()),
- toggleSelection: (e, t) => qpt(e, t),
+ toggleSelection: (e, t) => Jpt(e, t),
setImagesOnly: (e) => {
Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();
},
@@ -108586,7 +108623,7 @@ function agt() {
canFlip: () => !Wc && !g9() && !window.__scrolling && !X.reduceMotion(),
toast: (e, { undo: t } = {}) => Y5.actionReceipt(e, { undo: t }),
failure: (e, t) => Y5.actionFailure(e, t),
- checkReport: (e) => $ht(e)
+ checkReport: (e) => egt(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
@@ -108596,16 +108633,16 @@ function agt() {
view: N9,
adoptView: P9,
rememberReturn: (e) => ml({ followDetailReturnPath: e }),
- close: () => void rgt(),
+ close: () => void igt(),
open: (e, t, n) => void R9(e, !0, t, n),
- drawer: vmt,
+ drawer: ymt,
openAuthor: (e) => Q.navigatePath(Wt("creator", e))
}, {
toast: (e, { undo: t } = {}) => Y5.actionReceipt(e, { undo: t }),
failure: Y5.actionFailure
});
}
-function ogt() {
+function sgt() {
$.controller = Ii({
location: () => location,
view: N9,
@@ -108646,7 +108683,7 @@ function ogt() {
//#endregion
//#region src/application/lifecycle.js
var z9 = { overlayScan: void 0 };
-function sgt() {
+function cgt() {
fOe(), As(document), Na(document.documentElement, { variant: "page" }), Na(R("#drawerScroll")), z9.overlayScan = 0, J5.mutation(() => {
z9.overlayScan ||= J5.delay(() => {
z9.overlayScan = 0, Ds();
@@ -108666,7 +108703,7 @@ function sgt() {
}
//#endregion
//#region src/react/search/recommendations.ts
-async function cgt(e) {
+async function lgt(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -108690,9 +108727,9 @@ async function cgt(e) {
let t = yi(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = bi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = _F(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
+ let r = bi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = vF(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
(n === "images" ? c : s).push({
- value: pF(r),
+ value: mF(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -108708,7 +108745,7 @@ async function cgt(e) {
let u = (t[4]?.items || []).map((e) => ({
value: e.k,
href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
- avatarHtml: gF(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: _F(l.sources.filter((t) => t.author_key === e.key), e.k),
subtitle: "关注中的作者"
})), d = /* @__PURE__ */ new Map();
for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {
@@ -108779,7 +108816,7 @@ async function cgt(e) {
}
//#endregion
//#region src/application/search-morph.js
-function lgt(e, t, n, r, i, a, o) {
+function ugt(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);
@@ -108805,7 +108842,7 @@ var B9 = {
function V9() {
B9.searchControl?.close();
}
-function ugt(e) {
+function dgt(e) {
let t = e ? aa({
...e,
is_jav: !!e.code
@@ -108824,7 +108861,7 @@ function U9(e) {
if (t.classList.toggle("open", e), R("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Cs();
t.classList.add("search-morphing");
- let h = t.animate(lgt(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(ugt(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -108833,13 +108870,13 @@ function U9(e) {
B9.searchMorph === h && H9();
});
}
-function dgt() {
+function fgt() {
return v9.immerseOpen() ? L5().activeVideo() : P5()?.activeVideo() || null;
}
-function fgt(e) {
+function pgt(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function pgt() {
+function mgt() {
B9.searchControl = null, B9.searchActions = {
search: (e) => {
X.rememberSearchValue(), y9(!1), G.q = e, hl(), Q.route(G.jav === "1" ? X7() : G.q ? "/?q=" + encodeURIComponent(G.q) : "/", !0);
@@ -108851,9 +108888,9 @@ function pgt() {
$.followMediaView = t, R9(e, !0, n);
}
}, B9.searchHelpers = {
- pool: () => Vmt(G, It),
- recommendations: () => cgt(It),
- 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 ? apt(e) : ugt(e)}</span>`,
+ pool: () => Hmt(G, It),
+ recommendations: () => lgt(It),
+ 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 ? opt(e) : dgt(e)}</span>`,
present: (e) => to(e),
dismiss: (e) => no(e),
wireScroller: (e) => ps(e),
@@ -108887,7 +108924,7 @@ function pgt() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function mgt() {
+function hgt() {
B9.searchMorph = null, B9.searchMorphViewport = innerWidth, J5.listen.bind(J5, window)("resize", () => {
innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
}, { passive: !0 }), J5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), J5.handler(R("#searchBtn"), "onclick", () => {
@@ -108902,7 +108939,7 @@ function mgt() {
e.preventDefault(), Z7(null, !0);
}), J5.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = oft();
+ let t = sft();
if (t?.isOpen()) {
t.close();
return;
@@ -108929,7 +108966,7 @@ function mgt() {
}
return;
}
- if (fgt(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (pgt(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) {
@@ -108937,7 +108974,7 @@ function mgt() {
return;
}
}
- let t = dgt();
+ let t = fgt();
if (t) {
if (e.key === "t" || e.key === "T") {
e.preventDefault(), P5()?.toggleTheater();
@@ -108972,17 +109009,17 @@ var W9 = {
shellActions: void 0,
routing: void 0
};
-function hgt() {
+function ggt() {
let e = J5;
- spt(), T7.entityShapesReady = n7(), pmt(), wmt(), W9.shellActions = {
+ cpt(), T7.entityShapesReady = n7(), mmt(), Tmt(), W9.shellActions = {
openSettings: (e) => F7(e, !0),
- closeSettings: () => oft()?.close(!1),
+ closeSettings: () => sft()?.close(!1),
openItem: (e) => void x9(e),
openEntity: (e, t) => void m7(e, t),
openTag: (e) => {
- _mt(), i9(e);
+ vmt(), i9(e);
},
- openTasteSignal: Ppt,
+ openTasteSignal: Fpt,
navigate: (e) => {
let t = /^\/works\/([A-Za-z0-9_-]{2,64})$/.exec(e), n = /^\/assets\/(\d+)$/.exec(e);
t ? S9(t[1]) : n ? x9(+n[1]) : Q.navigatePath(e);
@@ -108993,28 +109030,28 @@ function hgt() {
receipt: (e, t) => Y5.actionReceipt(e, t),
toast: (e, t) => Y5.toast(e, t),
failure: Y5.actionFailure,
- revealSource: Cpt,
- reopenTutorial: Wht,
+ revealSource: wpt,
+ reopenTutorial: Ght,
requestConfigurationSection: (e) => {
ml({ configurationRequestedSection: e });
},
- routeReview: zpt,
- routeFollowManage: imt,
+ routeReview: Bpt,
+ routeFollowManage: amt,
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(omt(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(smt(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
exitSelectMode: () => y7(!1, !1),
personAvatar: (e, t, n) => S7.personAvatar(e, t, n),
- authorAvatar: (e) => amt(e),
- showIndexTags: smt,
- openFollowAuthor: cmt,
- openFollowTag: lmt,
- openPlaylist: (e, t) => void zht(e, t, !0),
+ authorAvatar: (e) => omt(e),
+ showIndexTags: cmt,
+ openFollowAuthor: lmt,
+ openFollowTag: umt,
+ openPlaylist: (e, t) => void Bht(e, t, !0),
canFlip: () => !Wc && !g9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (wc(), ml({ barsContext: {
@@ -109048,7 +109085,7 @@ function hgt() {
},
entity: {
missing: (e) => {
- W9.shellActions.surfaceChanged("entity", location.pathname), Apt(e);
+ W9.shellActions.surfaceChanged("entity", location.pathname), jpt(e);
},
loading: (e, t, n) => a7.application.loading(e, t, n),
props: (e, t, n) => a7.application.addressProps(e, t, n),
@@ -109061,7 +109098,7 @@ function hgt() {
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => Wmt("local,115"),
+ defaultLoc: () => Gmt("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
n && (A9(), q7(), z7()), t && Q5(), e === "/trash" ? (X.clearSearchField(), M7()) : (R("#q").value = G.q, X.rememberSearchValue()), D9(), r9(), Z.handOff(o9());
},
@@ -109071,7 +109108,7 @@ function hgt() {
fill: () => {
if (l9() || !Tk() && !R("#grid").querySelector(".catalog-skeleton")) return;
let e = R("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), fht(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), pht(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
s9(), i7(), hk(R("#libraryProcessingNotice"));
@@ -109079,12 +109116,12 @@ function hgt() {
}
}, W9.routing = !1, J5.own(Ck.listen((e) => {
Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !YO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
- })), nft(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Dmt(), Qpt(), L7(), Promise.all([
+ })), rft(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Omt(), $pt(), L7(), Promise.all([
m9(),
- Tmt(),
+ Emt(),
T7.entityShapesReady
]).then(() => e.isActive && T7.wantsDiscoveryBars() ? r9() : null).then(() => {
- e.isActive && (D9(), kht(), W9.routing = !0, ml({ pageOpens: 1 }), A9(), J7());
+ e.isActive && (D9(), Aht(), W9.routing = !0, ml({ pageOpens: 1 }), A9(), J7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
@@ -109092,7 +109129,7 @@ function hgt() {
//#endregion
//#region src/theme-transition.ts
var G9 = !1;
-async function ggt(e, t) {
+async function _gt(e, t) {
if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -109115,7 +109152,7 @@ async function ggt(e, t) {
}
//#endregion
//#region src/application/chrome.js
-function _gt() {
+function vgt() {
(() => {
let e = J5, t = [
"#brandHome",
@@ -109190,7 +109227,7 @@ function _gt() {
o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), 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">${a(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), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- d.setOpen(!1), P7(!1), Bpt("媒体库与入库");
+ d.setOpen(!1), P7(!1), Vpt("媒体库与入库");
});
let s = l.querySelector(".board-library-rows");
e.listen(s, "pointerover", (e) => {
@@ -109207,14 +109244,14 @@ function _gt() {
h.before(g), e.own(() => g.remove());
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.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>`, _.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>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && ggt(t, () => {
+ t.getAttribute("aria-pressed") !== "true" && _gt(t, () => {
Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), wE();
});
})), wE();
let v = document.createElement("div");
v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());
let y = _.querySelector("#boardGlowBtn"), b = ao(_, y, v);
- e.own(b.dispose), e.own(bue(y)), fft({
+ e.own(b.dispose), e.own(bue(y)), pft({
root: v,
store: Z.settingsStore,
openDetails: () => {
@@ -109323,31 +109360,31 @@ function _gt() {
}
//#endregion
//#region src/application/initialize.js
-function vgt() {
- sgt(), qht(), mmt(), Jht(), jht(), gft(), bht(), Ght(), jpt(), Hht(), $pt(), xht(), _pt(), Vpt(), agt(), umt(), Mpt(), ogt(), dmt(), Npt(), Imt(), Sht(), pgt(), Uht(), mgt(), Mht(), hgt(), _gt(), J5.own(s9), J5.own(O9);
+function ygt() {
+ cgt(), Jht(), hmt(), Yht(), Mht(), _ft(), xht(), Kht(), Mpt(), Uht(), emt(), Sht(), vpt(), Hpt(), ogt(), dmt(), Npt(), sgt(), fmt(), Ppt(), Lmt(), Cht(), mgt(), Wht(), hgt(), Nht(), ggt(), vgt(), J5.own(s9), J5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var ygt = "…", bgt = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), xgt = (e) => bgt ? [...bgt.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Sgt(e, t) {
- let n = xgt(e);
+var bgt = "…", xgt = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Sgt = (e) => xgt ? [...xgt.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function Cgt(e, t) {
+ let n = Sgt(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = ygt;
+ let r = 0, i = Math.max(0, n.length - 1), a = bgt;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + ygt + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + bgt + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var Cgt = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (Cgt.canvas ||= document.createElement("canvas")).getContext("2d");
+var wgt = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (wgt.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, xgt(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, Sgt(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), wgt = (e) => {
+}, { canvas: null }), Tgt = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -109357,40 +109394,40 @@ var Cgt = 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);
-}, Tgt = (e) => {
+}, Egt = (e) => {
let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = wgt(e), r = n > 0 ? Sgt(t.full, (t) => Cgt(e, t) <= n) : t.full;
+ let n = Tgt(e), r = n > 0 ? Cgt(t.full, (t) => wgt(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");
}, Z9 = (e) => {
let t = K9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, Tgt(e);
+ t.raf = 0, Egt(e);
}));
-}, Egt = (e) => {
+}, Dgt = (e) => {
e instanceof HTMLElement && (K9.has(e) || K9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
}), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));
-}, Dgt = (e) => {
+}, Ogt = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && Egt(t), t.querySelectorAll("[data-middle-truncate]").forEach(Egt);
+ t.matches("[data-middle-truncate]") && Dgt(t), t.querySelectorAll("[data-middle-truncate]").forEach(Dgt);
};
-function Ogt(e = document) {
+function kgt(e = document) {
Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
let t = X9, n = !0;
J9 = new ResizeObserver((e) => e.forEach((e) => {
n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
let r = J9;
- Dgt(e.documentElement || e);
+ Ogt(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(Dgt);
+ e.addedNodes.forEach(Ogt);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
let r = K9.get(t);
@@ -109425,51 +109462,51 @@ function Ogt(e = document) {
//#endregion
//#region src/react/application.tsx
var Q9 = null;
-function kgt(e) {
+function Agt(e) {
Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
}
-function Agt() {
+function jgt() {
if (!Q9) {
- let e = hft();
+ let e = gft();
Q9 = {
effects: e,
owners: 0
- }, e.own(Ogt(document)), e.own(() => {
+ }, e.own(kgt(document)), e.own(() => {
wc(), W.cancelQueries();
- }), e.own(rft), e.own(Ihe), e.own($a);
+ }), e.own(ift), e.own(Ihe), e.own($a);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function jgt() {
+function Mgt() {
let [e, t] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
- let e = Q9 === null, n = Agt(), r = tft(t);
+ let e = Q9 === null, n = jgt(), r = nft(t);
if (e) try {
- vgt();
+ ygt();
} catch (e) {
throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => kgt(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Agt(n)));
};
}, []), /* @__PURE__ */ (0, C.jsx)(sxe, { actions: e });
}
var $9 = /* @__PURE__ */ new WeakMap();
-function Mgt(e) {
+function Ngt(e) {
let t = $9.get(e);
if (t) return t;
let n = (0, _t.createRoot)(e, cxe);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- $9.get(e) === n && ($9.delete(e), r(), Q9 && kgt(Q9));
- }, (0, gt.flushSync)(() => n.render(/* @__PURE__ */ (0, C.jsx)(jgt, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && Agt(Q9));
+ }, (0, gt.flushSync)(() => n.render(/* @__PURE__ */ (0, C.jsx)(Mgt, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
d();
-var Ngt = document.getElementById("appRoot");
-if (!Ngt) throw Error("主界面宿主缺失");
-Mgt(Ngt);
+var Pgt = document.getElementById("appRoot");
+if (!Pgt) throw Error("主界面宿主缺失");
+Ngt(Pgt);
//#endregion
-export { wE as applyTheme, Ck as peachHistory, Vo as popCount, pft as showToast };
+export { wE as applyTheme, Ck as peachHistory, Vo as popCount, mft as showToast };
diff --git a/web/dist/peach-pages.css b/web/dist/peach-pages.css
index 7723e79f6..53b0f2114 100644
--- a/web/dist/peach-pages.css
+++ b/web/dist/peach-pages.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)))){*,: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-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-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-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-duration:initial;--tw-ease:initial}}}@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-500:oklch(72.3% .219 149.579);--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;--font-weight-semibold:600;--tracking-normal:0em;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--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;--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-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-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-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{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.-inset-y-px{inset-block:-1px}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.container{width:100%}@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}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.ms-auto{margin-inline-start:auto}.mr-auto{margin-right:auto}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-auto{margin-left:auto}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.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-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.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-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.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-full{width:100%;height:100%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-full{height:100%}.h-max{height:max-content}.max-h-\[240px\]{max-height:240px}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-2{width:calc(var(--spacing) * 2)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.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-140{max-width:calc(var(--spacing) * 140)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-40{min-width:calc(var(--spacing) * 40)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.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)}.-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}}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.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-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[5px\]{gap:5px}.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-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.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-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.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-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.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-separator-border{border-color:var(--color-separator-border)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background-primary-default{background-color:var(--color-background-primary-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-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-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.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-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.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))}.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))}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.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-8{padding:calc(var(--spacing) * 8)}.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-3{padding-inline:calc(var(--spacing) * 3)}.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-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-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.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)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.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-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-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-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-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.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-accent-600{color:var(--color-accent-600)}.text-blue-900{color:var(--color-blue-900)}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.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-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.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)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.opacity-50{opacity:.5}.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-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-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{--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)}.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-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)}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-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-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}.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)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.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}}.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\: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-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)}.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-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.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\: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-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-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-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.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-\[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>=40rem){.max-sm\:p-5{padding:calc(var(--spacing) * 5)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-6{padding-block:calc(var(--spacing) * 6)}}@container (width>=32rem){.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.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)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}@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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}body.peach-react{background-color:var(--color-background-full);min-height:100dvh}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}@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-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-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-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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,: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-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-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-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-duration:initial;--tw-ease:initial}}}@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-500:oklch(72.3% .219 149.579);--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;--font-weight-semibold:600;--tracking-normal:0em;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--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;--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-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-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-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{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.-inset-y-px{inset-block:-1px}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.container{width:100%}@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}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.ms-auto{margin-inline-start:auto}.mr-auto{margin-right:auto}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-auto{margin-left:auto}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.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-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.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-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.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-full{width:100%;height:100%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-full{height:100%}.h-max{height:max-content}.max-h-\[240px\]{max-height:240px}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-2{width:calc(var(--spacing) * 2)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.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-140{max-width:calc(var(--spacing) * 140)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-40{min-width:calc(var(--spacing) * 40)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.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)}.-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}}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.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-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[5px\]{gap:5px}.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-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.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-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.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-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.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-separator-border{border-color:var(--color-separator-border)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background-primary-default{background-color:var(--color-background-primary-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-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-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.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-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.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))}.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))}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.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-8{padding:calc(var(--spacing) * 8)}.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-3{padding-inline:calc(var(--spacing) * 3)}.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-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-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.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)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.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-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-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-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-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.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-accent-600{color:var(--color-accent-600)}.text-blue-900{color:var(--color-blue-900)}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.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-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.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)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.opacity-50{opacity:.5}.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-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-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{--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)}.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-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)}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-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-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}.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)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.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}}.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\: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-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)}.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-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.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\: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-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-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-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.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-\[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>=40rem){.max-sm\:p-5{padding:calc(var(--spacing) * 5)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-6{padding-block:calc(var(--spacing) * 6)}}@container (width>=32rem){.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.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)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}@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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}body.peach-react{background-color:var(--color-background-full);min-height:100dvh}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}@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-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-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-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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-pages.js b/web/dist/peach-pages.js
index 7c51ed697..9579eda5c 100644
--- a/web/dist/peach-pages.js
+++ b/web/dist/peach-pages.js
@@ -86,18 +86,18 @@ var d = /* @__PURE__ */ o(((e) => {
}
function x(e) {
if (h = !1, b(e), !m) {
- if (n(c) !== null) m = !0, S || (S = !0, D());
+ if (n(c) !== null) m = !0, S || (S = !0, O());
else {
var t = n(l);
- t !== null && A(x, t.startTime - e);
+ t !== null && j(x, t.startTime - e);
}
}
}
var S = !1, C = -1, w = 5, T = -1;
- function ee() {
+ function E() {
return g ? !0 : !(e.unstable_now() - T < w);
}
- function E() {
+ function D() {
if (g = !1, S) {
var t = e.unstable_now();
T = t;
@@ -108,7 +108,7 @@ var d = /* @__PURE__ */ o(((e) => {
var a = f;
try {
b: {
- for (b(t), d = n(c); d !== null && !(d.expirationTime > t && ee());) {
+ for (b(t), d = n(c); d !== null && !(d.expirationTime > t && E());) {
var o = d.callback;
if (typeof o == "function") {
d.callback = null, f = d.priorityLevel;
@@ -124,7 +124,7 @@ var d = /* @__PURE__ */ o(((e) => {
if (d !== null) i = !0;
else {
var u = n(l);
- u !== null && A(x, u.startTime - t), i = !1;
+ u !== null && j(x, u.startTime - t), i = !1;
}
}
break a;
@@ -134,23 +134,23 @@ var d = /* @__PURE__ */ o(((e) => {
i = void 0;
}
} finally {
- i ? D() : S = !1;
+ i ? O() : S = !1;
}
}
}
- var D;
- if (typeof y == "function") D = function() {
- y(E);
+ var O;
+ if (typeof y == "function") O = function() {
+ y(D);
};
else if (typeof MessageChannel < "u") {
- var O = new MessageChannel(), k = O.port2;
- O.port1.onmessage = E, D = function() {
- k.postMessage(null);
+ var k = new MessageChannel(), A = k.port2;
+ k.port1.onmessage = D, O = function() {
+ A.postMessage(null);
};
- } else D = function() {
- _(E, 0);
+ } else O = function() {
+ _(D, 0);
};
- function A(t, n) {
+ function j(t, n) {
C = _(function() {
t(e.unstable_now());
}, n);
@@ -219,8 +219,8 @@ var d = /* @__PURE__ */ o(((e) => {
startTime: a,
expirationTime: s,
sortIndex: -1
- }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(C), C = -1) : h = !0, A(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, D()))), r;
- }, e.unstable_shouldYield = ee, e.unstable_wrapCallback = function(e) {
+ }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(C), C = -1) : h = !0, j(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, O()))), r;
+ }, e.unstable_shouldYield = E, e.unstable_wrapCallback = function(e) {
var t = f;
return function() {
var n = f;
@@ -270,8 +270,8 @@ var d = /* @__PURE__ */ o(((e) => {
A: null,
T: null,
S: null
- }, ee = Object.prototype.hasOwnProperty;
- function E(e, n, r) {
+ }, E = Object.prototype.hasOwnProperty;
+ function D(e, n, r) {
var i = r.ref;
return {
$$typeof: t,
@@ -281,13 +281,13 @@ var d = /* @__PURE__ */ o(((e) => {
props: r
};
}
- function D(e, t) {
- return E(e.type, t, e.props);
+ function O(e, t) {
+ return D(e.type, t, e.props);
}
- function O(e) {
+ function k(e) {
return typeof e == "object" && !!e && e.$$typeof === t;
}
- function k(e) {
+ function A(e) {
var t = {
"=": "=0",
":": "=2"
@@ -296,11 +296,11 @@ var d = /* @__PURE__ */ o(((e) => {
return t[e];
});
}
- var A = /\/+/g;
- function j(e, t) {
- return typeof e == "object" && e && e.key != null ? k("" + e.key) : t.toString(36);
+ var j = /\/+/g;
+ function M(e, t) {
+ return typeof e == "object" && e && e.key != null ? A("" + e.key) : t.toString(36);
}
- function te(e) {
+ function ee(e) {
switch (e.status) {
case "fulfilled": return e.value;
case "rejected": throw e.reason;
@@ -315,7 +315,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
throw e;
}
- function ne(e, r, i, a, o) {
+ function te(e, r, i, a, o) {
var s = typeof e;
(s === "undefined" || s === "boolean") && (e = null);
var c = !1;
@@ -331,30 +331,30 @@ var d = /* @__PURE__ */ o(((e) => {
case n:
c = !0;
break;
- case d: return c = e._init, ne(c(e._payload), r, i, a, o);
+ case d: return c = e._init, te(c(e._payload), r, i, a, o);
}
}
- if (c) return o = o(e), c = a === "" ? "." + j(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(A, "$&/") + "/"), ne(o, r, i, "", function(e) {
+ if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), te(o, r, i, "", function(e) {
return e;
- })) : o != null && (O(o) && (o = D(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(A, "$&/") + "/") + c)), r.push(o)), 1;
+ })) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(j, "$&/") + "/") + c)), r.push(o)), 1;
c = 0;
var l = a === "" ? "." : a + ":";
- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + j(a, u), c += ne(a, r, i, s, o);
- else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + j(a, u++), c += ne(a, r, i, s, o);
+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += te(a, r, i, s, o);
+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += te(a, r, i, s, o);
else if (s === "object") {
- if (typeof e.then == "function") return ne(te(e), r, i, a, o);
+ if (typeof e.then == "function") return te(ee(e), r, i, a, o);
throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
}
return c;
}
- function re(e, t, n) {
+ function ne(e, t, n) {
if (e == null) return e;
var r = [], i = 0;
- return ne(e, r, "", "", function(e) {
+ return te(e, r, "", "", function(e) {
return t.call(n, e, i++);
}), r;
}
- function M(e) {
+ function N(e) {
if (e._status === -1) {
var t = e._result, n = t();
n.then(function(t) {
@@ -366,7 +366,7 @@ var d = /* @__PURE__ */ o(((e) => {
if (e._status === 1) return e._result.default;
throw e._result;
}
- var ie = typeof reportError == "function" ? reportError : function(e) {
+ var re = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -381,54 +381,54 @@ var d = /* @__PURE__ */ o(((e) => {
}
console.error(e);
};
- function ae(e) {
+ function ie(e) {
var t = T.T, n = {};
n.types = t === null ? null : t.types, T.T = n;
try {
var r = e(), i = T.S;
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, ie);
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, re);
} catch (e) {
- ie(e);
+ re(e);
} finally {
t !== null && n.types !== null && (t.types = n.types), T.T = t;
}
}
- function oe(e) {
+ function ae(e) {
var t = T.T;
if (t !== null) {
var n = t.types;
n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
- } else ae(oe.bind(null, e));
+ } else ie(ae.bind(null, e));
}
- var se = {
- map: re,
+ var oe = {
+ map: ne,
forEach: function(e, t, n) {
- re(e, function() {
+ ne(e, function() {
t.apply(this, arguments);
}, n);
},
count: function(e) {
var t = 0;
- return re(e, function() {
+ return ne(e, function() {
t++;
}), t;
},
toArray: function(e) {
- return re(e, function(e) {
+ return ne(e, function(e) {
return e;
}) || [];
},
only: function(e) {
- if (!O(e)) throw Error("React.Children.only expected to receive a single React element child.");
+ if (!k(e)) throw Error("React.Children.only expected to receive a single React element child.");
return e;
}
};
- e.Activity = f, e.Children = se, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
+ e.Activity = f, e.Children = oe, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
__proto__: null,
c: function(e) {
return T.H.useMemoCache(e);
}
- }, e.addTransitionType = oe, e.cache = function(e) {
+ }, e.addTransitionType = ae, e.cache = function(e) {
return function() {
return e.apply(null, arguments);
};
@@ -437,14 +437,14 @@ var d = /* @__PURE__ */ o(((e) => {
}, e.cloneElement = function(e, t, n) {
if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
var r = _({}, e.props), i = e.key;
- if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !ee.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
+ if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !E.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
var a = arguments.length - 2;
if (a === 1) r.children = n;
else if (1 < a) {
for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
r.children = o;
}
- return E(e.type, i, r);
+ return D(e.type, i, r);
}, e.createContext = function(e) {
return e = {
$$typeof: s,
@@ -459,7 +459,7 @@ var d = /* @__PURE__ */ o(((e) => {
}, e;
}, e.createElement = function(e, t, n) {
var r, i = {}, a = null;
- if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) ee.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
+ if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) E.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
var o = arguments.length - 2;
if (o === 1) i.children = n;
else if (1 < o) {
@@ -467,7 +467,7 @@ var d = /* @__PURE__ */ o(((e) => {
i.children = s;
}
if (e && e.defaultProps) for (r in o = e.defaultProps, o) i[r] === void 0 && (i[r] = o[r]);
- return E(e, a, i);
+ return D(e, a, i);
}, e.createRef = function() {
return { current: null };
}, e.forwardRef = function(e) {
@@ -475,14 +475,14 @@ var d = /* @__PURE__ */ o(((e) => {
$$typeof: c,
render: e
};
- }, e.isValidElement = O, e.lazy = function(e) {
+ }, e.isValidElement = k, e.lazy = function(e) {
return {
$$typeof: d,
_payload: {
_status: -1,
_result: e
},
- _init: M
+ _init: N
};
}, e.memo = function(e, t) {
return {
@@ -490,7 +490,7 @@ var d = /* @__PURE__ */ o(((e) => {
type: e,
compare: t === void 0 ? null : t
};
- }, e.startTransition = ae, e.unstable_useCacheRefresh = function() {
+ }, e.startTransition = ie, e.unstable_useCacheRefresh = function() {
return T.H.useCacheRefresh();
}, e.use = function(e) {
return T.H.use(e);
@@ -827,7 +827,7 @@ var d = /* @__PURE__ */ o(((e) => {
while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);
return e || null;
}
- function ee(e, t, n) {
+ function E(e, t, n) {
for (var r = 0, i = e; i; i = n(i)) r++;
i = 0;
for (var a = t; a; a = n(a)) i++;
@@ -839,41 +839,41 @@ var d = /* @__PURE__ */ o(((e) => {
}
return null;
}
- var E = Object.assign, D = Symbol.for("react.element"), O = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), te = Symbol.for("react.profiler"), ne = Symbol.for("react.consumer"), re = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), ie = Symbol.for("react.suspense"), ae = Symbol.for("react.suspense_list"), oe = Symbol.for("react.memo"), se = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), le = Symbol.for("react.legacy_hidden"), ue = Symbol.for("react.memo_cache_sentinel"), de = Symbol.for("react.view_transition"), fe = Symbol.for("react.recoverable"), pe = Symbol.iterator;
- function me(e) {
- return typeof e != "object" || !e ? null : (e = pe && e[pe] || e["@@iterator"], typeof e == "function" ? e : null);
+ var D = Object.assign, O = Symbol.for("react.element"), k = Symbol.for("react.transitional.element"), A = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), te = Symbol.for("react.consumer"), ne = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), ie = Symbol.for("react.suspense_list"), ae = Symbol.for("react.memo"), oe = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), ce = Symbol.for("react.legacy_hidden"), le = Symbol.for("react.memo_cache_sentinel"), ue = Symbol.for("react.view_transition"), de = Symbol.for("react.recoverable"), fe = Symbol.iterator;
+ function pe(e) {
+ return typeof e != "object" || !e ? null : (e = fe && e[fe] || e["@@iterator"], typeof e == "function" ? e : null);
}
- var he = Symbol.for("react.client.reference");
- function ge(e) {
+ var me = Symbol.for("react.client.reference");
+ function he(e) {
if (e == null) return null;
- if (typeof e == "function") return e.$$typeof === he ? null : e.displayName || e.name || null;
+ if (typeof e == "function") return e.$$typeof === me ? null : e.displayName || e.name || null;
if (typeof e == "string") return e;
switch (e) {
- case A: return "Fragment";
- case te: return "Profiler";
- case j: return "StrictMode";
- case ie: return "Suspense";
- case ae: return "SuspenseList";
- case ce: return "Activity";
- case de: return "ViewTransition";
+ case j: return "Fragment";
+ case ee: return "Profiler";
+ case M: return "StrictMode";
+ case re: return "Suspense";
+ case ie: return "SuspenseList";
+ case se: return "Activity";
+ case ue: return "ViewTransition";
}
if (typeof e == "object") switch (e.$$typeof) {
- case k: return "Portal";
- case re: return e.displayName || "Context";
- case ne: return (e._context.displayName || "Context") + ".Consumer";
- case M:
+ case A: return "Portal";
+ case ne: return e.displayName || "Context";
+ case te: return (e._context.displayName || "Context") + ".Consumer";
+ case N:
var t = e.render;
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
- case oe: return t = e.displayName || null, t === null ? ge(e.type) || "Memo" : t;
- case se:
+ case ae: return t = e.displayName || null, t === null ? he(e.type) || "Memo" : t;
+ case oe:
t = e._payload, e = e._init;
try {
- return ge(e(t));
+ return he(e(t));
} catch {}
}
return null;
}
- var _e = Array.isArray, N = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ve = {
+ var ge = Array.isArray, P = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, _e = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ve = {
pending: !1,
data: null,
method: null,
@@ -1226,15 +1226,15 @@ var d = /* @__PURE__ */ o(((e) => {
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
}
function bt() {
- var e = P.p;
+ var e = _e.p;
return e === 0 ? (e = window.event, e === void 0 ? 32 : Ch(e.type)) : e;
}
function xt(e, t) {
- var n = P.p;
+ var n = _e.p;
try {
- return P.p = e, t();
+ return _e.p = e, t();
} finally {
- P.p = n;
+ _e.p = n;
}
}
var R = Math.random().toString(36).slice(2), St = "__reactFiber$" + R, Ct = "__reactProps$" + R, wt = "__reactContainer$" + R, Tt = "__reactEvents$" + R, Et = "__reactListeners$" + R, Dt = "__reactHandles$" + R, Ot = "__reactResources$" + R, kt = "__reactMarker$" + R, At = "__reactLoad$" + R;
@@ -1444,7 +1444,7 @@ var d = /* @__PURE__ */ o(((e) => {
if (t == null) {
if (r != null) {
if (n != null) throw Error(i(92));
- if (_e(r)) {
+ if (ge(r)) {
if (1 < r.length) throw Error(i(93));
r = r[0];
}
@@ -1675,7 +1675,7 @@ var d = /* @__PURE__ */ o(((e) => {
for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);
return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? kn : An, this.isPropagationStopped = An, this;
}
- return E(t.prototype, {
+ return D(t.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var e = this.nativeEvent;
@@ -1698,10 +1698,10 @@ var d = /* @__PURE__ */ o(((e) => {
},
defaultPrevented: 0,
isTrusted: 0
- }, Nn = jn(Mn), Pn = E({}, Mn, {
+ }, Nn = jn(Mn), Pn = D({}, Mn, {
view: 0,
detail: 0
- }), Fn = jn(Pn), In, Ln, Rn, zn = E({}, Pn, {
+ }), Fn = jn(Pn), In, Ln, Rn, zn = D({}, Pn, {
screenX: 0,
screenY: 0,
clientX: 0,
@@ -1724,13 +1724,13 @@ var d = /* @__PURE__ */ o(((e) => {
movementY: function(e) {
return "movementY" in e ? e.movementY : Ln;
}
- }), Bn = jn(zn), Vn = jn(E({}, zn, { dataTransfer: 0 })), Hn = jn(E({}, Pn, { relatedTarget: 0 })), Un = jn(E({}, Mn, {
+ }), Bn = jn(zn), Vn = jn(D({}, zn, { dataTransfer: 0 })), Hn = jn(D({}, Pn, { relatedTarget: 0 })), Un = jn(D({}, Mn, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), Wn = jn(E({}, Mn, { clipboardData: function(e) {
+ })), Wn = jn(D({}, Mn, { clipboardData: function(e) {
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
- } })), Gn = jn(E({}, Mn, { data: 0 })), Kn = {
+ } })), Gn = jn(D({}, Mn, { data: 0 })), Kn = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
@@ -1793,7 +1793,7 @@ var d = /* @__PURE__ */ o(((e) => {
function Xn() {
return Yn;
}
- var Zn = jn(E({}, Pn, {
+ var Zn = jn(D({}, Pn, {
key: function(e) {
if (e.key) {
var t = Kn[e.key] || e.key;
@@ -1819,7 +1819,7 @@ var d = /* @__PURE__ */ o(((e) => {
which: function(e) {
return e.type === "keypress" ? On(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
}
- })), Qn = jn(E({}, zn, {
+ })), Qn = jn(D({}, zn, {
pointerId: 0,
width: 0,
height: 0,
@@ -1830,7 +1830,7 @@ var d = /* @__PURE__ */ o(((e) => {
twist: 0,
pointerType: 0,
isPrimary: 0
- })), $n = jn(E({}, Mn, { submitter: 0 })), er = jn(E({}, Pn, {
+ })), $n = jn(D({}, Mn, { submitter: 0 })), er = jn(D({}, Pn, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
@@ -1839,11 +1839,11 @@ var d = /* @__PURE__ */ o(((e) => {
ctrlKey: 0,
shiftKey: 0,
getModifierState: Xn
- })), tr = jn(E({}, Mn, {
+ })), tr = jn(D({}, Mn, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), nr = jn(E({}, zn, {
+ })), nr = jn(D({}, zn, {
deltaX: function(e) {
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
},
@@ -1852,7 +1852,7 @@ var d = /* @__PURE__ */ o(((e) => {
},
deltaZ: 0,
deltaMode: 0
- })), rr = jn(E({}, Mn, {
+ })), rr = jn(D({}, Mn, {
newState: 0,
oldState: 0,
source: 0
@@ -2190,16 +2190,16 @@ var d = /* @__PURE__ */ o(((e) => {
if (r = e, typeof r == "function") Ei(r) && (s = 1);
else if (typeof r == "string") s = qm(e, n, we.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
- case ce: return e = Ti(31, n, t, a), e.elementType = ce, e.lanes = o, e;
- case A: return Ai(n.children, a, o, t);
- case j:
+ case se: return e = Ti(31, n, t, a), e.elementType = se, e.lanes = o, e;
+ case j: return Ai(n.children, a, o, t);
+ case M:
s = 8, a |= 24;
break;
- case te: return e = Ti(12, n, t, a | 2), e.elementType = te, e.lanes = o, e;
- case ie: return e = Ti(13, n, t, a), e.elementType = ie, e.lanes = o, e;
- case ae: return e = Ti(19, n, t, a), e.elementType = ae, e.lanes = o, e;
- case le:
- case de: return e = a | 32, e = Ti(30, n, t, e), e.elementType = de, e.lanes = o, e.stateNode = {
+ case ee: return e = Ti(12, n, t, a | 2), e.elementType = ee, e.lanes = o, e;
+ case re: return e = Ti(13, n, t, a), e.elementType = re, e.lanes = o, e;
+ case ie: return e = Ti(19, n, t, a), e.elementType = ie, e.lanes = o, e;
+ case ce:
+ case ue: return e = a | 32, e = Ti(30, n, t, e), e.elementType = ue, e.lanes = o, e.stateNode = {
autoName: null,
paired: null,
clones: null,
@@ -2207,19 +2207,19 @@ var d = /* @__PURE__ */ o(((e) => {
}, e;
default:
if (typeof r == "object" && r) switch (r.$$typeof) {
- case re:
+ case ne:
s = 10;
break a;
- case ne:
+ case te:
s = 9;
break a;
- case M:
+ case N:
s = 11;
break a;
- case oe:
+ case ae:
s = 14;
break a;
- case se:
+ case oe:
s = 16, r = null;
break a;
}
@@ -2478,7 +2478,7 @@ var d = /* @__PURE__ */ o(((e) => {
});
};
}, Sa = t.unstable_scheduleCallback, Ca = t.unstable_NormalPriority, wa = {
- $$typeof: re,
+ $$typeof: ne,
Consumer: null,
Provider: null,
_currentValue: null,
@@ -2549,8 +2549,8 @@ var d = /* @__PURE__ */ o(((e) => {
for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);
}), r;
}
- var La = N.S;
- N.S = function(e, t) {
+ var La = P.S;
+ P.S = function(e, t) {
if (pd = He(), typeof t == "object" && t && typeof t.then == "function" && Pa(e, t), Oa !== null) for (var n = yf; n !== null;) Da(n, Oa), n = n.next;
if (n = e.types, n !== null) {
for (var r = yf; r !== null;) Da(r, n), r = r.next;
@@ -2636,7 +2636,7 @@ var d = /* @__PURE__ */ o(((e) => {
t = t.props.ref, e.ref = t === void 0 ? null : t;
}
function no(e, t) {
- throw t.$$typeof === D ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
+ throw t.$$typeof === O ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
}
function ro(e) {
function t(t, n) {
@@ -2668,7 +2668,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
function l(e, t, n, r) {
var i = n.type;
- return i === A ? (e = d(e, t, n.props.children, r, n.key), to(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === se && Ja(i) === t.type) ? (t = a(t, n.props), to(t, n), t.return = e, t) : (t = ki(n.type, n.key, n.props, null, e.mode, r), to(t, n), t.return = e, t);
+ return i === j ? (e = d(e, t, n.props.children, r, n.key), to(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === oe && Ja(i) === t.type) ? (t = a(t, n.props), to(t, n), t.return = e, t) : (t = ki(n.type, n.key, n.props, null, e.mode, r), to(t, n), t.return = e, t);
}
function u(e, t, n, r) {
return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ni(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
@@ -2680,13 +2680,13 @@ var d = /* @__PURE__ */ o(((e) => {
if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = ji("" + t, e.mode, n), t.return = e, t;
if (typeof t == "object" && t) {
switch (t.$$typeof) {
- case O: return n = ki(t.type, t.key, t.props, null, e.mode, n), to(n, t), n.return = e, n;
- case k: return t = Ni(t, e.mode, n), t.return = e, t;
- case se: return t = Ja(t), f(e, t, n);
+ case k: return n = ki(t.type, t.key, t.props, null, e.mode, n), to(n, t), n.return = e, n;
+ case A: return t = Ni(t, e.mode, n), t.return = e, t;
+ case oe: return t = Ja(t), f(e, t, n);
}
- if (_e(t) || me(t)) return t = Ai(t, e.mode, n, null), t.return = e, t;
+ if (ge(t) || pe(t)) return t = Ai(t, e.mode, n, null), t.return = e, t;
if (typeof t.then == "function") return f(e, eo(t), n);
- if (t.$$typeof === re) return f(e, ya(e, t), n);
+ if (t.$$typeof === ne) return f(e, ya(e, t), n);
no(e, t);
}
return null;
@@ -2696,13 +2696,13 @@ var d = /* @__PURE__ */ o(((e) => {
if (typeof n == "string" && n !== "" || typeof n == "number" || typeof n == "bigint") return i === null ? c(e, t, "" + n, r) : null;
if (typeof n == "object" && n) {
switch (n.$$typeof) {
- case O: return n.key === i ? l(e, t, n, r) : null;
- case k: return n.key === i ? u(e, t, n, r) : null;
- case se: return n = Ja(n), p(e, t, n, r);
+ case k: return n.key === i ? l(e, t, n, r) : null;
+ case A: return n.key === i ? u(e, t, n, r) : null;
+ case oe: return n = Ja(n), p(e, t, n, r);
}
- if (_e(n) || me(n)) return i === null ? d(e, t, n, r, null) : null;
+ if (ge(n) || pe(n)) return i === null ? d(e, t, n, r, null) : null;
if (typeof n.then == "function") return p(e, t, eo(n), r);
- if (n.$$typeof === re) return p(e, t, ya(e, n), r);
+ if (n.$$typeof === ne) return p(e, t, ya(e, n), r);
no(e, n);
}
return null;
@@ -2711,13 +2711,13 @@ var d = /* @__PURE__ */ o(((e) => {
if (typeof r == "string" && r !== "" || typeof r == "number" || typeof r == "bigint") return e = e.get(n) || null, c(t, e, "" + r, i);
if (typeof r == "object" && r) {
switch (r.$$typeof) {
- case O: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
- case k: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
- case se: return r = Ja(r), m(e, t, n, r, i);
+ case k: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
+ case A: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
+ case oe: return r = Ja(r), m(e, t, n, r, i);
}
- if (_e(r) || me(r)) return e = e.get(n) || null, d(t, e, r, i, null);
+ if (ge(r) || pe(r)) return e = e.get(n) || null, d(t, e, r, i, null);
if (typeof r.then == "function") return m(e, t, n, eo(r), i);
- if (r.$$typeof === re) return m(e, t, n, ya(t, r), i);
+ if (r.$$typeof === ne) return m(e, t, n, ya(t, r), i);
no(t, r);
}
return null;
@@ -2764,18 +2764,18 @@ var d = /* @__PURE__ */ o(((e) => {
}), q && Gi(a, g), u;
}
function _(e, r, o, c) {
- if (typeof o == "object" && o && o.type === A && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {
+ if (typeof o == "object" && o && o.type === j && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {
switch (o.$$typeof) {
- case O:
+ case k:
a: {
for (var l = o.key; r !== null;) {
if (r.key === l) {
- if (l = o.type, l === A) {
+ if (l = o.type, l === j) {
if (r.tag === 7) {
n(e, r.sibling), c = a(r, o.props.children), to(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === se && Ja(l) === r.type) {
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === oe && Ja(l) === r.type) {
n(e, r.sibling), c = a(r, o.props), to(c, o), c.return = e, e = c;
break a;
}
@@ -2784,10 +2784,10 @@ var d = /* @__PURE__ */ o(((e) => {
}
t(e, r), r = r.sibling;
}
- o.type === A ? (c = Ai(o.props.children, e.mode, c, o.key), to(c, o), c.return = e, e = c) : (c = ki(o.type, o.key, o.props, null, e.mode, c), to(c, o), c.return = e, e = c);
+ o.type === j ? (c = Ai(o.props.children, e.mode, c, o.key), to(c, o), c.return = e, e = c) : (c = ki(o.type, o.key, o.props, null, e.mode, c), to(c, o), c.return = e, e = c);
}
return s(e);
- case k:
+ case A:
a: {
for (l = o.key; r !== null;) {
if (r.key === l) {
@@ -2803,15 +2803,15 @@ var d = /* @__PURE__ */ o(((e) => {
c = Ni(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case se: return o = Ja(o), _(e, r, o, c);
+ case oe: return o = Ja(o), _(e, r, o, c);
}
- if (_e(o)) return h(e, r, o, c);
- if (me(o)) {
- if (l = me(o), typeof l != "function") throw Error(i(150));
+ if (ge(o)) return h(e, r, o, c);
+ if (pe(o)) {
+ if (l = pe(o), typeof l != "function") throw Error(i(150));
return o = l.call(o), g(e, r, o, c);
}
if (typeof o.then == "function") return _(e, r, eo(o), c);
- if (o.$$typeof === re) return _(e, r, ya(e, o), c);
+ if (o.$$typeof === ne) return _(e, r, ya(e, o), c);
no(e, o);
}
return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = ji(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
@@ -2948,7 +2948,7 @@ var d = /* @__PURE__ */ o(((e) => {
case 3: m.flags = m.flags & -65537 | 128;
case 0:
if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;
- d = E({}, d, f);
+ d = D({}, d, f);
break a;
case 2: oo = !0;
}
@@ -3041,10 +3041,10 @@ var d = /* @__PURE__ */ o(((e) => {
return !0;
}
function Ko(e, t, n, r, i, a) {
- return Fo = a, J = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, N.H = e === null || e.memoizedState === null ? lc : uc, zo = !1, a = n(r, i), zo = !1, Ro && (a = Jo(t, n, r, i)), qo(e), a;
+ return Fo = a, J = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, P.H = e === null || e.memoizedState === null ? lc : uc, zo = !1, a = n(r, i), zo = !1, Ro && (a = Jo(t, n, r, i)), qo(e), a;
}
function qo(e) {
- N.H = cc;
+ P.H = cc;
var t = Y !== null && Y.next !== null;
if (Fo = 0, Io = Y = J = null, Lo = !1, Vo = 0, Ho = null, t) throw Error(i(300));
e === null || Dc || (e = e.dependencies, e !== null && ga(e) && (Dc = !0));
@@ -3058,12 +3058,12 @@ var d = /* @__PURE__ */ o(((e) => {
var o = e.updateQueue;
o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);
}
- N.H = dc, o = t(n, r);
+ P.H = dc, o = t(n, r);
} while (Ro);
return o;
}
function Yo() {
- var e = N.H, t = e.useState()[0];
+ var e = P.H, t = e.useState()[0];
return t = typeof t.then == "function" ? ns(t) : t, e = e.useState()[0], (Y === null ? null : Y.memoizedState) !== e && (J.flags |= 1024), t;
}
function Xo() {
@@ -3122,13 +3122,13 @@ var d = /* @__PURE__ */ o(((e) => {
}
function ns(e) {
var t = Vo;
- return Vo += 1, Ho === null && (Ho = []), e = qa(Ho, e, t), t = J, (Io === null ? t.memoizedState : Io.next) === null && (t = t.alternate, N.H = t === null || t.memoizedState === null ? lc : uc), e;
+ return Vo += 1, Ho === null && (Ho = []), e = qa(Ho, e, t), t = J, (Io === null ? t.memoizedState : Io.next) === null && (t = t.alternate, P.H = t === null || t.memoizedState === null ? lc : uc), e;
}
function rs(e) {
if (typeof e == "object" && e) {
if (typeof e.then == "function") return ns(e);
- if (e.$$typeof === fe) return;
- if (e.$$typeof === re) return va(e);
+ if (e.$$typeof === de) return;
+ if (e.$$typeof === ne) return va(e);
}
throw Error(i(438, String(e)));
}
@@ -3146,7 +3146,7 @@ var d = /* @__PURE__ */ o(((e) => {
if (t ??= {
data: [],
index: 0
- }, n === null && (n = ts(), J.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = ue;
+ }, n === null && (n = ts(), J.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = le;
return t.index++, n;
}
function as(e, t) {
@@ -3309,21 +3309,21 @@ var d = /* @__PURE__ */ o(((e) => {
o.listeners.push(e);
}
};
- N.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, vs(t, o)) : (o.next = n.next, t.pending = n.next = o);
+ P.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, vs(t, o)) : (o.next = n.next, t.pending = n.next = o);
}
}
function vs(e, t) {
var n = t.action, r = t.payload, i = e.state;
if (t.isTransition) {
- var a = N.T, o = {};
- o.types = a === null ? null : a.types, N.T = o;
+ var a = P.T, o = {};
+ o.types = a === null ? null : a.types, P.T = o;
try {
- var s = n(i, r), c = N.S;
+ var s = n(i, r), c = P.S;
c !== null && c(o, s), ys(e, t, s);
} catch (n) {
xs(e, t, n);
} finally {
- a !== null && o.types !== null && (a.types = o.types), N.T = a;
+ a !== null && o.types !== null && (a.types = o.types), P.T = a;
}
} else try {
a = n(i, r), ys(e, t, a);
@@ -3531,12 +3531,12 @@ var d = /* @__PURE__ */ o(((e) => {
return Fr(n, t) ? n : yo.current === null ? !(Fo & 106) || Fo & 1073741824 && !(Q & 261930) ? (Dc = !0, e.memoizedState = n) : (e = Ad(), J.lanes |= e, id |= e, t) : (e = Ws(e, n, r), Fr(e, t) || (Dc = !0), e);
}
function Ks(e, t, n, r, i) {
- var a = P.p;
- P.p = a !== 0 && 8 > a ? a : 8;
- var o = N.T, s = {};
- s.types = o === null ? null : o.types, N.T = s, ic(e, !1, t, n);
+ var a = _e.p;
+ _e.p = a !== 0 && 8 > a ? a : 8;
+ var o = P.T, s = {};
+ s.types = o === null ? null : o.types, P.T = s, ic(e, !1, t, n);
try {
- var c = i(), l = N.S;
+ var c = i(), l = P.S;
l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? rc(e, t, Ia(c, r), kd(e)) : rc(e, t, r, kd(e));
} catch (n) {
rc(e, t, {
@@ -3545,7 +3545,7 @@ var d = /* @__PURE__ */ o(((e) => {
reason: n
}, kd());
} finally {
- P.p = a, o !== null && s.types !== null && (o.types = s.types), N.T = o;
+ _e.p = a, o !== null && s.types !== null && (o.types = s.types), P.T = o;
}
}
function qs() {}
@@ -3894,7 +3894,7 @@ var d = /* @__PURE__ */ o(((e) => {
useEffectEvent: Is
};
function fc(e, t, n, r) {
- t = e.memoizedState, n = n(r, t), n = n == null ? t : E({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
+ t = e.memoizedState, n = n(r, t), n = n == null ? t : D({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
}
var pc = {
enqueueSetState: function(e, t, n) {
@@ -3922,7 +3922,7 @@ var d = /* @__PURE__ */ o(((e) => {
function gc(e, t) {
var n = t;
if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);
- if (e = e.defaultProps) for (var i in n === t && (n = E({}, n)), e) n[i] === void 0 && (n[i] = e[i]);
+ if (e = e.defaultProps) for (var i in n === t && (n = D({}, n)), e) n[i] === void 0 && (n[i] = e[i]);
return n;
}
function _c(e) {
@@ -4417,20 +4417,20 @@ var d = /* @__PURE__ */ o(((e) => {
else {
if (e != null) {
var a = e.$$typeof;
- if (a === M) {
+ if (a === N) {
t.tag = 11, t = kc(null, t, e, r, n);
break a;
}
- if (a === oe) {
+ if (a === ae) {
t.tag = 14, t = Ac(null, t, e, r, n);
break a;
}
- if (a === re) {
+ if (a === ne) {
t.tag = 10, t.type = e, t = nl(null, t, n);
break a;
}
}
- throw t = ge(e) || e, Error(i(306, t, ""));
+ throw t = he(e) || e, Error(i(306, t, ""));
}
}
return t;
@@ -6050,7 +6050,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
}, Yu = typeof WeakMap == "function" ? WeakMap : Map, X = 0, Xu = null, Z = null, Q = 0, Zu = 0, Qu = null, $u = !1, ed = !1, td = !1, nd = 0, rd = 0, id = 0, ad = 0, od = 0, sd = 0, cd = 0, ld = null, ud = null, dd = !1, fd = 0, pd = 0, md = Infinity, hd = null, gd = null, _d = 0, vd = null, yd = null, bd = 0, xd = 0, Sd = null, Cd = null, wd = null, Td = null, Ed = null, Dd = 0, Od = null;
function kd() {
- return X & 2 && Q !== 0 ? Q & -Q : N.T === null ? bt() : Nf();
+ return X & 2 && Q !== 0 ? Q & -Q : P.T === null ? bt() : Nf();
}
function Ad() {
if (sd === 0) {
@@ -6194,19 +6194,19 @@ var d = /* @__PURE__ */ o(((e) => {
return n !== -1 && (e.timeoutHandle = -1, _p(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), bd = 0, Rd(), Xu = e, Z = n = Di(e.current, null), Q = t, Zu = 0, Qu = null, $u = !1, ed = ct(e, t), td = !1, cd = sd = od = ad = id = rd = 0, ud = ld = null, dd = !1, nd = lt(e, t), _i(), n;
}
function Bd(e, t) {
- J = null, N.H = cc, t === Ha || t === Wa ? (t = Xa(), Zu = 3) : t === Ua ? (t = Xa(), Zu = 4) : Zu = t === Ec ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, Qu = t, Z === null && (rd = 1, bc(e, Fi(t, e.current)));
+ J = null, P.H = cc, t === Ha || t === Wa ? (t = Xa(), Zu = 3) : t === Ua ? (t = Xa(), Zu = 4) : Zu = t === Ec ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, Qu = t, Z === null && (rd = 1, bc(e, Fi(t, e.current)));
}
function Vd() {
var e = wo.current;
return e === null ? !0 : (Q & 4194048) === Q ? To === null : (Q & 62914560) === Q || Q & 536870912 ? e === To : !1;
}
function Hd() {
- var e = N.H;
- return N.H = cc, e === null ? cc : e;
+ var e = P.H;
+ return P.H = cc, e === null ? cc : e;
}
function Ud() {
- var e = N.A;
- return N.A = Ju, e;
+ var e = P.A;
+ return P.A = Ju, e;
}
function Wd() {
rd = 4, $u || (Q & 4194048) !== Q && wo.current !== null || (ed = !0), !(id & 134217727) && !(ad & 134217727) || Xu === null || Id(Xu, Q, sd, !1);
@@ -6245,7 +6245,7 @@ var d = /* @__PURE__ */ o(((e) => {
Bd(e, t);
}
while (1);
- return t && e.shellSuspendCounter++, ua = la = null, X = r, N.H = i, N.A = a, Z === null && (Xu = null, Q = 0, _i()), o;
+ return t && e.shellSuspendCounter++, ua = la = null, X = r, P.H = i, P.A = a, Z === null && (Xu = null, Q = 0, _i()), o;
}
function Kd() {
for (; Z !== null;) Yd(Z);
@@ -6318,7 +6318,7 @@ var d = /* @__PURE__ */ o(((e) => {
Bd(e, t);
}
while (1);
- return ua = la = null, N.H = r, N.A = a, X = n, Z === null ? (Xu = null, Q = 0, _i(), rd) : 0;
+ return ua = la = null, P.H = r, P.A = a, X = n, Z === null ? (Xu = null, Q = 0, _i(), rd) : 0;
}
function Jd() {
for (; Z !== null && !Be();) Yd(Z);
@@ -6412,11 +6412,11 @@ var d = /* @__PURE__ */ o(((e) => {
if (xd = s, s |= gi, mt(e, n, s, r, i, a), Td = null, (n & 335544064) === n ? (Ed = ka(e), r = 10262) : (Ed = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, vf(Ke, function() {
return uf(), null;
})) : (e.callbackNode = null, e.callbackPriority = 0), Pl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
- r = N.T, N.T = null, i = P.p, P.p = 2, a = X, X |= 4;
+ r = P.T, P.T = null, i = _e.p, _e.p = 2, a = X, X |= 4;
try {
lu(e, t, n);
} finally {
- X = a, P.p = i, N.T = r;
+ X = a, _e.p = i, P.T = r;
}
}
_d = 1, Pl ? wd = Mp(o, e.containerInfo, Ed, af, of, rf, sf, uf, nf, null, null) : (af(), of(), sf());
@@ -6435,9 +6435,9 @@ var d = /* @__PURE__ */ o(((e) => {
_d = 0;
var e = vd, t = yd, n = bd, r = !!(t.flags & 13878);
if (t.subtreeFlags & 13878 || r) {
- r = N.T, N.T = null;
- var i = P.p;
- P.p = 2;
+ r = P.T, P.T = null;
+ var i = _e.p;
+ _e.p = 2;
var a = X;
X |= 4;
try {
@@ -6472,7 +6472,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
gh = !!sp, cp = sp = null;
} finally {
- X = a, P.p = i, N.T = r;
+ X = a, _e.p = i, P.T = r;
}
}
e.current = t, _d = 2;
@@ -6483,15 +6483,15 @@ var d = /* @__PURE__ */ o(((e) => {
_d = 0;
var e = vd, t = yd, n = !!(t.flags & 8772);
if (t.subtreeFlags & 8772 || n) {
- n = N.T, N.T = null;
- var r = P.p;
- P.p = 2;
+ n = P.T, P.T = null;
+ var r = _e.p;
+ _e.p = 2;
var i = X;
X |= 4;
try {
du(e, t.alternate, t);
} finally {
- X = i, P.p = r, N.T = n;
+ X = i, _e.p = r, P.T = n;
}
}
_d = 3;
@@ -6507,14 +6507,14 @@ var d = /* @__PURE__ */ o(((e) => {
Ze.onCommitFiberRoot(Xe, n, void 0, (n.current.flags & 128) == 128);
} catch {}
if (i !== null) {
- n = N.T, a = P.p, P.p = 2, N.T = null;
+ n = P.T, a = _e.p, _e.p = 2, P.T = null;
try {
for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {
var c = i[s];
o(c.value, { componentStack: c.stack });
}
} finally {
- N.T = n, P.p = a;
+ P.T = n, _e.p = a;
}
}
if (i = Td, o = Ed, Ed = null, i !== null && (Td = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
@@ -6531,9 +6531,9 @@ var d = /* @__PURE__ */ o(((e) => {
if (_d !== 5) return !1;
var e = vd, t = xd;
xd = 0;
- var n = yt(bd), r = N.T, a = P.p;
+ var n = yt(bd), r = P.T, a = _e.p;
try {
- P.p = 32 > n ? 32 : n, N.T = null, n = Sd, Sd = null;
+ _e.p = 32 > n ? 32 : n, P.T = null, n = Sd, Sd = null;
var o = vd, s = bd;
if (_d = 0, yd = vd = null, bd = 0, X & 6) throw Error(i(331));
var c = X;
@@ -6542,7 +6542,7 @@ var d = /* @__PURE__ */ o(((e) => {
} catch {}
return !0;
} finally {
- P.p = a, N.T = r, cf(e, t);
+ _e.p = a, P.T = r, cf(e, t);
}
}
function df(e, t, n) {
@@ -6930,7 +6930,7 @@ var d = /* @__PURE__ */ o(((e) => {
if (!(t & 7)) {
a: {
if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== gn && (u = n.relatedTarget || n.fromElement) && (z(u) || u[wt])) break a;
- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? z(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Bn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = Qn, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Nt(c), h = l == null ? u : Nt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, z(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? ee(c, l, Jf) : null, c !== null && Yf(s, u, c, d, !1), l !== null && f !== null && Yf(s, f, l, d, !0)));
+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? z(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Bn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = Qn, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Nt(c), h = l == null ? u : Nt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, z(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, Jf) : null, c !== null && Yf(s, u, c, d, !1), l !== null && f !== null && Yf(s, f, l, d, !0)));
}
a: {
if (c = r ? Nt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Cr;
@@ -7761,7 +7761,7 @@ var d = /* @__PURE__ */ o(((e) => {
this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";
}
Np.prototype.animate = function(e, t) {
- return t = typeof t == "number" ? { duration: t } : E({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);
+ return t = typeof t == "number" ? { duration: t } : D({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);
}, Np.prototype.getAnimations = function() {
for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {
var a = n[i].effect;
@@ -7984,7 +7984,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
return a;
}
- return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = ee(n, a, T), t === null ? t = !1 : (p(t, !0, C, a, n), a = x, x = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = ee(r, a, T), t === null ? t = !1 : (p(t, !0, w, a, r), a = x, S = x = null, t = a !== null)), t) : !1;
+ return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = E(n, a, T), t === null ? t = !1 : (p(t, !0, C, a, n), a = x, x = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = E(r, a, T), t === null ? t = !1 : (p(t, !0, w, a, r), a = x, S = x = null, t = a !== null)), t) : !1;
}
function Zp(e, t) {
var n = e.ownerDocument.createRange();
@@ -8210,8 +8210,8 @@ var d = /* @__PURE__ */ o(((e) => {
}
return e.nodeType === 9 ? e : e.ownerDocument;
}
- var xm = P.d;
- P.d = {
+ var xm = _e.d;
+ _e.d = {
f: Sm,
r: Cm,
D: Em,
@@ -8261,7 +8261,7 @@ var d = /* @__PURE__ */ o(((e) => {
break;
case "script": a = Rm(e);
}
- if (!(vm.has(a) || (e = E({
+ if (!(vm.has(a) || (e = D({
rel: "preload",
href: t === "image" && n && n.imageSrcSet ? void 0 : e,
as: t
@@ -8286,7 +8286,7 @@ var d = /* @__PURE__ */ o(((e) => {
case "worker":
case "script": a = Rm(e);
}
- if (!vm.has(a) && (e = E({
+ if (!vm.has(a) && (e = D({
rel: "modulepreload",
href: e
}, t), vm.set(a, e), n.querySelector(i) === null)) {
@@ -8316,7 +8316,7 @@ var d = /* @__PURE__ */ o(((e) => {
};
if (o = r.querySelector(Fm(a))) s.loading = 5;
else {
- e = E({
+ e = D({
rel: "stylesheet",
href: e,
"data-precedence": t
@@ -8344,7 +8344,7 @@ var d = /* @__PURE__ */ o(((e) => {
var n = wm;
if (n && e) {
var r = Pt(n).hoistableScripts, i = Rm(e), a = r.get(i);
- a || (a = n.querySelector(zm(i)), a || (e = E({
+ a || (a = n.querySelector(zm(i)), a || (e = D({
src: e,
async: !0
}, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Ft(a), np(a, "link", e), n.head.appendChild(a)), a = {
@@ -8360,7 +8360,7 @@ var d = /* @__PURE__ */ o(((e) => {
var n = wm;
if (n && e) {
var r = Pt(n).hoistableScripts, i = Rm(e), a = r.get(i);
- a || (a = n.querySelector(zm(i)), a || (e = E({
+ a || (a = n.querySelector(zm(i)), a || (e = D({
src: e,
async: !0,
type: "module"
@@ -8436,7 +8436,7 @@ var d = /* @__PURE__ */ o(((e) => {
return "link[rel=\"stylesheet\"][" + e + "]";
}
function Im(e) {
- return E({}, e, {
+ return D({}, e, {
"data-precedence": e.precedence,
precedence: null
});
@@ -8465,7 +8465,7 @@ var d = /* @__PURE__ */ o(((e) => {
case "style":
var r = e.querySelector("style[data-href~=\"" + V(n.href) + "\"]");
if (r) return t.instance = r, Ft(r), r;
- var a = E({}, n, {
+ var a = D({}, n, {
"data-href": n.href,
"data-precedence": n.precedence,
href: null,
@@ -8481,7 +8481,7 @@ var d = /* @__PURE__ */ o(((e) => {
return s._p = new Promise(function(e, t) {
s.onload = e, s.onerror = t;
}), np(o, "link", r), t.state.loading |= 4, Vm(o, n.precedence, e), t.instance = o;
- case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a, Ft(a), a) : (r = n, (a = vm.get(o)) && (r = E({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Ft(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);
+ case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a, Ft(a), a) : (r = n, (a = vm.get(o)) && (r = D({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Ft(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);
case "void": return null;
default: throw Error(i(443, t.type));
}
@@ -8626,7 +8626,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
}
var sh = {
- $$typeof: re,
+ $$typeof: ne,
Provider: null,
Consumer: null,
_currentValue: ve,
@@ -8674,23 +8674,23 @@ var d = /* @__PURE__ */ o(((e) => {
}
var gh = !0;
function _h(e, t, n, r) {
- var i = N.T;
- N.T = null;
- var a = P.p;
+ var i = P.T;
+ P.T = null;
+ var a = _e.p;
try {
- P.p = 2, yh(e, t, n, r);
+ _e.p = 2, yh(e, t, n, r);
} finally {
- P.p = a, N.T = i;
+ _e.p = a, P.T = i;
}
}
function vh(e, t, n, r) {
- var i = N.T;
- N.T = null;
- var a = P.p;
+ var i = P.T;
+ P.T = null;
+ var a = _e.p;
try {
- P.p = 8, yh(e, t, n, r);
+ _e.p = 8, yh(e, t, n, r);
} finally {
- P.p = a, N.T = i;
+ _e.p = a, P.T = i;
}
}
function yh(e, t, n, r) {
@@ -9035,7 +9035,7 @@ var d = /* @__PURE__ */ o(((e) => {
};
var Kh = n.version;
if (Kh !== "19.3.0") throw Error(i(527, Kh, "19.3.0"));
- P.findDOMNode = function(e) {
+ _e.findDOMNode = function(e) {
var t = e._reactInternals;
if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));
return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;
@@ -9044,7 +9044,7 @@ var d = /* @__PURE__ */ o(((e) => {
bundleType: 0,
version: "19.3.0",
rendererPackageName: "react-dom",
- currentDispatcherRef: N,
+ currentDispatcherRef: P,
reconcilerVersion: "19.3.0"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
@@ -9079,13 +9079,13 @@ var d = /* @__PURE__ */ o(((e) => {
nextPart: e,
validators: t,
classGroupId: n
-}), w = "-", T = [], ee = "arbitrary..", E = (e) => {
- let t = k(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), w = "-", T = [], E = "arbitrary..", D = (e) => {
+ let t = A(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return O(e);
+ if (e.startsWith("[") && e.endsWith("]")) return k(e);
let n = e.split(w);
- return D(n, +(n[0] === "" && n.length > 1), t);
+ return O(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
@@ -9095,11 +9095,11 @@ var d = /* @__PURE__ */ o(((e) => {
return n[e] || T;
}
};
-}, D = (e, t, n) => {
+}, O = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = D(e, t + 1, i);
+ let n = O(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
@@ -9109,46 +9109,46 @@ var d = /* @__PURE__ */ o(((e) => {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, O = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, k = (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 ? ee + r : void 0;
-})(), k = (e) => {
+ return r ? E + r : void 0;
+})(), A = (e) => {
let { theme: t, classGroups: n } = e;
- return A(n, t);
-}, A = (e, t) => {
+ return j(n, t);
+}, j = (e, t) => {
let n = C();
for (let r in e) {
let i = e[r];
- j(i, n, r, t);
+ M(i, n, r, t);
}
return n;
-}, j = (e, t, n, r) => {
+}, M = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- te(i, t, n, r);
+ ee(i, t, n, r);
}
-}, te = (e, t, n, r) => {
- typeof e == "string" ? ne(e, t, n) : typeof e == "function" ? re(e, t, n, r) : M(e, t, n, r);
-}, ne = (e, t, n) => {
- let r = e === "" ? t : ie(t, e);
+}, ee = (e, t, n, r) => {
+ typeof e == "string" ? te(e, t, n) : typeof e == "function" ? ne(e, t, n, r) : N(e, t, n, r);
+}, te = (e, t, n) => {
+ let r = e === "" ? t : re(t, e);
r.classGroupId = n;
-}, re = (e, t, n, r) => {
- ae(e) ? j(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(S(n, e)));
-}, M = (e, t, n, r) => {
+}, ne = (e, t, n, r) => {
+ ie(e) ? M(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(S(n, e)));
+}, N = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- j(o, ie(t, a), n, r);
+ M(o, re(t, a), n, r);
}
-}, ie = (e, t) => {
+}, re = (e, t) => {
let n = e, r = t.split(w), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
i || (i = C(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, ae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, oe = (e) => {
+}, ie = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ae = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -9166,19 +9166,19 @@ var d = /* @__PURE__ */ o(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, se = "!", ce = ":", le = [], ue = (e, t, n, r, i) => ({
+}, oe = "!", se = ":", ce = [], le = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), de = (e) => {
+}), ue = (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 === ce) {
+ if (o === se) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -9190,13 +9190,13 @@ var d = /* @__PURE__ */ o(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(se) ? (c = s.slice(0, -1), l = !0) : s.startsWith(se) && (c = s.slice(1), l = !0);
+ s.endsWith(oe) ? (c = s.slice(0, -1), l = !0) : s.startsWith(oe) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return ue(t, l, c, u);
+ return le(t, l, c, u);
};
if (t) {
- let e = t + ce, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : ue(le, !1, t, void 0, !0);
+ let e = t + se, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : le(ce, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -9206,7 +9206,7 @@ var d = /* @__PURE__ */ o(((e) => {
});
}
return r;
-}, fe = (e) => {
+}, de = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -9218,18 +9218,18 @@ var d = /* @__PURE__ */ o(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, pe = (e) => ({
- cache: oe(e.cacheSize),
- parseClassName: de(e),
- sortModifiers: fe(e),
- postfixLookupClassGroupIds: me(e),
- ...E(e)
-}), me = (e) => {
+}, fe = (e) => ({
+ cache: ae(e.cacheSize),
+ parseClassName: ue(e),
+ sortModifiers: de(e),
+ postfixLookupClassGroupIds: pe(e),
+ ...D(e)
+}), pe = (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;
-}, he = /\s+/, ge = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(he), l = "";
+}, me = /\s+/, he = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(me), 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) {
@@ -9249,7 +9249,7 @@ var d = /* @__PURE__ */ o(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + se : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + oe : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -9260,23 +9260,23 @@ var d = /* @__PURE__ */ o(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, _e = (...e) => {
+}, ge = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = N(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = P(n)) && (i && (i += " "), i += r);
return i;
-}, N = (e) => {
+}, P = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = N(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = P(e[r])) && (n && (n += " "), n += t);
return n;
-}, P = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = pe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, _e = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = fe(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 = ge(e, n);
+ let a = he(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(_e(...e));
+ return a = o, (...e) => a(ge(...e));
}, ve = [], ye = (e) => {
let t = (t) => t[e] || ve;
return t.isThemeGetter = !0, t.themeKey = e, t;
@@ -9333,13 +9333,13 @@ var d = /* @__PURE__ */ o(((e) => {
"full",
"auto",
...w()
- ], ee = () => [
+ ], E = () => [
ke,
"none",
"subgrid",
L,
I
- ], E = () => [
+ ], D = () => [
"auto",
{ span: [
"full",
@@ -9350,19 +9350,19 @@ var d = /* @__PURE__ */ o(((e) => {
ke,
L,
I
- ], D = () => [
+ ], O = () => [
ke,
"auto",
L,
I
- ], O = () => [
+ ], k = () => [
"auto",
"min",
"max",
"fr",
L,
I
- ], k = () => [
+ ], A = () => [
"start",
"end",
"center",
@@ -9373,14 +9373,14 @@ var d = /* @__PURE__ */ o(((e) => {
"baseline",
"center-safe",
"end-safe"
- ], A = () => [
+ ], j = () => [
"start",
"end",
"center",
"stretch",
"center-safe",
"end-safe"
- ], j = () => ["auto", ...w()], te = () => [
+ ], M = () => ["auto", ...w()], ee = () => [
Oe,
"auto",
"full",
@@ -9394,7 +9394,7 @@ var d = /* @__PURE__ */ o(((e) => {
"max",
"fit",
...w()
- ], ne = () => [
+ ], te = () => [
s,
Oe,
"screen",
@@ -9406,7 +9406,7 @@ var d = /* @__PURE__ */ o(((e) => {
"max",
"fit",
...w()
- ], re = () => [
+ ], ne = () => [
Oe,
"screen",
"full",
@@ -9418,50 +9418,50 @@ var d = /* @__PURE__ */ o(((e) => {
"max",
"fit",
...w()
- ], M = () => [
+ ], N = () => [
e,
L,
I
- ], ie = () => [
+ ], re = () => [
...b(),
Ye,
We,
{ position: [L, I] }
- ], ae = () => ["no-repeat", { repeat: [
+ ], ie = () => ["no-repeat", { repeat: [
"",
"x",
"y",
"space",
"round"
- ] }], oe = () => [
+ ] }], ae = () => [
"auto",
"cover",
"contain",
Xe,
ze,
{ size: [L, I] }
- ], se = () => [
+ ], oe = () => [
Ae,
qe,
Be
- ], ce = () => [
+ ], se = () => [
"",
"none",
"full",
l,
L,
I
- ], le = () => [
+ ], ce = () => [
"",
F,
qe,
Be
- ], ue = () => [
+ ], le = () => [
"solid",
"dashed",
"dotted",
"double"
- ], de = () => [
+ ], ue = () => [
"normal",
"multiply",
"screen",
@@ -9478,32 +9478,32 @@ var d = /* @__PURE__ */ o(((e) => {
"saturation",
"color",
"luminosity"
- ], fe = () => [
+ ], de = () => [
F,
Ae,
Ye,
We
- ], pe = () => [
+ ], fe = () => [
"",
"none",
m,
L,
I
- ], me = () => [
+ ], pe = () => [
"none",
F,
L,
I
- ], he = () => [
+ ], me = () => [
"none",
F,
L,
I
- ], ge = () => [
+ ], he = () => [
F,
L,
I
- ], _e = () => [
+ ], ge = () => [
Oe,
"full",
...w()
@@ -9741,14 +9741,14 @@ var d = /* @__PURE__ */ o(((e) => {
L,
I
] }],
- "grid-cols": [{ "grid-cols": ee() }],
- "col-start-end": [{ col: E() }],
- "col-start": [{ "col-start": D() }],
- "col-end": [{ "col-end": D() }],
- "grid-rows": [{ "grid-rows": ee() }],
- "row-start-end": [{ row: E() }],
- "row-start": [{ "row-start": D() }],
- "row-end": [{ "row-end": D() }],
+ "grid-cols": [{ "grid-cols": E() }],
+ "col-start-end": [{ col: D() }],
+ "col-start": [{ "col-start": O() }],
+ "col-end": [{ "col-end": O() }],
+ "grid-rows": [{ "grid-rows": E() }],
+ "row-start-end": [{ row: D() }],
+ "row-start": [{ "row-start": O() }],
+ "row-end": [{ "row-end": O() }],
"grid-flow": [{ "grid-flow": [
"row",
"col",
@@ -9756,24 +9756,24 @@ var d = /* @__PURE__ */ o(((e) => {
"row-dense",
"col-dense"
] }],
- "auto-cols": [{ "auto-cols": O() }],
- "auto-rows": [{ "auto-rows": O() }],
+ "auto-cols": [{ "auto-cols": k() }],
+ "auto-rows": [{ "auto-rows": k() }],
gap: [{ gap: w() }],
"gap-x": [{ "gap-x": w() }],
"gap-y": [{ "gap-y": w() }],
- "justify-content": [{ justify: [...k(), "normal"] }],
- "justify-items": [{ "justify-items": [...A(), "normal"] }],
- "justify-self": [{ "justify-self": ["auto", ...A()] }],
- "align-content": [{ content: ["normal", ...k()] }],
- "align-items": [{ items: [...A(), { baseline: ["", "last"] }] }],
+ "justify-content": [{ justify: [...A(), "normal"] }],
+ "justify-items": [{ "justify-items": [...j(), "normal"] }],
+ "justify-self": [{ "justify-self": ["auto", ...j()] }],
+ "align-content": [{ content: ["normal", ...A()] }],
+ "align-items": [{ items: [...j(), { baseline: ["", "last"] }] }],
"align-self": [{ self: [
"auto",
- ...A(),
+ ...j(),
{ baseline: ["", "last"] }
] }],
- "place-content": [{ "place-content": k() }],
- "place-items": [{ "place-items": [...A(), "baseline"] }],
- "place-self": [{ "place-self": ["auto", ...A()] }],
+ "place-content": [{ "place-content": A() }],
+ "place-items": [{ "place-items": [...j(), "baseline"] }],
+ "place-self": [{ "place-self": ["auto", ...j()] }],
p: [{ p: w() }],
px: [{ px: w() }],
py: [{ py: w() }],
@@ -9785,38 +9785,38 @@ var d = /* @__PURE__ */ o(((e) => {
pr: [{ pr: w() }],
pb: [{ pb: w() }],
pl: [{ pl: w() }],
- m: [{ m: j() }],
- mx: [{ mx: j() }],
- my: [{ my: j() }],
- ms: [{ ms: j() }],
- me: [{ me: j() }],
- mbs: [{ mbs: j() }],
- mbe: [{ mbe: j() }],
- mt: [{ mt: j() }],
- mr: [{ mr: j() }],
- mb: [{ mb: j() }],
- ml: [{ ml: j() }],
+ m: [{ m: M() }],
+ mx: [{ mx: M() }],
+ my: [{ my: M() }],
+ ms: [{ ms: M() }],
+ me: [{ me: M() }],
+ mbs: [{ mbs: M() }],
+ mbe: [{ mbe: M() }],
+ mt: [{ mt: M() }],
+ mr: [{ mr: M() }],
+ mb: [{ mb: M() }],
+ ml: [{ ml: M() }],
"space-x": [{ "space-x": w() }],
"space-x-reverse": ["space-x-reverse"],
"space-y": [{ "space-y": w() }],
"space-y-reverse": ["space-y-reverse"],
- size: [{ size: te() }],
- "inline-size": [{ inline: ["auto", ...ne()] }],
- "min-inline-size": [{ "min-inline": ["auto", ...ne()] }],
- "max-inline-size": [{ "max-inline": ["none", ...ne()] }],
- "block-size": [{ block: ["auto", ...re()] }],
- "min-block-size": [{ "min-block": ["auto", ...re()] }],
- "max-block-size": [{ "max-block": ["none", ...re()] }],
+ size: [{ size: ee() }],
+ "inline-size": [{ inline: ["auto", ...te()] }],
+ "min-inline-size": [{ "min-inline": ["auto", ...te()] }],
+ "max-inline-size": [{ "max-inline": ["none", ...te()] }],
+ "block-size": [{ block: ["auto", ...ne()] }],
+ "min-block-size": [{ "min-block": ["auto", ...ne()] }],
+ "max-block-size": [{ "max-block": ["none", ...ne()] }],
w: [{ w: [
s,
"screen",
- ...te()
+ ...ee()
] }],
"min-w": [{ "min-w": [
s,
"screen",
"none",
- ...te()
+ ...ee()
] }],
"max-w": [{ "max-w": [
s,
@@ -9824,24 +9824,24 @@ var d = /* @__PURE__ */ o(((e) => {
"none",
"prose",
{ screen: [o] },
- ...te()
+ ...ee()
] }],
h: [{ h: [
"screen",
"lh",
- ...te()
+ ...ee()
] }],
"min-h": [{ "min-h": [
"screen",
"lh",
"none",
- ...te()
+ ...ee()
] }],
"max-h": [{ "max-h": [
"screen",
"lh",
"none",
- ...te()
+ ...ee()
] }],
"font-size": [{ text: [
"base",
@@ -9918,15 +9918,15 @@ var d = /* @__PURE__ */ o(((e) => {
"start",
"end"
] }],
- "placeholder-color": [{ placeholder: M() }],
- "text-color": [{ text: M() }],
+ "placeholder-color": [{ placeholder: N() }],
+ "text-color": [{ text: N() }],
"text-decoration": [
"underline",
"overline",
"line-through",
"no-underline"
],
- "text-decoration-style": [{ decoration: [...ue(), "wavy"] }],
+ "text-decoration-style": [{ decoration: [...le(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
F,
"from-font",
@@ -9934,7 +9934,7 @@ var d = /* @__PURE__ */ o(((e) => {
L,
Be
] }],
- "text-decoration-color": [{ decoration: M() }],
+ "text-decoration-color": [{ decoration: N() }],
"underline-offset": [{ "underline-offset": [
F,
"auto",
@@ -10021,9 +10021,9 @@ var d = /* @__PURE__ */ o(((e) => {
"padding",
"content"
] }],
- "bg-position": [{ bg: ie() }],
- "bg-repeat": [{ bg: ae() }],
- "bg-size": [{ bg: oe() }],
+ "bg-position": [{ bg: re() }],
+ "bg-repeat": [{ bg: ie() }],
+ "bg-size": [{ bg: ae() }],
"bg-image": [{ bg: [
"none",
{
@@ -10057,67 +10057,67 @@ var d = /* @__PURE__ */ o(((e) => {
Ze,
Ge
] }],
- "bg-color": [{ bg: M() }],
- "gradient-from-pos": [{ from: se() }],
- "gradient-via-pos": [{ via: se() }],
- "gradient-to-pos": [{ to: se() }],
- "gradient-from": [{ from: M() }],
- "gradient-via": [{ via: M() }],
- "gradient-to": [{ to: M() }],
- rounded: [{ rounded: ce() }],
- "rounded-s": [{ "rounded-s": ce() }],
- "rounded-e": [{ "rounded-e": ce() }],
- "rounded-t": [{ "rounded-t": ce() }],
- "rounded-r": [{ "rounded-r": ce() }],
- "rounded-b": [{ "rounded-b": ce() }],
- "rounded-l": [{ "rounded-l": ce() }],
- "rounded-ss": [{ "rounded-ss": ce() }],
- "rounded-se": [{ "rounded-se": ce() }],
- "rounded-ee": [{ "rounded-ee": ce() }],
- "rounded-es": [{ "rounded-es": ce() }],
- "rounded-tl": [{ "rounded-tl": ce() }],
- "rounded-tr": [{ "rounded-tr": ce() }],
- "rounded-br": [{ "rounded-br": ce() }],
- "rounded-bl": [{ "rounded-bl": ce() }],
- "border-w": [{ border: le() }],
- "border-w-x": [{ "border-x": le() }],
- "border-w-y": [{ "border-y": le() }],
- "border-w-s": [{ "border-s": le() }],
- "border-w-e": [{ "border-e": le() }],
- "border-w-bs": [{ "border-bs": le() }],
- "border-w-be": [{ "border-be": le() }],
- "border-w-t": [{ "border-t": le() }],
- "border-w-r": [{ "border-r": le() }],
- "border-w-b": [{ "border-b": le() }],
- "border-w-l": [{ "border-l": le() }],
- "divide-x": [{ "divide-x": le() }],
+ "bg-color": [{ bg: N() }],
+ "gradient-from-pos": [{ from: oe() }],
+ "gradient-via-pos": [{ via: oe() }],
+ "gradient-to-pos": [{ to: oe() }],
+ "gradient-from": [{ from: N() }],
+ "gradient-via": [{ via: N() }],
+ "gradient-to": [{ to: N() }],
+ rounded: [{ rounded: se() }],
+ "rounded-s": [{ "rounded-s": se() }],
+ "rounded-e": [{ "rounded-e": se() }],
+ "rounded-t": [{ "rounded-t": se() }],
+ "rounded-r": [{ "rounded-r": se() }],
+ "rounded-b": [{ "rounded-b": se() }],
+ "rounded-l": [{ "rounded-l": se() }],
+ "rounded-ss": [{ "rounded-ss": se() }],
+ "rounded-se": [{ "rounded-se": se() }],
+ "rounded-ee": [{ "rounded-ee": se() }],
+ "rounded-es": [{ "rounded-es": se() }],
+ "rounded-tl": [{ "rounded-tl": se() }],
+ "rounded-tr": [{ "rounded-tr": se() }],
+ "rounded-br": [{ "rounded-br": se() }],
+ "rounded-bl": [{ "rounded-bl": se() }],
+ "border-w": [{ border: ce() }],
+ "border-w-x": [{ "border-x": ce() }],
+ "border-w-y": [{ "border-y": ce() }],
+ "border-w-s": [{ "border-s": ce() }],
+ "border-w-e": [{ "border-e": ce() }],
+ "border-w-bs": [{ "border-bs": ce() }],
+ "border-w-be": [{ "border-be": ce() }],
+ "border-w-t": [{ "border-t": ce() }],
+ "border-w-r": [{ "border-r": ce() }],
+ "border-w-b": [{ "border-b": ce() }],
+ "border-w-l": [{ "border-l": ce() }],
+ "divide-x": [{ "divide-x": ce() }],
"divide-x-reverse": ["divide-x-reverse"],
- "divide-y": [{ "divide-y": le() }],
+ "divide-y": [{ "divide-y": ce() }],
"divide-y-reverse": ["divide-y-reverse"],
"border-style": [{ border: [
- ...ue(),
+ ...le(),
"hidden",
"none"
] }],
"divide-style": [{ divide: [
- ...ue(),
+ ...le(),
"hidden",
"none"
] }],
- "border-color": [{ border: M() }],
- "border-color-x": [{ "border-x": M() }],
- "border-color-y": [{ "border-y": M() }],
- "border-color-s": [{ "border-s": M() }],
- "border-color-e": [{ "border-e": M() }],
- "border-color-bs": [{ "border-bs": M() }],
- "border-color-be": [{ "border-be": M() }],
- "border-color-t": [{ "border-t": M() }],
- "border-color-r": [{ "border-r": M() }],
- "border-color-b": [{ "border-b": M() }],
- "border-color-l": [{ "border-l": M() }],
- "divide-color": [{ divide: M() }],
+ "border-color": [{ border: N() }],
+ "border-color-x": [{ "border-x": N() }],
+ "border-color-y": [{ "border-y": N() }],
+ "border-color-s": [{ "border-s": N() }],
+ "border-color-e": [{ "border-e": N() }],
+ "border-color-bs": [{ "border-bs": N() }],
+ "border-color-be": [{ "border-be": N() }],
+ "border-color-t": [{ "border-t": N() }],
+ "border-color-r": [{ "border-r": N() }],
+ "border-color-b": [{ "border-b": N() }],
+ "border-color-l": [{ "border-l": N() }],
+ "divide-color": [{ divide: N() }],
"outline-style": [{ outline: [
- ...ue(),
+ ...le(),
"none",
"hidden"
] }],
@@ -10132,7 +10132,7 @@ var d = /* @__PURE__ */ o(((e) => {
qe,
Be
] }],
- "outline-color": [{ outline: M() }],
+ "outline-color": [{ outline: N() }],
shadow: [{ shadow: [
"",
"inner",
@@ -10141,39 +10141,39 @@ var d = /* @__PURE__ */ o(((e) => {
Qe,
Ke
] }],
- "shadow-color": [{ shadow: M() }],
+ "shadow-color": [{ shadow: N() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
Qe,
Ke
] }],
- "inset-shadow-color": [{ "inset-shadow": M() }],
- "ring-w": [{ ring: le() }],
+ "inset-shadow-color": [{ "inset-shadow": N() }],
+ "ring-w": [{ ring: ce() }],
"ring-w-inset": ["ring-inset"],
- "ring-color": [{ ring: M() }],
+ "ring-color": [{ ring: N() }],
"ring-offset-w": [{ "ring-offset": [F, Be] }],
- "ring-offset-color": [{ "ring-offset": M() }],
- "inset-ring-w": [{ "inset-ring": le() }],
- "inset-ring-color": [{ "inset-ring": M() }],
+ "ring-offset-color": [{ "ring-offset": N() }],
+ "inset-ring-w": [{ "inset-ring": ce() }],
+ "inset-ring-color": [{ "inset-ring": N() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
Qe,
Ke
] }],
- "text-shadow-color": [{ "text-shadow": M() }],
+ "text-shadow-color": [{ "text-shadow": N() }],
opacity: [{ opacity: [
F,
L,
I
] }],
"mix-blend": [{ "mix-blend": [
- ...de(),
+ ...ue(),
"plus-darker",
"plus-lighter"
] }],
- "bg-blend": [{ "bg-blend": de() }],
+ "bg-blend": [{ "bg-blend": ue() }],
"mask-clip": [{ "mask-clip": [
"border",
"padding",
@@ -10189,39 +10189,39 @@ var d = /* @__PURE__ */ o(((e) => {
"exclude"
] }],
"mask-image-linear-pos": [{ "mask-linear": [F] }],
- "mask-image-linear-from-pos": [{ "mask-linear-from": fe() }],
- "mask-image-linear-to-pos": [{ "mask-linear-to": fe() }],
- "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
- "mask-image-linear-to-color": [{ "mask-linear-to": M() }],
- "mask-image-t-from-pos": [{ "mask-t-from": fe() }],
- "mask-image-t-to-pos": [{ "mask-t-to": fe() }],
- "mask-image-t-from-color": [{ "mask-t-from": M() }],
- "mask-image-t-to-color": [{ "mask-t-to": M() }],
- "mask-image-r-from-pos": [{ "mask-r-from": fe() }],
- "mask-image-r-to-pos": [{ "mask-r-to": fe() }],
- "mask-image-r-from-color": [{ "mask-r-from": M() }],
- "mask-image-r-to-color": [{ "mask-r-to": M() }],
- "mask-image-b-from-pos": [{ "mask-b-from": fe() }],
- "mask-image-b-to-pos": [{ "mask-b-to": fe() }],
- "mask-image-b-from-color": [{ "mask-b-from": M() }],
- "mask-image-b-to-color": [{ "mask-b-to": M() }],
- "mask-image-l-from-pos": [{ "mask-l-from": fe() }],
- "mask-image-l-to-pos": [{ "mask-l-to": fe() }],
- "mask-image-l-from-color": [{ "mask-l-from": M() }],
- "mask-image-l-to-color": [{ "mask-l-to": M() }],
- "mask-image-x-from-pos": [{ "mask-x-from": fe() }],
- "mask-image-x-to-pos": [{ "mask-x-to": fe() }],
- "mask-image-x-from-color": [{ "mask-x-from": M() }],
- "mask-image-x-to-color": [{ "mask-x-to": M() }],
- "mask-image-y-from-pos": [{ "mask-y-from": fe() }],
- "mask-image-y-to-pos": [{ "mask-y-to": fe() }],
- "mask-image-y-from-color": [{ "mask-y-from": M() }],
- "mask-image-y-to-color": [{ "mask-y-to": M() }],
+ "mask-image-linear-from-pos": [{ "mask-linear-from": de() }],
+ "mask-image-linear-to-pos": [{ "mask-linear-to": de() }],
+ "mask-image-linear-from-color": [{ "mask-linear-from": N() }],
+ "mask-image-linear-to-color": [{ "mask-linear-to": N() }],
+ "mask-image-t-from-pos": [{ "mask-t-from": de() }],
+ "mask-image-t-to-pos": [{ "mask-t-to": de() }],
+ "mask-image-t-from-color": [{ "mask-t-from": N() }],
+ "mask-image-t-to-color": [{ "mask-t-to": N() }],
+ "mask-image-r-from-pos": [{ "mask-r-from": de() }],
+ "mask-image-r-to-pos": [{ "mask-r-to": de() }],
+ "mask-image-r-from-color": [{ "mask-r-from": N() }],
+ "mask-image-r-to-color": [{ "mask-r-to": N() }],
+ "mask-image-b-from-pos": [{ "mask-b-from": de() }],
+ "mask-image-b-to-pos": [{ "mask-b-to": de() }],
+ "mask-image-b-from-color": [{ "mask-b-from": N() }],
+ "mask-image-b-to-color": [{ "mask-b-to": N() }],
+ "mask-image-l-from-pos": [{ "mask-l-from": de() }],
+ "mask-image-l-to-pos": [{ "mask-l-to": de() }],
+ "mask-image-l-from-color": [{ "mask-l-from": N() }],
+ "mask-image-l-to-color": [{ "mask-l-to": N() }],
+ "mask-image-x-from-pos": [{ "mask-x-from": de() }],
+ "mask-image-x-to-pos": [{ "mask-x-to": de() }],
+ "mask-image-x-from-color": [{ "mask-x-from": N() }],
+ "mask-image-x-to-color": [{ "mask-x-to": N() }],
+ "mask-image-y-from-pos": [{ "mask-y-from": de() }],
+ "mask-image-y-to-pos": [{ "mask-y-to": de() }],
+ "mask-image-y-from-color": [{ "mask-y-from": N() }],
+ "mask-image-y-to-color": [{ "mask-y-to": N() }],
"mask-image-radial": [{ "mask-radial": [L, I] }],
- "mask-image-radial-from-pos": [{ "mask-radial-from": fe() }],
- "mask-image-radial-to-pos": [{ "mask-radial-to": fe() }],
- "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
- "mask-image-radial-to-color": [{ "mask-radial-to": M() }],
+ "mask-image-radial-from-pos": [{ "mask-radial-from": de() }],
+ "mask-image-radial-to-pos": [{ "mask-radial-to": de() }],
+ "mask-image-radial-from-color": [{ "mask-radial-from": N() }],
+ "mask-image-radial-to-color": [{ "mask-radial-to": N() }],
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
"mask-image-radial-size": [{ "mask-radial": [{
closest: ["side", "corner"],
@@ -10229,10 +10229,10 @@ var d = /* @__PURE__ */ o(((e) => {
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
"mask-image-conic-pos": [{ "mask-conic": [F] }],
- "mask-image-conic-from-pos": [{ "mask-conic-from": fe() }],
- "mask-image-conic-to-pos": [{ "mask-conic-to": fe() }],
- "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
- "mask-image-conic-to-color": [{ "mask-conic-to": M() }],
+ "mask-image-conic-from-pos": [{ "mask-conic-from": de() }],
+ "mask-image-conic-to-pos": [{ "mask-conic-to": de() }],
+ "mask-image-conic-from-color": [{ "mask-conic-from": N() }],
+ "mask-image-conic-to-color": [{ "mask-conic-to": N() }],
"mask-mode": [{ mask: [
"alpha",
"luminance",
@@ -10246,9 +10246,9 @@ var d = /* @__PURE__ */ o(((e) => {
"stroke",
"view"
] }],
- "mask-position": [{ mask: ie() }],
- "mask-repeat": [{ mask: ae() }],
- "mask-size": [{ mask: oe() }],
+ "mask-position": [{ mask: re() }],
+ "mask-repeat": [{ mask: ie() }],
+ "mask-size": [{ mask: ae() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
@@ -10261,7 +10261,7 @@ var d = /* @__PURE__ */ o(((e) => {
L,
I
] }],
- blur: [{ blur: pe() }],
+ blur: [{ blur: fe() }],
brightness: [{ brightness: [
F,
L,
@@ -10279,7 +10279,7 @@ var d = /* @__PURE__ */ o(((e) => {
Qe,
Ke
] }],
- "drop-shadow-color": [{ "drop-shadow": M() }],
+ "drop-shadow-color": [{ "drop-shadow": N() }],
grayscale: [{ grayscale: [
"",
F,
@@ -10314,7 +10314,7 @@ var d = /* @__PURE__ */ o(((e) => {
L,
I
] }],
- "backdrop-blur": [{ "backdrop-blur": pe() }],
+ "backdrop-blur": [{ "backdrop-blur": fe() }],
"backdrop-brightness": [{ "backdrop-brightness": [
F,
L,
@@ -10407,18 +10407,18 @@ var d = /* @__PURE__ */ o(((e) => {
I
] }],
"perspective-origin": [{ "perspective-origin": x() }],
- rotate: [{ rotate: me() }],
- "rotate-x": [{ "rotate-x": me() }],
- "rotate-y": [{ "rotate-y": me() }],
- "rotate-z": [{ "rotate-z": me() }],
- scale: [{ scale: he() }],
- "scale-x": [{ "scale-x": he() }],
- "scale-y": [{ "scale-y": he() }],
- "scale-z": [{ "scale-z": he() }],
+ rotate: [{ rotate: pe() }],
+ "rotate-x": [{ "rotate-x": pe() }],
+ "rotate-y": [{ "rotate-y": pe() }],
+ "rotate-z": [{ "rotate-z": pe() }],
+ scale: [{ scale: me() }],
+ "scale-x": [{ "scale-x": me() }],
+ "scale-y": [{ "scale-y": me() }],
+ "scale-z": [{ "scale-z": me() }],
"scale-3d": ["scale-3d"],
- skew: [{ skew: ge() }],
- "skew-x": [{ "skew-x": ge() }],
- "skew-y": [{ "skew-y": ge() }],
+ skew: [{ skew: he() }],
+ "skew-x": [{ "skew-x": he() }],
+ "skew-y": [{ "skew-y": he() }],
transform: [{ transform: [
L,
I,
@@ -10429,19 +10429,19 @@ var d = /* @__PURE__ */ o(((e) => {
] }],
"transform-origin": [{ origin: x() }],
"transform-style": [{ transform: ["3d", "flat"] }],
- translate: [{ translate: _e() }],
- "translate-x": [{ "translate-x": _e() }],
- "translate-y": [{ "translate-y": _e() }],
- "translate-z": [{ "translate-z": _e() }],
+ translate: [{ translate: ge() }],
+ "translate-x": [{ "translate-x": ge() }],
+ "translate-y": [{ "translate-y": ge() }],
+ "translate-z": [{ "translate-z": ge() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
ke,
L,
I
] }],
- accent: [{ accent: M() }],
+ accent: [{ accent: N() }],
appearance: [{ appearance: ["none", "auto"] }],
- "caret-color": [{ caret: M() }],
+ "caret-color": [{ caret: N() }],
"color-scheme": [{ scheme: [
"normal",
"dark",
@@ -10499,8 +10499,8 @@ var d = /* @__PURE__ */ o(((e) => {
"x"
] }],
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
- "scrollbar-thumb-color": [{ "scrollbar-thumb": M() }],
- "scrollbar-track-color": [{ "scrollbar-track": M() }],
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],
+ "scrollbar-track-color": [{ "scrollbar-track": N() }],
"scrollbar-gutter": [{ "scrollbar-gutter": [
"auto",
"stable",
@@ -10577,14 +10577,14 @@ var d = /* @__PURE__ */ o(((e) => {
L,
I
] }],
- fill: [{ fill: ["none", ...M()] }],
+ fill: [{ fill: ["none", ...N()] }],
"stroke-w": [{ stroke: [
F,
qe,
Be,
Ve
] }],
- stroke: [{ stroke: ["none", ...M()] }],
+ stroke: [{ stroke: ["none", ...N()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
},
conflictingClassGroups: {
@@ -10849,7 +10849,7 @@ var d = /* @__PURE__ */ o(((e) => {
}, ht = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, gt = (e, ...t) => typeof e == "function" ? P(ut, e, ...t) : P(() => dt(ut(), e), ...t), _t = [
+}, gt = (e, ...t) => typeof e == "function" ? _e(ut, e, ...t) : _e(() => dt(ut(), e), ...t), _t = [
"large-title",
"display-1",
"display-2",
@@ -13056,16 +13056,16 @@ function oo(e) {
altKey: !1
});
}, [s]);
- let ee = (0, y.useCallback)((e) => {
+ let E = (0, y.useCallback)((e) => {
u && w(e);
- }, [u, w]), E = (0, y.useCallback)((e) => {
+ }, [u, w]), D = (0, y.useCallback)((e) => {
s || o?.(e);
- }, [s, o]), D = (0, y.useCallback)((e, t) => {
+ }, [s, o]), O = (0, y.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
Hn(n, t), o(Vn(n));
}
- }, [s, o]), O = (0, y.useMemo)(() => {
+ }, [s, o]), k = (0, y.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
if (co(t.nativeEvent, t.currentTarget) && U(t.currentTarget, G(t))) {
@@ -13083,10 +13083,10 @@ function oo(e) {
let n = !0;
if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || rr(t.nativeEvent))) {
let e = b(t, "virtual"), r = C(t, "virtual"), i = S(t, "virtual");
- E(t), n = e && r && i;
+ D(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(lo(t.currentTarget, t), r), a = S(lo(t.currentTarget, t), r, !0);
- n = i && a, e.isOverTarget = !1, E(t), T(t);
+ n = i && a, e.isOverTarget = !1, D(t), T(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
@@ -13095,7 +13095,7 @@ function oo(e) {
if (e.isPressed && e.target && co(t, e.target)) {
fo(G(t), t.key) && t.preventDefault();
let n = G(t), r = U(e.target, n);
- S(lo(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && so(e.target) && U(e.target, n) && !t[ro] && (t[ro] = !0, sr(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ S(lo(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && so(e.target) && U(e.target, n) && !t[ro] && (t[ro] = !0, sr(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;
@@ -13130,7 +13130,7 @@ function oo(e) {
}, t.onPointerEnter = (t) => {
t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, b(lo(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(lo(e.target, t), e.pointerType, !1), ee(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(lo(e.target, t), e.pointerType, !1), E(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
@@ -13156,10 +13156,10 @@ function oo(e) {
l,
v,
d,
- ee,
- b,
E,
- D
+ b,
+ D,
+ O
]);
return (0, y.useEffect)(() => {
if (!f) return;
@@ -13184,7 +13184,7 @@ function oo(e) {
};
}, [d]), {
isPressed: c || m,
- pressProps: V(p, O, { [ao]: !0 })
+ pressProps: V(p, k, { [ao]: !0 })
};
}
function so(e) {
@@ -13588,21 +13588,21 @@ function Bo(e, t, n = {}) {
e !== t && Vo(e, t, t.getBoundingClientRect(), n);
}
function Vo(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, ee = parseFloat(u.borderBottomWidth) || 0, E = parseFloat(u.borderLeftWidth) || 0, D = parseFloat(u.borderRightWidth) || 0, O = n.top - _, k = n.bottom + v, A = n.left - y, j = n.right + b, te = e === d ? 0 : E + D, ne = e === d ? 0 : T + ee, re = e === d ? 0 : e.offsetWidth - e.clientWidth - te, M = e === d ? 0 : e.offsetHeight - e.clientHeight - ne, ie = p + (f ? 0 : T) + x, ae = m - (f ? 0 : ee) - S - M, oe = h + (f ? 0 : E) + C, se = g - (f ? 0 : D) - w;
- Qn() && er() || u.direction === "ltr" ? se -= re : u.direction === "rtl" && (oe += re);
- let ce = O < ie || k > ae, le = A < oe || j > se;
- if (ce && i === "start") o += O - ie;
- else if (ce && i === "center") o += (O + k) / 2 - (ie + ae) / 2;
- else if (ce && i === "end") o += k - ae;
- else if (ce && i === "nearest") {
- let e = O - ie, t = k - ae;
+ 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, te = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, ae = h + (f ? 0 : D) + C, oe = g - (f ? 0 : O) - w;
+ Qn() && er() || u.direction === "ltr" ? oe -= ne : u.direction === "rtl" && (ae += ne);
+ let se = k < re || A > ie, ce = j < ae || M > oe;
+ if (se && i === "start") o += k - re;
+ else if (se && i === "center") o += (k + A) / 2 - (re + ie) / 2;
+ else if (se && i === "end") o += A - ie;
+ else if (se && i === "nearest") {
+ let e = k - re, t = A - ie;
o += Math.abs(e) <= Math.abs(t) ? e : t;
}
- if (le && a === "start") s += A - oe;
- else if (le && a === "center") s += (A + j) / 2 - (oe + se) / 2;
- else if (le && a === "end") s += j - se;
- else if (le && a === "nearest") {
- let e = A - oe, t = j - se;
+ if (ce && a === "start") s += j - ae;
+ else if (ce && a === "center") s += (j + M) / 2 - (ae + oe) / 2;
+ else if (ce && a === "end") s += M - oe;
+ else if (ce && a === "nearest") {
+ let e = j - ae, t = M - oe;
s += Math.abs(e) <= Math.abs(t) ? e : t;
}
e.scrollTo({
@@ -13907,7 +13907,7 @@ function _s(e, t, n) {
ds(e, x, n);
let T = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: ee, isPressed: E } = oo({
+ }, { pressProps: E, isPressed: D } = oo({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -13915,12 +13915,12 @@ function _s(e, t, n) {
onPressUp: v,
onClick: b,
isDisabled: r
- }), [D, O] = (0, y.useState)(!1), { pressProps: k } = oo({
+ }), [O, k] = (0, y.useState)(!1), { pressProps: A } = oo({
onPressStart(e) {
- e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
+ e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));
},
onPressEnd(e) {
- e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (h?.(e), g?.(!1), O(!1));
+ e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (h?.(e), g?.(!1), k(!1));
},
onPressUp(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : v?.(e);
@@ -13936,12 +13936,12 @@ function _s(e, t, n) {
a();
},
isDisabled: r || i
- }), { focusableProps: A } = ua(e, n), j = V(ee, A), te = Ga(e, { labelable: !0 });
+ }), { focusableProps: j } = ua(e, n), M = V(E, j), ee = Ga(e, { labelable: !0 });
us(n, t.defaultSelected, t.setSelected);
- let ne = gs(), re = gs();
+ let te = gs(), ne = gs();
return {
- labelProps: V(k, { onClick: (e) => e.preventDefault() }),
- inputProps: V(te, {
+ labelProps: V(A, { onClick: (e) => e.preventDefault() }),
+ inputProps: V(ee, {
checked: t.isSelected,
"aria-required": l && u === "aria" || void 0,
required: l && u === "native",
@@ -13950,8 +13950,8 @@ function _s(e, t, n) {
"aria-controls": e["aria-controls"],
"aria-readonly": i || void 0,
"aria-describedby": [
+ te.id,
ne.id,
- re.id,
p
].filter(Boolean).join(" ") || void 0,
onChange: T,
@@ -13960,12 +13960,12 @@ function _s(e, t, n) {
name: o,
form: s,
type: "checkbox",
- ...j
+ ...M
}),
- descriptionProps: ne,
- errorMessageProps: re,
+ descriptionProps: te,
+ errorMessageProps: ne,
isSelected: t.isSelected,
- isPressed: E || D,
+ isPressed: D || O,
isDisabled: r,
isReadOnly: i,
isInvalid: S || e.validationState === "invalid",
@@ -15285,25 +15285,25 @@ function dl(e) {
}
}
return !1;
- }, ee = (e) => {
+ }, E = (e) => {
if (n.getKeyPageBelow && t.focusedKey != null) {
let r = n.getKeyPageBelow(t.focusedKey);
if (r != null) return v(e, r);
}
return !1;
- }, E = (e) => {
+ }, D = (e) => {
if (n.getKeyPageAbove && t.focusedKey != null) {
let r = n.getKeyPageAbove(t.focusedKey);
if (r != null) return v(e, r);
}
return !1;
- }, D = () => {
+ }, O = () => {
if (t.selectionMode === "multiple" && s !== !0) t.selectAll();
else return !1;
- }, O = () => {
+ }, k = () => {
if (c === "clearSelection" && !o && t.selectedKeys.size !== 0) t.clearSelection();
else return !1;
- }, k = () => {
+ }, A = () => {
if (!f && r.current) {
let e = Qc(r.current, { tabbable: !0 }), t, n;
do
@@ -15316,42 +15316,42 @@ function dl(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
};
- }, A = () => (!f && r.current && r.current.focus(), {
+ }, j = () => (!f && r.current && r.current.focus(), {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
- }), j = (e, t) => ({
+ }), M = (e, t) => ({
[Yn() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
[Yn() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: te } = oa({
+ }), { keyboardProps: ee } = oa({
shortcuts: {
- ...j("ArrowDown", b),
- ...j("ArrowUp", x),
- ...j("ArrowLeft", C),
- ...j("ArrowRight", w),
- ...j("PageDown", ee),
- ...j("PageUp", E)
+ ...M("ArrowDown", b),
+ ...M("ArrowUp", x),
+ ...M("ArrowLeft", C),
+ ...M("ArrowRight", w),
+ ...M("PageDown", E),
+ ...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: ne } = oa({ shortcuts: {
- ...j("Home", S),
- ...j("End", T),
- "Mod+A": D,
- Escape: O,
- Tab: k,
- "Tab+Shift": A
- } }), re = (0, y.useRef)({
+ }), { keyboardProps: te } = oa({ shortcuts: {
+ ...M("Home", S),
+ ...M("End", T),
+ "Mod+A": O,
+ Escape: k,
+ Tab: A,
+ "Tab+Shift": j
+ } }), ne = (0, y.useRef)({
top: 0,
left: 0
});
Xr(p, "scroll", () => {
- re.current = {
+ ne.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
};
});
- let M = (e) => {
+ let N = (e) => {
if (t.isFocused) {
U(e.currentTarget, G(e)) || t.setFocused(!1);
return;
@@ -15366,34 +15366,34 @@ function dl(e) {
else if (t.focusedKey == null) {
let r = e.relatedTarget;
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 = re.current.top, p.current.scrollLeft = re.current.left);
+ } else p.current && (p.current.scrollTop = ne.current.top, p.current.scrollLeft = ne.current.left);
if (t.focusedKey != null && p.current) {
let e = rl(r, t.focusedKey);
e instanceof HTMLElement && (!Tn(e) && !d && An(e), (i === "keyboard" || h && i === "virtual") && Ho(e, { containingElement: r.current }));
}
- }, ie = (e) => {
+ }, re = (e) => {
U(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
- }, ae = (0, y.useRef)(!1);
+ }, ie = (0, y.useRef)(!1);
Xr(r, mn, d ? (e) => {
let { detail: n } = e;
- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ae.current = !0);
+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ie.current = !0);
} : void 0);
- let oe = n.getFirstKey?.() ?? null;
+ let ae = n.getFirstKey?.() ?? null;
ul(() => {
- if (ae.current) {
- if (oe == null) {
+ if (ie.current) {
+ if (ae == null) {
let e = W();
- En(r.current), On(e, null), t.collection.size > 0 && (ae.current = !1);
- } else t.setFocusedKey(oe), ae.current = !1;
+ En(r.current), On(e, null), t.collection.size > 0 && (ie.current = !1);
+ } else t.setFocusedKey(ae), ie.current = !1;
}
- }, [oe, t.collection.size]), ul(() => {
- t.collection.size > 0 && (ae.current = !1);
+ }, [ae, t.collection.size]), ul(() => {
+ t.collection.size > 0 && (ie.current = !1);
}, [t.focusedKey]), Xr(r, pn, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
- let se = (0, y.useRef)(i), ce = (0, y.useRef)(!1);
+ let oe = (0, y.useRef)(i), se = (0, y.useRef)(!1);
(0, y.useEffect)(() => {
- if (se.current) {
+ if (oe.current) {
let e = null;
i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);
let a = t.selectedKeys;
@@ -15403,42 +15403,42 @@ function dl(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Ki(r.current), t.collection.size > 0 && (se.current = !1, ce.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Ki(r.current), t.collection.size > 0 && (oe.current = !1, se.current = !0);
}
});
- let le = (0, y.useRef)(t.focusedKey), ue = (0, y.useRef)(null);
+ let ce = (0, y.useRef)(t.focusedKey), le = (0, y.useRef)(null);
(0, y.useEffect)(() => {
- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== le.current || ce.current) && p.current && r.current) {
+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ce.current || se.current) && p.current && r.current) {
let e = kr(), n = rl(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
- (e === "keyboard" || ce.current) && (ue.current && cancelAnimationFrame(ue.current), ue.current = requestAnimationFrame(() => {
+ (e === "keyboard" || se.current) && (le.current && cancelAnimationFrame(le.current), le.current = requestAnimationFrame(() => {
p.current && (Bo(p.current, n), e !== "virtual" && Ho(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && le.current != null && r.current && Ki(r.current), le.current = t.focusedKey, ce.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ce.current != null && r.current && Ki(r.current), ce.current = t.focusedKey, se.current = !1;
}), (0, y.useEffect)(() => () => {
- ue.current && cancelAnimationFrame(ue.current);
+ le.current && cancelAnimationFrame(le.current);
}, []), Xr(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
- let de = {
- ...V(ne, te),
- onFocus: M,
- onBlur: ie,
+ let ue = {
+ ...V(te, ee),
+ onFocus: N,
+ onBlur: re,
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: fe } = cl({
+ }, { typeSelectProps: de } = cl({
keyboardDelegate: n,
selectionManager: t
});
- u || (de = V(fe, de));
- let pe;
- d || (pe = t.focusedKey == null ? 0 : -1);
- let me = al(t.collection);
- return { collectionProps: V(de, {
- tabIndex: pe,
- "data-collection": me
+ u || (ue = V(de, ue));
+ let fe;
+ d || (fe = t.focusedKey == null ? 0 : -1);
+ let pe = al(t.collection);
+ return { collectionProps: V(ue, {
+ tabIndex: fe,
+ "data-collection": pe
}) };
}
//#endregion
@@ -15758,77 +15758,77 @@ function bl(e) {
c,
r
]);
- let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, b = (l || _) && !c, x = b && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), S = b && v && n.selectionBehavior === "replace", C = x || S, w = (0, y.useRef)(null), T = C && v, ee = (0, y.useRef)(!1), E = (0, y.useRef)(!1), D = n.getItemProps(r), O = (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) => {
- w.current = e.pointerType, ee.current = T, e.pointerType === "keyboard" && (!C || Sl(e.key)) && p(e);
- }, u ? (k.onPressUp = x ? void 0 : (e) => {
+ let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, b = (l || _) && !c, x = b && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), S = b && v && n.selectionBehavior === "replace", C = x || S, w = (0, y.useRef)(null), T = C && v, E = (0, y.useRef)(!1), D = (0, y.useRef)(!1), O = n.getItemProps(r), k = (e) => {
+ l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
+ }, A = { ref: i };
+ a ? (A.onPressStart = (e) => {
+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || Sl(e.key)) && p(e);
+ }, u ? (A.onPressUp = x ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
- }, k.onPress = x ? O : (e) => {
+ }, A.onPress = x ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
- }) : k.onPress = (e) => {
+ }) : A.onPress = (e) => {
if (x || S && e.pointerType !== "mouse") {
if (e.pointerType === "keyboard" && !xl(e.key)) return;
- O(e);
+ k(e);
} else e.pointerType !== "keyboard" && v && p(e);
- }) : (k.onPressStart = (e) => {
- w.current = e.pointerType, ee.current = T, E.current = x, v && (e.pointerType === "mouse" && !x || e.pointerType === "keyboard" && (!b || Sl(e.key))) && p(e);
- }, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && xl(e.key) || e.pointerType === "mouse" && E.current) && (C ? O(e) : v && p(e));
+ }) : (A.onPressStart = (e) => {
+ w.current = e.pointerType, E.current = T, D.current = x, v && (e.pointerType === "mouse" && !x || e.pointerType === "keyboard" && (!b || Sl(e.key))) && p(e);
+ }, A.onPress = (e) => {
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && xl(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
});
- let A = ol(n.collection);
- if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = V(k, {
+ let j = ol(n.collection);
+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = V(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
},
onPress(e) {
e.pointerType === "touch" && (n.setFocused(!0), n.setFocusedKey(r));
}
- })), D) for (let e of [
+ })), O) for (let e of [
"onPressStart",
"onPressEnd",
"onPressChange",
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = jt(k[e], D[e]));
- let { pressProps: j, isPressed: te } = oo(k), ne = S ? (e) => {
- w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: re } = yl({
+ ]) O[e] && (A[e] = jt(A[e], O[e]));
+ let { pressProps: M, isPressed: ee } = oo(A), te = S ? (e) => {
+ w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
+ } : void 0, { longPressProps: ne } = yl({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
}
- }), M = (e) => {
- w.current === "touch" && ee.current && e.preventDefault();
- }, ie = d !== "none" && n.isLink(r) ? (e) => {
+ }), N = (e) => {
+ w.current === "touch" && E.current && e.preventDefault();
+ }, re = d !== "none" && n.isLink(r) ? (e) => {
sr.isOpening || e.preventDefault();
- } : void 0, ae = V(m, v || x || o && !c ? j : {}, T ? re : {}, {
- onDoubleClick: ne,
- onDragStartCapture: M,
- onClick: ie,
+ } : void 0, ie = V(m, v || x || o && !c ? M : {}, T ? ne : {}, {
+ onDoubleClick: te,
+ onDragStartCapture: N,
+ onClick: re,
id: t
- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), oe = (e) => {
+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ae = (e) => {
let t = e;
for (; t && t !== i.current;) {
let e = t.getAttribute("data-collection");
- if (e != null) return e !== A;
+ if (e != null) return e !== j;
t = t.parentElement;
}
return zn(e);
- }, se = ae.onPointerDown;
- ae.onPointerDown = (e) => {
+ }, oe = ie.onPointerDown;
+ ie.onPointerDown = (e) => {
let t = G(e);
- t && t !== i.current && oe(t) ? e.stopPropagation() : se?.(e);
+ t && t !== i.current && ae(t) ? e.stopPropagation() : oe?.(e);
};
- let ce = ae.onMouseDown;
- return ae.onMouseDown = (e) => {
+ let se = ie.onMouseDown;
+ return ie.onMouseDown = (e) => {
let t = G(e);
- t && t !== i.current && oe(t) ? e.stopPropagation() : ce?.(e);
+ t && t !== i.current && ae(t) ? e.stopPropagation() : se?.(e);
}, {
- itemProps: ae,
- isPressed: te,
+ itemProps: ie,
+ isPressed: ee,
isSelected: n.isSelected(r),
isFocused: n.isFocused && n.focusedKey === r,
isDisabled: c,
@@ -16548,15 +16548,15 @@ function Ql({ state: e, props: t, listBoxRef: n }) {
isVirtualized: g
}, s, n);
(0, y.useRef)(u), (0, y.useRef)(d), (0, y.useEffect)(() => {}, [u, d]);
- let C, w, T, ee = !1, E = null, D = (0, y.useRef)(null);
+ let C, w, T, E = !1, D = null, O = (0, y.useRef)(null);
if (u && r) {
C = r.useDraggableCollectionState({
collection: c,
selectionManager: l,
- preview: r.renderDragPreview ? D : void 0
+ preview: r.renderDragPreview ? O : void 0
}), r.useDraggableCollection({}, C, n);
let e = r.DragPreview;
- E = r.renderDragPreview ? /*#__PURE__*/ y.createElement(e, { ref: D }, r.renderDragPreview) : null;
+ D = r.renderDragPreview ? /*#__PURE__*/ y.createElement(e, { ref: O }, r.renderDragPreview) : null;
}
if (d && r) {
w = r.useDroppableCollectionState({
@@ -16571,36 +16571,36 @@ function Ql({ state: e, props: t, listBoxRef: n }) {
T = r.useDroppableCollection({
keyboardDelegate: x,
dropTargetDelegate: e
- }, w, n), ee = w.isDropTarget({ type: "root" });
+ }, w, n), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = go(), j = s.collection.size === 0, te = {
- isDropTarget: ee,
- isEmpty: j,
- isFocused: k,
- isFocusVisible: A,
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = go(), M = s.collection.size === 0, ee = {
+ isDropTarget: E,
+ isEmpty: M,
+ isFocused: A,
+ isFocusVisible: j,
layout: t.layout || "stack",
orientation: a,
state: s
- }, ne = an({
+ }, te = an({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
- values: te
- }), re = null;
- j && t.renderEmptyState && (re = /*#__PURE__*/ y.createElement("div", {
+ values: ee
+ }), ne = null;
+ M && t.renderEmptyState && (ne = /*#__PURE__*/ y.createElement("div", {
role: "option",
style: { display: "contents" }
- }, t.renderEmptyState(te)));
- let M = Ga(t, { global: !0 });
+ }, t.renderEmptyState(ee)));
+ let N = Ga(t, { global: !0 });
return /*#__PURE__*/ y.createElement(Mc, null, /*#__PURE__*/ y.createElement(fn.div, {
- ...V(M, ne, S, O, T?.collectionProps),
+ ...V(N, te, S, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
- "data-drop-target": ee || void 0,
- "data-empty": j || void 0,
- "data-focused": k || void 0,
- "data-focus-visible": A || void 0,
+ "data-drop-target": E || void 0,
+ "data-empty": M || void 0,
+ "data-focused": A || void 0,
+ "data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
}, /*#__PURE__*/ y.createElement(rn, { values: [
@@ -16622,7 +16622,7 @@ function Ql({ state: e, props: t, listBoxRef: n }) {
scrollRef: n,
persistedKeys: vc(l, r, w),
renderDropIndicator: _c(r, w)
- }))), re, E));
+ }))), ne, D));
}
function $l(e, t, n, r = "react-aria-ListBoxSection") {
let i = (0, y.useContext)(Yl), { dragAndDropHooks: a, dropState: o } = (0, y.useContext)(mc), { CollectionBranch: s } = (0, y.useContext)(Ra), [c, l] = cn(), { headingProps: u, groupProps: d } = jl({
@@ -16961,30 +16961,30 @@ function Tu(e, t, n, r, i, a, o, s) {
return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[fu[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[fu[l]] - i);
}
function Eu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Su(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Cu(t, s, n, v, u, d, l, f, m, h, c), T = u, ee = Tu(s, l, t, i, a + u, v, c, g);
- if (o && n[y] > ee) {
+ let v = Su(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Cu(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Tu(s, l, t, i, a + u, v, c, g);
+ if (o && n[y] > E) {
let e = Su(`${fu[S]} ${C}`), r = Cu(t, s, n, e, u, d, l, f, m, h, c);
- Tu(s, l, t, i, a + u, e, c, g) > ee && (v = e, w = r, T = u);
- }
- let E = "bottom";
- v.axis === "top" ? v.placement === "top" ? E = "top" : v.placement === "bottom" && (E = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? E = "bottom" : v.crossPlacement === "bottom" && (E = "top"));
- let D = bu(b, w[b], n[x], s, c, a, l);
- w[b] += D;
- let O = wu(w, s, l, f, i, a, n.height, E, c, g, _);
- p && p < O && (O = p), n.height = Math.min(n.height, O), w = Cu(t, s, n, v, T, d, l, f, m, h, c), D = bu(b, w[b], n[x], s, c, a, l), w[b] += D;
- let k = {}, A = t[b] - w[b] - i[du[b]], j = A + .5 * t[x], te = m / 2 + h, ne = du[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), re = n[x] - ne - m / 2 - h;
- k[b] = Eo(Eo(j, t[b] + m / 2 - (w[b] + i[du[b]]), t[b] + t[x] - m / 2 - (w[b] + i[du[b]])), te, re), {placement: S, crossPlacement: C} = v, m ? A = k[b] : C === "right" ? A += t[x] : C === "center" && (A += t[x] / 2);
- let M = S === "left" || S === "top" ? n[y] : 0, ie = {
- x: S === "top" || S === "bottom" ? A : M,
- y: S === "left" || S === "right" ? A : M
+ Tu(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 = bu(b, w[b], n[x], s, c, a, l);
+ w[b] += O;
+ let k = wu(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Cu(t, s, n, v, T, d, l, f, m, h, c), O = bu(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[du[b]], M = j + .5 * t[x], ee = m / 2 + h, te = du[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;
+ A[b] = Eo(Eo(M, t[b] + m / 2 - (w[b] + i[du[b]]), t[b] + t[x] - m / 2 - (w[b] + i[du[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let N = S === "left" || S === "top" ? n[y] : 0, re = {
+ x: S === "top" || S === "bottom" ? j : N,
+ y: S === "left" || S === "right" ? j : N
};
return {
position: w,
- maxHeight: O,
- arrowOffsetLeft: k.left,
- arrowOffsetTop: k.top,
+ maxHeight: k,
+ arrowOffsetLeft: A.left,
+ arrowOffsetTop: A.top,
placement: S,
- triggerAnchorPoint: ie
+ triggerAnchorPoint: re
};
}
function Du(e) {
@@ -17010,8 +17010,8 @@ function Du(e) {
width: 0,
height: 0
} : Au(s, h, !1);
- let ee = U(s, h);
- return Eu(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, ee, m);
+ let E = U(s, h);
+ return Eu(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
function Ou(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
@@ -17173,13 +17173,13 @@ function Ru(e) {
Lu?.removeEventListener("resize", t), Lu?.removeEventListener("scroll", n), r();
};
}, [w]);
- let ee = (0, y.useCallback)(() => {
+ let E = (0, y.useCallback)(() => {
T.current || h?.();
}, [h, T]);
return Pu({
triggerRef: r,
isOpen: m,
- onClose: h && ee
+ onClose: h && E
}), {
overlayProps: { style: {
position: b ? "absolute" : "fixed",
@@ -17790,21 +17790,21 @@ function rf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
let e = b.children;
for (let t of [ef, ...r ?? []]) e = /*#__PURE__*/ y.createElement(t.Provider, { value: null }, e);
return e;
- }, [b.children, r]), [T, ee] = (0, y.useState)(null), E = (0, y.useCallback)(() => {
- i.triggerRef.current && ee(i.triggerRef.current.getBoundingClientRect().width + "px");
+ }, [b.children, r]), [T, E] = (0, y.useState)(null), D = (0, y.useCallback)(() => {
+ i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- z(E, [E]), Iu({
+ z(D, [D]), Iu({
ref: b.style?.["--trigger-width"] ? void 0 : i.triggerRef,
- onResize: E
+ onResize: D
});
- let D = {
+ let O = {
...d.style,
"--trigger-anchor-point": h ? `${h.x}px ${h.y}px` : void 0,
...b.style,
"--trigger-width": b.style?.["--trigger-width"] || T
};
z(() => Q(() => u(!0)), []);
- let O = /*#__PURE__*/ y.createElement(fn.div, {
+ let k = /*#__PURE__*/ y.createElement(fn.div, {
...V(Ga(i, { global: !0 }), d),
...b,
id: S ? i.id : void 0,
@@ -17814,7 +17814,7 @@ function rf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
"aria-labelledby": i["aria-labelledby"],
ref: g,
slot: i.slot || void 0,
- style: D,
+ style: O,
dir: i.dir,
"data-trigger": i.trigger,
"data-placement": m,
@@ -17830,7 +17830,7 @@ function rf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
shouldContainFocus: S && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ y.createElement(Yd, {
+ }, k) : /*#__PURE__*/ y.createElement(Yd, {
...i,
shouldContainFocus: S && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -17845,7 +17845,7 @@ function rf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
}), /*#__PURE__*/ y.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ y.createElement(tf.Provider, { value: o }, O)));
+ }, /*#__PURE__*/ y.createElement(tf.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ar-AE.mjs
@@ -18206,9 +18206,9 @@ function Kf(e, t, n) {
}
}), { focusableProps: x } = ua(V(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = V(g, x), C = Ga(e, { labelable: !0 }), w = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);
- let { name: T, form: ee, descriptionId: E, errorMessageId: D, validationBehavior: O } = Gf.get(t);
- us(n, t.defaultSelectedValue, t.setSelectedValue), ds({ validationBehavior: O }, t, n);
- let k = gs();
+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = Gf.get(t);
+ us(n, t.defaultSelectedValue, t.setSelectedValue), ds({ validationBehavior: k }, t, n);
+ let A = gs();
return {
labelProps: V(v, (0, y.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -18218,21 +18218,21 @@ function Kf(e, t, n) {
...S,
type: "radio",
name: T,
- form: ee,
+ form: E,
tabIndex: w,
disabled: p,
- required: t.isRequired && O === "native",
+ required: t.isRequired && k === "native",
checked: m,
value: r,
onChange: h,
"aria-describedby": [
e["aria-describedby"],
- k.id,
- t.isInvalid ? D : null,
- E
+ A.id,
+ t.isInvalid ? O : null,
+ D
].filter(Boolean).join(" ") || void 0
}),
- descriptionProps: k,
+ descriptionProps: A,
isDisabled: p,
isSelected: m,
isPressed: _ || b
@@ -19404,16 +19404,12 @@ var am = [
}
], om = am, sm = am.map((e) => [e.id, e.label + (e.read_only ? "(只读)" : "")]);
am.map((e) => e.id);
-var cm = am.filter((e) => e.cloud).map((e) => e.id);
-Object.fromEntries(am.map((e) => [e.id, e.name]));
-//#endregion
-//#region src/ui-kit/media-source-icons.ts
-var lm = {
+var cm = am.filter((e) => e.cloud).map((e) => e.id), lm = Object.fromEntries(am.map((e) => [e.id, e.name])), um = {
local: "hard-drive",
guangya: "database",
115: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHB0lEQVR4nO2bbUwURxjH/zN38qIcb4JWoIoHFYumWhDbRquNiSlYC4ZGjVYrotHWD1VTLdY00X7zbA22Na21KWqsUMHYSiygJjaRQDW+VK2YioBarVZBQA9QDm6nedajCuxxHrfH7dX+kiXcvszM8+zO7DPP/JfBzcQmfx4O1jpJEmKUgBTHwUYIIAyAwbYRZtoYUCdBVDLwi5yxCgjfo1Uly2vd2T7mjkJj3vgsUVitcwWkqQxstAv1CAFxnoEfZjpdbvXPq05p1gFxqSZDexuWCIhMCMTDHTBcYGA5+n7YdrEwy6xOkS4yJi07uMliWSGEeB9ACPqGBsbYFwE+PpvP7l/Z6BEHCCFYzDRTBgATBMLhCRhofMiqLsrawRgTvSuiFxinbxjK2pErgAnQAAwoE3rMrTmw5s9eXOscxpSNE5iQ9glgEDQEA24LxtNrij8sc+Y67szJscmmTAjpiNaMJ+Q2CemI3Ea1n4CZM/N1p5pqPoXASngDDNmJAcbVBQWzrI5PfRLjzTX7AKTCuyhMNBjTHTmBOypFvvPeZzyRamt775+A2GRTpgTxHbwYDraoqiQrx2kHGFM2TqBBBYAPvBsLGJ9i7+3AenjPn9DiaN/rV6QeSUpxgl4pwotNMeWqbXw/PceYuAiEBvk7dZ2/Xz8MCQvE2JERGB4ZgteXOt8jyRY5cBPi1a4Ro77rybbwVtUIzzDAF7mmOYiPGexSOZt2Hu31tRS12mzbbvctMCYtO1iO7VVmUXqSy8bX323Bjp9OutoUk81GZQc0WSwr1J7YBAb4IiNtnMvlbCs4jpYHba4VIhAu26jkgLhUk8E2pVWVRenj5S7QWyxtVhQcOoecH0+o0h6ykWztNga0t2GJ2vP5oAA/ZKQldtv/1Q+/Yv8vFWg0P3BYhrm5Fa2WdjWbFWKzdVMnB8iZHJVZ/NZ4BPTvfPfzis64NJipgc1W2QG8I4endhor2OCHd1ITOu27/6AN2btK4XEE4mWbYXMAJTD74u5/f+A07jS2QAt02MzlH5Cmqn/3u/d9vV6HyeOM8nFP02Ezo7y9hPu31MwQr86YjHdnv9zjOTXX7+D4uWsoKv0D5WeuwgMIDv/Belq0gFDP+JBAf8zv0veVMEYNlLc508bir1t3sffw78g/eA5/16mS7X4SGNnOacVG7b4/wN+5CWTk4CAsnzcRh79djPlvOnaeWkhCjOK0XKVmoXWNzdhTchalpy7Ld9YZ+vv5YP2yqfK8YfDAALgbASmOxSRvoGmv67GqHcJCBuDFkRHybC5pdBQSno8EY457XPW1O5i9ajca7t13V9Oo359kxuQNlwFEo494JsyAGVNGYeGMcbJzeuLcxZt4e02e63MA+1yh1+C/cXFfQIPc1vxjmJSxFZt3lcJqleye+0LcEKyYP9GdzTH0uQM6oPj+y9xyzM3Kw83ae3bPmzc9ARGDAt3qAI9ysuI6Zn2wG7X1TYrHfX30WDb7FbfVz23iBI9yo/YeFq/bK88VlJicZHRX1WZNOIA4X3ULuw6cVjwWER6I6Ai3rLybOclSoBFy9p2wO/ePHTpQ9foYUMdJkwONUNvQjIuXlSVBOp36w5UEUclJkAQNcdPOXIDTs6oyjMRYshpLQ1gl5big5nq96nVxxio4SdEeps21QVx0uGJesPKK6mo5QbZz0uGRFA0agMLk4ZGh3faX/XaF9HKqQjZXlSyvlUcW0uFBA9BUWKmvUxZZbTps5vIPnS4XHoZecwsU0mgHyypRUU0JK3XpsJnTH1mByXABHoKySFvWzpAXQrtOiT/aXKx+hQwXOlSn/NE+ZldE4E6GDQlGwaZ5eG4YyYcfcbu+CRkf5+Nuk+PFE2d53Fbe8Q/JT0mBiT6CJjlLZ76Eoq8zMTyq88B36WodFqzdgxu37c8SXaDBZqtMpxEnJsW0XgixDm6CNAKUGaLU+OzkMQgN6t/peLtVwjf5x7Alr1xeE3QHjLFPqouz1ivqAwJ8fDabLa3LXF0hHjEsDBMSoqHjHH4+egwM7g9jVCgS46O69XOC0l6Hyiuxs/CU3VBYFRhqycbOu7pgTNmwEAI5aiyMvjbeiEkJRhifDUXkoCB5qbyt3YrmFguu3mxE5dVaHCq7hPIzV2CV+iAWY8isKV6zvUcHiIcSmVKt6IDV1BNXFWd1k8jwbicyJkh4TMIi/EewiaTmKinKudIFpKYi4bEsMfN+LLKI2o6SnNu7inR1HOw9eDlkQ08Kct7TxbLCkiEb3gpDdk8qUcJhmoVU1yQ8hvdRaGs7XHJAQcEsK6muvepJILn8EyjFCafyTDbx9Nca1g9bqM87euwfhzlbw1P9yQxBFZDwmAILaATbR1NJzhpP/P/ZHFzkqf1wsitP7aezSjyVH0/DDlr/fP4fOwTeE5lpP+gAAAAASUVORK5CYII=",
pikpak: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACY0lEQVR4nNWXy2tTQRSHv7m5RUWttqlNW1OairhKNbrU+lhE/AOkdCOIIO7arty0QhSxCIIQ7VJwIfgfCIJdFB+rgC32AVIflD5CbFUsoohJRiZzb5Ne05p4kxv94HCTc+bO+c0MM3eOoICD/TJswAAQBdoBH5UhA8wDo1mIv7ojpuyAsH9EBuQgkmuASXVJI4lN3BXDawIifXIQwQ28RDA0ERfDwpr2cQ9G7iSdhcOGteZeJ1eYKreB5DS1I2oiCJba2hDQVA9tjdDaCHMfICuhMwDJz5D8BMtftK9E2s2NttrJMOxvzSdT1rIb6goW69KIXsjr5/K+nxlIWWKWrOebJIxNFhXgK7r20QjcPL+59PllGH8LarDvU3oWFHU+CDZpK+TKA3j88vd+zGKd93av/y8lrKxao7Ls6bROrrj6EE6E9WzZppZKrJ0y0Hu8RAGhZuhohqk5nShp2Y/0+nZqxPaoFQsr2my2mNDSkBe01w/7AvAu9QcB/nrYs0vboU4qSsNOwCHAoMYY/5WAsckNt1NJ8WKY5TS+fF8/E7f/Lu5aQDrjLu5agOlzF3ct4NYFd3HXAk51uYv/k9vQLPeFr9/h4gh0dcCBNu17vaiP7nt9sGNblQVs3wo9x+DZNCRm9aUyFICebh0rF9PpWP22+QvqC3f2qLZyKda34XTMLsGLGSrO8xndtxMR6ZfqQ+tz7uczRyDor0zyxY/6LlDkoMqYVsUSKvSqho8SVB/JglqCUWqF4ImharVcueQ96j4bN3KFoiDmeXpJTOXO7QJVoyEZ8mgm0rm6sLA4talFef4LaurBZfZxNPMAAAAASUVORK5CYII="
-}, um = Object.fromEntries(om.map((e) => [e.id, lm[e.id] || e.icon])), dm = bt({
+}, dm = Object.fromEntries(om.map((e) => [e.id, um[e.id] || e.icon])), fm = bt({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -19437,15 +19433,15 @@ var lm = {
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function fm({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = yt(dm.base, dm.size[t], dm.variant[e], a), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+function pm({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = yt(fm.base, fm.size[t], fm.variant[e], a), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
n ? /* @__PURE__ */ (0, R.jsx)(n, {
- className: dm.icon[t],
+ className: fm.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, R.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, R.jsx)(r, {
- className: dm.icon[t],
+ className: fm.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -19472,22 +19468,22 @@ function fm({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function pm({ role: e, children: t }) {
+function mm({ role: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function mm({ children: e }) {
+function hm({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function hm({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, R.jsx)(fm, {
+function gm({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, R.jsx)(pm, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
@@ -19501,13 +19497,13 @@ function hm({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function gm({ children: e }) {
+function _m({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function _m({ term: e, children: t }) {
+function vm({ term: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, R.jsx)("dt", {
@@ -19519,7 +19515,7 @@ function _m({ term: e, children: t }) {
})]
});
}
-function vm({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
+function ym({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
let a = (0, y.useId)(), o = (0, y.useRef)(null), s = (0, y.useRef)(null), c = (0, y.useRef)(!1), [l, u] = (0, y.useState)(t);
return /* @__PURE__ */ (0, R.jsxs)("details", {
ref: (e) => {
@@ -19554,7 +19550,7 @@ function vm({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
})]
});
}
-function ym({ name: e }) {
+function bm({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -19563,18 +19559,18 @@ function ym({ name: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function bm({ mark: e }) {
+function xm({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, R.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, R.jsx)(ym, { name: e });
+ }) : /* @__PURE__ */ (0, R.jsx)(bm, { name: e });
}
//#endregion
//#region src/react/pages/setup/setup-done.tsx
-function xm({ done: e }) {
+function Sm({ done: e }) {
let t = (0, y.useRef)(null);
return (0, y.useEffect)(() => {
document.title = "Peach · 设置完成", t.current?.focus();
@@ -19597,11 +19593,11 @@ function xm({ done: e }) {
className: "self-start",
children: e.history_guide ? "导入浏览器历史记录" : "进入 Peach"
}),
- /* @__PURE__ */ (0, R.jsx)(vm, {
+ /* @__PURE__ */ (0, R.jsx)(ym, {
summary: "运行信息",
- children: /* @__PURE__ */ (0, R.jsx)(gm, { children: e.facts.map((e) => /* @__PURE__ */ (0, R.jsxs)(_m, {
+ children: /* @__PURE__ */ (0, R.jsx)(_m, { children: e.facts.map((e) => /* @__PURE__ */ (0, R.jsxs)(vm, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, R.jsx)(hm, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, R.jsx)(gm, {
href: e.download_url,
children: e.download_label ?? e.download_url
}) : null]
@@ -19612,7 +19608,7 @@ function xm({ done: e }) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Sm = bt({
+var Cm = bt({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -19674,8 +19670,8 @@ var Sm = bt({
}
}
});
-function Cm({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Sm[t];
+function wm({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Cm[t];
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
className: yt("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? yt("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"),
@@ -19685,12 +19681,12 @@ function Cm({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function wm({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function Tm({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, R.jsx)(xp, {
ref: i,
...a,
className: (t) => yt("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, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Cm, {
+ children: (e) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(wm, {
state: e,
size: n,
shape: r
@@ -19702,56 +19698,56 @@ function wm({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var Tm = (e, t, n) => n > t ? t : n < e ? e : n, Em = {};
+var Em = (e, t, n) => n > t ? t : n < e ? e : n, Dm = {};
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function Dm(e) {
+function Om(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var Om = /* @__NO_SIDE_EFFECTS__ */ (e) => e, km = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Am = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, jm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Mm = {
+var km = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Am = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, jm = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Mm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Nm = {
delta: 0,
timestamp: 0,
isProcessing: !1
-}, Nm;
-function Pm() {
- Nm = void 0;
+}, Pm;
+function Fm() {
+ Pm = void 0;
}
-var Fm = {
- now: () => (Nm === void 0 && Fm.set(Mm.isProcessing || Em.useManualTiming ? Mm.timestamp : performance.now()), Nm),
+var Im = {
+ now: () => (Pm === void 0 && Im.set(Nm.isProcessing || Dm.useManualTiming ? Nm.timestamp : performance.now()), Pm),
set: (e) => {
- Nm = e, queueMicrotask(Pm);
+ Pm = e, queueMicrotask(Fm);
}
-}, Im = (e, t, n = 10) => {
+}, Lm = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, Lm = 2e4;
-function Rm(e, t = 50, n = Lm, r) {
+}, Rm = 2e4;
+function zm(e, t = 50, n = Rm, r) {
let i = 0, a = e.next(i);
for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);
return i >= n ? Infinity : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function zm(e, t = 100, n) {
+function Bm(e, t = 100, n) {
let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({
...e,
velocity: i && a ? i * t / a : i,
keyframes: [0, t]
- }), s = Math.min(Rm(o), Lm);
+ }), s = Math.min(zm(o), Rm);
return {
type: "keyframes",
ease: (e) => o.next(s * e).value / t,
- duration: /* @__PURE__ */ Am(s)
+ duration: /* @__PURE__ */ jm(s)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var Bm = {
+var Vm = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -19769,63 +19765,63 @@ var Bm = {
minDuration: .01,
maxDuration: 10,
minDamping: .05
-}, Vm = (e) => e < 0 ? 1 / Math.max(1 + e, Bm.minDamping) : Math.max(1 - e, Bm.minDamping);
-function Hm(e, t) {
+}, Hm = (e) => e < 0 ? 1 / Math.max(1 + e, Vm.minDamping) : Math.max(1 - e, Vm.minDamping);
+function Um(e, t) {
if (!(e > 1)) return 1;
let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);
- return Gm((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;
+ return Km((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;
}
-function Um(e, t) {
+function Wm(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var Wm = 12;
-function Gm(e, t, n) {
+var Gm = 12;
+function Km(e, t, n) {
let r = n;
- for (let n = 1; n < Wm; n++) r -= e(r) / t(r);
+ for (let n = 1; n < Gm; n++) r -= e(r) / t(r);
return r;
}
-var Km = .001;
-function qm({ duration: e = Bm.duration, bounce: t = Bm.bounce }) {
+var qm = .001;
+function Jm({ duration: e = Vm.duration, bounce: t = Vm.bounce }) {
let n, r;
- Bm.maxDuration;
- let i = Vm(t);
- e = Tm(Bm.minDuration, Bm.maxDuration, /* @__PURE__ */ Am(e)), i < 1 ? (n = (t) => {
- let n = t * i, r = n * e, a = Um(t, i), o = Math.exp(-r);
- return Km - n / a * o;
+ Vm.maxDuration;
+ let i = Hm(t);
+ e = Em(Vm.minDuration, Vm.maxDuration, /* @__PURE__ */ jm(e)), i < 1 ? (n = (t) => {
+ let n = t * i, r = n * e, a = Wm(t, i), o = Math.exp(-r);
+ return qm - n / a * o;
}, r = (t) => {
- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Um(t * t, i);
- return (-n(t) + Km > 0 ? -1 : 1) * -a * o / s;
+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Wm(t * t, i);
+ return (-n(t) + qm > 0 ? -1 : 1) * -a * o / s;
}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));
- let a = 5 / e, o = Gm(n, r, a), s = o * Hm(i, o * e), c = s * s;
+ let a = 5 / e, o = Km(n, r, a), s = o * Um(i, o * e), c = s * s;
return {
stiffness: c,
damping: i * 2 * Math.sqrt(c),
- duration: /* @__PURE__ */ km(e)
+ duration: /* @__PURE__ */ Am(e)
};
}
-var Jm = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;
-function Ym(e, t) {
- if (Jm(e, t)) return e;
+var Ym = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;
+function Xm(e, t) {
+ if (Ym(e, t)) return e;
}
-function Xm(e) {
- let t = Ym(e.stiffness), n = Ym(e.damping, !0), r = Ym(e.mass), i = {
+function Zm(e) {
+ let t = Xm(e.stiffness), n = Xm(e.damping, !0), r = Xm(e.mass), i = {
...e,
- stiffness: t ?? Bm.stiffness,
- damping: n ?? Bm.damping,
- mass: r ?? Bm.mass,
+ stiffness: t ?? Vm.stiffness,
+ damping: n ?? Vm.damping,
+ mass: r ?? Vm.mass,
isResolvedFromDuration: !1,
isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)
};
if (i.isTimeDefined) {
if (e.visualDuration) {
- let t = Vm(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Hm(t, 2 * Math.PI / 1.2);
+ let t = Hm(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Um(t, 2 * Math.PI / 1.2);
i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);
- } else Object.assign(i, qm(i)), i.isResolvedFromDuration = !0;
- (!Jm(i.stiffness) || !Jm(i.damping, !0)) && (i.stiffness = Bm.stiffness, i.damping = Bm.damping);
+ } else Object.assign(i, Jm(i)), i.isResolvedFromDuration = !0;
+ (!Ym(i.stiffness) || !Ym(i.damping, !0)) && (i.stiffness = Vm.stiffness, i.damping = Vm.damping);
}
return i;
}
-function Zm(e = Bm.visualDuration, t = Bm.bounce) {
+function Qm(e = Vm.visualDuration, t = Vm.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -19833,7 +19829,7 @@ function Zm(e = Bm.visualDuration, t = Bm.bounce) {
}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {
done: !1,
value: r
- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Xm({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Am(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Am(Math.sqrt(o / c)), h = p * m, g = {
+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Zm({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ jm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ jm(Math.sqrt(o / c)), h = p * m, g = {
target: i,
delta: i - r,
velocity: f(n.velocity || 0) || 0,
@@ -19841,12 +19837,12 @@ function Zm(e = Bm.visualDuration, t = Bm.bounce) {
restDelta: 0
}, _ = () => {
let e = Math.abs(g.delta) < 5;
- g.restSpeed = n.restSpeed || (e ? Bm.restSpeed.granular : Bm.restSpeed.default), g.restDelta = n.restDelta || (e ? Bm.restDelta.granular : Bm.restDelta.default);
+ g.restSpeed = n.restSpeed || (e ? Vm.restSpeed.granular : Vm.restSpeed.default), g.restDelta = n.restDelta || (e ? Vm.restDelta.granular : Vm.restDelta.default);
};
_();
let v, y, b;
if (p < 1) {
- let e = Um(m, p), t = {
+ let e = Wm(m, p), t = {
A: 0,
sinC: 0,
cosC: 0,
@@ -19884,51 +19880,51 @@ function Zm(e = Bm.visualDuration, t = Bm.bounce) {
retarget: (e, t) => {
g.target = e[e.length - 1], g.delta = g.target - e[0], g.velocity = f(t), n.restSpeed && n.restDelta || _(), S.calculatedDuration = x, a.done = !1, b();
},
- velocity: (e) => /* @__PURE__ */ km(y(e)),
+ velocity: (e) => /* @__PURE__ */ Am(y(e)),
next: (e) => {
let t = v(e);
if (u) a.done = e >= l;
else {
- let n = /* @__PURE__ */ km(y(e));
+ let n = /* @__PURE__ */ Am(y(e));
a.done = Math.abs(n) <= g.restSpeed && Math.abs(g.target - t) <= g.restDelta;
}
return a.value = a.done ? g.target : t, a;
},
toString: () => {
- let e = Math.min(Rm(S), Lm), t = Im((t) => S.next(e * t).value, e, 30);
+ let e = Math.min(zm(S), Rm), t = Lm((t) => S.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return S;
}
-Zm.applyToOptions = (e) => {
- let t = zm(e, 100, Zm);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ km(t.duration), e.type = "keyframes", e;
+Qm.applyToOptions = (e) => {
+ let t = Bm(e, 100, Qm);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Am(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var Qm = (e) => e !== null;
-function $m(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(Qm), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var $m = (e) => e !== null;
+function eh(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter($m), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs
-function eh(e, t) {
+function th(e, t) {
return {
kind: e,
animation: t,
- timestamp: Fm.now(),
- frameTimestamp: Mm.timestamp,
- frameIsProcessing: Mm.isProcessing
+ timestamp: Im.now(),
+ frameTimestamp: Nm.timestamp,
+ frameIsProcessing: Nm.isProcessing
};
}
-function th(e, t, n) {
+function nh(e, t, n) {
let r = globalThis.__MOTION_INSPECT__;
if (r) try {
r({
- ...eh("animation-start", e),
+ ...th("animation-start", e),
options: n ? {
...t,
...n
@@ -19938,7 +19934,7 @@ function th(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var nh = class {
+var rh = class {
constructor() {
this.isResolved = !1;
}
@@ -19959,60 +19955,60 @@ var nh = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function rh(e) {
+function ih(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs
-var ih = (e) => e.startsWith("--");
+var ah = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function ah(e, t, n) {
- ih(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function oh(e, t, n) {
+ ah(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var oh = {};
+var sh = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function sh(e, t) {
- let n = /* @__PURE__ */ Dm(e);
- return () => oh[t] ?? n();
+function ch(e, t) {
+ let n = /* @__PURE__ */ Om(e);
+ return () => sh[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var ch = /* @__PURE__ */ sh(() => window.ScrollTimeline !== void 0, "scrollTimeline"), lh = /*@__PURE__*/ sh(() => {
+var lh = /* @__PURE__ */ ch(() => window.ScrollTimeline !== void 0, "scrollTimeline"), uh = /*@__PURE__*/ ch(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), uh = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, dh = {
+}, "linearEasing"), dh = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, fh = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ uh([
+ circIn: /*@__PURE__*/ dh([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ uh([
+ circOut: /*@__PURE__*/ dh([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ uh([
+ backIn: /*@__PURE__*/ dh([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ uh([
+ backOut: /*@__PURE__*/ dh([
.33,
1.53,
.69,
@@ -20021,15 +20017,15 @@ var ch = /* @__PURE__ */ sh(() => window.ScrollTimeline !== void 0, "scrollTimel
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function fh(e, t) {
- if (e) return typeof e == "function" ? lh() ? Im(e, t) : "ease-out" : /* @__PURE__ */ jm(e) ? uh(e) : Array.isArray(e) ? e.map((e) => fh(e, t) || dh.easeOut) : dh[e];
+function ph(e, t) {
+ if (e) return typeof e == "function" ? uh() ? Lm(e, t) : "ease-out" : /* @__PURE__ */ Mm(e) ? dh(e) : Array.isArray(e) ? e.map((e) => ph(e, t) || fh.easeOut) : fh[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function ph(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function mh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = fh(s, i);
+ let d = ph(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -20043,29 +20039,29 @@ function ph(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function mh(e) {
+function hh(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function hh({ type: e, ...t }) {
- return mh(e) && lh() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function gh({ type: e, ...t }) {
+ return hh(e) && uh() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var gh = class extends nh {
+var _h = class extends rh {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = hh(e);
- this.animation = ph(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = gh(e);
+ this.animation = mh(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = $m(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), ah(t, n, e), this.animation.cancel();
+ let e = eh(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), oh(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
- }, th(this, e, c);
+ }, nh(this, e, c);
}
play() {
this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());
@@ -20093,18 +20089,18 @@ var gh = class extends nh {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ Am(Number(e));
+ return /* @__PURE__ */ jm(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ Am(e);
+ return this.duration + /* @__PURE__ */ jm(e);
}
get time() {
- return /* @__PURE__ */ Am(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ jm(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ km(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Am(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -20122,9 +20118,9 @@ var gh = class extends nh {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, onAttach: t, observe: n }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && ch() ? (this.animation.timeline = e, t?.(this.animation), Om) : n(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && lh() ? (this.animation.timeline = e, t?.(this.animation), km) : n(this);
}
-}, _h = class {
+}, vh = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -20164,10 +20160,10 @@ var gh = class extends nh {
return this.getAll("startTime");
}
get duration() {
- return vh(this.animations, "duration");
+ return yh(this.animations, "duration");
}
get iterationDuration() {
- return vh(this.animations, "iterationDuration");
+ return yh(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -20185,7 +20181,7 @@ var gh = class extends nh {
this.runAll("complete");
}
};
-function vh(e, t) {
+function yh(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -20195,18 +20191,18 @@ function vh(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var yh = class extends _h {
+var bh = class extends vh {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, bh = /* @__PURE__ */ new WeakMap(), xh = (e, t = "") => `${e}:${t}`;
-function Sh(e) {
- let t = bh.get(e);
- return t || (t = /* @__PURE__ */ new Map(), bh.set(e, t)), t;
+}, xh = /* @__PURE__ */ new WeakMap(), Sh = (e, t = "") => `${e}:${t}`;
+function Ch(e) {
+ let t = xh.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), xh.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function Ch(e, t) {
+function wh(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -20218,21 +20214,21 @@ function Ch(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function wh(e, t) {
+function Th(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : Ch(n, e);
+ return n === e ? n : wh(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/px-values.mjs
-var Th = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));
+var Eh = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Eh(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Th.has(t) && (e[n] = e[n] + "px");
+function Dh(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Eh.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Dh(e, t, n) {
+function Oh(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -20245,24 +20241,24 @@ function Dh(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function Oh(e, t) {
+function kh(e, t) {
let n = window.getComputedStyle(e);
- return ih(t) ? n.getPropertyValue(t) : n[t];
+ return ah(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function kh(e, t, n, r) {
+function Ah(e, t, n, r) {
if (e == null) return [];
- let i = Dh(e, r), a = i.length, o = [];
+ let i = Oh(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 = { ...wh(s, e) };
- i.duration &&= /* @__PURE__ */ km(i.duration), i.delay &&= /* @__PURE__ */ km(i.delay);
- let a = Sh(r), c = xh(e, i.pseudoElement || ""), l = a.get(c);
+ let i = { ...Th(s, e) };
+ i.duration &&= /* @__PURE__ */ Am(i.duration), i.delay &&= /* @__PURE__ */ Am(i.delay);
+ let a = Ch(r), c = Sh(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -20278,33 +20274,33 @@ function kh(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] = Oh(r, i)), rh(t), Eh(t, i), !a && t.length < 2 && t.unshift(Oh(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = kh(r, i)), ih(t), Dh(t, i), !a && t.length < 2 && t.unshift(kh(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new gh(r);
+ let { map: t, key: n, options: r } = o[e], i = new _h(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var Ah = /*@__PURE__*/ ((e) => {
+var jh = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new yh(kh(t, n, r, e));
+ return new bh(Ah(t, n, r, e));
}
return t;
-})(), jh = {
+})(), Mh = {
selection: {
- type: Zm,
+ type: Qm,
duration: .16,
bounce: 0
},
hover: {
- type: Zm,
+ type: Qm,
duration: .08,
bounce: 0
}
};
-function Mh(e) {
+function Nh(e) {
let [t, n] = (0, y.useState)(null);
return (0, y.useLayoutEffect)(() => {
if (!t) return;
@@ -20322,11 +20318,11 @@ function Mh(e) {
if (a && i.matches && !r.matches && s === h && c === w) return;
let T = n.hidden ? null : n.getBoundingClientRect();
l?.cancel(), n.hidden = !1, n.style.width = `${S}px`, n.style.height = `${C}px`;
- let ee = `translate(${b}px, ${x}px) scale(1, 1)`;
+ 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 = Ah(n, { transform: [r, ee] }, jh[e]);
- } else n.style.transform = ee;
+ l = jh(n, { transform: [r, E] }, Mh[e]);
+ } else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
if (a = t.pointerType === "mouse" && i.matches, e === "hover") {
@@ -20360,19 +20356,201 @@ function Mh(e) {
};
}, [t, e]), n;
}
+Object.fromEntries(Object.entries({
+ fresh: "/unseen",
+ later: "/watch-later",
+ flagged: "/flagged",
+ ads: "/junk-files"
+}).map(([e, t]) => [t, e])), typeof Intl < "u" && typeof Intl.Segmenter == "function" && new Intl.Segmenter(void 0, { granularity: "grapheme" }), { ...lm };
+//#endregion
+//#region src/ui-kit/scroll.ts
+var Ph = /* @__PURE__ */ new Map(), Fh, Ih = 240, Lh = 50, Rh = 70, zh = .55, Bh = .35, Vh = 480;
+function Hh(e, t) {
+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * zh / t + 1)) * t;
+}
+function Uh(e) {
+ let t = null, n = 0, r = () => typeof e.animate != "function" || matchMedia("(prefers-reduced-motion:reduce)").matches, i = () => {
+ t = null, n || e.classList.remove("edgepull");
+ }, a = (n, r) => {
+ t?.cancel(), e.classList.add("edgepull"), t = e.animate(n, { duration: r }), t.onfinish = i;
+ };
+ return {
+ drag(i) {
+ r() || (t?.cancel(), t = null, n = -Hh(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));
+ },
+ release() {
+ if (!n) return;
+ let t = n, r = Kh();
+ n = 0, e.style.removeProperty("--edge-pull"), a([{
+ "--edge-pull": `${t}px`,
+ easing: r.easing
+ }, { "--edge-pull": "0px" }], r.duration);
+ },
+ kick(t) {
+ if (r() || n) return;
+ let i = -Hh(t * Bh, Math.min(e.clientWidth, Vh));
+ if (!i) return;
+ let o = Kh();
+ a([
+ {
+ "--edge-pull": "0px",
+ easing: "cubic-bezier(.2,.8,.4,1)"
+ },
+ {
+ "--edge-pull": `${i}px`,
+ offset: .3,
+ easing: o.easing
+ },
+ { "--edge-pull": "0px" }
+ ], o.duration * 1.6);
+ }
+ };
+}
+function Wh(e, { drag: t = !1, fade: n = !0 } = {}) {
+ if (!e) return;
+ let r = Ph.get(e);
+ if (r) return r.options.drag ||= t, r.options.fade ||= n, r.update(), r;
+ let i = {
+ drag: t,
+ fade: n
+ }, a = new AbortController(), o = Uh(e), s = null, c = 0, l = 0, u = 0, d = !1, f = 0, p = 0, m = 0, h = 0, g = (t, n) => {
+ e.dataset[t] !== n && (e.dataset[t] = n);
+ }, _ = () => [
+ "auto",
+ "scroll",
+ "hidden"
+ ].includes(getComputedStyle(e).overflowX), v = () => {
+ if (i.fade) {
+ let t = _();
+ g("overflowLeft", String(t && e.scrollLeft > 1)), g("overflowRight", String(t && e.scrollLeft + e.clientWidth < e.scrollWidth - 1));
+ }
+ }, y = (e, t, n, r = {}) => e.addEventListener(t, n, {
+ ...r,
+ signal: a.signal
+ });
+ y(e, "scroll", v, { passive: !0 });
+ let b = (e) => {
+ d || (d = !0, o.kick(e));
+ }, x = () => {
+ cancelAnimationFrame(f), f = 0, h = 0;
+ }, S = (t) => {
+ let n = Math.min(Math.max(t - p, 0), 64);
+ if (p = t, m += (u - m) * (1 - Math.exp(-n / Rh)), Math.abs(u - m) < .5 && (m = u), e.scrollLeft = m, m !== u) f = requestAnimationFrame(S);
+ else if (f = 0, h) {
+ let e = h;
+ h = 0, b(e);
+ }
+ };
+ y(e, "wheel", (t) => {
+ let n = e.scrollWidth - e.clientWidth;
+ if (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0 || !_()) return;
+ t.preventDefault();
+ let r = performance.now(), i = Math.abs(t.deltaY);
+ r > l && (d = !1), l = r + Ih;
+ let a = f ? u : e.scrollLeft, o = a + t.deltaY;
+ u = Math.min(n, Math.max(0, o));
+ let s = o === u ? 0 : t.deltaY;
+ i < Lh || u === a ? (u !== a && (x(), e.scrollLeft = u), s && !f ? b(s) : s && (h = s)) : (s && (h = s), f ||= (m = e.scrollLeft, p = performance.now(), requestAnimationFrame(S)));
+ }, { passive: !1 }), y(e, "mousedown", (t) => {
+ !i.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || (t.stopPropagation(), x(), s = {
+ x: t.pageX,
+ left: e.scrollLeft
+ }, c = 0, e.style.cursor = "grabbing");
+ }), y(window, "mousemove", (t) => {
+ if (!s) return;
+ let n = t.pageX - s.x, r = s.left - n, i = e.scrollWidth - e.clientWidth;
+ c = Math.max(c, Math.abs(n)), e.scrollLeft = r, o.drag(r < 0 ? r : r > i ? r - i : 0), t.preventDefault();
+ }), y(window, "mouseup", () => {
+ s && o.release(), s = null, e.style.cursor = "";
+ }), y(e, "click", (e) => {
+ c > 6 && (e.stopPropagation(), e.preventDefault(), c = 0);
+ }, { capture: !0 });
+ let C = new ResizeObserver(v), w = () => {
+ C.observe(e);
+ for (let t of e.children) C.observe(t);
+ v();
+ }, T = new MutationObserver(() => {
+ C.disconnect(), w();
+ });
+ T.observe(e, {
+ childList: !0,
+ characterData: !0,
+ subtree: !0
+ }), w();
+ let E = {
+ options: i,
+ update: v,
+ destroy() {
+ a.abort(), x(), C.disconnect(), T.disconnect(), Ph.delete(e), e.style.cursor = "", Ph.size || (Fh?.disconnect(), Fh = null);
+ }
+ };
+ return Ph.set(e, E), Fh || (Fh = new MutationObserver(() => {
+ for (let [e, t] of Ph) e.isConnected || t.destroy();
+ }), Fh.observe(document.body, {
+ childList: !0,
+ subtree: !0
+ })), v(), E;
+}
+var Gh = null;
+function Kh() {
+ if (!Gh) {
+ let e = getComputedStyle(document.documentElement);
+ Gh = {
+ easing: e.getPropertyValue("--spring-pane").trim() || "ease",
+ duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300
+ };
+ }
+ return Gh;
+}
+[
+ "[data-stage-side-content]",
+ "[data-stage-scroll]",
+ ".tagpickbody",
+ "[data-mix-list]",
+ ".playlistpicklist",
+ "[data-player-stats]",
+ ".vjs-peach-settings-menu",
+ ".ui-geist-scroller-container",
+ ".metricstrip",
+ ".ui-tastesummaries",
+ ".ui-skeletondashstrip",
+ ".followpagination",
+ ".reviewtabs",
+ ".ftablewrap",
+ ".ui-board-local-nav",
+ "[data-manage-menu]",
+ ".follow-workspace-switch",
+ ".fmanagenav",
+ "[role=\"listbox\"]"
+].join(",");
+//#endregion
+//#region src/react/components/use-horizontal-scroller.ts
+function qh(e, t = !0) {
+ let [n, r] = (0, y.useState)(null), i = (0, y.useCallback)((t) => {
+ r(t), typeof e == "function" ? e(t) : e && (e.current = t);
+ }, [e]);
+ return (0, y.useLayoutEffect)(() => {
+ if (!n || !t) return;
+ n.dataset.horizontalScroll = "";
+ let e = Wh(n);
+ return () => {
+ e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;
+ };
+ }, [n, t]), i;
+}
//#endregion
//#region src/react/components/segmented.tsx
-function Nh(e) {
- let t = Mh("selection");
+function Jh(e) {
+ let t = qh(Nh("selection"));
return /* @__PURE__ */ (0, R.jsx)(ep, {
...e,
ref: t
});
}
-var Ph = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", Fh = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover";
+var Yh = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", Xh = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover";
//#endregion
//#region src/react/settings/busy-props.ts
-function Ih(e) {
+function Zh(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
@@ -20380,7 +20558,7 @@ function Ih(e) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var Lh = bt({
+var Qh = bt({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -20401,21 +20579,21 @@ var Lh = bt({
small: "size-4 shrink-0"
}
});
-function Rh({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function $h({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
ref: i,
type: r,
- className: yt(Lh.base, Lh.size[t], n),
+ className: yt(Qh.base, Qh.size[t], n),
...a,
children: /* @__PURE__ */ (0, R.jsx)(e, {
- className: Lh.icon[t],
+ className: Qh.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var zh = [
+var eg = [
"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",
@@ -20423,10 +20601,10 @@ var zh = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), Bh = "w-[266px]", Vh = "flex w-full flex-col gap-1 outline-none", Hh = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" ");
+].join(" "), tg = "w-[266px]", ng = "flex w-full flex-col gap-1 outline-none", rg = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" ");
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Uh(e) {
+function ig(e) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -20442,7 +20620,7 @@ function Uh(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Wh(e, t, n) {
+function ag(e, t, n) {
(0, y.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -20456,7 +20634,7 @@ function Wh(e, t, n) {
n
]);
}
-function Gh(e, t) {
+function og(e, t) {
let n = (0, y.useRef)(!1);
return (0, y.useEffect)(() => {
if (!e) return;
@@ -20470,11 +20648,11 @@ function Gh(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Kh = (0, y.createContext)("md");
-function qh({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var sg = (0, y.createContext)("md");
+function cg({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, y.useRef)(null), u = (0, y.useRef)(null), [d, f] = (0, y.useState)(!1);
- Wh(d, () => f(!1), [l, u]);
- let p = Gh(d, l);
+ ag(d, () => f(!1), [l, u]);
+ let p = og(d, l);
return /* @__PURE__ */ (0, R.jsx)(pp, {
ref: s,
...c,
@@ -20487,16 +20665,16 @@ function qh({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: [/* @__PURE__ */ (0, R.jsx)(_p, {
className: yt("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, R.jsx)(Uh, { className: yt("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, R.jsx)(ig, { className: yt("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, R.jsx)(nf, {
ref: u,
isNonModal: !0,
offset: 4,
- className: yt(Bh, zh, "p-2", n),
+ className: yt(tg, eg, "p-2", n),
children: /* @__PURE__ */ (0, R.jsx)(Xl, {
items: a,
- className: yt(Vh, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, R.jsx)(Kh.Provider, {
+ className: yt(ng, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, R.jsx)(sg.Provider, {
value: r,
children: i
})
@@ -20504,17 +20682,17 @@ function qh({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Jh({ className: e, children: t, ...n }) {
- let r = (0, y.useContext)(Kh);
+function lg({ className: e, children: t, ...n }) {
+ let r = (0, y.useContext)(sg);
return /* @__PURE__ */ (0, R.jsx)(eu, {
...n,
- className: (t) => yt(Hh, 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) => yt(rg, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function Yh({ className: e }) {
+function ug({ className: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -20527,12 +20705,12 @@ function Yh({ className: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-folder-search" })
});
}
-var Xh = sm, Zh = (e) => um[e] || "database", Qh = (e) => cm.includes(e);
-function $h({ index: e, cost: t, error: n, onChange: r }) {
+var dg = sm, fg = (e) => dm[e] || "database", pg = (e) => cm.includes(e);
+function mg({ index: e, cost: t, error: n, onChange: r }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-media-read-policy": e,
className: "flex w-full flex-col gap-1.5 @lg:w-48",
- children: [/* @__PURE__ */ (0, R.jsxs)(qh, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(cg, {
"aria-label": `媒体读取策略 ${e + 1}`,
placeholder: "选择读取策略",
isRequired: !0,
@@ -20542,20 +20720,20 @@ function $h({ index: e, cost: t, error: n, onChange: r }) {
onSelectionChange: (e) => {
(e === "free" || e === "metered") && r(e);
},
- children: [/* @__PURE__ */ (0, R.jsx)(Jh, {
+ children: [/* @__PURE__ */ (0, R.jsx)(lg, {
id: "free",
children: "正常读取"
- }), /* @__PURE__ */ (0, R.jsx)(Jh, {
+ }), /* @__PURE__ */ (0, R.jsx)(lg, {
id: "metered",
children: "代理流量保护"
})]
- }), n ? /* @__PURE__ */ (0, R.jsx)(mm, { children: n }) : null]
+ }), n ? /* @__PURE__ */ (0, R.jsx)(hm, { children: n }) : null]
});
}
-function eg() {
- return /* @__PURE__ */ (0, R.jsx)(pm, { children: "按挂载工具实际配置选择;代理流量保护会限制自动媒体读取。" });
+function hg() {
+ return /* @__PURE__ */ (0, R.jsx)(mm, { children: "按挂载工具实际配置选择;代理流量保护会限制自动媒体读取。" });
}
-function tg({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+function gg({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, y.useState)(e), [s, c] = (0, y.useState)([]), [l, u] = (0, y.useState)(null), [d, f] = (0, y.useState)(null), p = (0, y.useRef)(!1), m = (0, y.useRef)([]);
(0, y.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -20598,7 +20776,7 @@ function tg({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function ng({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function _g({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, y.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -20629,11 +20807,11 @@ function ng({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, o
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Rh, {
- icon: Yh,
+ /* @__PURE__ */ (0, R.jsx)($h, {
+ icon: ug,
"aria-label": "选择文件夹",
onClick: o,
- ...Ih(a)
+ ...Zh(a)
}),
s ? /* @__PURE__ */ (0, R.jsx)(Ct, {
variant: "danger",
@@ -20649,22 +20827,22 @@ function ng({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, o
})]
});
}
-function rg({ index: e, value: t, onChange: n, options: r = Xh }) {
- return /* @__PURE__ */ (0, R.jsx)(qh, {
+function vg({ index: e, value: t, onChange: n, options: r = dg }) {
+ return /* @__PURE__ */ (0, R.jsx)(cg, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, R.jsxs)(Jh, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, R.jsxs)(lg, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, R.jsx)(bm, { mark: Zh(e) }), t]
+ children: [/* @__PURE__ */ (0, R.jsx)(xm, { mark: fg(e) }), t]
}, e))
});
}
-function ig({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+function yg({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
return /* @__PURE__ */ (0, R.jsx)(Vp, {
label: n,
placeholder: r,
@@ -20674,7 +20852,7 @@ function ig({ value: e, onChange: t, label: n = "Windows 中的对应路径", pl
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function ag({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+function bg({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Vp, {
id: "access-password",
type: "password",
@@ -20705,13 +20883,13 @@ function ag({ label: e, password: t, confirmation: n, onPassword: r, onConfirmat
}
//#endregion
//#region src/react/pages/setup/setup-form.tsx
-var og = [
+var xg = [
"data_root",
"host",
"port",
"mdns_name"
];
-function sg(e, t) {
+function Sg(e, t) {
return Array.isArray(e) ? e.length === t ? {
rows: e,
table: ""
@@ -20723,47 +20901,47 @@ function sg(e, t) {
table: e ?? ""
};
}
-function cg(e) {
+function Cg(e) {
return e.length ? e.length === 1 ? `完成设置后扫描并补全资料:${e[0]}` : `完成设置后扫描这 ${e.length} 个文件夹并补全资料` : "完成设置后扫描并补全资料";
}
-var lg = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";
-function ug({ setup: e, onDone: t }) {
+var wg = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";
+function Tg({ setup: e, onDone: t }) {
let n = e.questions.find((e) => e.input === "folders"), r = e.questions.filter((e) => e.input !== "folders"), i = e.media_sources.map(({ value: e, label: t }) => [e, t]), a = (t = "") => ({
path: t,
location: e.media_source_default,
root: "",
cost: e.media_source_default === "local" ? "free" : ""
- }), o = tg({
+ }), o = gg({
initial: () => [a(n?.default ?? "")],
blank: () => a(),
pickFolder: Qp,
describe: $p,
focusAfterPick: !0
- }), [s, c] = (0, y.useState)(() => Object.fromEntries(r.map((e) => [e.key, e.default]))), [l, u] = (0, y.useState)(e.access_enabled), [d, f] = (0, y.useState)(""), [p, m] = (0, y.useState)(""), [h, g] = (0, y.useState)(e.scan_now), [_, v] = (0, y.useState)(e.history_guide), [b, x] = (0, y.useState)({}), [S, C] = (0, y.useState)(""), [w, T] = (0, y.useState)(""), [ee, E] = (0, y.useState)(!1), [D, O] = (0, y.useState)(!1), [k, A] = (0, y.useState)(0), j = (0, y.useRef)(null), te = (0, y.useRef)(null), [ne, re] = (0, y.useState)(0);
+ }), [s, c] = (0, y.useState)(() => Object.fromEntries(r.map((e) => [e.key, e.default]))), [l, u] = (0, y.useState)(e.access_enabled), [d, f] = (0, y.useState)(""), [p, m] = (0, y.useState)(""), [h, g] = (0, y.useState)(e.scan_now), [_, v] = (0, y.useState)(e.history_guide), [b, x] = (0, y.useState)({}), [S, C] = (0, y.useState)(""), [w, T] = (0, y.useState)(""), [E, D] = (0, y.useState)(!1), [O, k] = (0, y.useState)(!1), [A, j] = (0, y.useState)(0), M = (0, y.useRef)(null), ee = (0, y.useRef)(null), [te, ne] = (0, y.useState)(0);
(0, y.useEffect)(() => {
- ne && j.current?.querySelector("input[aria-invalid=\"true\"]")?.focus();
- }, [ne]);
- let M = (e) => e ? /* @__PURE__ */ (0, R.jsx)("span", {
+ te && M.current?.querySelector("input[aria-invalid=\"true\"]")?.focus();
+ }, [te]);
+ let N = (e) => e ? /* @__PURE__ */ (0, R.jsx)("span", {
role: "alert",
children: e
- }, ne) : void 0, ie = (e) => !e.visible_when || Object.entries(e.visible_when).every(([e, t]) => s[e] === t), ae = (e, t) => c((n) => ({
+ }, te) : void 0, re = (e) => !e.visible_when || Object.entries(e.visible_when).every(([e, t]) => s[e] === t), ie = (e, t) => c((n) => ({
...n,
[e]: t
- })), oe = async (e) => {
- if (e.preventDefault(), ee) return;
+ })), ae = async (e) => {
+ if (e.preventDefault(), E) return;
let n = o.rows.findIndex((e) => !e.cost);
if (n >= 0) {
- O(!0), requestAnimationFrame(() => j.current?.querySelector(`[data-media-read-policy="${n}"] button`)?.focus());
+ k(!0), requestAnimationFrame(() => M.current?.querySelector(`[data-media-read-policy="${n}"] button`)?.focus());
return;
}
- E(!0), T("");
+ D(!0), T("");
let i = {
media_dir: o.rows,
access_enabled: l,
scan_now: h,
history_guide: _
};
- for (let e of r) ie(e) && (i[e.key] = s[e.key] ?? "");
+ for (let e of r) re(e) && (i[e.key] = s[e.key] ?? "");
l && Object.assign(i, {
access_password: d,
access_confirm: p
@@ -20772,14 +20950,14 @@ function ug({ setup: e, onDone: t }) {
t(await Xp(i));
} catch (e) {
if (e instanceof qp && e.status === 400 && e.errors) {
- let t = e.errors, { rows: n, table: r } = sg(t.media_dir, o.rows.length);
- o.setErrors(n), C(r), x(t), og.some((e) => t[e]) && A((e) => e + 1), t.access_password && u(!0), re((e) => e + 1);
+ let t = e.errors, { rows: n, table: r } = Sg(t.media_dir, o.rows.length);
+ o.setErrors(n), C(r), x(t), xg.some((e) => t[e]) && j((e) => e + 1), t.access_password && u(!0), ne((e) => e + 1);
} else T($p(e));
} finally {
- E(!1);
+ D(!1);
}
- }, se = (e) => {
- let t = lg(b[e.key]), n = e.help.join("");
+ }, oe = (e) => {
+ let t = wg(b[e.key]), n = e.help.join("");
if (e.input === "choice") {
let r = `setup-${e.key}-label`;
return /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -20790,20 +20968,20 @@ function ug({ setup: e, onDone: t }) {
elementType: "span",
children: e.label
}),
- /* @__PURE__ */ (0, R.jsx)(Nh, {
+ /* @__PURE__ */ (0, R.jsx)(Jh, {
"aria-labelledby": r,
orientation: "horizontal",
- className: Ph,
+ className: Yh,
value: s[e.key] ?? e.default,
- onChange: (t) => ae(e.key, t),
+ onChange: (t) => ie(e.key, t),
children: (e.options ?? []).map((e) => /* @__PURE__ */ (0, R.jsx)(tp, {
value: e.value,
- className: Fh,
+ className: Xh,
children: e.label
}, e.value))
}),
- n ? /* @__PURE__ */ (0, R.jsx)(pm, { children: n }) : null,
- t ? /* @__PURE__ */ (0, R.jsx)(mm, { children: t }, ne) : null
+ n ? /* @__PURE__ */ (0, R.jsx)(mm, { children: n }) : null,
+ t ? /* @__PURE__ */ (0, R.jsx)(hm, { children: t }, te) : null
]
}, e.key);
}
@@ -20815,7 +20993,7 @@ function ug({ setup: e, onDone: t }) {
autoComplete: "off",
spellCheck: "false",
value: s[e.key] ?? "",
- onChange: (t) => ae(e.key, t),
+ onChange: (t) => ie(e.key, t),
leadingAddon: e.prefix ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "shrink-0 pl-1 text-body-regular text-text-secondary",
children: e.prefix
@@ -20826,13 +21004,13 @@ function ug({ setup: e, onDone: t }) {
}) : void 0,
validationBehavior: "aria",
isInvalid: !!t,
- hint: M(t) ?? (n || void 0)
+ hint: N(t) ?? (n || void 0)
}, e.key);
- }, ce = o.rows.map((e) => e.path.trim()).filter(Boolean), le = o.rows.some((e) => Qh(e.location));
+ }, se = o.rows.map((e) => e.path.trim()).filter(Boolean), ce = o.rows.some((e) => pg(e.location));
return /* @__PURE__ */ (0, R.jsxs)("form", {
- ref: j,
+ ref: M,
noValidate: !0,
- onSubmit: (e) => void oe(e),
+ onSubmit: (e) => void ae(e),
"aria-labelledby": "auth-card-title",
className: "flex flex-col gap-6",
children: [
@@ -20848,24 +21026,24 @@ function ug({ setup: e, onDone: t }) {
children: "*"
})]
}),
- S ? /* @__PURE__ */ (0, R.jsx)(mm, { children: S }, ne) : null,
+ S ? /* @__PURE__ */ (0, R.jsx)(hm, { children: S }, te) : null,
/* @__PURE__ */ (0, R.jsx)("div", {
role: "group",
"aria-labelledby": "setup-media-title",
className: "flex flex-col gap-3",
- children: o.rows.map((t, r) => /* @__PURE__ */ (0, R.jsxs)(ng, {
+ children: o.rows.map((t, r) => /* @__PURE__ */ (0, R.jsxs)(_g, {
label: `${n.label} ${r + 1}`,
path: t.path,
onPath: (e) => o.edit(r, { path: e }),
- error: M(o.errors[r]),
+ error: N(o.errors[r]),
inputRef: o.inputRef(r),
picking: o.picking === r,
onPick: () => void o.pick(r),
onRemove: o.rows.length > 1 ? () => {
- o.remove(r), te.current?.focus();
+ o.remove(r), ee.current?.focus();
} : void 0,
children: [
- /* @__PURE__ */ (0, R.jsx)(rg, {
+ /* @__PURE__ */ (0, R.jsx)(vg, {
index: r,
value: t.location,
options: i,
@@ -20874,13 +21052,13 @@ function ug({ setup: e, onDone: t }) {
cost: e === "local" ? "free" : ""
})
}),
- /* @__PURE__ */ (0, R.jsx)($h, {
+ /* @__PURE__ */ (0, R.jsx)(mg, {
index: r,
cost: t.cost ?? "",
- error: D && !t.cost ? "请选择媒体读取策略" : void 0,
+ error: O && !t.cost ? "请选择媒体读取策略" : void 0,
onChange: (e) => o.edit(r, { cost: e })
}),
- e.media_root ? /* @__PURE__ */ (0, R.jsx)(ig, {
+ e.media_root ? /* @__PURE__ */ (0, R.jsx)(yg, {
label: e.media_root.label,
placeholder: e.media_root.placeholder,
value: t.root,
@@ -20890,25 +21068,25 @@ function ug({ setup: e, onDone: t }) {
}, r))
}),
/* @__PURE__ */ (0, R.jsx)(Ct, {
- ref: te,
+ ref: ee,
variant: "secondary",
leadingIcon: Ap,
className: "self-start",
onClick: o.add,
children: "添加媒体库"
}),
- le ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(eg, {}),
- /* @__PURE__ */ (0, R.jsxs)(pm, { children: [e.cloud.help, /* @__PURE__ */ (0, R.jsx)(hm, {
+ ce ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+ /* @__PURE__ */ (0, R.jsx)(hg, {}),
+ /* @__PURE__ */ (0, R.jsxs)(mm, { children: [e.cloud.help, /* @__PURE__ */ (0, R.jsx)(gm, {
href: e.cloud.link.url,
children: e.cloud.link.label
})] }),
- e.cloud.dependencies.map((e) => /* @__PURE__ */ (0, R.jsxs)(pm, { children: [e.message, /* @__PURE__ */ (0, R.jsx)(hm, {
+ e.cloud.dependencies.map((e) => /* @__PURE__ */ (0, R.jsxs)(mm, { children: [e.message, /* @__PURE__ */ (0, R.jsx)(gm, {
href: e.download_url,
children: e.download_label
})] }, e.name))
] }) : null,
- n.help.map((e) => /* @__PURE__ */ (0, R.jsx)(pm, { children: e }, e))
+ n.help.map((e) => /* @__PURE__ */ (0, R.jsx)(mm, { children: e }, e))
]
}) : null,
/* @__PURE__ */ (0, R.jsxs)(Et, {
@@ -20926,34 +21104,34 @@ function ug({ setup: e, onDone: t }) {
className: "text-body-2-regular text-text-secondary",
children: "开启后,访问 Peach 需要先登录。"
})]
- }), /* @__PURE__ */ (0, R.jsx)(wm, {
+ }), /* @__PURE__ */ (0, R.jsx)(Tm, {
"aria-labelledby": "setup-access-title",
"aria-describedby": "setup-access-description",
isSelected: l,
onChange: u
})]
}),
- /* @__PURE__ */ (0, R.jsx)(pm, { children: "未设置密码时,能连接到 Peach 的设备可直接进入。" }),
- l ? /* @__PURE__ */ (0, R.jsx)(ag, {
+ /* @__PURE__ */ (0, R.jsx)(mm, { children: "未设置密码时,能连接到 Peach 的设备可直接进入。" }),
+ l ? /* @__PURE__ */ (0, R.jsx)(bg, {
label: "访问密码",
password: d,
confirmation: p,
onPassword: f,
onConfirmation: m,
- passwordError: M(lg(b.access_password)),
+ passwordError: N(wg(b.access_password)),
passwordHint: "请输入 8–256 个字符。",
confirmationInvalid: !!b.access_password
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsx)(Et, { children: /* @__PURE__ */ (0, R.jsx)(vm, {
+ /* @__PURE__ */ (0, R.jsx)(Et, { children: /* @__PURE__ */ (0, R.jsx)(ym, {
summary: "高级设置",
- defaultOpen: k > 0,
+ defaultOpen: A > 0,
children: /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-4",
- children: r.filter(ie).map(se)
+ children: r.filter(re).map(oe)
})
- }, k) }),
+ }, A) }),
/* @__PURE__ */ (0, R.jsxs)(Et, {
labelledBy: "setup-options-title",
children: [
@@ -20966,8 +21144,8 @@ function ug({ setup: e, onDone: t }) {
children: [/* @__PURE__ */ (0, R.jsx)(kp, {
isSelected: h,
onChange: g,
- children: cg(ce)
- }), /* @__PURE__ */ (0, R.jsx)(pm, { children: "读取已有 NFO 和封面,采集缺失资料。符合自动规则的资料会在处理完成后落库,其余候选留在复核。" })]
+ children: Cg(se)
+ }), /* @__PURE__ */ (0, R.jsx)(mm, { children: "读取已有 NFO 和封面,采集缺失资料。符合自动规则的资料会在处理完成后落库,其余候选留在复核。" })]
}),
/* @__PURE__ */ (0, R.jsxs)("section", {
"aria-labelledby": "setup-history-title",
@@ -20986,16 +21164,16 @@ function ug({ setup: e, onDone: t }) {
onChange: v,
children: "接下来导入浏览器历史记录"
}),
- /* @__PURE__ */ (0, R.jsx)(pm, { children: "用于生成口味分析。完成设置后选择读取这台电脑,或导入其他设备的记录;也可稍后从「口味」进入。" })
+ /* @__PURE__ */ (0, R.jsx)(mm, { children: "用于生成口味分析。完成设置后选择读取这台电脑,或导入其他设备的记录;也可稍后从「口味」进入。" })
]
})
]
}),
- w ? /* @__PURE__ */ (0, R.jsx)(mm, { children: w }) : null,
+ w ? /* @__PURE__ */ (0, R.jsx)(hm, { children: w }) : null,
/* @__PURE__ */ (0, R.jsx)(Ct, {
type: "submit",
className: "self-start",
- ...Ih(ee),
+ ...Zh(E),
children: "完成设置"
})
]
@@ -21003,7 +21181,7 @@ function ug({ setup: e, onDone: t }) {
}
//#endregion
//#region src/react/pages/setup/setup-restore.tsx
-function dg({ onDone: e }) {
+function Eg({ onDone: e }) {
let [t, n] = (0, y.useState)(""), [r, i] = (0, y.useState)(""), [a, o] = (0, y.useState)(!1);
return /* @__PURE__ */ (0, R.jsxs)("form", {
className: "flex flex-col gap-4",
@@ -21037,14 +21215,14 @@ function dg({ onDone: e }) {
}), /* @__PURE__ */ (0, R.jsx)(Ct, {
type: "submit",
className: "self-start",
- ...Ih(a),
+ ...Zh(a),
children: a ? "正在连接数据目录…" : "使用此目录"
})]
});
}
//#endregion
//#region src/react/pages/setup/setup-page.tsx
-function fg() {
+function Dg() {
let [e, t] = (0, y.useState)({ kind: "loading" }), [n, r] = (0, y.useState)(0), [i, a] = (0, y.useState)(!1);
return (0, y.useEffect)(() => {
let e = new AbortController();
@@ -21057,7 +21235,7 @@ function fg() {
message: $p(n)
});
}), () => e.abort();
- }, [n]), e.kind === "done" ? /* @__PURE__ */ (0, R.jsx)(xm, { done: e.done }) : /* @__PURE__ */ (0, R.jsxs)(Tt, {
+ }, [n]), e.kind === "done" ? /* @__PURE__ */ (0, R.jsx)(Sm, { done: e.done }) : /* @__PURE__ */ (0, R.jsxs)(Tt, {
title: "欢迎使用 Peach",
lede: "添加媒体库,开始整理馆藏。",
busy: e.kind === "loading",
@@ -21082,10 +21260,10 @@ function fg() {
className: "self-start",
onClick: () => a((e) => !e),
children: i ? "返回首次设置" : "使用已有数据目录"
- }), i ? /* @__PURE__ */ (0, R.jsx)(dg, { onDone: (e) => t({
+ }), i ? /* @__PURE__ */ (0, R.jsx)(Eg, { onDone: (e) => t({
kind: "done",
done: e
- }) }) : /* @__PURE__ */ (0, R.jsx)(ug, {
+ }) }) : /* @__PURE__ */ (0, R.jsx)(Tg, {
setup: e.setup,
onDone: (e) => t({
kind: "done",
@@ -21097,12 +21275,12 @@ function fg() {
}
//#endregion
//#region src/react/pages/index.tsx
-var pg = {
- setup: fg,
+var Og = {
+ setup: Dg,
login: Hp,
error: At
};
u();
-var mg = document.getElementById("peach-page"), hg = mg ? pg[mg.dataset.page ?? ""] : void 0;
-mg && hg && (0, b.createRoot)(mg).render(/* @__PURE__ */ (0, R.jsx)(hg, { data: { ...mg.dataset } }));
+var kg = document.getElementById("peach-page"), Ag = kg ? Og[kg.dataset.page ?? ""] : void 0;
+kg && Ag && (0, b.createRoot)(kg).render(/* @__PURE__ */ (0, R.jsx)(Ag, { data: { ...kg.dataset } }));
//#endregion